#community-section,
#live-view {
  scroll-margin-top: 5rem;
}

.community-home-section {
  margin-top: 1rem;
  border-top: 1px solid #2a3038;
  background: linear-gradient(180deg, rgba(18, 22, 26, 0.72), rgba(12, 15, 18, 0.96));
  scroll-margin-top: 5rem;
}

.community-home-section > .max-w-7xl {
  min-height: 26rem;
}

.page-view-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(42, 48, 56, 0.9);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-view-bar::-webkit-scrollbar {
  display: none;
}

.page-view-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.15rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  color: #9ca6b2;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.page-view-button:hover,
.page-view-button.is-active {
  border-color: rgba(245, 122, 32, 0.42);
  color: #fff;
  background: rgba(245, 122, 32, 0.12);
}

.page-view-button.is-active i,
[data-page-view].is-active {
  color: #f57a20;
}

.community-refresh-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: #6f7b87;
  font-size: 0.7rem;
  font-weight: 700;
}

.community-refresh-indicator.is-refreshing {
  color: #f57a20;
}

.community-is-hidden {
  display: none !important;
}

.monetization-slot-wrap {
  display: none;
  width: 100%;
  margin: 1.25rem 0;
  overflow: hidden;
  border: 1px solid rgba(245, 122, 32, 0.24);
  border-radius: 0.9rem;
  background: rgba(18, 22, 26, 0.78);
}

.monetization-slot-wrap[data-ad-state="active"] {
  display: block;
}

.monetization-slot-label {
  display: block;
  padding: 0.45rem 0.7rem 0.2rem;
  color: #8f9aa5;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.monetization-slot-frame {
  display: block;
  width: 100%;
  border: 0;
  background: #12161a;
}

.auth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

body.age-gate-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-180%);
  border: 1px solid #f57a20;
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  color: #fff;
  background: #1b2026;
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#main-content:focus {
  outline: 0;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 7, 10, 0.92);
  backdrop-filter: blur(8px);
}

.age-gate-card {
  width: min(28rem, 100%);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid #343e48;
  border-top: 3px solid #f57a20;
  border-radius: 1rem;
  background: #11171d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.age-gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #f3f4f6;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.age-gate-brand > span:last-child > span {
  color: #f57a20;
}

.age-gate-logo {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  color: #171c21;
  background: #f57a20;
  font-size: 1.1rem;
}

.age-gate-kicker {
  margin-top: 1.6rem;
  color: #f57a20;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.age-gate-card h1 {
  margin-top: 0.6rem;
  color: #fff;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.age-gate-description {
  margin: 0.9rem auto 0;
  max-width: 24rem;
  color: #c5cdd5;
  font-size: 0.92rem;
  line-height: 1.6;
}

.age-gate-legal {
  margin: 0.9rem auto 0;
  max-width: 23rem;
  color: #7f8b96;
  font-size: 0.72rem;
  line-height: 1.5;
}

.age-gate-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.age-gate-button {
  min-height: 2.9rem;
  border: 1px solid #f57a20;
  border-radius: 0.65rem;
  padding: 0.7rem 1rem;
  color: #f57a20;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.age-gate-button.primary {
  color: #fff;
  background: #f57a20;
  box-shadow: 0 8px 20px rgba(245, 122, 32, 0.2);
}

.age-gate-button:hover,
.age-gate-button:focus-visible {
  color: #fff;
  background: #ff8735;
  transform: translateY(-1px);
}

.age-gate-button.secondary {
  border-color: #3a444e;
  color: #aeb6bd;
}

.age-gate-button.secondary:hover,
.age-gate-button.secondary:focus-visible {
  border-color: #697582;
  background: #202831;
}

.age-gate-button:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.age-gate-status {
  min-height: 1.2rem;
  margin-top: 0.85rem;
  color: #fca5a5;
  font-size: 0.78rem;
  line-height: 1.4;
}

.age-verification-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(4, 7, 10, 0.94);
  backdrop-filter: blur(10px);
}

.age-verification-card {
  width: min(32rem, 100%);
  padding: clamp(1.4rem, 5vw, 2.25rem);
  border: 1px solid #343e48;
  border-top: 3px solid #f57a20;
  border-radius: 1rem;
  background: #11171d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.age-verification-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #171c21;
  background: #f57a20;
  font-size: 1.2rem;
}

.age-verification-kicker {
  margin-top: 1.2rem;
  color: #f57a20;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.age-verification-card h2 {
  margin-top: 0.55rem;
  color: #fff;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.15;
}

.age-verification-card > p:not(.age-verification-kicker):not(.age-verification-footnote) {
  margin-top: 0.8rem;
  color: #c5cdd5;
  font-size: 0.92rem;
  line-height: 1.55;
}

.age-verification-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.age-verification-field {
  display: grid;
  gap: 0.45rem;
  color: #e5e7eb;
  font-size: 0.82rem;
  font-weight: 700;
}

.age-verification-field input[type="date"] {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #343e48;
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
  color: #f3f4f6;
  background: #0d1217;
  color-scheme: dark;
  font: inherit;
}

.age-verification-field input[type="date"]:focus {
  border-color: #f57a20;
  outline: 2px solid rgba(245, 122, 32, 0.25);
  outline-offset: 1px;
}

.age-verification-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #c5cdd5;
  font-size: 0.82rem;
  line-height: 1.45;
}

.age-verification-check input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  accent-color: #f57a20;
}

.age-verification-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.age-verification-submit,
.age-verification-logout {
  min-height: 2.85rem;
  border: 1px solid #f57a20;
  border-radius: 0.65rem;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: #f57a20;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.age-verification-submit:hover,
.age-verification-submit:focus-visible {
  background: #ff8735;
}

.age-verification-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.age-verification-logout {
  border-color: #3a444e;
  color: #aeb6bd;
  background: transparent;
}

.age-verification-logout:hover,
.age-verification-logout:focus-visible {
  border-color: #697582;
  color: #fff;
  background: #202831;
}

.age-verification-submit:focus-visible,
.age-verification-logout:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.age-verification-message {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.age-verification-message.is-error {
  color: #fca5a5;
}

.age-verification-message.is-success {
  color: #86efac;
}

.age-verification-footnote {
  margin-top: 1rem;
  color: #7f8b96;
  font-size: 0.72rem;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .age-verification-actions {
    grid-template-columns: 1fr;
  }
}

.two-factor-modal {
  position: fixed;
  inset: 0;
  z-index: 145;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(4, 7, 10, 0.94);
  backdrop-filter: blur(10px);
}

.two-factor-card {
  width: min(32rem, 100%);
  padding: clamp(1.4rem, 5vw, 2.25rem);
  border: 1px solid #343e48;
  border-top: 3px solid #f57a20;
  border-radius: 1rem;
  background: #11171d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.two-factor-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #171c21;
  background: #f57a20;
  font-size: 1.2rem;
}

.two-factor-kicker {
  margin-top: 1.2rem;
  color: #f57a20;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.two-factor-card h2 {
  margin-top: 0.55rem;
  color: #fff;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.15;
}

.two-factor-card > p:not(.two-factor-kicker) {
  margin-top: 0.8rem;
  color: #c5cdd5;
  font-size: 0.92rem;
  line-height: 1.55;
}

.two-factor-form,
.admin-two-factor-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.two-factor-field,
.admin-two-factor-field {
  display: grid;
  gap: 0.45rem;
  color: #e5e7eb;
  font-size: 0.82rem;
  font-weight: 700;
}

.two-factor-field input,
.admin-two-factor-field input {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #343e48;
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
  color: #f3f4f6;
  background: #0d1217;
  outline: none;
  font: inherit;
  font-weight: 500;
}

.two-factor-field input {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.two-factor-field input:focus,
.admin-two-factor-field input:focus {
  border-color: #f57a20;
  outline: 2px solid rgba(245, 122, 32, 0.25);
  outline-offset: 1px;
}

.two-factor-submit,
.two-factor-cancel {
  min-height: 2.85rem;
  border: 1px solid #f57a20;
  border-radius: 0.65rem;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: #f57a20;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.two-factor-submit:hover,
.two-factor-submit:focus-visible {
  background: #ff8735;
}

.two-factor-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.two-factor-cancel {
  border-color: #3a444e;
  color: #aeb6bd;
  background: transparent;
}

.two-factor-cancel:hover,
.two-factor-cancel:focus-visible {
  border-color: #697582;
  color: #fff;
  background: #202831;
}

.two-factor-submit:focus-visible,
.two-factor-cancel:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.two-factor-message {
  min-height: 1.2rem;
  margin: 0;
  color: #fca5a5;
  font-size: 0.78rem;
  line-height: 1.4;
}

.header-quick-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
}

#site-header {
  position: sticky;
}

#site-nav-menu {
  position: fixed;
  top: var(--menu-top, 4.5rem);
  right: var(--menu-right, 0.5rem);
  z-index: 70;
  width: min(16rem, calc(100vw - 1rem));
  max-height: calc(100vh - var(--menu-top, 4.5rem) - 1rem);
  max-height: calc(100dvh - var(--menu-top, 4.5rem) - 1rem);
  overflow-y: auto;
  border-color: #2b333d;
  background: rgba(14, 19, 24, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  transform-origin: top right;
}

#site-nav-menu.menu-popover-open {
  animation: header-popover-in 150ms ease-out both;
}

#site-nav-menu::before {
  position: absolute;
  top: -0.35rem;
  right: 1.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid #2b333d;
  border-left: 1px solid #2b333d;
  background: #0e1318;
  content: '';
  transform: rotate(45deg);
}

@keyframes header-popover-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1023px) {
  #site-nav-menu:not(.menu-popover-open) {
    display: none !important;
  }

  #site-nav-menu.menu-popover-open {
    display: flex !important;
    width: min(16rem, calc(100vw - 1rem)) !important;
  }

}

@media (min-width: 1024px) {
  #site-nav-menu {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  #site-nav-menu::before {
    display: none;
  }
}

.header-icon-button {
  position: relative;
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #2b333d;
  border-radius: 0.7rem;
  color: #aeb6bd;
  background: #14191e;
  cursor: pointer;
  font-size: 0.95rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-icon-button:hover {
  border-color: #f57a20;
  color: #fff;
  background: #1d242b;
  transform: translateY(-1px);
}

.header-icon-button:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.notification-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  display: inline-flex;
  min-width: 1.1rem;
  height: 1.1rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  border: 2px solid #171c21;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.notifications-popover {
  position: fixed;
  top: var(--notifications-top, 4.5rem);
  right: var(--notifications-right, 1rem);
  z-index: 60;
  width: min(22rem, calc(100vw - 1rem));
  max-height: calc(100vh - var(--notifications-top, 4.5rem) - 1rem);
  max-height: calc(100dvh - var(--notifications-top, 4.5rem) - 1rem);
  transform-origin: top right;
}

  .notifications-popover:not(.community-is-hidden) {
  animation: header-popover-in 150ms ease-out both;
}

.notifications-panel {
  overflow: hidden;
  border: 1px solid #2b333d;
  border-radius: 0.95rem;
  background: #0e1318;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.notifications-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.8rem;
  border-bottom: 1px solid #28313a;
}

