/* ==========================================================================
   The Choicer Voice — Production CSS Design System
   Modern, Playful, Polished Light Aesthetic for TheChoicerVoice.com
   ========================================================================== */

/* 1. Reset & Global Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--tcv-font-sans, 'Outfit', 'Inter', system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tcv-text-main, #0f172a);
  background-color: var(--tcv-bg-surface, #f8fafc);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
}

/* Accessibility: Focus visible outline */
:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* Container */
.tcv-container {
  width: 100%;
  max-width: var(--tcv-container, 1100px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 24px);
  padding-right: clamp(16px, 3vw, 24px);
}

.tcv-container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   2. Header & Live Search
   ========================================================================== */
.tcv-main {
  flex: 1 0 auto;
}

.tcv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease;
}

.admin-bar .tcv-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .tcv-header {
    top: 46px;
  }
}

.tcv-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.tcv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

/* Brand Logo */
.tcv-brand {
  flex-shrink: 0;
}

.tcv-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcv-custom-logo-wrap img {
  max-height: 46px;
  width: auto;
  display: block;
}

.tcv-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.25));
  transition: transform 0.2s ease;
}

.tcv-logo-link:hover .tcv-logo-mark {
  transform: scale(1.05) rotate(-2deg);
}

.tcv-brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.35s ease;
}

.tcv-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tcv-brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: -2px;
}

/* Search Input Styles (used in 404 & Search pages) */
.tcv-search-form {
  position: relative;
  width: 100%;
}

.tcv-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 2px 8px 2px 14px;
  transition: all 0.2s ease;
}

.tcv-search-input-wrap:focus-within {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.tcv-search-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.tcv-search-icon:hover {
  color: #6366f1;
  transform: scale(1.08);
}

.tcv-search-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: #0f172a;
  padding: 8px 4px;
}

.tcv-search-field::placeholder {
  color: #94a3b8;
}

.tcv-search-clear {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}

.tcv-search-clear.visible {
  display: block;
}

/* Live Search Results Dropdown */
.tcv-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16);
  padding: 10px;
  z-index: 150;
  max-height: 440px;
  overflow-y: auto;
  display: none;
}

.tcv-search-dropdown.open {
  display: block;
}

.tcv-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.tcv-search-result-item:hover {
  background: #f1f5f9;
}

.tcv-search-result-thumb {
  width: 48px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.tcv-search-result-info {
  flex: 1;
  min-width: 0;
}

.tcv-search-result-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcv-search-result-meta {
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tcv-search-tag {
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.tcv-search-view-all {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f46e5;
  border-top: 1px solid #f1f5f9;
  margin-top: 6px;
}

.tcv-search-view-all:hover {
  text-decoration: underline;
}

/* Navigation Desktop */
.tcv-nav-desktop {
  display: flex;
  align-items: center;
}

.tcv-menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.tcv-menu-list a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.tcv-menu-list a:hover {
  color: #4f46e5;
  background: #f1f5f9;
}

.tcv-has-dropdown {
  position: relative;
}

.tcv-sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
  padding: 6px;
  list-style: none;
  display: none;
  z-index: 120;
}

.tcv-has-dropdown:hover .tcv-sub-menu {
  display: block;
}

.tcv-sub-menu li a {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
}



/* ==========================================================================
   3. Buttons
   ========================================================================== */
.tcv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.tcv-btn-lg {
  padding: 13px 26px;
  font-size: 1.02rem;
  border-radius: 14px;
}

.tcv-btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.tcv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.tcv-btn-secondary {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.tcv-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* ==========================================================================
   4. Category Track & Filter Pills
   ========================================================================== */
.tcv-categories-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.tcv-categories-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.tcv-categories-track::-webkit-scrollbar {
  display: none;
}

.tcv-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #f1f5f9;
  color: #334155;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.tcv-cat-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.tcv-cat-pill.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4338ca;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.tcv-cat-icon {
  font-size: 1.05rem;
}

/* ==========================================================================
   5. Sections & Game Grid
   ========================================================================== */
.tcv-section {
  padding: clamp(36px, 5vw, 60px) 0;
}

.tcv-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.tcv-section-header-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.tcv-section-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6366f1;
  display: block;
  margin-bottom: 4px;
}

.tcv-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.tcv-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #4f46e5;
  transition: all 0.18s ease;
}

