* {
  -webkit-tap-highlight-color: transparent;
}

/* ===== GEOMETRIC TOKENS (ZERO COLOR IN :ROOT) ===== */
:root {
  --nst-radius-sm: 4px;
  --nst-radius-md: 8px;
  --nst-radius-lg: 12px;
  --nst-radius-diagonal: 8px 0px 8px 0px;
  --nst-container-max: 1480px;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: "Sora", sans-serif;
  background-color: var(--nst-bg);
  color: var(--nst-text);
}

body {
  margin: 0;
  background-color: var(--nst-bg);
  color: var(--nst-text);
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

.nst-holder {
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.visually-hidden, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== TOP BAR HEADER ===== */
.nst-top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nst-bg-alpha-95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nst-border);
}

.nst-top-header__holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.nst-top-header__brand {
  flex-shrink: 0;
}

.nst-top-header__logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--nst-text-primary);
}

.nst-top-header__logo .nst-logo-body {
  color: var(--nst-text-primary);
}

.nst-top-header__logo .nst-logo-ext {
  color: var(--nst-primary-bright);
  background: linear-gradient(135deg, var(--nst-primary-bright), var(--nst-accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nst-top-header__logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

/* Search Bar in Header */
.nst-top-header__search {
  flex: 1;
  max-width: 580px;
  margin: 0 auto;
}

.nst-header-search-form {
  position: relative;
  width: 100%;
}

.nst-search-input-holder {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  padding: 2px 4px 2px 12px;
  transition: all 0.2s ease;
}

.nst-search-input-holder:focus-within {
  border-color: var(--nst-primary-bright);
  box-shadow: 0 0 0 3px var(--nst-primary-alpha-25);
  background: var(--nst-bg-card-alt);
}

.nst-search-icon {
  color: var(--nst-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.nst-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--nst-text);
  font-size: 0.9rem;
  padding: 8px 4px;
}

.nst-search-input::placeholder {
  color: var(--nst-text-dim);
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 0 2px 0 6px;
  background:
    linear-gradient(45deg, transparent 42%, var(--nst-primary-bright) 42%, var(--nst-primary-bright) 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--nst-primary-bright) 42%, var(--nst-primary-bright) 58%, transparent 58%);
  opacity: 0.9;
  cursor: pointer;
}

.nst-search-submit-interact {
  background: var(--nst-primary);
  color: var(--nst-text-on-primary);
  border-radius: var(--nst-radius-sm);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nst-search-submit-interact:hover {
  background: var(--nst-primary-bright);
  box-shadow: 0 2px 8px var(--nst-primary-glow);
}

/* Autocomplete Dropdown */
.nst-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  box-shadow: var(--nst-shadow-modal);
  z-index: 120;
  display: none;
  overflow: hidden;
}

.nst-autocomplete-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--nst-text);
  border-bottom: 1px solid var(--nst-text-alpha-05);
  transition: background 0.15s ease, color 0.15s ease;
}

.nst-autocomplete-dropdown a:last-child {
  border-bottom: none;
}

.nst-autocomplete-dropdown a:hover {
  background: var(--nst-primary-alpha-20);
  color: var(--nst-primary-bright);
  padding-left: 18px;
}

/* Header Mobile Actions */
.nst-top-header__actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.nst-header-interact-interact {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text);
  transition: all 0.2s ease;
}

.nst-header-interact-interact:hover {
  border-color: var(--nst-primary-bright);
  color: var(--nst-primary-bright);
}

.nst-hamburger-interact {
  flex-direction: column;
  gap: 4px;
}

.nst-hamburger-line {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Collapsible Search Drawer */
.nst-mobile-search-drawer {
  display: none;
  width: 100%;
  background: var(--nst-bg-surface);
  border-top: 1px solid var(--nst-border);
  padding: 10px 0;
}

.nst-mobile-search-drawer--active {
  display: block;
}

.nst-mobile-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--nst-bg);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  padding: 2px 6px 2px 12px;
}