.notifications-kicker {
  margin-bottom: 0.2rem;
  color: #f57a20;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notifications-heading h2 {
  color: #f3f4f6;
  font-size: 1rem;
  font-weight: 800;
}

.notifications-close {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  color: #9ca3af;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.notifications-close:hover,
.notifications-close:focus-visible {
  border-color: #3b4650;
  color: #fff;
  background: #1b2229;
}

.notifications-list {
  display: grid;
  max-height: calc(100vh - var(--notifications-top, 4.5rem) - 5.5rem);
  max-height: calc(100dvh - var(--notifications-top, 4.5rem) - 5.5rem);
  gap: 0.35rem;
  overflow-y: auto;
  padding: 0.5rem;
}

.notification-item {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  color: #d1d5db;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease;
}

.notification-item:hover,
.notification-item:focus-visible,
.notification-item.is-unread {
  border-color: #343d46;
  background: #181f26;
}

.notification-item:focus-visible {
  outline: 2px solid #f57a20;
  outline-offset: -2px;
}

.notification-item .community-avatar {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  font-size: 0.65rem;
}

.notification-item-body {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.notification-item-text {
  color: #e5e7eb;
  font-size: 0.78rem;
  line-height: 1.35;
}

.notification-item-time {
  color: #7d8790;
  font-size: 0.65rem;
}

.notifications-empty {
  padding: 1.25rem 0.75rem;
  color: #7d8790;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 1023px) {
  .notifications-popover {
    width: min(16rem, calc(100vw - 1rem));
  }

  .notifications-heading {
    gap: 0.5rem;
    padding: 0.65rem 0.75rem 0.55rem;
  }

  .notifications-kicker {
    margin-bottom: 0.1rem;
    font-size: 0.52rem;
  }

  .notifications-heading h2 {
    font-size: 0.88rem;
  }

  .notifications-close {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.45rem;
  }

  .notifications-list {
    gap: 0.2rem;
    padding: 0.35rem;
  }

  .notification-item {
    gap: 0.45rem;
    padding: 0.45rem;
    border-radius: 0.55rem;
  }

  .notification-item .community-avatar {
    width: 1.8rem;
    height: 1.8rem;
    flex-basis: 1.8rem;
    font-size: 0.55rem;
  }

  .notification-item-body {
    gap: 0.1rem;
  }

  .notification-item-text {
    font-size: 0.7rem;
  }

  .notification-item-time {
    font-size: 0.58rem;
  }

  .notifications-empty {
    padding: 0.85rem 0.5rem;
    font-size: 0.7rem;
  }
}

.category-bar,
.category-subbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  margin-top: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar,
.category-subbar::-webkit-scrollbar {
  display: none;
}

.category-bar-title,
.category-subbar-label {
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-filter,
.category-subfilter {
  flex: 0 0 auto;
  border: 1px solid #2a3038;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: #aeb6bd;
  background: #1b2026;
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-filter:hover,
.category-subfilter:hover,
.category-filter.is-active,
.category-subfilter.is-active {
  border-color: #f57a20;
  color: #fff;
  background: rgba(245, 122, 32, 0.16);
}

.category-subbar {
  margin-top: 0.4rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #2a3038;
  border-radius: 0.75rem;
  background: rgba(18, 22, 26, 0.72);
}

.category-subbar.category-is-hidden {
  display: none;
}

.category-selection {
  margin: 0.35rem 0 0;
  color: #6b7280;
  font-size: 0.68rem;
}

.category-filtered {
  display: none !important;
}

.video-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.video-taxonomy span {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(245, 122, 32, 0.25);
  border-radius: 999px;
  color: #f5b181;
  background: rgba(245, 122, 32, 0.08);
  font-size: 0.64rem;
  font-weight: 700;
}

.homepage-videos-section {
  margin-bottom: 2.5rem;
}

.homepage-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2a3038;
}

.homepage-section-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  color: #f57a20;
  font-size: 0.75rem;
  font-weight: 800;
}

.homepage-section-link:hover {
  color: #ff984e;
  text-decoration: underline;
}

.homepage-video-empty {
  margin-top: 1.25rem;
  padding: 2.5rem 1rem;
  border: 1px dashed #33404a;
  border-radius: 1rem;
  color: #89939c;
  background: rgba(18, 22, 26, 0.45);
  font-size: 0.82rem;
  text-align: center;
}

.homepage-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.homepage-featured-card,
.homepage-side-video,
.homepage-video-card {
  overflow: hidden;
  border: 1px solid #2a3038;
  border-radius: 1rem;
  background: #1b2026;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.homepage-featured-card {
  min-width: 0;
}

.homepage-featured-media-wrap {
  position: relative;
  background: #080b0e;
}

.homepage-featured-media,
.homepage-video-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080b0e;
  object-fit: contain;
}

.homepage-video-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.45rem;
  padding: 0.38rem 0.6rem;
  color: #fff;
  background: #f15a24;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-featured-content {
  padding: 1rem 1.1rem 1.1rem;
}

.homepage-featured-title,
.homepage-video-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #f3f4f6;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homepage-featured-title {
  font-size: 1.2rem;
}

.homepage-video-card-title {
  font-size: 0.9rem;
}

.homepage-featured-title:hover,
.homepage-video-card-title:hover {
  color: #f57a20;
}

.homepage-video-author-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.homepage-video-author {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  cursor: pointer;
  text-align: left;
}

.homepage-video-author:hover strong {
  color: #f57a20;
}

.homepage-video-author-avatar {
  width: 2.2rem;
  height: 2.2rem;
  flex-basis: 2.2rem;
  font-size: 0.68rem;
}

.homepage-video-author-copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.homepage-video-author-copy strong,
.homepage-video-author-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homepage-video-author-copy strong {
  color: #f3f4f6;
  font-size: 0.75rem;
}

.homepage-video-author-copy span {
  color: #7d8790;
  font-size: 0.66rem;
}

.homepage-video-stats {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.65rem;
  color: #89939c;
  font-size: 0.68rem;
}

.homepage-video-stats i {
  margin-right: 0.18rem;
  color: #f57a20;
}

.homepage-featured-side {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
}

.homepage-side-video {
  display: grid;
  grid-template-columns: minmax(7rem, 0.9fr) minmax(0, 1.1fr);
  min-width: 0;
  transition: border-color 160ms ease, transform 160ms ease;
}

.homepage-side-video:hover,
.homepage-video-card:hover {
  border-color: rgba(245, 122, 32, 0.68);
  transform: translateY(-2px);
}

.homepage-side-video-media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 7rem;
  background: #080b0e;
  object-fit: cover;
}

.homepage-side-video-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem;
}

.homepage-side-video-copy .homepage-video-card-title {
  font-size: 0.78rem;
}

.homepage-side-video-copy .homepage-video-author-row {
  display: block;
  margin-top: 0.55rem;
}

.homepage-side-video-copy .homepage-video-author-avatar {
  display: none;
}

.homepage-video-library {
  margin-bottom: 2.5rem;
}

.homepage-section-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #2a3038;
}

.homepage-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.homepage-video-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.homepage-video-load-more {
  min-width: 12rem;
}

.homepage-video-grid > .homepage-video-empty {
  grid-column: 1 / -1;
  margin-top: 0;
}

.homepage-video-card {
  min-width: 0;
  transition: border-color 160ms ease, transform 160ms ease;
}

.homepage-video-card-body {
  padding: 0.8rem;
}

.watch-title-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.watch-title-button:focus-visible {
  outline: 2px solid #f57a20;
  outline-offset: 3px;
}

.video-watch-preview {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080b0e;
}

.video-watch-preview-image,
.video-watch-preview-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-watch-preview-placeholder {
  display: grid;
  place-items: center;
  color: #68737d;
  font-size: 2rem;
}

.video-watch-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 13, 0.05), rgba(7, 10, 13, 0.55));
  content: '';
  pointer-events: none;
}

.video-watch-preview-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: #f57a20;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.video-watch-preview-button:hover,
.video-watch-preview-button:focus-visible {
  background: #ff8735;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-watch-preview-button:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 3px;
}

.homepage-side-video > .video-watch-preview {
  min-height: 7rem;
}

.homepage-featured-media-wrap > .video-watch-preview,
.homepage-video-card > .video-watch-preview {
  width: 100%;
}

.homepage-side-video .video-watch-preview-button {
  width: 2.6rem;
  height: 2.6rem;
  font-size: 0.85rem;
}

.homepage-side-video-media .video-watch-preview-image,
.homepage-side-video-media .video-watch-preview-placeholder {
  min-height: 7rem;
}

.homepage-video-card-body .homepage-video-author-row {
  margin-top: 0.7rem;
}

.homepage-video-card-body .homepage-video-author-avatar {
  width: 1.9rem;
  height: 1.9rem;
  flex-basis: 1.9rem;
}

.homepage-video-card-body .homepage-video-stats {
  display: block;
  margin-top: 0.5rem;
}

.homepage-video-card-body .homepage-video-stats span + span {
  margin-left: 0.6rem;
}

.channel-directory {
  scroll-margin-top: 5rem;
}

.channel-directory-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  border: 1px solid rgba(245, 122, 32, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #fdbb86;
  background: rgba(245, 122, 32, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
}

.channel-directory-note i {
  color: #f57a20;
}

.channel-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.6rem;
  border: 1px solid #2a3038;
  border-radius: 0.9rem;
  background: rgba(18, 22, 26, 0.68);
}

.channel-sort-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.channel-sort-group::-webkit-scrollbar {
  display: none;
}

.channel-sort-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
  color: #89939c;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.channel-sort-button:hover,
.channel-sort-button.is-active {
  border-color: rgba(245, 122, 32, 0.32);
  color: #fff;
  background: rgba(245, 122, 32, 0.14);
}

.channel-sort-button.is-active i {
  color: #f57a20;
}

.channel-sort-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.channel-sort-button:focus-visible,
.channel-card-open:focus-visible,
.channel-card-follow:focus-visible,
.channel-search-field input:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.channel-search-field {
  position: relative;
  display: block;
  width: min(15rem, 35%);
  flex: 0 1 15rem;
}

.channel-search-field i {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  color: #68737d;
  font-size: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.channel-search-field input {
  width: 100%;
  border: 1px solid #2a3038;
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem 0.55rem 2rem;
  color: #f3f4f6;
  background: #12161a;
  font-size: 0.75rem;
}

.channel-search-field input::placeholder {
  color: #68737d;
}

.channel-directory-status {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  color: #7d8790;
  font-size: 0.72rem;
}

.channel-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 0.65rem;
}

.channel-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #2a3038;
  border-radius: 0.95rem;
  background: #1b2026;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.channel-card:hover {
  border-color: rgba(245, 122, 32, 0.65);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.channel-card-banner {
  height: 5.25rem;
  border-bottom: 1px solid #2a3038;
  background: linear-gradient(135deg, #27343f 0%, #14191e 55%, #302019 100%);
  background-position: center;
  background-size: cover;
}

.channel-card-main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 0.85rem;
}