.tcv-view-all-link:hover {
  color: #3730a3;
  transform: translateX(3px);
}

/* Game Card Grid Layout */
.tcv-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.tcv-games-grid-featured {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

/* Empty State Notice Component */
.tcv-empty-notice {
  text-align: center;
  padding: clamp(40px, 6vw, 65px) 24px;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 20px;
  margin: 20px auto;
  max-width: 640px;
  width: 100%;
  grid-column: 1 / -1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.tcv-empty-icon {
  font-size: 3.2rem;
  margin-bottom: 14px;
  display: inline-block;
}

.tcv-empty-notice h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.tcv-empty-notice p {
  color: #64748b;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Game Card Component */
.tcv-game-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.tcv-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -4px rgba(99, 102, 241, 0.15), 0 6px 12px -2px rgba(15, 23, 42, 0.05);
  border-color: #cbd5e1;
}

.tcv-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}

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

.tcv-game-card:hover .tcv-card-img {
  transform: scale(1.06);
}

.tcv-card-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 100%);
  color: #4f46e5;
  font-weight: 700;
  padding: 16px;
  text-align: center;
  gap: 6px;
}

.tcv-placeholder-icon {
  font-size: 2.2rem;
}

.tcv-card-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.tcv-card-featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Overlay */
.tcv-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.tcv-game-card:hover .tcv-card-overlay {
  opacity: 1;
}

.tcv-play-icon-circle {
  width: 52px;
  height: 52px;
  background: #ffffff;
  color: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcv-game-card:hover .tcv-play-icon-circle {
  transform: scale(1);
}

.tcv-overlay-text {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.tcv-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tcv-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 6px;
}

.tcv-card-title a:hover {
  color: #4f46e5;
}

.tcv-card-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcv-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.tcv-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
}

.tcv-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4f46e5;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef2ff;
  transition: background 0.15s ease;
}

.tcv-card-cta:hover {
  background: #e0e7ff;
}

/* Empty Notice */
.tcv-empty-notice {
  text-align: center;
  padding: 48px 24px;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 20px;
}

.tcv-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   6. Single Game Player Layout
   ========================================================================== */
.tcv-single-game-layout {
  padding: 24px 0 60px;
}

.tcv-breadcrumbs {
  margin-bottom: 16px;
}

.tcv-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-size: 0.82rem;
  color: #64748b;
}

.tcv-breadcrumb-list a:hover {
  color: #4f46e5;
}

.tcv-breadcrumb-separator {
  color: #cbd5e1;
}

.tcv-breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

.tcv-game-header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tcv-game-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 8px;
}

.tcv-game-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tcv-tag-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.tcv-tag-primary {
  background: #e0e7ff;
  color: #4338ca;
}

.tcv-btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tcv-btn-tool:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Player Screen & Wrapper */
.tcv-player-wrapper {
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

/* Aspect Ratios */
.tcv-player-screen {
  position: relative;
  width: 100%;
  background: #090d16;
  overflow: hidden;
}

.aspect-16-9 .tcv-player-screen { aspect-ratio: 16 / 9; }
.aspect-4-3 .tcv-player-screen { aspect-ratio: 4 / 3; }
.aspect-1-1 .tcv-player-screen { aspect-ratio: 1 / 1; max-height: 700px; }
.aspect-9-16 .tcv-player-screen { aspect-ratio: 9 / 16; max-height: 760px; margin: 0 auto; }
.aspect-custom .tcv-player-screen { aspect-ratio: 4 / 3; }

/* Theater Mode Active State */
.tcv-player-wrapper.is-theater {
  max-width: 100vw;
  border-radius: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -12px;
}

.tcv-player-wrapper.is-theater .tcv-player-screen {
  max-height: 85vh;
  aspect-ratio: 16 / 9;
}

/* Splash Overlay */
.tcv-player-splash {
  position: absolute;
  inset: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.25s ease;
}

.tcv-splash-inner {
  text-align: center;
  padding: 24px;
}

.tcv-splash-play-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 16px 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcv-splash-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

.tcv-splash-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tcv-splash-subtext {
  color: #cbd5e1;
  font-size: 0.86rem;
  margin-top: 14px;
}

/* Game Iframe */
.tcv-game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Loading & Error States */
.tcv-player-loader, .tcv-player-error, .tcv-player-pending {
  position: absolute;
  inset: 0;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 5;
}

.tcv-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: tcvSpin 0.8s linear infinite;
  margin-bottom: 14px;
}

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