.nst-mobile-search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--nst-text-primary);
  padding: 8px 0;
  font-size: 0.9rem;
}

.nst-mobile-search-form button {
  color: var(--nst-primary-bright);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE ASIDE DRAWER (LEFT DRAWER FULL TEXT) ===== */
.nst-mobile-drawer-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: var(--nst-bg-surface);
  border-right: 1px solid var(--nst-border);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--nst-shadow-drawer);
}

.nst-mobile-drawer-drawer--active {
  transform: translateX(0);
}

.nst-mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: var(--nst-backdrop);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nst-mobile-drawer-backdrop--active {
  opacity: 1;
  visibility: visible;
}

.nst-mobile-drawer-drawer__header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--nst-border);
  background: var(--nst-bg-alpha-50);
}

.nst-drawer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  letter-spacing: -0.3px;
}

.nst-drawer-close-interact {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nst-text-muted);
  border-radius: var(--nst-radius-sm);
  background: var(--nst-text-alpha-05);
  transition: all 0.2s ease;
}

.nst-drawer-close-interact:hover {
  color: var(--nst-text-primary);
  background: var(--nst-text-alpha-10);
}

.nst-mobile-drawer-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.nst-mobile-menu-deck {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nst-mobile-menu-element {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--nst-radius-md);
  color: var(--nst-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nst-mobile-menu-element .nst-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nst-text-dim);
}

.nst-mobile-menu-element:hover {
  background: var(--nst-primary-alpha-10);
  color: var(--nst-text-primary);
}

.nst-mobile-menu-element:hover .nst-menu-icon {
  color: var(--nst-primary-bright);
}

.nst-mobile-menu-element.active {
  position: relative;
  background: var(--nst-primary-alpha-20);
  color: var(--nst-primary-bright);
  font-weight: 600;
  border-left: 0;
  background-image: linear-gradient(90deg, var(--nst-primary-alpha-20), transparent 85%);
}

.nst-mobile-menu-element.active::before,
.nst-menu-deck__element--active::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--nst-primary-bright), var(--nst-accent-cyan));
  box-shadow: 0 0 14px var(--nst-primary-glow);
  pointer-events: none;
}

.nst-mobile-menu-element.active .nst-menu-icon {
  color: var(--nst-primary-bright);
}

/* ===== STUDIO APP SHELL LAYOUT ===== */
.nst-studio-gallery {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  flex: 1;
}

/* Left Vertical Nav Deck (Desktop) */
.nst-left-menu-deck {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 100px);
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border-glow);
  border-radius: 10px 0px 10px 0px;
  overflow-y: auto;
  box-shadow: 0 4px 12px var(--nst-backdrop);
}

.nst-left-menu-deck::-webkit-scrollbar {
  width: 4px;
}

.nst-left-menu-deck::-webkit-scrollbar-thumb {
  background: var(--nst-border);
  border-radius: 4px;
}

.nst-left-menu-deck__inner {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nst-menu-deck__block-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--nst-text-dim);
  padding: 0 6px;
}

.nst-menu-deck__block-title--sm {
  font-size: 0.7rem;
  margin-bottom: 6px;
}

.nst-menu-deck__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nst-menu-deck__element {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px 0px 10px 0px;
  color: var(--nst-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  overflow: hidden;
}

.nst-menu-deck__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nst-text-dim);
  transition: color 0.2s ease;
}

.nst-menu-deck__sticker {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nst-menu-deck__element:hover {
  background: var(--nst-primary-alpha-10);
  color: var(--nst-text-primary);
}

.nst-menu-deck__element:hover .nst-menu-deck__icon {
  color: var(--nst-primary-bright);
}

.nst-menu-deck__element--active {
  background: var(--nst-primary-alpha-18);
  color: var(--nst-primary-bright);
  font-weight: 600;
  border-left: 0;
  background-image: linear-gradient(90deg, var(--nst-primary-alpha-18), transparent 85%);
  box-shadow: inset 0 0 12px var(--nst-primary-glow-subtle);
}

.nst-menu-deck__element--active .nst-menu-deck__icon {
  color: var(--nst-primary-bright);
}

/* Square banner */
.nst-menu-deck__square-banner {
  margin-top: 0.85rem;
}

/* Main Media Canvas */
.nst-body-holder {
  flex: 1;
  min-width: 0;
}

.nst-holder-block {
  width: 100%;
}

/* ===== HEADINGS ===== */
.nst-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--nst-border);
}