.channel-card-open {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.channel-card-avatar {
  width: 3rem;
  height: 3rem;
  flex-basis: 3rem;
  border: 3px solid #1b2026;
  margin-top: -2.2rem;
  box-shadow: 0 0 0 1px #3b4650, 0 5px 14px rgba(0, 0, 0, 0.3);
}

.channel-card-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.channel-card-name,
.channel-card-username {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-card-name {
  color: #f3f4f6;
  font-size: 0.9rem;
  font-weight: 800;
}

.channel-card-username {
  color: #89939c;
  font-size: 0.7rem;
}

.channel-card-bio {
  display: -webkit-box;
  min-height: 2.7rem;
  margin: 0.85rem 0 0;
  overflow: hidden;
  color: #aeb6bd;
  font-size: 0.75rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.channel-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.8rem;
  color: #7d8790;
  font-size: 0.68rem;
}

.channel-card-stats strong {
  color: #e5e7eb;
}

.channel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2a3038;
}

.channel-card-latest {
  overflow: hidden;
  color: #68737d;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-card-follow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #f57a20;
  border-radius: 0.55rem;
  padding: 0.45rem 0.6rem;
  color: #fdbb86;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.channel-card-follow:hover,
.channel-card-follow.is-following {
  color: #fff;
  background: #f57a20;
}

.channel-card-follow:disabled {
  cursor: wait;
  opacity: 0.55;
}

.channel-directory-loading,
.channel-directory-empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  border: 1px dashed #33404a;
  border-radius: 0.9rem;
  color: #89939c;
  background: rgba(18, 22, 26, 0.45);
  font-size: 0.8rem;
  text-align: center;
}

.channel-directory-loading i {
  margin-right: 0.35rem;
  color: #f57a20;
}

.following-sidebar {
  --following-sidebar-width: min(16rem, calc(100vw - 1rem));
  --following-sidebar-rail: 2.25rem;
  position: fixed;
  top: var(--following-sidebar-top, 7rem);
  right: auto;
  bottom: 0.75rem;
  left: 0;
  z-index: 55;
  display: flex;
  width: var(--following-sidebar-width);
  min-height: 0;
  flex-direction: column;
  padding: 0.5rem 0.45rem;
  overflow: hidden;
  border: 1px solid #2b2b31;
  border-left: 0;
  border-radius: 0 0.75rem 0.75rem 0;
  background: #0e0e10;
  box-shadow: 10px 12px 30px rgba(0, 0, 0, 0.28);
  transform: translateX(calc(-100% + var(--following-sidebar-rail)));
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.following-sidebar.is-open {
  transform: translateX(0);
}

.following-sidebar.is-closed {
  padding: 0.25rem 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.following-sidebar-tab {
  position: absolute;
  top: 0.35rem;
  right: 0;
  display: flex;
  width: var(--following-sidebar-rail);
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 0.55rem 0 0 0.55rem;
  color: #fff;
  background: linear-gradient(180deg, #ff8735 0%, #f16d1b 100%);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(245, 122, 32, 0.2);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.following-sidebar-tab:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff984e 0%, #f57a20 100%);
  box-shadow: 0 6px 14px rgba(245, 122, 32, 0.28);
}

.following-sidebar-tab:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.following-sidebar-tab span {
  display: none;
}

.following-sidebar > .following-sidebar-heading,
.following-sidebar > .following-list {
  width: 100%;
  min-width: 0;
}

.following-sidebar > .following-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.following-sidebar-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 3.35rem 0.55rem 0.35rem;
  border-bottom: 1px solid #2b2b31;
}

.following-sidebar-heading h2 {
  color: #f3f4f6;
  font-size: 0.84rem;
  font-weight: 800;
}

.following-sidebar-kicker {
  margin-bottom: 0.15rem;
  color: #f57a20;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.following-sidebar-count {
  display: inline-flex;
  min-width: 1.3rem;
  height: 1.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fed7aa;
  background: #2a211a;
  font-size: 0.68rem;
  font-weight: 800;
}

.following-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.following-channel {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  color: #d1d5db;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.following-channel:hover,
.following-channel.has-new {
  border-color: #3b3b43;
  background: #18181b;
}

.following-channel:hover {
  color: #fff;
}

.following-channel-avatar {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  font-size: 0.65rem;
}

.following-channel-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 0.1rem;
}

.following-channel-copy strong,
.following-channel-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.following-channel-copy strong {
  color: #f3f4f6;
  font-size: 0.78rem;
}

.following-channel-copy small {
  color: #89939c;
  font-size: 0.68rem;
}

.following-new-flag {
  flex: 0 0 auto;
  color: #f57a20;
  font-size: 0.7rem;
  filter: drop-shadow(0 0 5px rgba(245, 122, 32, 0.45));
}

.following-empty {
  padding: 0.65rem 0.4rem;
  color: #7d8790;
  font-size: 0.75rem;
  line-height: 1.5;
}

.following-sidebar.is-closed > .following-sidebar-heading,
.following-sidebar.is-closed > .following-list {
  width: var(--following-sidebar-rail);
  margin-right: 0;
  margin-left: auto;
}

.following-sidebar.is-closed > .following-sidebar-heading {
  justify-content: center;
  padding: 0.25rem 0 0.45rem;
  border-bottom: 0;
}

.following-sidebar.is-closed .following-sidebar-heading > div,
.following-sidebar.is-closed .following-channel-copy,
.following-sidebar.is-closed .following-empty {
  display: none;
}

.following-sidebar.is-closed .following-channel {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  justify-content: center;
  padding: 0.2rem;
  gap: 0;
}

.following-sidebar.is-closed .following-channel-avatar {
  width: 1.7rem;
  height: 1.7rem;
  flex-basis: 1.7rem;
}

.following-sidebar.is-closed .following-new-flag {
  position: absolute;
  right: 0.06rem;
  bottom: 0.06rem;
  display: flex;
  width: 0.7rem;
  height: 0.7rem;
  align-items: center;
  justify-content: center;
  border: 2px solid #0e0e10;
  border-radius: 999px;
  color: #fff;
  background: #f57a20;
  font-size: 0.42rem;
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .following-sidebar.is-closed:hover,
  .following-sidebar.is-closed:focus-within {
    padding: 0.5rem 0.45rem;
    border-color: #2b2b31;
    background: #0e0e10;
    box-shadow: 10px 12px 30px rgba(0, 0, 0, 0.28);
    transform: translateX(0);
  }

  .following-sidebar.is-closed:hover > .following-sidebar-heading,
  .following-sidebar.is-closed:hover > .following-list,
  .following-sidebar.is-closed:focus-within > .following-sidebar-heading,
  .following-sidebar.is-closed:focus-within > .following-list {
    width: 100%;
  }

  .following-sidebar.is-closed:hover .following-sidebar-heading > div,
  .following-sidebar.is-closed:hover .following-channel-copy,
  .following-sidebar.is-closed:focus-within .following-sidebar-heading > div,
  .following-sidebar.is-closed:focus-within .following-channel-copy {
    display: grid;
  }

  .following-sidebar.is-closed:hover .following-channel,
  .following-sidebar.is-closed:focus-within .following-channel {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 0.45rem 0.4rem;
    gap: 0.55rem;
  }

  .following-sidebar.is-closed:hover .following-channel-avatar,
  .following-sidebar.is-closed:focus-within .following-channel-avatar {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
  }
}

.following-sidebar.is-open > .following-sidebar-heading,
.following-sidebar.is-open > .following-list {
  width: 100%;
}

.verified-badge {
  display: inline-flex;
  width: 0.9em;
  height: 0.9em;
  align-items: center;
  justify-content: center;
  margin-left: 0.28rem;
  color: #60a5fa;
  font-size: 0.82em;
  vertical-align: 0.06em;
  filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.28));
}

@media (min-width: 1024px) {
  body.following-sidebar-active > main {
    margin-left: 0;
  }
}

.profile-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.community-admin {
  max-width: 80rem;
  margin: 2.5rem auto 0;
  padding: 2rem 1rem 0;
  border-top: 1px solid #2a3038;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 10, 0.84);
  backdrop-filter: blur(5px);
}

.admin-modal-panel.community-admin {
  position: relative;
  z-index: 1;
  width: min(80rem, 100%);
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  padding: 1.5rem;
  overflow-y: auto;
  border: 1px solid #37424c;
  border-top: 1px solid #37424c;
  border-radius: 1rem;
  background: #11171d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.admin-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a3038;
  border-radius: 999px;
  color: #aeb6bd;
  background: #1b2026;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-modal-close:hover {
  border-color: #f57a20;
  color: #fff;
  background: rgba(245, 122, 32, 0.16);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.admin-panel-card {
  min-width: 0;
  padding: 1.25rem;
}

.admin-stats-card {
  grid-column: 1 / -1;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.admin-stat {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  border: 1px solid #2a3038;
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: #14191e;
}

.admin-stat strong {
  overflow-wrap: anywhere;
  color: #f3f4f6;
  font-size: 1.25rem;
  line-height: 1.1;
}

.admin-stat span {
  color: #7d8790;
  font-size: 0.7rem;
  line-height: 1.35;
}

.admin-featured-card {
  grid-column: 1 / -1;
}

.admin-security-card {
  grid-column: 1 / -1;
}

.admin-security-events-card {
  grid-column: 1 / -1;
}

.admin-two-factor-status {
  min-height: 1.25rem;
  margin-top: 1rem;
  color: #fed7aa;
  font-size: 0.78rem;
  line-height: 1.45;
}

.admin-two-factor-status.is-active {
  color: #bbf7d0;
}

.admin-two-factor-setup,
.admin-two-factor-enabled {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  border-top: 1px solid #2a3038;
  padding-top: 1rem;
}

.admin-two-factor-details {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
  border-top: 1px solid #2a3038;
  padding-top: 1rem;
}

.admin-two-factor-qr-wrap {
  display: flex;
  min-height: 12rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #343e48;
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: #fff;
}

.admin-two-factor-qr {
  display: block;
  width: min(15rem, 70vw);
  height: auto;
  aspect-ratio: 1;
}

.admin-two-factor-secret {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #343e48;
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
  color: #fed7aa;
  background: #0d1217;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.admin-two-factor-recovery {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 0.75rem;
  padding: 0.9rem;
  background: rgba(34, 197, 94, 0.08);
}

.admin-two-factor-recovery-codes {
  margin: 0.35rem 0 0;
  overflow-x: auto;
  color: #bbf7d0;
  font: 700 0.85rem/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.admin-featured-select {
  min-height: 2.75rem;
  border: 1px solid #2a3038;
  border-radius: 0.65rem;
  background: #14191e;
  padding: 0.7rem 0.85rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  outline: none;
}

.admin-featured-select:focus {
  border-color: #f57a20;
  box-shadow: 0 0 0 1px #f57a20;
}

.admin-reports-card,
.admin-blocks-card {
  grid-column: 1 / -1;
}

.admin-list {
  display: grid;
  gap: 0.75rem;
  max-height: 34rem;
  margin-top: 1rem;
  overflow-y: auto;
}

.admin-user-row,
.admin-video-card {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid #2a3038;
  border-radius: 0.85rem;
  background: #14191e;
}

.admin-user-row {
  display: grid;
  gap: 0.3rem;
}

.admin-user-email,
.admin-video-title {
  overflow-wrap: anywhere;
  color: #f3f4f6;
  font-weight: 700;
}

.admin-user-meta,
.admin-video-meta {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.45;
}

.admin-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  color: #d1d5db;
  background: #27313a;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-status.is-verified,
.admin-status.is-approved {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
}

.admin-status.is-pending {
  color: #fed7aa;
  background: rgba(245, 122, 32, 0.16);
}

.admin-status.is-restricted {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.16);
}

.admin-status.is-attention {
  color: #fed7aa;
  background: rgba(245, 122, 32, 0.16);
}

.admin-status.is-critical {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
}

.admin-security-event {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(245, 122, 32, 0.35);
  border-radius: 0.85rem;
  background: rgba(245, 122, 32, 0.06);
}

.admin-security-event.is-critical {
  border-color: rgba(239, 68, 68, 0.42);
  background: rgba(239, 68, 68, 0.07);
}

.admin-video-preview {
  display: block;
  width: 100%;
  max-height: 18rem;
  margin-top: 0.75rem;
  border-radius: 0.7rem;
  background: #0c1013;
}

.admin-moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.admin-action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #2a3038;
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  color: #d1d5db;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-action-button:hover {
  border-color: #f57a20;
  color: #fff;
  background: rgba(245, 122, 32, 0.16);
}

.admin-action-button.approve:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.16);
}