.tcv-error-icon, .tcv-pending-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.tcv-player-error h3, .tcv-player-pending h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.tcv-player-error p, .tcv-player-pending p {
  color: #94a3b8;
  max-width: 440px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* Player Controls Bar */
.tcv-player-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #1e293b;
  border-top: 1px solid #334155;
  color: #e2e8f0;
}

.tcv-controls-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcv-player-indicator {
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
}

.tcv-player-game-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.tcv-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tcv-ctrl-btn {
  background: #334155;
  color: #f1f5f9;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tcv-ctrl-btn:hover {
  background: #475569;
}

.tcv-ctrl-btn-primary {
  background: #4f46e5;
  color: #ffffff;
}

.tcv-ctrl-btn-primary:hover {
  background: #4338ca;
}

/* Details & Sidebar Grid */
.tcv-game-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 24px;
}

@media (min-width: 992px) {
  .tcv-game-details-grid {
    grid-template-columns: 1.75fr 1fr;
  }
}

.tcv-content-card, .tcv-sidebar-card, .tcv-page-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  margin-bottom: 24px;
}

.tcv-card-heading, .tcv-sidebar-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tcv-heading-icon {
  font-size: 1.2rem;
}

.tcv-entry-content, .tcv-instructions-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}

.tcv-entry-content p, .tcv-instructions-text p {
  margin-bottom: 14px;
}

/* Device Badges */
.tcv-device-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tcv-device-chip {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
}

.tcv-device-chip.supported {
  border-left: 4px solid #10b981;
}

.tcv-device-chip.unsupported {
  border-left: 4px solid #cbd5e1;
  opacity: 0.6;
}

/* Specs List */
.tcv-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tcv-specs-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.tcv-spec-label {
  color: #64748b;
  font-weight: 500;
}

.tcv-spec-val {
  color: #0f172a;
  font-weight: 600;
}

/* FAQ Accordion Component */
.tcv-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.tcv-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.tcv-faq-item[open] {
  border-color: #818cf8;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.tcv-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.tcv-faq-question::-webkit-details-marker {
  display: none;
}

.tcv-faq-chevron {
  font-size: 1.1rem;
  color: #6366f1;
  transition: transform 0.2s ease;
}

.tcv-faq-item[open] .tcv-faq-chevron {
  transform: rotate(180deg);
}

.tcv-faq-answer {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
}

/* Ad Placement Wrapper */
.tcv-ad-wrapper {
  margin: 20px auto;
  text-align: center;
  max-width: 100%;
}

.tcv-ad-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.tcv-ad-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px 24px;
  color: #64748b;
  min-height: 90px;
  min-width: 300px;
}

.tcv-ad-icon {
  color: #94a3b8;
  margin-bottom: 6px;
}

.tcv-ad-text {
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Pages, Archive & Category Headers */
.tcv-archive-header, .tcv-page-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 32px 0 28px;
}

.tcv-archive-title, .tcv-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 8px;
}

.tcv-archive-description, .tcv-page-meta {
  font-size: 1rem;
  color: #64748b;
  max-width: 720px;
  line-height: 1.6;
}

.tcv-category-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.tcv-category-icon-large {
  font-size: 3.2rem;
  flex-shrink: 0;
}

/* Contact Form Styles */
.tcv-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tcv-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tcv-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
}

.tcv-input, .tcv-select, .tcv-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  transition: all 0.18s ease;
}