.nst-title__title-holder {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nst-title__sticker {
  width: 4px;
  height: 18px;
  background: linear-gradient(to bottom, var(--nst-primary-bright), var(--nst-primary));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--nst-primary-glow);
}

.nst-title__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  letter-spacing: -0.3px;
}

/* ===== VIDEO GRID & CARDS (DIAGONAL RADIUS SPEC) ===== */
.nst-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nst-element {
  display: flex;
  flex-direction: column;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border-glow);
  clip-path: none;
  border-radius: 10px 0px 10px 0px;
  padding: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nst-element:hover {
  border-color: var(--nst-primary-bright);
  box-shadow: 0 0 22px var(--nst-primary-glow);
  transform: translateY(-4px);
}

.nst-element__thumbnail {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--fv-thumb-aspect-ratio, 16/9);
  overflow: hidden;
  background-color: var(--nst-bg-surface);
  clip-path: none;
  border-radius: 10px 0px 10px 0px;
  border: 1px solid color-mix(in srgb, var(--nst-primary-bright) 15%, transparent);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nst-element:hover .nst-element__thumbnail {
  border-color: var(--nst-primary-bright);
  box-shadow: 0 0 20px var(--nst-primary-glow), 0 8px 24px rgba(0, 0, 0, 0.8);
}

.nst-element:hover .nst-element__thumbnail img {
  transform: scale(1.02);
}

.nst-element__labels {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
}

.nst-sticker-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--nst-primary), var(--nst-primary-dark));
  color: var(--nst-text-on-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px var(--nst-backdrop);
}

.nst-element__byline {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: var(--nst-bg-alpha-85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--nst-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.nst-element__title {
  margin-top: 0.6rem;
}

.nst-element__title h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nst-text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1lh;
  transition: color 0.2s ease;
}

.nst-element:hover .nst-element__title h4 {
  color: var(--nst-primary-bright);
}

/* ===== PAGINATION ===== */
.nst-paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.nst-paginator__element a,
.nst-paginator__element span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nst-paginator__element a:hover {
  background: var(--nst-primary-alpha-20);
  border-color: var(--nst-primary-bright);
  color: var(--nst-primary-bright);
}

.nst-paginator__element--active a,
.nst-paginator__element--active span {
  background: var(--nst-primary);
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-on-primary);
  box-shadow: 0 0 12px var(--nst-primary-glow);
}

/* ===== BREADCRUMBS ===== */
.nst-breadcrumbs-area {
  margin-bottom: 0.75rem;
}

.nst-breadcrumbs-area .nst-holder {
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--nst-text-dim);
}

.nst-breadcrumbs-area a {
  color: var(--nst-text-muted);
}

.nst-breadcrumbs-area a:hover {
  color: var(--nst-primary-bright);
}

.nst-breadcrumbs-area .nst-current {
  color: var(--nst-primary-bright);
  font-weight: 500;
}

/* ===== TIME FILTERS ===== */
.nst-time-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.nst-time-search-interact {
  padding: 5px 14px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: 20px;
  color: var(--nst-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nst-time-search-interact:hover {
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-primary);
}

.nst-time-search-interact.active {
  background: var(--nst-primary);
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-on-primary);
  box-shadow: 0 0 10px var(--nst-primary-glow);
}

/* ===== SINGLE VIDEO PAGE STYLES ===== */
.nst-single-video-page {
  width: 100%;
}