.admin-action-button.reject:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.16);
}

.admin-action-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.admin-monetization-card {
  border-color: rgba(245, 122, 32, 0.28);
}

.admin-monetization-status {
  margin-top: 1rem;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-monetization-status.is-active {
  color: #bbf7d0;
}

.admin-monetization-status.is-waiting {
  color: #fed7aa;
}

.admin-monetization-checklist {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
  color: #aeb6bd;
  font-size: 0.75rem;
  line-height: 1.45;
}

.admin-monetization-checklist i {
  width: 1rem;
  margin-right: 0.35rem;
  color: #f57a20;
  text-align: center;
}

.community-card {
  background: #1b2026;
  border: 1px solid #2a3038;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.community-muted {
  color: #9ca3af;
}

.community-post {
  overflow: hidden;
}

.community-post.is-highlighted {
  border-color: #f57a20;
  box-shadow: 0 0 0 2px rgba(245, 122, 32, 0.22), 0 16px 36px rgba(0, 0, 0, 0.18);
}

.community-post-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.community-avatar {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  background: #f57a20;
  color: #17212a;
}

.community-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.community-post-body {
  margin-top: 1rem;
  color: #eef0f2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.community-post-image {
  display: block;
  width: 100%;
  max-height: 34rem;
  margin-top: 1rem;
  border-radius: 12px;
  object-fit: cover;
  background: #12161a;
  cursor: zoom-in;
}

.community-post-image:focus-visible {
  outline: 3px solid #f57a20;
  outline-offset: 3px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
}

.image-lightbox.community-is-hidden {
  display: none;
}

.image-lightbox-figure {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.image-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 90rem);
  max-height: calc(100vh - 4rem);
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  touch-action: none;
  user-select: none;
  will-change: transform, opacity;
  transition: transform 220ms ease, opacity 220ms ease;
}

.image-lightbox-image.is-dragging {
  transition: none;
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font-size: 1.25rem;
}

.image-lightbox-close:hover {
  background: rgba(245, 122, 32, 0.85);
}

.image-lightbox-close:focus-visible {
  outline: 3px solid #f57a20;
  outline-offset: 3px;
}

.community-post-video {
  display: block;
  width: 100%;
  max-height: 34rem;
  margin-top: 1rem;
  border-radius: 12px;
  background: #12161a;
}

.video-quality-shell {
  position: relative;
  min-width: 0;
}

.community-post > .video-quality-shell {
  margin-top: 1rem;
}

.video-player-surface {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #080b0e;
}

.video-player-surface > video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  touch-action: manipulation;
}

.video-player-big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 3.7rem;
  height: 3.7rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #f57a20;
  box-shadow: 0 10px 26px rgba(245, 122, 32, 0.3);
  cursor: pointer;
  font-size: 1.15rem;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.video-player-big-play:hover,
.video-player-big-play:focus-visible {
  background: #ff8735;
  transform: translate(-50%, -50%) scale(1.05);
}

.video-player-big-play:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 3px;
}

.video-player-surface.is-playing .video-player-big-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.video-player-controls {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid #2a3038;
  border-top: 0;
  border-radius: 0 0 0.7rem 0.7rem;
  color: #aeb6bd;
  background: #11171d;
  touch-action: manipulation;
}

.video-player-control-button {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  color: #cbd5dd;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.video-player-control-button:hover,
.video-player-control-button:focus-visible {
  border-color: rgba(245, 122, 32, 0.55);
  color: #fff;
  background: rgba(245, 122, 32, 0.14);
}

.video-player-control-button:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 1px;
}