.tcv-input:focus, .tcv-select:focus, .tcv-textarea:focus {
  background: #ffffff;
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.tcv-alert {
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.tcv-alert-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.tcv-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Pagination */
.tcv-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.tcv-pagination ul {
  display: flex;
  list-style: none;
  gap: 6px;
}

.tcv-pagination a, .tcv-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: all 0.15s ease;
}

.tcv-pagination a:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.tcv-pagination .current {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4338ca;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.tcv-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 24px 0;
}

.tcv-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.tcv-copyright {
  font-size: 0.84rem;
  color: #64748b;
}

.tcv-scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tcv-scroll-top:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   8. Mobile Hamburger Toggle Button
   ========================================================================== */
.tcv-mobile-toggle {
  display: none; /* hidden on desktop, shown via media query */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.tcv-mobile-toggle:hover {
  background: #e0e7ff;
  border-color: #c7d2fe;
}

.tcv-mobile-toggle.is-open {
  background: #eef2ff;
  border-color: #a5b4fc;
}

/* Three-bar hamburger icon */
.tcv-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  height: 22px;
}

.tcv-hamburger span,
.tcv-hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #4f46e5;
  border-radius: 9999px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.2s ease,
              width     0.2s ease;
  transform-origin: center;
}

/* Animate into X when open */
.tcv-mobile-toggle.is-open .tcv-hamburger span:nth-child(1),
.tcv-mobile-toggle.is-open .tcv-hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.tcv-mobile-toggle.is-open .tcv-hamburger span:nth-child(2),
.tcv-mobile-toggle.is-open .tcv-hamburger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.tcv-mobile-toggle.is-open .tcv-hamburger span:nth-child(3),
.tcv-mobile-toggle.is-open .tcv-hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   8b. Mobile Drawer Nav List
   ========================================================================== */
.tcv-drawer-nav-list {
  list-style: none;
  margin-bottom: 24px;
}

.tcv-drawer-nav-list li {
  border-bottom: 1px solid #f1f5f9;
}

.tcv-drawer-nav-list li:last-child {
  border-bottom: none;
}

.tcv-drawer-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.tcv-drawer-nav-list a:hover {
  background: #f1f5f9;
  color: #4f46e5;
}

.tcv-drawer-nav-list .current-menu-item > a {
  color: #4f46e5;
  background: #eef2ff;
}

.tcv-drawer-nav-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* ==========================================================================
   8c. Mobile Header Dropdown Menu (Direct Dropdown from Header)
   ========================================================================== */
.tcv-mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0;
  border-bottom: 3px solid #6366f1;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.16), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease,
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
  z-index: 150;
}

.tcv-mobile-dropdown.open {
  max-height: calc(100vh - 72px);
  max-height: calc(100dvh - 72px);
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(0);
}

.tcv-dropdown-container {
  padding-top: 18px;
  padding-bottom: 24px;
}

.tcv-dropdown-menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 480px) {
  .tcv-dropdown-menu-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.tcv-dropdown-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  transition: all 0.18s ease;
}

.tcv-dropdown-menu-list a:hover,
.tcv-dropdown-menu-list a:active {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #4f46e5;
  transform: translateY(-1px);
}

.tcv-dropdown-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.tcv-dropdown-section {
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 18px;
}

.tcv-dropdown-heading {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

.tcv-dropdown-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tcv-dropdown-chips .tcv-category-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s ease;
}

.tcv-dropdown-chips .tcv-category-chip:hover {
  background: #6366f1;
  border-color: #6366f1;
  color: #ffffff;
  transform: translateY(-1px);
}

.tcv-dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #94a3b8;
}

.tcv-dropdown-footer a {
  color: #64748b;
  font-weight: 500;
  transition: color 0.15s ease;
}

.tcv-dropdown-footer a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* Fallback Drawer */
.tcv-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.tcv-mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tcv-mobile-drawer-body {
  position: relative;
  width: 85%;
  max-width: 360px;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.tcv-mobile-drawer.open .tcv-mobile-drawer-body {
  transform: translateX(0);
}

.tcv-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.tcv-mobile-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.tcv-mobile-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
}