.nst-single-video-top-menu {
  margin-bottom: 1rem;
}

.nst-single-video-header {
  margin-top: 0.5rem;
}

.nst-single-video-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  line-height: 1.35;
  letter-spacing: -0.3px;
}

/* Player Canvas 16:9 Full Width */
.nst-single-player-holder {
  width: 100%;
  margin-bottom: 1.25rem;
}

.nst-player-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--nst-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nst-border);
  box-shadow: 0 8px 30px var(--nst-backdrop);
}

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

.nst-player-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Quick Toolbar (< 768px) */
.nst-mobile-quick-menu {
  display: none;
  margin-bottom: 1rem;
}

.nst-quick-menu-sticker {
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: 30px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 16px var(--nst-backdrop);
}

.nst-quick-servers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nst-quick-server-interact {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--nst-bg-card);
  border: 1px solid var(--nst-border);
  color: var(--nst-text-muted);
  transition: all 0.2s ease;
}

.nst-quick-server-interact.nst-player__cdn--active {
  background: var(--nst-primary);
  color: var(--nst-text-on-primary);
  border-color: var(--nst-primary-bright);
}

.nst-quick-byline-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nst-quick-stat-element {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nst-text-muted);
}

.nst-quick-like-interact {
  background: var(--nst-primary-alpha-15);
  border: 1px solid var(--nst-primary-alpha-25);
  padding: 4px 8px;
  border-radius: 16px;
  color: var(--nst-primary-bright);
}

/* Below Player Split 70% / 30% (Desktop) */
.nst-single-video-byline {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.nst-single-byline-left {
  flex: 7;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nst-single-byline-right {
  flex: 3;
  min-width: 0;
}

/* Server Switch Deck */
.nst-server-switch-deck {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  padding: 10px 14px;
  flex-wrap: wrap;
}

.nst-server-deck-sticker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nst-text-muted);
}

.nst-server-pills-deck {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nst-sapphire-sticker {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--nst-bg-card);
  border: 1px solid var(--nst-border);
  border-radius: 20px;
  color: var(--nst-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nst-sapphire-sticker .nst-sticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nst-text-dim);
}

.nst-sapphire-sticker:hover {
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-primary);
}

.nst-sapphire-sticker.nst-player__cdn--active {
  background: linear-gradient(135deg, var(--nst-primary), var(--nst-primary-dark));
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-on-primary);
  box-shadow: 0 0 14px var(--nst-primary-glow);
}

.nst-sapphire-sticker.nst-player__cdn--active .nst-sticker-dot {
  background: var(--nst-primary-bright);
  box-shadow: 0 0 6px var(--nst-primary-bright);
}

/* Description Card */
.nst-single-description-panel {
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  padding: 1.25rem;
}

.nst-panel-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nst-text-dim);
  margin-bottom: 0.75rem;
}

.nst-panel-body {
  color: var(--nst-text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Video Tags & Categories */
.nst-single-tags-deck {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nst-single-tax-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nst-tax-group-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nst-tax-group-sticker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nst-text-dim);
}

.nst-video__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nst-sticker-sticker {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nst-sticker-sticker:hover {
  border-color: var(--nst-primary-bright);
  color: var(--nst-primary-bright);
  background: var(--nst-primary-alpha-10);
}

.nst-sticker-sticker--cat {
  border-color: var(--nst-cyan-alpha-30);
  color: var(--nst-accent-cyan);
}

.nst-sticker-sticker--cat:hover {
  border-color: var(--nst-accent-cyan);
  background: var(--nst-cyan-alpha-15);
}

/* Right Block (30% Interaction Card) */
.nst-single-interaction-panel {
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 20px var(--nst-backdrop);
}

.nst-byline-header {
  border-bottom: 1px solid var(--nst-border);
  padding-bottom: 0.5rem;
}

.nst-byline-sticker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nst-text-dim);
}

.nst-byline-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nst-metric-element {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--nst-bg-card);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  padding: 10px 14px;
}