.video-player-time {
  flex: 0 0 auto;
  color: #aeb6bd;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.video-player-progress,
.video-player-volume {
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(to right, #f57a20 var(--video-progress, 0%), #3b4650 var(--video-progress, 0%));
  cursor: pointer;
  accent-color: #f57a20;
}

.video-player-progress {
  min-width: 2.5rem;
  flex: 1 1 auto;
  touch-action: pan-x;
}

.video-player-volume {
  width: 3.8rem;
  flex: 0 1 3.8rem;
  --video-progress: 100%;
}

.video-player-progress:disabled {
  cursor: default;
  opacity: 0.55;
}

.video-player-progress::-webkit-slider-thumb,
.video-player-volume::-webkit-slider-thumb {
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid #11171d;
  border-radius: 999px;
  background: #ff8735;
  cursor: pointer;
  appearance: none;
}

.video-player-progress::-moz-range-thumb,
.video-player-volume::-moz-range-thumb {
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid #11171d;
  border-radius: 999px;
  background: #ff8735;
  cursor: pointer;
}

.video-quality-shell .community-post-video {
  margin-top: 0;
}

.video-quality-toolbar {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: calc(100% - 1.3rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
  padding: 0.28rem 0.38rem 0.28rem 0.5rem;
  color: #d9e0e5;
  background: rgba(12, 16, 20, 0.82);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.video-quality-label {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #aeb8c0;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.video-quality-label i {
  color: #f57a20;
  font-size: 0.65rem;
}

.video-quality-select {
  min-width: 5.8rem;
  min-height: 2rem;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.2rem 1.35rem 0.2rem 0.35rem;
  color: #f3f4f6;
  background: #232a31;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  outline: none;
}

.video-quality-select:focus-visible {
  box-shadow: 0 0 0 2px rgba(245, 122, 32, 0.55);
}

.homepage-side-video > .video-quality-shell {
  min-width: 0;
  min-height: 7rem;
}

.homepage-side-video > .video-quality-shell .homepage-side-video-media {
  min-height: 7rem;
}

.homepage-side-video > .video-quality-shell .video-player-surface {
  min-height: 7rem;
}

.homepage-side-video .video-player-controls {
  gap: 0.2rem;
  padding: 0.25rem 0.35rem;
}

.homepage-side-video .video-player-time,
.homepage-side-video .video-player-volume {
  display: none;
}

.homepage-side-video .video-player-control-button {
  width: 1.6rem;
  height: 1.6rem;
}

.homepage-video-card > .video-quality-shell,
.homepage-featured-media-wrap > .video-quality-shell {
  width: 100%;
}

.community-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #2a3038;
}

.homepage-video-actions {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
}

.homepage-side-video .homepage-video-actions {
  gap: 0.2rem;
}

.homepage-side-video .homepage-video-actions .community-action {
  padding: 0.35rem 0.45rem;
  font-size: 0.72rem;
}

.community-action {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #aeb6bd;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  transition: color 160ms ease, background 160ms ease;
}

.community-action:hover,
.community-action.active {
  color: #f57a20;
  background: rgba(245, 122, 32, 0.12);
}

.community-admin-delete-action {
  color: #fca5a5;
}

.community-admin-delete-action:hover {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
}

.community-comments {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #2a3038;
}

.community-comment {
  display: flex;
  gap: 0.6rem;
  padding: 0.65rem 0;
}

.community-comment .community-avatar {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

.community-comment-body {
  min-width: 0;
  flex: 1;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  background: #14191e;
}

.community-comment-text {
  margin-top: 0.2rem;
  color: #e5e7eb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.community-comment-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.community-comment-form input,
.community-input,
.community-textarea {
  width: 100%;
  border: 1px solid #2a3038;
  border-radius: 0.75rem;
  background: #12161a;
  color: #f3f4f6;
  outline: none;
}

.community-comment-form input:focus,
.community-input:focus,
.community-textarea:focus {
  border-color: #f57a20;
  box-shadow: 0 0 0 1px #f57a20;
}

.community-comment-form input,
.community-input {
  padding: 0.75rem 0.9rem;
}

.community-textarea {
  min-height: 7rem;
  padding: 0.9rem;
  resize: vertical;
}

.community-file-name {
  min-height: 1.25rem;
  color: #9ca3af;
  font-size: 0.75rem;
}

.community-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.78);
  overflow-y: auto;
}

.community-modal.community-is-hidden {
  display: none;
}

.community-dialog {
  position: relative;
  width: min(100%, 58rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid #2a3038;
  border-radius: 1.25rem;
  background: #1b2026;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.profile-hero {
  position: relative;
  min-height: 14rem;
  background: linear-gradient(135deg, #26333e, #12161a);
  background-position: center;
  background-size: cover;
}

.profile-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
}

.profile-avatar-wrap {
  position: absolute;
  z-index: 1;
  bottom: -2.5rem;
  left: 1.5rem;
  width: 6rem;
  height: 6rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: #1b2026;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  background: #f57a20;
}

.profile-content {
  padding: 3.25rem 1.5rem 1.5rem;
}

.profile-channel-tools {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(245, 122, 32, 0.28);
  border-radius: 1rem;
  background: rgba(20, 25, 30, 0.72);
}

.profile-video-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #2a3038;
}

.video-metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.video-metadata-field {
  display: grid;
  gap: 0.4rem;
  color: #dbe1e6;
  font-size: 0.78rem;
  font-weight: 700;
}

.video-metadata-field select,
.video-metadata-field input {
  min-width: 0;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #2a3038;
  border-radius: 0.7rem;
  color: #e5e7eb;
  background: #12161a;
  outline: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.video-metadata-field select:focus,
.video-metadata-field input:focus {
  border-color: #f57a20;
}

.video-metadata-field select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.video-metadata-field small {
  color: #78838e;
  font-size: 0.68rem;
  font-weight: 500;
}

.profile-posts {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.profile-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.profile-video-grid .community-post {
  padding: 0.75rem;
  border-radius: 0.9rem;
}

.profile-video-grid .community-post-head {
  gap: 0.5rem;
}

.profile-video-grid .community-post-head .community-avatar {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

.profile-video-grid .community-post-body {
  display: -webkit-box;
  margin-top: 0.75rem;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.profile-video-grid .community-post-image,
.profile-video-grid .community-post-video {
  aspect-ratio: 16 / 9;
  max-height: none;
  margin-top: 0.75rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

.profile-video-grid .community-post > .video-quality-shell {
  margin-top: 0.75rem;
}

.profile-video-grid .video-quality-shell .community-post-video {
  margin-top: 0;
}

.profile-video-grid .community-post-actions {
  gap: 0.15rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}

.profile-video-grid .community-action {
  padding: 0.35rem 0.45rem;
  font-size: 0.75rem;
}

.community-preview {
  display: none;
  max-width: 100%;
  max-height: 13rem;
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.community-preview img,
.community-preview video {
  display: block;
  max-width: 100%;
  max-height: 13rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.community-preview.is-visible {
  display: block;
}

.profile-edit-grid {
  display: grid;
  gap: 1rem;
}

.profile-security {
  margin-top: 1.5rem;
  border-top: 1px solid #2a3038;
  padding-top: 1.25rem;
}

.profile-security-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.profile-security-heading h3 {
  color: #f3f4f6;
  font-size: 1rem;
  font-weight: 800;
}

.profile-security-heading > i {
  color: #f57a20;
}

.profile-security-kicker {
  margin-bottom: 0.3rem;
  color: #f57a20;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-security-copy {
  margin-top: 0.55rem;
  color: #7d8790;
  font-size: 0.78rem;
  line-height: 1.5;
}

.profile-security-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.profile-security-form label {
  display: grid;
  gap: 0.35rem;
  color: #dbe1e6;
  font-size: 0.75rem;
  font-weight: 700;
}

.profile-security-form input {
  width: 100%;
  border: 1px solid #2a3038;
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
  color: #e5e7eb;
  background: #12161a;
  outline: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.profile-security-form input:focus {
  border-color: #f57a20;
}

.profile-security-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.profile-security-actions p {
  margin: 0;
  color: #a7e3b5;
  font-size: 0.78rem;
}

.community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid #f57a20;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  color: #f57a20;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.community-button:hover,
.community-button.primary {
  color: #fff;
  background: #f57a20;
}

.community-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.community-link {
  border: 0;
  padding: 0;
  color: #f57a20;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.community-link:hover {
  text-decoration: underline;
}

.watch-view {
  min-height: calc(100vh - 8rem);
}

.watch-back-button {
  margin-bottom: 1.25rem;
}

.watch-status {
  min-height: 1.35rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  align-items: start;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.watch-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2a3038;
  border-radius: 1rem;
  background: #1b2026;
}

.watch-player {
  min-width: 0;
  background: #080b0e;
}

.watch-player .video-player-surface {
  min-height: min(68vh, 42rem);
}

.watch-video-media {
  display: block;
  width: 100%;
  height: min(68vh, 42rem);
  max-height: min(68vh, 42rem);
  background: #080b0e;
  object-fit: contain;
}

.watch-video-info {
  padding: 1.25rem;
}

.watch-video-title {
  margin: 0;
  color: #f3f4f6;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
}

.watch-video-author-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.watch-video-author {
  max-width: 60%;
}

.watch-video-description {
  margin-top: 1rem;
  border-top: 1px solid #2a3038;
  padding-top: 1rem;
  color: #c5ccd2;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.watch-video-actions {
  margin-top: 1rem;
}

.watch-recommendations-panel {
  min-width: 0;
  border: 1px solid #2a3038;
  border-radius: 1rem;
  padding: 1rem;
  background: #1b2026;
}

.watch-recommendations-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid #2a3038;
  padding-bottom: 0.75rem;
}

.watch-recommendations-heading h2 {
  color: #f3f4f6;
  font-size: 1rem;
  font-weight: 800;
}

.watch-recommendations-heading i {
  color: #f57a20;
}

.watch-recommendations {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.watch-recommendation {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.7rem;
  min-width: 0;
}

.watch-recommendation-media {
  border-radius: 0.55rem;
}

.watch-recommendation-media .video-watch-preview-button {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.75rem;
}

.watch-recommendation-copy {
  min-width: 0;
  padding-top: 0.1rem;
}

.watch-recommendation-copy h3,
.watch-recommendation-title {
  display: -webkit-box;
  overflow: hidden;
  color: #f3f4f6;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.watch-recommendation-title:hover {
  color: #f57a20;
}

.watch-recommendation-copy p {
  margin-top: 0.35rem;
  color: #7d8790;
  font-size: 0.68rem;
  line-height: 1.4;
}

.watch-recommendations-empty,
.watch-error {
  color: #9ca3af;
  font-size: 0.85rem;
}

.watch-error {
  margin-top: 1rem;
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 0.75rem;
  padding: 1rem;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem auto 0;
  padding: 1.5rem max(1rem, calc((100vw - 80rem) / 2));
  border-top: 1px solid #2a3038;
  color: #7d8790;
  font-size: 0.75rem;
}

.site-footer-brand,
.site-footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer-brand strong,
.site-footer-links a:hover {
  color: #f57a20;
}

.site-footer-brand > div {
  display: grid;
  gap: 0.15rem;
}

.site-footer-brand > div > span {
  color: #6f7b87;
}

.site-footer-logo {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  color: #12161a;
  background: #f57a20;
}

.site-footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer-links a {
  color: #aeb6bd;
  transition: color 160ms ease;
}

.trust-page-body {
  min-height: 100vh;
  color: #d7dde2;
  background: #12161a;
}

.trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(76rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  border-bottom: 1px solid #2a3038;
}

.trust-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f3f4f6;
  font-size: 1.15rem;
  font-weight: 800;
}

.trust-brand > span:last-child > span {
  color: #f57a20;
}

.trust-page {
  width: min(76rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 1rem;
}

.trust-hero {
  max-width: 52rem;
}

.trust-kicker,
.trust-card-kicker {
  margin: 0 0 0.65rem;
  color: #f57a20;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trust-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
}

.trust-hero > p:not(.trust-kicker) {
  max-width: 44rem;
  margin: 1.2rem 0 0;
  color: #aeb6bd;
  font-size: 1rem;
  line-height: 1.7;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #2a3038;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: #c5ccd2;
  background: #1b2026;
  font-size: 0.72rem;
  font-weight: 700;
}

.trust-badges i {
  color: #f57a20;
}

.trust-hero .trust-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  color: #7d8790;
  font-size: 0.75rem;
}

.trust-updated i {
  color: #f57a20;
}

.trust-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #2a3038;
}

.trust-jump a {
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.55rem 0.8rem;
  color: #aeb6bd;
  font-size: 0.8rem;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.trust-jump a:hover {
  border-color: rgba(245, 122, 32, 0.4);
  color: #fff;
  background: rgba(245, 122, 32, 0.12);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  min-width: 0;
  border: 1px solid #2a3038;
  border-radius: 1rem;
  padding: 1.35rem;
  background: #1b2026;
}

.trust-card-wide {
  grid-column: 1 / -1;
}

.trust-card h2,
.trust-help h2 {
  margin: 0;
  color: #f3f4f6;
  font-size: 1.3rem;
  font-weight: 850;
}

.trust-card p,
.trust-card li,
.trust-help p {
  color: #b9c1c8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.trust-card > p:not(.trust-card-kicker),
.trust-card > ul,
.trust-card > ol {
  margin-top: 0.8rem;
}

.trust-card ul,
.trust-card ol {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.2rem;
}

.trust-card li::marker {
  color: #f57a20;
  font-weight: 800;
}

.trust-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.trust-feature-list > div {
  display: flex;
  gap: 0.6rem;
  border: 1px solid #2a3038;
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: #14191e;
}

.trust-feature-list i {
  flex: 0 0 auto;
  color: #f57a20;
  margin-top: 0.2rem;
}

.trust-feature-list span {
  color: #b9c1c8;
  font-size: 0.8rem;
  line-height: 1.55;
}

.trust-feature-list strong {
  color: #f3f4f6;
}

.trust-muted {
  color: #7d8790 !important;
  font-size: 0.78rem !important;
}

.trust-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.trust-columns p {
  margin: 0;
}

.trust-note {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  border: 1px solid rgba(245, 122, 32, 0.35);
  border-radius: 0.75rem;
  padding: 0.8rem;
  color: #e7c5a9;
  background: rgba(245, 122, 32, 0.08);
  font-size: 0.78rem;
  line-height: 1.55;
}

.trust-note i {
  flex: 0 0 auto;
  color: #f57a20;
  margin-top: 0.15rem;
}

.trust-help {
  margin: 1rem 0 0;
  border: 1px solid #2a3038;
  border-radius: 1rem;
  padding: 1.35rem;
  background: linear-gradient(135deg, rgba(245, 122, 32, 0.13), rgba(27, 32, 38, 0.95));
}

.trust-help p {
  max-width: 42rem;
  margin: 0.6rem 0 1rem;
}

.trust-footer {
  width: min(76rem, calc(100% - 2rem));
  margin-top: 2rem;
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 1023px) {
  .trust-feature-list {
    grid-template-columns: 1fr;
  }

  .watch-layout {
    grid-template-columns: 1fr;
  }

  .watch-recommendations-panel {
    order: 2;
  }

  .homepage-featured-layout {
    grid-template-columns: 1fr;
  }

  .homepage-featured-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .following-sidebar {
    bottom: 0.5rem;
    width: min(16rem, calc(100vw - 3rem));
    max-height: calc(100vh - var(--following-sidebar-top, 8rem) - 0.75rem);
    max-height: calc(100dvh - var(--following-sidebar-top, 8rem) - 0.75rem);
    box-shadow: 8px 10px 24px rgba(0, 0, 0, 0.32);
  }
}

@media (max-width: 640px) {
  .trust-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-page {
    padding-top: 2.5rem;
  }

  .trust-grid,
  .trust-columns {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .watch-video-author-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .watch-video-author {
    max-width: 100%;
  }

  .watch-player .video-player-surface,
  .watch-video-media {
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .watch-recommendation {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }

  .video-player-controls {
    gap: 0.25rem;
    padding: 0.35rem 0.4rem;
    min-height: 2.75rem;
  }

  .video-player-volume {
    display: none;
  }

  .video-player-time {
    font-size: 0.58rem;
  }

  .video-player-big-play {
    width: 3.15rem;
    height: 3.15rem;
    font-size: 1rem;
  }

  .video-quality-toolbar {
    top: 0.45rem;
    right: 0.45rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.2rem 0.25rem 0.2rem 0.4rem;
  }

  .video-quality-label {
    font-size: 0.58rem;
  }

  .video-quality-select {
    min-width: 5.2rem;
    min-height: 2.15rem;
    font-size: 0.64rem;
  }

  .homepage-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .homepage-section-link {
    align-self: flex-start;
  }

  .homepage-featured-side,
  .homepage-video-grid {
    grid-template-columns: 1fr;
  }

  .homepage-video-author-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .channel-directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .channel-sort-group,
  .channel-search-field {
    width: 100%;
    flex-basis: auto;
  }

  .channel-search-field {
    flex: 1 1 auto;
  }

  .community-admin {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-featured-card,
  .admin-security-card,
  .admin-security-events-card,
  .admin-reports-card,
  .admin-blocks-card {
    grid-column: auto;
  }

  .community-dialog {
    max-height: calc(100vh - 1rem);
    border-radius: 1rem;
  }

  .profile-hero {
    min-height: 11rem;
  }

  .profile-content {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .profile-avatar-wrap {
    left: 1rem;
  }

  .profile-video-grid {
    grid-template-columns: 1fr;
  }

  .video-metadata-grid {
    grid-template-columns: 1fr;
  }
}

.stream-panel,
.stream-stage {
  border: 1px solid rgba(245, 122, 32, 0.22);
  border-radius: 1rem;
  padding: 1.15rem;
  background: linear-gradient(135deg, rgba(31, 24, 20, 0.96), rgba(20, 25, 31, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.stream-stage {
  margin-top: 1rem;
  border-color: rgba(245, 122, 32, 0.42);
}

.stream-panel-heading,
.stream-stage-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.stream-panel-heading h3,
.stream-stage-heading h3 {
  margin: 0.22rem 0 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.stream-panel-heading p:last-child {
  max-width: 42rem;
  margin: 0.4rem 0 0;
  color: #98a3ae;
  font-size: 0.78rem;
  line-height: 1.5;
}

.stream-eyebrow {
  margin: 0;
  color: #f57a20;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stream-refresh-button {
  flex: 0 0 auto;
}

.stream-start-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-start-form > label {
  display: block;
  margin-bottom: 0.45rem;
  color: #f3f4f6;
  font-size: 0.78rem;
  font-weight: 800;
}

.stream-start-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.stream-start-row .community-input {
  min-width: 0;
  flex: 1 1 auto;
}

.stream-message,
.stream-status {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  color: #aeb8c1;
  font-size: 0.76rem;
  line-height: 1.45;
}

.stream-message.is-error {
  color: #fca5a5;
}

.stream-message.is-success {
  color: #86efac;
}

.stream-status {
  margin-top: 0.85rem;
}

.live-streams-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.stream-card {
  min-width: 0;
  border: 1px solid #303a45;
  border-radius: 0.75rem;
  background: rgba(14, 19, 24, 0.7);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.stream-card:hover,
.stream-card:focus-within {
  border-color: rgba(245, 122, 32, 0.6);
  background: rgba(24, 29, 35, 0.96);
  transform: translateY(-1px);
}

.stream-card-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem;
  color: #fff;
  text-align: left;
}

.stream-card-icon {
  display: inline-flex;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  color: #fff;
  background: linear-gradient(135deg, #f57a20, #b8470f);
  box-shadow: 0 5px 14px rgba(245, 122, 32, 0.22);
}

.stream-card-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.18rem;
}

.stream-card-copy strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-card-copy span {
  overflow: hidden;
  color: #8e9aa6;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-card-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.28rem;
  color: #f5a263;
  font-size: 0.68rem;
  font-weight: 900;
}

.stream-empty {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  padding: 0.75rem;
  border: 1px dashed #35414c;
  border-radius: 0.65rem;
  color: #7f8b97;
  font-size: 0.76rem;
  text-align: center;
}

.stream-stage-live-badge,
.stream-live-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(239, 68, 68, 0.42);
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.28);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.stream-stage-live-badge i,
.stream-live-badge i {
  color: #ef4444;
  font-size: 0.45rem;
}

.stream-stage-live-badge.is-ended {
  border-color: rgba(148, 163, 184, 0.4);
  color: #cbd5e1;
  background: rgba(71, 85, 105, 0.25);
}

.stream-stage-live-badge.is-ended i {
  color: #94a3b8;
  font-size: 0.62rem;
}

.stream-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  gap: 1rem;
  margin-top: 1rem;
}

.stream-video-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  min-width: 0;
}

.stream-video-shell {
  position: relative;
  min-height: min(52vw, 28rem);
  overflow: hidden;
  border: 1px solid #2e3944;
  border-radius: 0.85rem;
  background: #090c0f;
}

.stream-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(52vw, 28rem);
  object-fit: contain;
  background: #090c0f;
}

.stream-video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90%, 24rem);
  margin: 0;
  color: #8d99a5;
  font-size: 0.82rem;
  text-align: center;
  transform: translate(-50%, -50%);
}

.stream-local-shell {
  min-height: 10rem;
}

.stream-local-shell .stream-video {
  min-height: 10rem;
  max-height: 16rem;
}

.stream-local-label {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  font-size: 0.65rem;
  font-weight: 800;
}

.stream-stage-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0.15rem 0;
}

.stream-stage-owner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  color: #fff;
}

.stream-stage-owner > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

.stream-stage-owner strong {
  overflow: hidden;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-stage-owner small {
  color: #8895a1;
  font-size: 0.68rem;
}

.stream-owner-avatar {
  display: inline-flex;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(245, 122, 32, 0.45);
  border-radius: 50%;
  color: #fed7aa;
  background: #27313b;
  object-fit: cover;
}

.stream-owner-avatar-fallback {
  font-size: 0.82rem;
}

.stream-stage-info .stream-message {
  margin-top: 1rem;
}

.stream-stage-stats {
  margin-top: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb8c1;
  font-size: 0.72rem;
}

.stream-stage-stats i {
  margin-right: 0.22rem;
  color: #f57a20;
}

.stream-stage-stats strong {
  color: #fff;
}

.stream-leave-button {
  margin-top: auto;
  align-self: flex-start;
}

.stream-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.65rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background: rgba(7, 10, 13, 0.68);
}

.stream-control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

.stream-control-button {
  min-height: 2.1rem;
  padding: 0.45rem 0.62rem;
  color: #d8e0e7;
  background: rgba(41, 51, 61, 0.88);
  font-size: 0.66rem;
  white-space: nowrap;
}

.stream-control-button:hover:not(:disabled),
.stream-control-button.is-active {
  color: #fff;
  border-color: rgba(245, 122, 32, 0.62);
  background: rgba(127, 58, 24, 0.72);
}

.stream-control-button.is-muted {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.38);
  background: rgba(127, 29, 29, 0.3);
}

.stream-control-button:disabled {
  opacity: 0.55;
}

.stream-chat-shell {
  display: grid;
  min-height: 20rem;
  margin-top: 0.85rem;
  overflow: hidden;
  border: 1px solid #303a45;
  border-radius: 0.85rem;
  background: rgba(8, 12, 16, 0.78);
  grid-template-rows: auto minmax(10rem, 1fr) auto auto;
}

.stream-chat-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 0.8rem 0.58rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-chat-eyebrow {
  margin: 0;
  color: #f57a20;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stream-chat-heading h4 {
  margin: 0.18rem 0 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.stream-chat-live-status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.25rem 0.45rem;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.36);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.stream-chat-live-status.is-ended {
  color: #cbd5e1;
  background: rgba(71, 85, 105, 0.35);
}

.stream-chat-messages {
  min-height: 10rem;
  max-height: 22rem;
  overflow-y: auto;
  padding: 0.5rem;
  overscroll-behavior: contain;
  scrollbar-color: #4b5563 transparent;
  scrollbar-width: thin;
}

.stream-chat-message {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.44rem 0.35rem;
  border-radius: 0.5rem;
}

.stream-chat-message:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stream-chat-message.is-deleted {
  opacity: 0.64;
}

.stream-chat-avatar {
  display: inline-flex;
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(245, 122, 32, 0.38);
  border-radius: 50%;
  color: #fed7aa;
  background: #27313b;
  font-size: 0.62rem;
  object-fit: cover;
}

.stream-chat-message-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.stream-chat-message-meta {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.stream-chat-message-meta strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.67rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-chat-message-meta small {
  flex: 0 0 auto;
  color: #71808d;
  font-size: 0.56rem;
}

.stream-chat-message-copy p {
  margin: 0.13rem 0 0;
  overflow-wrap: anywhere;
  color: #c6d0d8;
  font-size: 0.69rem;
  line-height: 1.4;
}

.stream-chat-message.is-deleted .stream-chat-message-copy p {
  color: #8995a0;
  font-style: italic;
}

.stream-chat-delete {
  display: inline-flex;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  color: #9ca3af;
  font-size: 0.62rem;
}

.stream-chat-delete:hover {
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.35);
}

.stream-chat-empty {
  margin: 3.5rem 0 0;
  color: #758391;
  font-size: 0.69rem;
  line-height: 1.45;
  text-align: center;
}

.stream-reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-reaction-button {
  display: inline-flex;
  min-width: 2.7rem;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid #37424d;
  border-radius: 999px;
  padding: 0.25rem 0.42rem;
  color: #cbd5e1;
  background: rgba(31, 41, 51, 0.7);
  font-size: 0.72rem;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.stream-reaction-button:hover:not(:disabled),
.stream-reaction-button.is-selected {
  border-color: rgba(245, 122, 32, 0.65);
  background: rgba(127, 58, 24, 0.5);
  transform: translateY(-1px);
}

.stream-reaction-button strong {
  color: #9ca9b5;
  font-size: 0.59rem;
}

.stream-reaction-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.stream-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  padding: 0.58rem 0.65rem 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-chat-form .community-input {
  min-width: 0;
  min-height: 2.05rem;
  font-size: 0.7rem;
}

.stream-chat-form .community-button {
  min-width: 2.1rem;
  min-height: 2.05rem;
  padding: 0.35rem 0.55rem;
}

.stream-chat-status {
  min-height: 1rem;
  margin: 0;
  padding: 0 0.7rem 0.55rem;
  color: #8d99a5;
  font-size: 0.61rem;
  line-height: 1.35;
}

.stream-chat-status.is-error {
  color: #fca5a5;
}

.stream-chat-status.is-success {
  color: #86efac;
}

@media (max-width: 720px) {
  .stream-panel,
  .stream-stage {
    padding: 0.9rem;
  }

  .stream-panel-heading,
  .stream-stage-heading {
    flex-direction: column;
  }

  .stream-refresh-button,
  .stream-leave-button {
    align-self: stretch;
    justify-content: center;
  }

  .stream-start-row {
    align-items: stretch;
    flex-direction: column;
  }

  .stream-stage-layout {
    grid-template-columns: 1fr;
  }

  .stream-control-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .stream-control-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stream-control-group .stream-control-button,
  .stream-control-bar > .stream-control-button {
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stream-chat-messages {
    max-height: 19rem;
  }

  .stream-video-shell,
  .stream-video {
    min-height: min(64vw, 24rem);
  }

  .stream-local-shell,
  .stream-local-shell .stream-video {
    min-height: min(46vw, 13rem);
  }

  .stream-leave-button {
    margin-top: 1rem;
  }
}

/* Estudio previo de directos: controles sencillos para preparar la emisión desde la web. */
.stream-studio-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.stream-studio-kicker {
  margin: 0;
  color: #f57a20;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stream-studio-heading h4 {
  margin: 0.24rem 0 0;
  color: #f8fafc;
  font-size: 0.98rem;
  font-weight: 900;
}

.stream-studio-ready {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #3a4651;
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  color: #9aa6b2;
  background: rgba(15, 21, 26, 0.78);
  font-size: 0.61rem;
  font-weight: 800;
}

.stream-studio-ready::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #64748b;
  content: '';
}

.stream-studio-ready[data-state="checking"] {
  color: #fed7aa;
}

.stream-studio-ready[data-state="checking"]::before {
  background: #f59e0b;
  box-shadow: 0 0 0 0.18rem rgba(245, 158, 11, 0.14);
}

.stream-studio-ready[data-state="ready"] {
  border-color: rgba(34, 197, 94, 0.36);
  color: #bbf7d0;
}

.stream-studio-ready[data-state="ready"]::before {
  background: #22c55e;
  box-shadow: 0 0 0 0.18rem rgba(34, 197, 94, 0.14);
}

.stream-studio-ready[data-state="error"] {
  border-color: rgba(239, 68, 68, 0.42);
  color: #fecaca;
}

.stream-studio-ready[data-state="error"]::before {
  background: #ef4444;
}

.stream-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1rem;
}

.stream-studio-preview-column,
.stream-studio-settings {
  min-width: 0;
}

.stream-studio-preview-shell {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
  border: 1px solid #303d49;
  border-radius: 0.72rem;
  background: #080b0f;
  isolation: isolate;
}

.stream-studio-preview {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: contain;
  background: #080b0f;
}

.stream-studio-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem;
  color: #83909c;
  font-size: 0.72rem;
  text-align: center;
}

.stream-studio-preview-placeholder i {
  color: #f57a20;
  font-size: 1.05rem;
}

.stream-studio-preview-label,
.stream-studio-source-label {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  padding: 0.27rem 0.48rem;
  color: #f8fafc;
  background: rgba(5, 8, 11, 0.72);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.stream-studio-preview-label {
  top: 0.55rem;
  left: 0.55rem;
}

.stream-studio-source-label {
  right: 0.55rem;
  bottom: 0.55rem;
  color: #fed7aa;
  letter-spacing: 0;
}

.stream-studio-preview-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.stream-studio-preview-actions .community-button {
  min-height: 2.15rem;
  font-size: 0.67rem;
}

.stream-studio-secondary-button {
  width: 2.15rem;
  flex: 0 0 2.15rem;
  padding: 0.4rem;
}

.stream-studio-audio-row {
  margin-top: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  padding: 0.58rem 0.65rem;
  background: rgba(7, 10, 13, 0.5);
}

.stream-studio-audio-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  color: #aeb8c1;
  font-size: 0.64rem;
}

.stream-studio-audio-copy i {
  margin-right: 0.22rem;
  color: #f57a20;
}

.stream-studio-audio-copy strong {
  color: #86efac;
  font-size: 0.6rem;
  font-weight: 800;
}

.stream-studio-audio-meter {
  height: 0.38rem;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #26313a;
}

.stream-studio-audio-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e 0%, #eab308 68%, #ef4444 100%);
  transition: width 80ms linear;
}

.stream-studio-settings {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.72rem;
  padding: 0.78rem;
  background: rgba(8, 12, 16, 0.42);
}

.stream-studio-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.stream-studio-field {
  display: grid;
  min-width: 0;
  gap: 0.3rem;
}

.stream-studio-field > span,
.stream-studio-field > label {
  color: #cdd6de;
  font-size: 0.65rem;
  font-weight: 800;
}

.stream-studio-field .community-input {
  width: 100%;
  min-height: 2.18rem;
  border-color: #35424e;
  background: rgba(18, 24, 30, 0.92);
  font-size: 0.68rem;
}

.stream-studio-field .community-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.stream-studio-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.stream-studio-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  border: 1px solid #303b46;
  border-radius: 0.62rem;
  padding: 0.52rem;
  color: #d9e1e7;
  background: rgba(20, 27, 33, 0.74);
  cursor: pointer;
}

.stream-studio-check input {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.1rem;
  accent-color: #f57a20;
}

.stream-studio-check span {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.stream-studio-check strong {
  color: #f8fafc;
  font-size: 0.64rem;
}

.stream-studio-check small {
  color: #87939e;
  font-size: 0.57rem;
  line-height: 1.3;
}

.stream-studio-settings-message {
  min-height: 1rem;
  margin: 0;
  color: #82909d;
  font-size: 0.61rem;
  line-height: 1.4;
}

.stream-studio-settings-message.is-error {
  color: #fca5a5;
}

.stream-studio-submit-row {
  display: flex;
  justify-content: flex-end;
}

.stream-studio-submit-row .community-button {
  min-height: 2.35rem;
  padding-inline: 0.9rem;
}

@media (max-width: 720px) {
  .stream-studio-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
  }

  .stream-studio-ready {
    align-self: flex-start;
  }

  .stream-studio-layout,
  .stream-studio-field-grid,
  .stream-studio-checks {
    grid-template-columns: 1fr;
  }

  .stream-studio-preview-shell,
  .stream-studio-preview {
    min-height: min(58vw, 18rem);
  }

  .stream-studio-submit-row .community-button {
    width: 100%;
    justify-content: center;
  }
}

/* Pawsing Live: portada de directos inspirada en las plataformas de streaming */
.live-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.live-page-heading-copy {
  min-width: 0;
}

.live-page-kicker,
.live-card-kicker,
.live-sidebar-kicker {
  margin: 0;
  color: #f57a20;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.live-heading-dot {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0.22rem rgba(239, 68, 68, 0.12);
  animation: live-heading-pulse 1.8s ease-out infinite;
}

@keyframes live-heading-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0.18rem rgba(239, 68, 68, 0.12);
  }

  50% {
    box-shadow: 0 0 0 0.42rem rgba(239, 68, 68, 0);
  }
}

.live-page-heading h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.live-page-heading-copy > p:last-child {
  max-width: 42rem;
  margin: 0.55rem 0 0;
  color: #9aa6b2;
  font-size: 0.8rem;
  line-height: 1.55;
}

.live-page-heading-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
}

.live-online-pill,
.live-sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(245, 122, 32, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  color: #d7dee5;
  background: rgba(31, 24, 20, 0.66);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.live-online-pill i {
  color: #4ade80;
  font-size: 0.43rem;
}

.live-page-tabs {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 1.7rem;
  border-bottom: 1px solid #2a3038;
  overflow-x: auto;
  scrollbar-width: none;
}

.live-page-tabs::-webkit-scrollbar {
  display: none;
}

.live-page-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.55rem;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.85rem;
  color: #8995a1;
  font-size: 0.73rem;
  font-weight: 850;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.live-page-tab:hover,
.live-page-tab.is-active {
  border-bottom-color: #f57a20;
  color: #fff;
  background: rgba(245, 122, 32, 0.08);
}

.live-page-tab.is-active i {
  color: #f57a20;
}

.live-hub-layout {
  display: grid;
  grid-template-columns: 13.25rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  margin-top: 1.15rem;
}

.live-sidebar {
  position: sticky;
  top: 5.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
  border: 1px solid #29323b;
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(15, 20, 25, 0.88);
}

.live-sidebar-section {
  display: grid;
  gap: 0.3rem;
}

.live-sidebar-link {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.25rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  padding: 0.38rem 0.42rem;
  color: #9ba7b2;
  font-size: 0.7rem;
  font-weight: 750;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.live-sidebar-link:hover,
.live-sidebar-link.is-active {
  border-color: rgba(245, 122, 32, 0.25);
  color: #fff;
  background: rgba(245, 122, 32, 0.1);
}

.live-sidebar-link.is-active .live-sidebar-icon {
  color: #f57a20;
}

.live-sidebar-icon {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  color: #81909c;
  background: rgba(40, 49, 58, 0.72);
  font-size: 0.68rem;
}

.live-sidebar-link > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-sidebar-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0.18rem rgba(239, 68, 68, 0.1);
}

.live-sidebar-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.15rem;
  border: 1px solid rgba(245, 122, 32, 0.2);
  border-radius: 0.65rem;
  padding: 0.62rem;
  background: linear-gradient(135deg, rgba(127, 58, 24, 0.28), rgba(31, 24, 20, 0.42));
}

.live-sidebar-callout-icon {
  display: inline-flex;
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  color: #fed7aa;
  background: rgba(245, 122, 32, 0.18);
  font-size: 0.68rem;
}

.live-sidebar-callout > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.live-sidebar-callout strong {
  color: #f8fafc;
  font-size: 0.67rem;
}

.live-sidebar-callout small {
  color: #9aa6b2;
  font-size: 0.61rem;
  line-height: 1.35;
}

.live-sidebar-footnote {
  margin: 0;
  color: #71808d;
  font-size: 0.59rem;
  line-height: 1.45;
}

.live-sidebar-footnote i {
  margin-right: 0.25rem;
  color: #f57a20;
}

.live-hub-main {
  min-width: 0;
}

.live-hub-main .stream-panel {
  margin-top: 0;
  border-color: #29343e;
  border-radius: 0.85rem;
  padding: 1.05rem;
  background: #151a20;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.live-panel-heading {
  align-items: center;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.live-panel-heading h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.live-panel-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.live-sort-pill {
  border-color: #303b46;
  color: #9aa6b2;
  background: #10151a;
}

.live-sort-pill i {
  color: #f57a20;
  font-size: 0.58rem;
}

.live-start-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(245, 122, 32, 0.2);
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: linear-gradient(100deg, rgba(76, 39, 23, 0.34), rgba(26, 31, 37, 0.8));
}

.live-start-copy {
  min-width: 10rem;
}

.live-start-copy strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
  font-size: 0.82rem;
}

.live-start-copy > p:last-child {
  margin: 0.22rem 0 0;
  color: #9aa6b2;
  font-size: 0.65rem;
}

.live-start-form {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.live-start-form > label {
  margin-bottom: 0.35rem;
  color: #cdd6de;
  font-size: 0.66rem;
}

.live-start-form .stream-start-row {
  gap: 0.45rem;
}

.live-start-form .community-input {
  min-height: 2.2rem;
  border-color: #38444f;
  background: rgba(8, 12, 16, 0.62);
  font-size: 0.7rem;
}

.live-start-form .community-button {
  min-height: 2.2rem;
  padding: 0.45rem 0.72rem;
  white-space: nowrap;
}

.live-status {
  min-height: 1.15rem;
}

.live-section-label,
.live-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.live-section-label {
  margin-top: 1.15rem;
}

.live-section-label h4,
.live-list-heading h4 {
  margin: 0.2rem 0 0;
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 900;
}

.live-section-label > span,
.live-list-heading > span {
  flex: 0 0 auto;
  color: #758391;
  font-size: 0.61rem;
}

.live-section-label > span i {
  margin-right: 0.22rem;
  color: #f57a20;
}

.live-featured-stream {
  margin-top: 0.65rem;
}

.live-featured-card {
  overflow: hidden;
  border: 1px solid #35414c;
  border-radius: 0.75rem;
  background: #10151a;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.live-featured-card:hover,
.live-featured-card:focus-within {
  border-color: rgba(245, 122, 32, 0.62);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.live-featured-button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.85fr);
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}

.live-featured-preview {
  position: relative;
  display: block;
  min-height: 14rem;
  overflow: hidden;
  background: #23150e;
  isolation: isolate;
}

.live-featured-preview-art,
.live-featured-preview-glow {
  position: absolute;
  inset: 0;
}

.live-featured-preview-art {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 24% 30%, rgba(245, 122, 32, 0.92), transparent 36%), linear-gradient(135deg, #5a220f, #25151a 46%, #101820);
}

.live-featured-preview-art::before,
.live-featured-preview-art::after {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: '';
  transform: rotate(-18deg);
}

.live-featured-preview-art::before {
  width: 18rem;
  height: 18rem;
  border-radius: 38% 62% 55% 45%;
  background: rgba(245, 122, 32, 0.16);
}

.live-featured-preview-art::after {
  width: 12rem;
  height: 12rem;
  border-radius: 56% 44% 38% 62%;
  background: rgba(255, 255, 255, 0.06);
  transform: translate(4.5rem, -2.5rem) rotate(24deg);
}

.live-featured-preview-art i {
  position: relative;
  z-index: 1;
  color: rgba(255, 237, 213, 0.82);
  font-size: clamp(4rem, 9vw, 7.5rem);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
  opacity: 0.22;
  transform: rotate(-12deg);
}

.live-featured-preview-glow {
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 8, 11, 0.05), rgba(5, 8, 11, 0.72));
}

.live-featured-badge,
.live-featured-viewers,
.live-featured-cta {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.42rem;
  font-size: 0.61rem;
  font-weight: 900;
}

.live-featured-badge {
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.34rem 0.5rem;
  color: #fff;
  background: #d92d20;
  letter-spacing: 0.06em;
}

.live-featured-badge i {
  font-size: 0.42rem;
}

.live-featured-viewers {
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.34rem 0.48rem;
  color: #f8fafc;
  background: rgba(5, 8, 11, 0.7);
}

.live-featured-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(245, 122, 32, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  font-size: 0.88rem;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, background 160ms ease;
}

.live-featured-card:hover .live-featured-play,
.live-featured-button:focus-visible .live-featured-play {
  background: #ff8b36;
  transform: translate(-50%, -50%) scale(1.08);
}

.live-featured-cta {
  bottom: 0.7rem;
  left: 0.7rem;
  padding: 0.34rem 0.5rem;
  color: #fff;
  background: rgba(5, 8, 11, 0.7);
}

.live-featured-cta i {
  color: #f5a263;
}

.live-featured-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.72rem;
  padding: 1.05rem;
  background: linear-gradient(180deg, #171d23, #11161b);
}

.live-featured-owner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.live-featured-owner > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

.live-featured-owner strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-featured-owner small {
  overflow: hidden;
  color: #8d99a5;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-featured-title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: clamp(0.95rem, 1.8vw, 1.22rem);
  font-weight: 900;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.live-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: auto;
  color: #8794a0;
  font-size: 0.64rem;
}

.live-featured-meta i {
  margin-right: 0.2rem;
  color: #f57a20;
}

.live-list-heading {
  margin-top: 1.35rem;
}

.live-streams-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr));
  gap: 1rem;
  margin-top: 0.7rem;
}