.tcv-drawer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.tcv-drawer-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.tcv-category-chip {
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.tcv-category-chip:hover {
  background: #e0e7ff;
  color: #4f46e5;
}

.tcv-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.tcv-drawer-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.tcv-drawer-links a:hover {
  color: #4f46e5;
}

/* ==========================================================================
   9. Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .tcv-nav-desktop {
    display: none;
  }
  .tcv-mobile-toggle {
    display: flex;
  }
  .tcv-brand-tagline {
    display: none;
  }
  .tcv-player-controls-bar {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .tcv-controls-right {
    justify-content: flex-end;
  }
}

/* Mobile Screens (< 640px) */
@media (max-width: 640px) {
  .tcv-header-inner {
    gap: 10px;
  }
}

/* ==========================================================================
   NATIVE BROWSER DUB STAGE COMPONENT (Retro Brutalist Flagship Feature)
   ========================================================================== */
.tcv-dub-stage-section {
  padding: 24px 0 44px;
}

/* Mod Packs Quick-Play Grid above Dub Stage */
.tcv-top-packs-wrap {
  max-width: 780px;
  margin: 0 auto 18px;
}

.tcv-top-packs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #141820;
  border: 2px solid #232a36;
  border-radius: 8px;
  flex-wrap: nowrap;
}

.tcv-top-packs-heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #ffffff;
  text-transform: uppercase;
  border-left: 3px solid #fbbf24;
  padding-left: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.tcv-top-packs-count {
  background: #fbbf24;
  color: #0b0e14;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  line-height: 1.4;
}

.tcv-top-packs-search {
  min-width: 0;
  width: 100%;
  max-width: 230px;
  flex: 0 1 230px;
  margin-left: auto;
  background: #0b0e14;
  border: 1.5px solid #334155;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tcv-top-packs-search::placeholder {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .tcv-top-packs-toolbar {
    padding: 7px 10px;
    gap: 8px;
  }
  .tcv-top-packs-heading {
    font-size: 12px;
    gap: 5px;
    letter-spacing: 0.4px;
    padding-left: 6px;
  }
  .tcv-top-packs-count {
    font-size: 10.5px;
    padding: 1px 6px;
  }
  .tcv-top-packs-search {
    flex: 0 1 150px;
    max-width: 150px;
    padding: 5px 8px;
    font-size: 12px;
  }
}

.tcv-top-packs-search:focus {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.25);
}

.tcv-top-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}

.tcv-top-pack-card.is-hidden,
.tcv-top-pack-card.is-collapsed-extra {
  display: none;
}

.tcv-top-packs-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 18px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 6px;
  color: #64748b;
  font-size: 13px;
}

.tcv-top-packs-toggle-wrap {
  margin-top: 12px;
  text-align: center;
}

.tcv-top-packs-toggle-btn {
  background: #141820;
  color: #fbbf24;
  border: 1.5px solid #232a36;
  border-radius: 6px;
  padding: 7px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tcv-top-packs-toggle-btn:hover {
  border-color: #2dd4bf;
  transform: translateY(-1px);
}

.tcv-top-pack-card {
  appearance: none;
  background: #141820;
  border: 2px solid #232a36;
  border-radius: 6px;
  padding: 0;
  margin: 0;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f8fafc;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tcv-top-pack-card:hover {
  border-color: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.tcv-top-pack-card:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.tcv-top-pack-card.is-active {
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px #fbbf24, 0 6px 16px rgba(251, 191, 36, 0.2);
}

.tcv-top-pack-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0e14;
  overflow: hidden;
}

.tcv-top-pack-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tcv-top-pack-lines {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #fbbf24;
  color: #000000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}

.tcv-top-pack-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px 9px;
  flex: 1;
}

.tcv-top-pack-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.tcv-top-pack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
}

.tcv-top-pack-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcv-top-pack-play {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: #0b0e14;
  background: #2dd4bf;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.tcv-top-pack-card.is-active .tcv-top-pack-play {
  background: #fbbf24;
}

.tcv-dub-console {
  max-width: 780px;
  margin: 0 auto;
  background: #111317;
  border: 2.5px solid #1c2028;
  border-radius: 4px;
  box-shadow: 8px 8px 0px #f85a3e;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.25s ease;
}

.tcv-dub-topbar {
  background: #16181d;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 2px solid #232731;
}

.tcv-dub-fullscreen-btn {
  background: #fbbf24;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 4px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.tcv-dub-fullscreen-btn:hover {
  background: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 2px 2px 0px #000000;
}

.tcv-dub-fullscreen-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.tcv-dub-stage-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: #0c0d10;
  overflow: hidden;
}