.nst-metric-icon {
  color: var(--nst-primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nst-metric-data {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nst-metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  line-height: 1;
}

.nst-metric-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--nst-text-dim);
  text-transform: lowercase;
  line-height: 1;
}

/* Big Like Button */
.nst-big-like-interact {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--nst-border), var(--nst-bg-surface));
  border: 1px solid var(--nst-border-light);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.nst-big-like-interact .nst-like-sticker {
  background: var(--nst-primary-alpha-25);
  border: 1px solid var(--nst-border-glow-active);
  color: var(--nst-primary-bright);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.nst-big-like-interact:hover,
.nst-big-like-interact.liked {
  background: linear-gradient(135deg, var(--nst-primary), var(--nst-primary-dark));
  border-color: var(--nst-primary-bright);
  box-shadow: 0 4px 16px var(--nst-primary-glow);
  transform: translateY(-1px);
}

.nst-big-like-interact:hover .nst-like-sticker,
.nst-big-like-interact.liked .nst-like-sticker {
  background: var(--nst-text-primary);
  color: var(--nst-primary);
  border-color: var(--nst-text-primary);
}

/* Action Buttons Group */
.nst-interact-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nst-interact-interact-share {
  width: 100%;
  padding: 10px 14px;
  background: var(--nst-bg-card);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nst-interact-interact-share:hover {
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-primary);
  background: var(--nst-primary-alpha-10);
}

/* Related Videos Section */
.nst-single-related-block {
  margin-top: 2rem;
}

.nst-load-more-holder {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.nst-interact--load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nst-interact--load-more:hover {
  background: var(--nst-primary);
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-on-primary);
  box-shadow: 0 4px 16px var(--nst-primary-glow);
}

.nst-element--skeleton { pointer-events: none; }
.nst-element--skeleton:hover { transform: none; }
.nst-element--skeleton .nst-element__thumbnail,
.nst-element--skeleton .nst-element__title h4 {
  background: linear-gradient(90deg, var(--nst-bg-surface) 25%, color-mix(in srgb, var(--nst-primary-bright) 16%, var(--nst-bg-surface)) 50%, var(--nst-bg-surface) 75%);
  background-size: 200% 100%;
  animation: nst-skeleton-shimmer 1.4s ease-in-out infinite;
}
.nst-element--skeleton .nst-element__title h4 { width: 78%; min-height: 1lh; color: transparent; border-radius: 4px; }
@keyframes nst-skeleton-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .nst-element--skeleton .nst-element__thumbnail, .nst-element--skeleton .nst-element__title h4 { animation: none; } }