.stream-card {
  overflow: hidden;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  transition: transform 160ms ease;
}

.stream-card:hover,
.stream-card:focus-within {
  border-color: transparent;
  background: transparent;
  transform: translateY(-2px);
}

.stream-card-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}

.stream-card-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #303b46;
  border-radius: 0.62rem;
  background: #1b2027;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.stream-card-preview-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 22% 20%, rgba(245, 122, 32, 0.85), transparent 32%), linear-gradient(135deg, #3a1b12, #1a202b 62%, #0d1419);
  transition: transform 240ms ease, filter 240ms ease;
}

.stream-card:nth-child(3n + 2) .stream-card-preview-art {
  background: radial-gradient(circle at 76% 24%, rgba(88, 166, 255, 0.72), transparent 33%), linear-gradient(135deg, #172f43, #262039 60%, #10151a);
}

.stream-card:nth-child(3n + 3) .stream-card-preview-art {
  background: radial-gradient(circle at 45% 75%, rgba(167, 101, 255, 0.72), transparent 35%), linear-gradient(135deg, #321d42, #1a2830 58%, #10151a);
}

.stream-card-preview-art::before,
.stream-card-preview-art::after {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  content: '';
}

.stream-card-preview-art::before {
  width: 8rem;
  height: 8rem;
  transform: translate(-45%, -22%);
}

.stream-card-preview-art::after {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.12);
  transform: translate(120%, 80%);
}

.stream-card-preview-art i {
  position: relative;
  z-index: 1;
  color: rgba(255, 237, 213, 0.78);
  font-size: 3.3rem;
  opacity: 0.2;
  transform: rotate(-12deg);
}

.stream-card:hover .stream-card-preview-art,
.stream-card-button:focus-visible .stream-card-preview-art {
  filter: saturate(1.15);
  transform: scale(1.045);
}

.stream-card-live-badge,
.stream-card-viewer-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 0.35rem;
  padding: 0.28rem 0.4rem;
  font-size: 0.54rem;
  font-weight: 900;
}