.tcv-dub-splash {
  position: absolute;
  inset: 0;
  background-image: url('../images/dub-stage-banner.jpg');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  padding: 28px clamp(20px, 4vw, 48px);
  z-index: 2;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tcv-dub-splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 18, 0.92) 0%, rgba(12, 14, 18, 0.78) 42%, rgba(12, 14, 18, 0.18) 100%);
  z-index: 1;
}

.tcv-dub-splash-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
}

.tcv-dub-tag-badge {
  display: inline-block;
  background: #e04434;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1.5px solid #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 2px 8px rgba(224, 68, 52, 0.4);
}

.tcv-dub-game-title {
  font-family: 'Outfit', 'Fredoka', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 18px 0;
  line-height: 1.05;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.tcv-dub-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fbbf24;
  color: #000000;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  padding: 11px 26px;
  border: 2.5px solid #000000;
  border-radius: 4px;
  box-shadow: 5px 5px 0px #e04434;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  user-select: none;
}

.tcv-dub-play-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #e04434;
  background: #f59e0b;
}

.tcv-dub-play-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0px #e04434;
}

.tcv-dub-mic-note {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  margin-top: 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  font-family: 'Inter', sans-serif;
}

.tcv-dub-iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 5;
}

.tcv-dub-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #0b0f19;
  display: block;
}

.tcv-dub-stage-loader {
  position: absolute;
  inset: 0;
  background: #0c0d10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #f8fafc;
  z-index: 4;
}

.tcv-dub-loader-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(251, 191, 36, 0.2);
  border-top-color: #fbbf24;
  border-radius: 50%;
  animation: tcvSpin 0.9s linear infinite;
}

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

.tcv-dub-in-game-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.tcv-dub-stage-action-btn {
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tcv-dub-stage-action-btn:hover {
  background: rgba(15, 23, 42, 1);
  border-color: #fbbf24;
  color: #fbbf24;
}

/* Fullscreen handling */
.tcv-dub-console:fullscreen,
.tcv-dub-console:-webkit-full-screen,
.tcv-dub-console.is-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
}