/* ===== BANNER ADS ===== */
.fv-header-banner,
.fv-footer-banner {
  margin: 1.5rem auto;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv-header-banner > *,
.fv-footer-banner > * {
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.nst-site-footer-wrap {
  background: var(--nst-bg-deep);
  border-top: 1px solid var(--nst-border);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.nst-footer-wrap__menu {
  margin-bottom: 1.5rem;
}

.nst-footer-wrap__tags-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nst-text-dim);
  margin-bottom: 0.75rem;
}

.nst-footer-wrap__tags-deck {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nst-footer-wrap__sticker-element {
  display: inline-block;
  padding: 4px 10px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-sm);
  color: var(--nst-text-muted);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.nst-footer-wrap__sticker-element:hover {
  border-color: var(--nst-primary-bright);
  color: var(--nst-primary-bright);
  background: var(--nst-primary-alpha-10);
}

.nst-footer-wrap__sticker-element--partner {
  border-color: var(--nst-cyan-alpha-25);
  color: var(--nst-text-muted);
}

.nst-footer-wrap__sticker-element--partner:hover {
  border-color: var(--nst-accent-cyan);
  color: var(--nst-accent-cyan);
}

.nst-footer-wrap__backlinks {
  margin-bottom: 1.5rem;
}

.nst-footer-wrap__text {
  border-top: 1px solid var(--nst-text-alpha-05);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.nst-footer-wrap__site-desc {
  font-size: 0.88rem;
  color: var(--nst-text-muted);
  margin-bottom: 0.75rem;
}

.nst-footer-wrap__seo-text {
  font-size: 0.82rem;
  color: var(--nst-text-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nst-policy-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.75rem;
}

.nst-policy-menu a {
  font-size: 0.82rem;
  color: var(--nst-text-dim);
  transition: color 0.2s ease;
}

.nst-policy-menu a:hover {
  color: var(--nst-primary-bright);
}

.nst-footer-wrap__bottom {
  border-top: 1px solid var(--nst-text-alpha-05);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nst-footer-wrap__copyright {
  font-size: 0.82rem;
  color: var(--nst-text-dim);
}

.nst-dmca-sticker img {
  height: 20px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nst-dmca-sticker:hover img {
  opacity: 1;
}

/* ===== POLICY & STATIC PAGES ===== */
.nst-policy {
  width: 100%;
}

.nst-policy-page {
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-lg);
  padding: 2rem;
}

.nst-policy-kicker {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--nst-border);
  padding-bottom: 0.75rem;
}

.nst-policy-panel {
  color: var(--nst-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.nst-policy-panel h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.nst-policy-panel p {
  margin-bottom: 1rem;
}

.nst-policy-panel a {
  color: var(--nst-primary-bright);
  text-decoration: underline;
}

.nst-policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.nst-policy-table th,
.nst-policy-table td {
  padding: 10px 14px;
  border: 1px solid var(--nst-border);
  text-align: left;
  font-size: 0.9rem;
}

.nst-policy-table thead {
  background: var(--nst-bg-card);
  color: var(--nst-text-primary);
}

.nst-policy-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.nst-policy-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nst-text-primary);
}

.nst-policy-form input,
.nst-policy-form select,
.nst-policy-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--nst-bg);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text-primary);
}

.nst-policy-form input:focus,
.nst-policy-form select:focus,
.nst-policy-form textarea:focus {
  outline: none;
  border-color: var(--nst-primary-bright);
}

.nst-policy-interact {
  display: inline-block;
  padding: 10px 20px;
  background: var(--nst-primary);
  color: var(--nst-text-on-primary);
  font-weight: 600;
  border-radius: var(--nst-radius-md);
  transition: all 0.2s ease;
}

.nst-policy-interact:hover {
  background: var(--nst-primary-bright);
}

/* 404 Error Page */
.nst-error-404-panel {
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
}

.nst-error-404-code {
  font-size: 5rem;
  font-weight: 900;
  color: var(--nst-primary-bright);
  line-height: 1;
  margin-bottom: 1rem;
}

.nst-error-404-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nst-text-primary);
  margin-bottom: 0.5rem;
}

.nst-error-404-desc {
  font-size: 0.95rem;
  color: var(--nst-text-muted);
  margin-bottom: 1.5rem;
}

.nst-interact--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--nst-primary);
  color: var(--nst-text-on-primary);
  font-weight: 600;
  border-radius: var(--nst-radius-md);
  transition: all 0.2s ease;
}

.nst-interact--primary:hover {
  background: var(--nst-primary-bright);
  box-shadow: 0 4px 16px var(--nst-primary-glow);
}

/* Empty notices */
.nst-empty-notice {
  text-align: center;
  color: var(--nst-text-muted);
  font-size: 1rem;
  padding: 2rem;
}

.nst-empty-search-notice {
  text-align: center;
  padding: 2rem;
}

.nst-empty-hint {
  color: var(--nst-text-dim);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* ===== TOAST NOTIFICATION ===== */
.nst-sapphire-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--nst-bg-card);
  border: 1px solid var(--nst-primary-bright);
  color: var(--nst-text-primary);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--nst-backdrop), 0 0 12px var(--nst-primary-glow);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nst-sapphire-toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== BACK TO TOP BUTTON ===== */