.stream-card-live-badge {
  top: 0.45rem;
  left: 0.45rem;
  color: #fff;
  background: #d92d20;
  letter-spacing: 0.05em;
}

.stream-card-live-badge i {
  font-size: 0.36rem;
}

.stream-card-viewer-badge {
  right: 0.45rem;
  bottom: 0.45rem;
  color: #eef2f5;
  background: rgba(5, 8, 11, 0.72);
}

.stream-card-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.52rem;
  padding: 0.62rem 0.1rem 0.15rem;
}

.stream-card-avatar {
  display: inline-flex;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(245, 122, 32, 0.4);
  border-radius: 50%;
  color: #fed7aa;
  background: #27313b;
  font-size: 0.7rem;
  object-fit: cover;
}

.stream-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.13rem;
}

.stream-card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stream-card-copy .stream-card-owner,
.stream-card-copy .stream-card-category {
  overflow: hidden;
  color: #8995a1;
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-card-copy .stream-card-category {
  color: #687783;
  font-size: 0.57rem;
}

.stream-card-category i {
  margin-right: 0.16rem;
  color: #f57a20;
}

.stream-card-arrow {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #71808d;
  background: rgba(41, 51, 61, 0.68);
  font-size: 0.58rem;
  transition: color 160ms ease, background 160ms ease;
}

.stream-card:hover .stream-card-arrow,
.stream-card-button:focus-visible .stream-card-arrow {
  color: #fff;
  background: rgba(245, 122, 32, 0.82);
}

.live-featured-empty {
  margin-top: 0;
  padding: 2.6rem 1rem;
}

.stream-stage {
  margin-top: 1.35rem;
  border: 0;
  border-radius: 0.85rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.stream-stage-heading {
  padding: 0 0.1rem 0.75rem;
}

.stream-stage-layout {
  gap: 0;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid #303b46;
  border-radius: 0.8rem;
  background: #0d1217;
}

.stream-video-column {
  gap: 0.65rem;
  padding: 0.7rem;
  background: #080b0f;
}

.stream-video-shell {
  border-color: #26313a;
  border-radius: 0.58rem;
}

.stream-stage-info {
  min-height: 100%;
  border-left: 1px solid #2a343d;
  padding: 0.8rem;
  background: #141a20;
}

@media (max-width: 1023px) {
  .live-hub-layout {
    grid-template-columns: 1fr;
  }

  .live-sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0.55rem;
    scrollbar-width: none;
  }

  .live-sidebar::-webkit-scrollbar {
    display: none;
  }

  .live-sidebar-section {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.25rem;
  }

  .live-sidebar-account-section {
    padding-left: 0.7rem;
    border-left: 1px solid #303a45;
  }

  .live-sidebar-kicker,
  .live-sidebar-footnote {
    display: none;
  }

  .live-sidebar-callout {
    margin: 0;
  }

}

@media (max-width: 720px) {
  .live-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .live-page-heading-actions {
    width: 100%;
  }

  .live-online-pill {
    width: 100%;
    justify-content: center;
  }

  .live-page-tabs {
    margin-top: 1.2rem;
  }

  .live-sidebar {
    gap: 0.35rem;
  }

  .live-sidebar-account-section {
    padding-left: 0.35rem;
  }

  .live-sidebar-callout {
    display: none;
  }

  .live-hub-main .stream-panel {
    padding: 0.8rem;
  }

  .live-panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .live-panel-actions {
    justify-content: space-between;
  }

  .live-start-area {
    align-items: stretch;
    flex-direction: column;
  }

  .live-start-form {
    width: 100%;
  }

  .live-start-form .stream-start-row {
    align-items: stretch;
    flex-direction: column;
  }

  .live-start-form .community-button {
    justify-content: center;
  }

  .live-section-label,
  .live-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .live-featured-button {
    grid-template-columns: 1fr;
  }

  .live-featured-preview {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .live-featured-details {
    min-height: 9.5rem;
  }

  .stream-stage-heading {
    flex-direction: row;
  }

  .stream-stage-layout {
    grid-template-columns: 1fr;
  }

  .stream-stage-info {
    border-top: 1px solid #2a343d;
    border-left: 0;
  }
}

/* Carrusel de canales: mantiene dos filas visibles y permite recorrer el resto. */
.channel-directory-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.channel-directory-viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 0.95rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.channel-directory-viewport::-webkit-scrollbar {
  display: none;
}

.channel-directory-grid {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 18rem);
  gap: 0.8rem;
  width: max-content;
  min-width: 100%;
  margin-top: 0;
  padding: 0.2rem 0.25rem 0.45rem;
}

.channel-directory-grid > .channel-card {
  min-width: 0;
  scroll-snap-align: start;
}

.channel-directory-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 122, 32, 0.3);
  border-radius: 999px;
  color: #fdbb86;
  background: linear-gradient(145deg, rgba(37, 47, 56, 0.98), rgba(21, 27, 32, 0.98));
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.channel-directory-arrow:hover:not(:disabled),
.channel-directory-arrow:focus-visible {
  border-color: #fb923c;
  color: #fff;
  background: linear-gradient(145deg, #3a2a20, #242f38);
  box-shadow: 0 12px 26px rgba(245, 122, 32, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.channel-directory-arrow:focus-visible {
  outline: 2px solid #fed7aa;
  outline-offset: 2px;
}

.channel-directory-arrow:disabled {
  border-color: #394652;
  color: #68737d;
  background: #182027;
  cursor: not-allowed;
  opacity: 0.35;
  box-shadow: none;
}

.channel-directory-arrow:active:not(:disabled) {
  transform: scale(0.94);
}

.channel-directory-grid > .channel-directory-loading,
.channel-directory-grid > .channel-directory-empty {
  min-width: min(100%, 30rem);
}

@media (max-width: 720px) {
  .channel-directory-carousel {
    gap: 0.35rem;
  }

  .channel-directory-arrow {
    width: 2.1rem;
    height: 2.1rem;
    flex-basis: 2.1rem;
  }

  .channel-directory-grid {
    grid-auto-columns: minmax(13rem, calc(100vw - 6rem));
    gap: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .channel-directory-viewport {
    scroll-behavior: auto;
  }

  .channel-directory-arrow {
    transition: none;
  }
}