.tcv-dub-console:fullscreen .tcv-dub-stage-area,
.tcv-dub-console:-webkit-full-screen .tcv-dub-stage-area,
.tcv-dub-console.is-fullscreen .tcv-dub-stage-area {
  flex: 1 !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

@media (max-width: 640px) {
  .tcv-dub-stage-area {
    min-height: 320px;
  }
}

/* ==========================================================================
   DUB STAGE INTERACTIVE LOBBY (Exact user reference screen)
   ========================================================================== */
.tcv-dub-lobby {
  position: absolute;
  inset: 0;
  background-color: #0c0f17;
  background-image: 
    linear-gradient(rgba(30, 41, 59, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.45) 1px, transparent 1px);
  background-size: 30px 30px;
  padding: 24px clamp(16px, 3.5vw, 36px);
  display: none;
  z-index: 3;
  overflow-y: auto;
  align-items: center;
}

.tcv-dub-lobby-grid {
  display: flex;
  gap: clamp(18px, 3.5vw, 36px);
  width: 100%;
  align-items: center;
}

.tcv-dub-lobby-left {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tcv-dub-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tcv-dub-eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.tcv-dub-eq-bars span {
  width: 2.5px;
  background: #2dd4bf;
  border-radius: 1px;
  animation: tcvEqPulse 1.2s ease-in-out infinite alternate;
}
.tcv-dub-eq-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.tcv-dub-eq-bars span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.tcv-dub-eq-bars span:nth-child(3) { height: 8px; animation-delay: 0.2s; }

@keyframes tcvEqPulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.tcv-dub-stacked-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  line-height: 0.94;
  letter-spacing: -1px;
}

.tcv-dub-word-choicer {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.tcv-dub-word-voicer {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.tcv-dub-tagline {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 2px;
  margin: 8px 0 16px 0;
  text-transform: uppercase;
}

.tcv-dub-lang-section {
  margin-bottom: 14px;
}

.tcv-dub-section-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
}

.tcv-dub-label-title {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tcv-dub-label-hint {
  font-size: 10px;
  color: #64748b;
}

.tcv-dub-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tcv-dub-lang-card {
  background: #111622;
  border: 1.5px solid #1f293d;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  user-select: none;
}

.tcv-dub-lang-card:hover {
  border-color: #fbbf24;
  background: #171f2e;
}

.tcv-dub-lang-card.is-active {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

.tcv-dub-lang-badge {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid #475569;
  color: #cbd5e1;
  flex-shrink: 0;
}

.tcv-dub-lang-card.is-active .tcv-dub-lang-badge {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #000000;
}

.tcv-dub-lang-info {
  min-width: 0;
  line-height: 1.2;
}

.tcv-dub-lang-info strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcv-dub-lang-info span {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.tcv-dub-active-pack-wrap {
  margin-top: 4px;
}

.tcv-dub-active-pack-label {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.tcv-dub-active-pack-card {
  background: #111622;
  border: 1.5px solid #232d40;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tcv-dub-active-pack-card:hover {
  border-color: #38bdf8;
  background: #161e2f;
}

.tcv-dub-pack-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tcv-dub-pack-info {
  min-width: 0;
}

.tcv-dub-pack-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcv-dub-pack-info span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
}

/* Right Action Buttons Deck */
.tcv-dub-lobby-right {
  flex: 0.95;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.tcv-dub-action-btn {
  width: 100%;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.tcv-dub-action-btn:hover {
  transform: translateY(-2px);
}

.tcv-dub-action-btn:active {
  transform: translateY(1px);
}

.tcv-btn-play-action {
  background: #fbbf24;
  border: 2.5px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  padding: 14px 18px;
}

.tcv-btn-play-action:hover {
  background: #f59e0b;
  box-shadow: 6px 6px 0px #000000;
}

.tcv-btn-play-action strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #000000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tcv-btn-play-action span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #451a03;
  margin-top: 2px;
}

.tcv-btn-multiplayer-action {
  background: #f87171;
  border: 2.5px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  padding: 14px 18px;
}

.tcv-btn-multiplayer-action:hover {
  background: #ef4444;
  box-shadow: 6px 6px 0px #000000;
}

.tcv-btn-multiplayer-action strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #000000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tcv-btn-multiplayer-action span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #450a0a;
  margin-top: 2px;
}

.tcv-btn-mods-action {
  background: #0e1422;
  border: 2px solid #38bdf8;
  padding: 13px 18px;
}

.tcv-btn-mods-action:hover {
  background: #141d30;
  border-color: #7dd3fc;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.tcv-btn-mods-action strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tcv-btn-mods-action span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 2px;
}

/* Modals */
.tcv-dub-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 21, 0.88);
  backdrop-filter: blur(6px);
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tcv-dub-modal-overlay.is-open {
  display: flex;
}

.tcv-dub-modal-box {
  background: #111624;
  border: 2px solid #38bdf8;
  border-radius: 8px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: tcvModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tcvModalPop {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.tcv-dub-modal-header {
  background: #161c2d;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #232d42;
}

.tcv-dub-modal-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tcv-dub-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}

.tcv-dub-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.tcv-dub-modal-body {
  padding: 16px 18px;
  max-height: 340px;
  overflow-y: auto;
}

.tcv-dub-pack-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tcv-dub-pack-choice {
  background: #161d2d;
  border: 1px solid #243048;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tcv-dub-pack-choice:hover {
  border-color: #38bdf8;
  background: #1d273c;
  transform: translateX(4px);
}

.tcv-dub-pack-choice.is-selected {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
}

@media (max-width: 768px) {
  .tcv-dub-lobby-grid {
    flex-direction: column;
    gap: 18px;
  }
  .tcv-dub-lobby {
    padding: 16px;
  }
  .tcv-dub-lang-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CHOICER VOICER DUB PACK LIBRARY (Pixel-Perfect to choicervoicer.games)
   ========================================================================== */

.tcv-dub-pack-library {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: #111413;
  padding: 16px 20px 20px;
  box-sizing: border-box;
  animation: tcvPklibFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes tcvPklibFadeIn {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Header Row */
.tcv-pklib-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tcv-pklib-back-btn {
  background: #151918;
  border: 1.5px solid #2dd4bf;
  color: #2dd4bf;
  font-family: 'Share Tech Mono', 'Outfit', monospace, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tcv-pklib-back-btn:hover {
  background: rgba(45, 212, 191, 0.15);
  border-color: #5eead4;
  color: #5eead4;
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.25);
  transform: translateX(-2px);
}

.tcv-pklib-header-center {
  flex: 1;
  text-align: left;
}

.tcv-pklib-category-label {
  display: block;
  color: #2dd4bf;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tcv-pklib-main-title {
  color: #f3b233;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
}

.tcv-pklib-status-badge {
  color: #2dd4bf;
  font-family: 'Share Tech Mono', monospace, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

/* Horizontal Divider */
.tcv-pklib-divider {
  width: 100%;
  height: 2px;
  background: #2dd4bf;
  margin: 14px 0 16px;
  opacity: 0.9;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}

/* Search Section */
.tcv-pklib-search-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.tcv-pklib-search-label {
  color: #2dd4bf;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tcv-pklib-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcv-pklib-input-wrap {
  flex: 1;
  position: relative;
}

.tcv-pklib-input {
  width: 100%;
  background: #171c1a;
  border: 1.5px solid #283632;
  border-radius: 3px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  padding: 9px 14px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.tcv-pklib-input:focus {
  border-color: #2dd4bf;
  background: #19221f;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.15);
}

.tcv-pklib-input::placeholder {
  color: #64748b;
}

.tcv-pklib-nsfw-btn {
  background: #f3b233;
  color: #0b0e0d;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 16px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tcv-pklib-nsfw-btn:hover {
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(243, 178, 51, 0.4);
}

.tcv-pklib-nsfw-btn.is-active-shown {
  background: #ef4444;
  color: #ffffff;
}

/* Scrollable Pack Grid */
.tcv-pklib-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  overflow-y: auto;
  max-height: 440px;
  padding-right: 6px;
  box-sizing: border-box;
}

/* Custom Scrollbar for Grid */
.tcv-pklib-grid::-webkit-scrollbar {
  width: 8px;
}
.tcv-pklib-grid::-webkit-scrollbar-track {
  background: #141817;
  border-radius: 4px;
}
.tcv-pklib-grid::-webkit-scrollbar-thumb {
  background: #25332f;
  border-radius: 4px;
}
.tcv-pklib-grid::-webkit-scrollbar-thumb:hover {
  background: #2dd4bf;
}

/* Pack Card */
.tcv-pk-card {
  background: #161b1a;
  border: 1.5px solid #24302d;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  min-height: 146px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tcv-pk-card:hover {
  border-color: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.tcv-pk-card.is-hidden {
  display: none !important;
}

/* Left: Thumbnail */
.tcv-pk-thumb-wrap {
  position: relative;
  width: 145px;
  min-width: 145px;
  background: #0d1110;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcv-pk-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.tcv-pk-card:hover .tcv-pk-thumb-img {
  transform: scale(1.04);
}

.tcv-pk-tag-top {
  position: absolute;
  top: 0;
  left: 0;
  background: #166534;
  color: #4ade80;
  font-family: 'Share Tech Mono', monospace;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.1;
  padding: 3px 5px;
  border-bottom-right-radius: 3px;
  letter-spacing: 0.5px;
  text-align: center;
}

.tcv-pk-tag-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f3b233;
  color: #000000;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-align: center;
  padding: 3px 4px;
  text-transform: uppercase;
}

/* Right: Content */
.tcv-pk-content {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  background: #161b1a;
}

.tcv-pk-creator {
  color: #2dd4bf;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
}

.tcv-pk-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcv-pk-meta {
  color: #94a3b8;
  font-family: 'Share Tech Mono', monospace, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.tcv-pk-select-btn {
  background: #2dd4bf;
  color: #071210;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  padding: 9px 14px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.tcv-pk-select-btn:hover {
  background: #5eead4;
  color: #000000;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.4);
  transform: translateY(-1px);
}

.tcv-pk-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
}

.tcv-pk-empty-state h4 {
  color: #f3b233;
  font-size: 18px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .tcv-pklib-grid {
    grid-template-columns: 1fr;
    max-height: 380px;
  }
  .tcv-pklib-main-title {
    font-size: 18px;
  }
  .tcv-pk-thumb-wrap {
    width: 110px;
    min-width: 110px;
  }
}