.nst-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--nst-bg-surface);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius-md);
  color: var(--nst-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px var(--nst-backdrop);
}

.nst-back-to-top:hover {
  background: var(--nst-primary);
  border-color: var(--nst-primary-bright);
  color: var(--nst-text-on-primary);
  box-shadow: 0 0 16px var(--nst-primary-glow);
}

.nst-back-to-top.nst-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nst-mt-4 { margin-top: 1rem; }
.nst-mt-5 { margin-top: 1.5rem; }
.nst-text-center { text-align: center; }

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet (768px – 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .nst-left-menu-deck {
    display: none;
  }

  .nst-top-header__search {
    max-width: 380px;
  }

  .nst-top-header__actions {
    display: flex;
  }

  .nst-mobile-search-toggle {
    display: none;
  }

  .nst-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .nst-single-video-byline {
    flex-direction: column;
  }

  .nst-single-byline-left,
  .nst-single-byline-right {
    width: 100%;
    flex: none;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .nst-left-menu-deck {
    display: none;
  }

  .nst-top-header__holder {
    height: 60px;
  }

  .nst-top-header__search {
    display: none;
  }

  .nst-top-header__actions {
    display: flex;
  }

  .nst-studio-gallery {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .nst-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nst-element__title h4 {
    font-size: 0.82rem;
  }

  /* Single Video Mobile Edge-to-Edge */
  .nst-single-video-top-menu {
    margin-bottom: 0.75rem;
  }

  .nst-single-video-title {
    font-size: 1.15rem;
  }

  .nst-single-player-holder {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    border-radius: 0;
  }

  .nst-player-holder {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .nst-mobile-quick-menu {
    display: block;
  }

  .nst-server-switch-deck {
    display: none;
  }

  .nst-single-video-byline {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .nst-single-byline-left,
  .nst-single-byline-right {
    width: 100%;
    flex: none;
  }

  .nst-footer-wrap__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== NEON HUD RADIO CONTROLS ===== */
.nst-quick-server-interact,
.nst-sapphire-sticker,
.nst-time-search-interact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border-color: color-mix(in srgb, var(--nst-primary-bright) 48%, transparent);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nst-quick-server-interact::before,
.nst-time-search-interact::before,
.nst-sapphire-sticker .nst-sticker-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 2px solid var(--nst-text-dim);
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nst-quick-server-interact::before,
.nst-time-search-interact::before {
  content: '';
}

.nst-quick-server-interact:hover,
.nst-sapphire-sticker:hover,
.nst-time-search-interact:hover {
  border-color: var(--nst-primary-bright);
  box-shadow: 0 0 12px var(--nst-primary-glow);
}

.nst-quick-server-interact:hover::before,
.nst-time-search-interact:hover::before,
.nst-sapphire-sticker:hover .nst-sticker-dot {
  border-color: var(--nst-primary-bright);
  box-shadow: 0 0 8px var(--nst-primary-bright);
}

.nst-quick-server-interact.nst-player__cdn--active,
.nst-time-search-interact.active,
.nst-sapphire-sticker.nst-player__cdn--active {
  border-color: var(--nst-primary-bright);
  box-shadow: 0 0 14px var(--nst-primary-glow), inset 0 0 10px color-mix(in srgb, var(--nst-primary-bright) 12%, transparent);
}

.nst-quick-server-interact.nst-player__cdn--active::before,
.nst-time-search-interact.active::before,
.nst-sapphire-sticker.nst-player__cdn--active .nst-sticker-dot {
  border-color: var(--nst-primary-bright);
  background: radial-gradient(circle, var(--nst-primary-bright) 0 3px, transparent 3.5px);
  box-shadow: 0 0 0 2px var(--nst-bg-deep), 0 0 10px var(--nst-primary-bright);
}

.nst-quick-server-interact:focus-visible,
.nst-sapphire-sticker:focus-visible,
.nst-time-search-interact:focus-visible {
  outline: 2px solid var(--nst-primary-bright);
  outline-offset: 3px;
}
