:root {
  --bg-1: #050301;
  --bg-2: #120a02;
  --bg-3: #241302;

  --card: rgba(35, 22, 6, 0.92);
  --card-2: rgba(28, 18, 5, 0.96);

  --line: rgba(255, 215, 100, 0.28);

  --text: #fff7dc;
  --muted: #e2c57c;

  --gold: #ffd76a;
  --gold-2: #c58a1d;
  --gold-3: #8f5d08;

  --cyan: #ffd76a;
  --blue: #c58a1d;

  --gold-soft: rgba(255, 215, 106, 0.14);

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

/* FULL PAGE GOLD LOOK */
body {
  background:
    radial-gradient(circle at top, rgba(255, 215, 106, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(197, 138, 29, 0.10), transparent 40%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  color: var(--text);
}

/* SIDEBAR */
.gash-sidebar {
  background: linear-gradient(
    180deg,
    rgba(30, 18, 4, 0.98),
    rgba(12, 7, 2, 0.98)
  );
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
}

.gash-sidebar a,
.sidebar-link {
  color: var(--text);
}

.gash-sidebar a:hover,
.sidebar-link:hover {
  background: rgba(255, 215, 106, 0.10);
  color: var(--gold);
  border-radius: 12px;
}

/* CARDS */
.card,
.panel,
.post-card,
.profile-card,
.stat-card,
.live-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border-radius: 18px;
}

/* BUTTONS */
button,
.btn,
.submit-btn {
  background: linear-gradient(
    135deg,
    var(--gold),
    var(--gold-2)
  );
  color: #1b1204;
  border: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(255, 215, 106, 0.18);
}

button:hover,
.btn:hover,
.submit-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* INPUTS */
input,
textarea,
select {
  background: rgba(25, 16, 5, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
}

/* TITLES */
h1,
h2,
h3,
.logo-text,
.page-title {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 215, 106, 0.08);
}

/* SMALL DETAILS */
hr {
  border-color: var(--line);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-2);
  border-radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(246, 196, 83, 0.18), transparent 28%),
    radial-gradient(circle at bottom, rgba(184, 121, 24, 0.16), transparent 30%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2), var(--bg-3));
}

body {
  padding: 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
}

.hero-card,
.auth-card,
.sidebar-card,
.feed-card {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-card,
.auth-card {
  width: min(100%, 470px);
  padding: 34px;
  border-radius: 30px;
  text-align: center;
}

.hero-card h1,
.auth-card h1,
.feed-card h1 {
  margin: 8px 0 10px;
  line-height: 1.1;
}

.hero-text,
.subtext {
  color: var(--muted);
  line-height: 1.6;
}

.hero-logo,
.auth-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 24px rgba(246, 196, 83, 0.32));
}

.brand-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.auth-form {
  margin-top: 20px;
  text-align: left;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  margin-top: 16px;
  color: #fff0c2;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input,
.post-box textarea {
  width: 100%;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  transition: 0.2s ease;
  box-shadow: inset 0 0 0 1px transparent;
}

.auth-form input::placeholder,
.post-box textarea::placeholder {
  color: #a88e58;
}

.auth-form input:focus,
.post-box textarea:focus {
  border-color: rgba(246, 196, 83, 0.58);
  box-shadow: 0 0 0 5px rgba(246, 196, 83, 0.10);
  transform: translateY(-1px);
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 800;
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 140px;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  color: #160d03;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 24px rgba(184, 121, 24, 0.32);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 199, 89, 0.16);
}

.btn-full {
  width: 100%;
  margin-top: 22px;
}

.switch-text {
  margin-top: 18px;
  color: var(--muted);
}

.switch-text a {
  color: var(--cyan);
  font-weight: 800;
}

.flash {
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.flash-error {
  background: rgba(255, 88, 88, 0.1);
  border: 1px solid rgba(255, 88, 88, 0.22);
  color: #ffd2d2;
}

.flash-success {
  background: rgba(246, 196, 83, 0.12);
  border: 1px solid rgba(246, 196, 83, 0.25);
  color: #fff6dd;
}

.app-layout {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 20px;
}

.sidebar-card {
  padding: 20px;
  border-radius: 28px;
  background: var(--card-2);
}

.sidebar-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.sidebar-logo,
.mini-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.nav-item {
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff1c8;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.18s ease;
  border: 1px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  transform: translateX(4px);
  border-color: rgba(246, 196, 83, 0.28);
  background: rgba(246, 196, 83, 0.10);
}

.feed-card {
  padding: 28px;
  border-radius: 30px;
}

.feed-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.post-box,
.demo-post {
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.post-box textarea {
  min-height: 120px;
  resize: vertical;
  margin-top: 10px;
}

.post-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag-chip {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(246, 196, 83, 0.10);
  border: 1px solid rgba(184, 121, 24, 0.16);
  color: #fff6dd;
  font-size: 13px;
  font-weight: 800;
}

.post-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #fff6dd;
}

.floating-logo {
  animation: floaty 3.6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .feed-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    padding: 16px;
  }

  .hero-card,
  .auth-card,
  .feed-card,
  .sidebar-card {
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


.site-preview-shell {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 20px;
}

.preview-sidebar,
.preview-feed {
  min-height: calc(100vh - 48px);
}

.preview-post-box textarea {
  cursor: pointer;
}

.engagement-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.engage-btn {
  border: 1px solid rgba(184, 121, 24, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff6dd;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s ease;
}

.engage-btn:hover {
  transform: translateY(-2px);
  background: rgba(246, 196, 83, 0.10);
}

.preview-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 18, 0.62);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 999;
  padding: 20px;
}

.preview-popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.preview-popup {
  width: min(100%, 430px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(9, 22, 39, 0.95);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
}

.popup-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 24px rgba(246, 196, 83, 0.32));
}

.preview-popup h2 {
  margin: 8px 0 10px;
}

.ghost-close {
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.ghost-close:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .site-preview-shell {
    grid-template-columns: 1fr;
  }

  .preview-sidebar,
  .preview-feed {
    min-height: unset;
  }
}


.gash-shell {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
}

.gash-sidebar {
  min-height: calc(100vh - 48px);
  position: sticky;
  top: 24px;
}

.sidebar-note {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  line-height: 1.5;
}

.viewer-wrap,
.landing-viewer-wrap {
  position: relative;
  min-width: 0;
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.vertical-feed {
  height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 30px;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.vertical-feed::-webkit-scrollbar {
  display: none;
}

.preview-vertical-feed {
  height: calc(100vh - 120px);
}

.snap-item {
  min-height: calc(100vh - 48px);
  scroll-snap-align: start;
  position: relative;
}

.preview-vertical-feed .snap-item {
  min-height: calc(100vh - 120px);
}

.content-stage {
  min-height: 100%;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.content-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 9, 20, 0.78), rgba(4, 9, 20, 0.18) 45%, rgba(4, 9, 20, 0.08));
}

.gradient-stage {
  background:
    radial-gradient(circle at top left, rgba(98, 240, 239, 0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(54, 168, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #07111f, #0c1f3a 55%, #0e3550);
}

.video-stage {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52)),
    linear-gradient(145deg, #102030, #1b2b44 45%, #0a1325);
}

.aurora-stage {
  background:
    radial-gradient(circle at top right, rgba(150, 91, 255, 0.26), transparent 25%),
    radial-gradient(circle at center left, rgba(98, 240, 239, 0.24), transparent 30%),
    linear-gradient(150deg, #090f1f, #111d38 55%, #1a2f55);
}

.spotlight-stage {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 12%),
    radial-gradient(circle at top, rgba(54, 168, 255, 0.20), transparent 26%),
    linear-gradient(160deg, #05080f, #101829 55%, #172844);
}

.content-main,
.fake-video-ui,
.engagement-stack {
  position: relative;
  z-index: 1;
}

.content-main {
  max-width: 720px;
}

.content-type-pill {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.content-main h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 12px;
  max-width: 12ch;
}

.content-caption {
  font-size: 1rem;
  line-height: 1.6;
  color: #d3ecf6;
  max-width: 58ch;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #d7fbff;
  font-weight: 700;
}

.fake-video-ui {
  flex: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fake-video-top,
.fake-video-bottom {
  color: #f4fbff;
}

.fake-video-top {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff5c7a;
  box-shadow: 0 0 18px rgba(255, 92, 122, 0.7);
}

.fake-video-center {
  display: grid;
  place-items: center;
  min-height: 46vh;
}

.play-badge {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.fake-video-bottom strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.fake-video-bottom p {
  margin: 0;
  color: #d3ecf6;
  max-width: 54ch;
  line-height: 1.6;
}

.engagement-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-left: auto;
}

.engage-round {
  width: 82px;
  min-height: 82px;
  padding: 10px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8e6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  font-weight: 800;
  transition: 0.16s ease;
  backdrop-filter: blur(10px);
}

.engage-round:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
}

.engage-round span {
  font-size: 0.77rem;
}

.mobile-nav-buttons {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 80;
}

.nav-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(246, 196, 83, 0.25);
  background: rgba(8, 20, 36, 0.82);
  color: #e9fdff;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.nav-float-btn:hover {
  transform: scale(1.05);
}

.landing-gash-shell {
  min-height: calc(100vh - 48px);
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.landing-actions {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .gash-shell {
    grid-template-columns: 1fr;
  }

  .gash-sidebar {
    display: none;
  }

  .mobile-brand {
    display: flex;
  }

  .mobile-nav-buttons {
    display: flex;
  }

  .vertical-feed,
  .preview-vertical-feed {
    border-radius: 24px;
  }
}

@media (max-width: 760px) {
  .content-stage {
    padding: 24px 18px;
    align-items: flex-end;
  }

  .content-main h1 {
    max-width: 14ch;
  }

  .engagement-stack {
    position: absolute;
    right: 14px;
    bottom: 110px;
  }

  .engage-round {
    width: 74px;
    min-height: 74px;
  }

  .landing-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-actions {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .content-main h1 {
    font-size: clamp(1.7rem, 10vw, 2.6rem);
  }

  .content-caption,
  .fake-video-bottom p {
    font-size: 0.95rem;
  }

  .play-badge {
    width: 76px;
    height: 76px;
  }

  .mobile-nav-buttons {
    right: 12px;
  }

  .nav-float-btn {
    width: 52px;
    height: 52px;
  }
}


html, body {
  overflow: auto;
  min-height: 100%;
}

.preview-app {
  position: relative;
  height: calc(100vh - 48px);
  width: 100%;
}

.preview-feed {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.preview-feed::-webkit-scrollbar {
  display: none;
}

.snap-card {
  position: relative;
  min-height: calc(100vh - 48px);
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.snap-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(246, 196, 83, 0.25), transparent 26%),
    radial-gradient(circle at bottom right, rgba(246, 196, 83, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(3, 14, 26, 0.32), rgba(3, 14, 26, 0.78));
}

.glow-bg {
  background:
    radial-gradient(circle at 20% 16%, rgba(98, 240, 239, 0.30), transparent 18%),
    radial-gradient(circle at 78% 80%, rgba(54, 168, 255, 0.24), transparent 20%),
    linear-gradient(145deg, #04111f, #0a1f36);
}

.second-bg {
  background:
    radial-gradient(circle at 18% 70%, rgba(246, 196, 83, 0.22), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(54, 168, 255, 0.2), transparent 18%),
    linear-gradient(145deg, #081628, #0c2744);
}

.third-bg {
  background:
    radial-gradient(circle at 50% 8%, rgba(98, 240, 239, 0.16), transparent 22%),
    radial-gradient(circle at 75% 82%, rgba(54, 168, 255, 0.24), transparent 20%),
    linear-gradient(145deg, #06111d, #102a48);
}

.snap-content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.snap-topbar,
.account-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(5, 16, 29, 0.42);
  backdrop-filter: blur(14px);
}

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

.tiny-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.top-actions,
.logout-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mini-top-btn {
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s ease;
  text-decoration: none;
}

.mini-top-btn.primary,
.mini-top-btn:hover {
  background: rgba(184, 121, 24, 0.16);
  border-color: rgba(246, 196, 83, 0.25);
}

.snap-main {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 100px;
}

.snap-copy {
  max-width: 620px;
  padding-bottom: 28px;
}

.snap-copy h1,
.snap-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.96;
}

.snap-copy p {
  margin: 0;
  max-width: 560px;
  color: #f5e3b2;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
}

.content-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #160d03;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 20px rgba(184, 121, 24, 0.32);
}

.content-type-pill.alt {
  color: #fff6dd;
  background: rgba(246, 196, 83, 0.14);
  border: 1px solid rgba(246, 196, 83, 0.22);
  box-shadow: none;
}

.floating-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  justify-content: flex-end;
  padding-bottom: 34px;
}

.action-pill {
  min-width: 128px;
  border: 1px solid rgba(255, 199, 89, 0.16);
  background: rgba(5, 16, 29, 0.45);
  color: #fff8e6;
  padding: 13px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s ease;
  backdrop-filter: blur(12px);
}

.action-pill:hover {
  transform: translateX(-3px);
  background: rgba(246, 196, 83, 0.14);
}

.snap-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.meta-block {
  max-width: 580px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(5, 16, 29, 0.42);
  backdrop-filter: blur(12px);
}

.meta-block strong {
  display: block;
  margin-bottom: 6px;
}

.meta-block p {
  margin: 0;
  color: #d8eefb;
  line-height: 1.5;
}

.mobile-nav-arrows {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.nav-arrow {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(128, 214, 255, 0.18);
  background: rgba(5, 16, 29, 0.72);
  color: #fff8e6;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: 0.16s ease;
}

.nav-arrow:hover {
  transform: scale(1.04);
  background: rgba(184, 121, 24, 0.16);
}

@media (max-width: 1024px) {
  .mobile-nav-arrows {
    display: flex;
  }

  .snap-main {
    gap: 14px;
  }

  .snap-copy {
    max-width: 100%;
  }

  .action-pill {
    min-width: 0;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 18px;
  }

  .action-pill span {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .preview-app {
    height: 100vh;
  }

  .preview-feed,
  .snap-card {
    min-height: 100vh;
    border-radius: 0;
  }

  .snap-content {
    padding: 18px;
  }

  .snap-topbar,
  .account-badge {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 12px;
  }

  .snap-main {
    flex-direction: row;
    align-items: flex-end;
    padding-top: 90px;
  }

  .snap-copy h1,
  .snap-copy h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .meta-block {
    max-width: calc(100% - 80px);
  }
}

@media (max-width: 560px) {
  .top-actions {
    display: none;
  }

  .logo-wrap strong,
  .account-badge strong {
    font-size: 14px;
  }

  .snap-footer {
    align-items: flex-end;
  }

  .floating-actions {
    padding-bottom: 10px;
  }

  .mobile-nav-arrows {
    right: 12px;
  }

  .nav-arrow {
    width: 48px;
    height: 48px;
  }
}


.cover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  z-index: 0;
}

.cover-video {
  object-fit: cover;
}

.flash {
  position: fixed;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 560px);
  z-index: 20;
  backdrop-filter: blur(12px);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 20, 0.66);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(100%, 520px);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(9, 22, 39, 0.95);
  box-shadow: var(--shadow);
  padding: 24px;
}

.comment-modal-card {
  width: min(100%, 620px);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-head h3 {
  margin: 6px 0 0;
  font-size: 1.5rem;
}

.create-form,
.comment-form {
  display: grid;
  gap: 12px;
}

.create-form label,
.comment-form label {
  font-size: 14px;
  font-weight: 800;
  color: #fff1c8;
}

.create-form select,
.create-form input,
.create-form textarea,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  transition: 0.2s ease;
}

.create-form textarea,
.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comments-list {
  display: grid;
  gap: 12px;
  max-height: 42vh;
  overflow: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.comment-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.comment-item strong {
  display: block;
  margin-bottom: 4px;
}

.comment-item p,
.empty-comments,
.loading-comments {
  margin: 0;
  color: #d8eefb;
  line-height: 1.55;
}

.empty-comments,
.loading-comments {
  padding: 14px 6px;
  color: var(--muted);
}

.liked-once {
  transform: scale(1.06);
  background: rgba(184, 121, 24, 0.16);
}

@media (max-width: 768px) {
  .flash {
    top: 74px;
  }

  .modal-card,
  .comment-modal-card {
    width: min(100%, 100%);
    border-radius: 22px;
  }
}


.create-form input[type="file"] {
  width: 100%;
  border: 1px dashed rgba(128, 214, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 18px;
  padding: 14px 16px;
}

.or-divider {
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 2px 0;
}

.liked-active {
  background: rgba(246, 196, 83, 0.22);
  border-color: rgba(246, 196, 83, 0.32);
}


body {
  padding: 0;
  min-height: 100vh;
}

.app-shell {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 0.2s ease;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 86px minmax(0, 1fr);
}

.gash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 16px 14px;
  border-right: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(5, 16, 29, 0.84);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.sidebar-brand-big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.sidebar-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sidebar-brand-text {
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 199, 89, 0.16);
  background: rgba(255,255,255,0.05);
  color: white;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.sidebar-nav-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  border: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 14px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.16s ease;
}

.sidebar-btn:hover,
.sidebar-btn.active {
  transform: translateX(3px);
  background: rgba(246, 196, 83, 0.14);
  border-color: rgba(246, 196, 83, 0.25);
}

.sidebar-icon {
  width: 22px;
  text-align: center;
  font-size: 18px;
  color: white;
}

.sidebar-label {
  font-weight: 800;
  white-space: nowrap;
}

.sidebar-bottom-profile {
  padding-top: 16px;
}

.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 20px;
  color: white;
  text-decoration: none;
}

.sidebar-user-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-user-copy strong,
.sidebar-user-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell.sidebar-collapsed .sidebar-label,
.app-shell.sidebar-collapsed .sidebar-brand-text,
.app-shell.sidebar-collapsed .sidebar-user-copy {
  display: none;
}

.app-shell.sidebar-collapsed .gash-sidebar {
  padding-inline: 10px;
}

.app-shell.sidebar-collapsed .sidebar-profile-card,
.app-shell.sidebar-collapsed .sidebar-btn {
  justify-content: center;
}

.main-panel {
  position: relative;
  min-height: 100vh;
  min-width: 0;
  width: 100%;
}

.main-panel .preview-feed {
  border-radius: 0;
  border: 0;
}

.profile-main {
  padding: 28px;
}

.top-page-actions {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 25;
}

.settings-card,
.public-profile-header,
.profile-section,
.single-post-wrap {
  border: 1px solid var(--line);
  background: rgba(10, 24, 42, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.settings-card {
  max-width: 900px;
  margin: 90px auto 30px;
  padding: 24px;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.settings-form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.settings-form input {
  width: 100%;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
}

.avatar-img {
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(128, 214, 255, 0.18);
  background: rgba(255,255,255,0.06);
}

.avatar-fallback {
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, rgba(98,240,239,0.7), rgba(54,168,255,0.72));
  border: 1px solid rgba(128, 214, 255, 0.18);
}

.avatar-sm {
  width: 42px;
  height: 42px;
  min-width: 42px;
  font-size: 15px;
}

.avatar-md {
  width: 50px;
  height: 50px;
  min-width: 50px;
  font-size: 17px;
}

.avatar-xl {
  width: 108px;
  height: 108px;
  min-width: 108px;
  font-size: 34px;
}

.post-author-inline {
  margin: 14px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.post-author-inline strong {
  display: block;
}

.search-overlay {
  align-items: start;
  padding-top: 26px;
}

.search-popup {
  width: min(96vw, 860px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(9, 22, 39, 0.97);
  box-shadow: var(--shadow);
  padding: 18px;
}

.search-input {
  width: 100%;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-radius: 18px;
  padding: 16px 18px;
  outline: none;
  font-size: 1rem;
}

.search-results-frame {
  margin-top: 14px;
  max-height: 62vh;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.result-group-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 900;
  margin-top: 8px;
}

.search-result-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(128, 214, 255, 0.08);
  background: rgba(255,255,255,0.04);
  color: white;
  text-decoration: none;
}

.search-result-item strong {
  display: block;
}

.search-result-item span {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.result-type-pill {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 8px 10px;
  color: white;
  background: rgba(246, 196, 83, 0.14);
  border: 1px solid rgba(246, 196, 83, 0.22);
  font-size: 12px;
  font-weight: 900;
}

.user-profile-page,
.single-post-page {
  padding: 90px 20px 24px;
  min-height: 100vh;
}

.public-profile-header {
  max-width: 1100px;
  margin: 0 auto 22px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-stats {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 199, 89, 0.18);
}

.public-profile-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.profile-section {
  padding: 18px;
}

.profile-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.profile-post-card {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(128, 214, 255, 0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  padding: 14px;
}

.profile-post-card p {
  margin: 12px 0 0;
  line-height: 1.5;
}

.profile-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.single-post-wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.single-card {
  min-height: calc(100vh - 130px);
}

.share-output {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(128, 214, 255, 0.08);
  color: white;
  word-break: break-all;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .live-manage-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .live-moderation-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .gash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    z-index: 30;
    transform: translateX(0);
    transition: transform 0.2s ease;
  }

  .app-shell.sidebar-collapsed .gash-sidebar {
    transform: translateX(-100%);
  }

  .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .settings-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-page-actions {
    right: 12px;
    top: 12px;
  }
}


.main-panel {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.main-panel .preview-feed {
  height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.preview-feed {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.snap-card {
  min-height: 100vh;
}

@media (max-width: 980px) {
  .main-panel {
    height: 100vh;
  }
}


.messages-main {
  height: 100vh;
  overflow: hidden;
}

.messages-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: 100vh;
}

.messages-inbox-panel {
  border-right: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(6, 18, 31, 0.78);
  backdrop-filter: blur(14px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.messages-inbox-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.compact-new-chat {
  width: 100%;
  justify-content: center;
}

.messages-thread-list {
  display: grid;
  gap: 10px;
  overflow: auto;
  min-height: 0;
}

.thread-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 12px;
}

.thread-row.active,
.thread-row:hover {
  background: rgba(246, 196, 83, 0.14);
  border-color: rgba(246, 196, 83, 0.25);
}

.thread-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

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

.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(3, 12, 22, 0.45);
}

.chat-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(6, 18, 31, 0.5);
}

.chat-messages {
  flex: 1;
  overflow: auto;
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.chat-bubble-row {
  display: flex;
}

.chat-bubble-row.mine {
  justify-content: flex-end;
}

.chat-bubble-row.theirs {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: min(74%, 560px);
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(128, 214, 255, 0.1);
}

.chat-bubble-row.mine .chat-bubble {
  background: rgba(184, 121, 24, 0.16);
  border-color: rgba(246, 196, 83, 0.25);
}

.chat-bubble p {
  margin: 0;
  line-height: 1.55;
  color: white;
  word-break: break-word;
}

.chat-input-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid rgba(128, 214, 255, 0.1);
  background: rgba(6, 18, 31, 0.5);
}

.chat-input-bar input {
  width: 100%;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
}

.empty-chat-state {
  margin: auto;
  text-align: center;
  padding: 30px;
}

.new-chat-user-btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 980px) {
  .messages-layout {
    grid-template-columns: 1fr;
  }

  .messages-inbox-panel {
    max-height: 38vh;
  }
}


html,
body,
button,
input,
textarea,
select,
a,
div,
span,
p,
strong,
h1,
h2,
h3,
h4,
h5,
h6 {
}

.cover-video,
.instant-video,
.instant-video-card {
  cursor: pointer;
}

.instant-video::-webkit-media-controls,
.instant-video-card::-webkit-media-controls {
  display: none !important;
}

.instant-video::-webkit-media-controls-enclosure,
.instant-video-card::-webkit-media-controls-enclosure {
  display: none !important;
}

.profile-danger-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.danger-signout-btn {
  border: 1px solid rgba(255, 82, 82, 0.32);
  background: rgba(255, 82, 82, 0.16);
  color: #ffd9d9;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s ease;
  min-width: 180px;
}

.danger-signout-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 82, 82, 0.24);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-card {
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.04);
  border-radius: 22px;
  padding: 18px;
}

.styled-select,
.settings-form select {
  width: 100%;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #fff6dd 50%),
    linear-gradient(135deg, #fff6dd 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(1.2em),
    calc(100% - 16px) calc(1.2em);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.styled-select option,
.settings-form select option {
  background: #0c1c31;
  color: white;
}

.admin-form-spacing {
  margin-top: 18px;
}


.feed-top-tabs {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 10px;
  background: rgba(5, 16, 29, 0.72);
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 89, 0.18);
  backdrop-filter: blur(12px);
}

.feed-tab {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: white;
  font-weight: 800;
}

.feed-tab.active {
  background: rgba(184, 121, 24, 0.16);
  border: 1px solid rgba(246, 196, 83, 0.25);
}

.follow-btn {
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.16s ease;
}

.follow-btn.following {
  background: rgba(98, 240, 239, 0.16);
  border-color: rgba(246, 196, 83, 0.32);
  color: #fff6dd;
}

.follow-btn.follow-pop {
  transform: scale(1.06);
}

.author-follow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.follow-empty-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px 40px;
}

.recommended-users {
  margin-top: 20px;
  width: min(100%, 950px);
}

.recommended-grid {
  margin-top: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.recommended-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.04);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.follow-stats-line {
  margin-top: 8px;
  color: #fff6dd;
}

.global-toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: grid;
  gap: 10px;
}

.global-toast {
  min-width: 240px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(9, 22, 39, 0.95);
  color: white;
  border: 1px solid rgba(246, 196, 83, 0.22);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: 0.22s ease;
}

.global-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.profile-video-wrap {
  position: relative;
  inset: auto;
  z-index: auto;
}


.admin-scroll-main {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.profile-main.admin-scroll-main {
  padding-bottom: 40px;
}


button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


:root {
  --user-bg: #07121f;
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, var(--user-bg), #030a12);
}

.sidebar-badge,
.message-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #3b82f6;
  color: white;
  font-size: 12px;
  font-weight: 800;
  margin-left: auto;
}

.thread-row {
  justify-content: space-between;
}

.verified-badge {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 6px;
}

.verified-inline {
  width: 22px;
  height: 22px;
}

.thread-verified {
  margin-left: 4px;
}

.invite-banner {
  position: fixed;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 24;
  width: min(92vw, 820px);
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(144, 238, 144, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: white;
  backdrop-filter: blur(12px);
}

.feed-top-tabs + .preview-feed,
.invite-banner + .feed-top-tabs + .preview-feed {
  margin-top: 0;
}

.review-form .star-row {
  display: flex;
  gap: 8px;
}

.star-option input {
  display: none;
}

.star-option span {
  font-size: 32px;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
}

.star-option input:checked + span,
.star-option:hover span {
  color: #fbbf24;
}

.mail-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.mail-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255, 199, 89, 0.18);
}

.mail-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mail-stars {
  color: #fbbf24;
  font-size: 1.1rem;
}

.forgot-password-text {
  margin-top: 12px;
}


.name-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
}

.profile-name-row .verified-badge,
.verified-inline {
  width: 20px;
  height: 20px;
}

.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: gashSpin 0.7s linear infinite;
  display: inline-block;
}

.post-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: gashSpin 0.8s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
  z-index: 3;
}

.single-post-media {
  opacity: 0;
  transition: opacity 0.2s ease;
}

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


.custom-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff3b3b;
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.custom-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble-row.pop-in {
  animation: chatPop 0.18s ease;
}

@keyframes chatPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.background-settings-form {
  margin-top: 18px;
}

.background-color-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.background-color-picker {
  width: 58px;
  height: 42px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.background-color-value {
  font-family: monospace;
}

.post-loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
  z-index: 3;
}

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

.single-post-media {
  transition: opacity 0.2s ease;
}

.video-overlay {
  pointer-events: none;
}


.global-announcement-banner {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  width: min(720px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(246, 196, 83, 0.25);
  background: rgba(14, 32, 56, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
  color: var(--text);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, top 0.3s ease;
  text-align: center;
}

.global-announcement-banner.show-announcement {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.announcement-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.announcement-author .verified-badge {
  width: 16px;
  height: 16px;
}


.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.site-event-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.missile-event,
.meteor-event,
.coin-rain-item {
  position: absolute;
  will-change: transform, top, left, right, opacity;
}

.missile-event {
  width: 140px;
  top: -80px;
  right: -160px;
  transform: rotate(-35deg);
  filter: drop-shadow(0 0 14px rgba(255, 180, 80, 0.55));
}

.missile-fly { animation: missileFly 2.2s cubic-bezier(0.2, 0.75, 0.15, 1) forwards; }

@keyframes missileFly {
  0% { top: -80px; right: -160px; transform: rotate(-35deg) scale(0.92); opacity: 1; }
  100% { top: calc(100vh - 180px); right: calc(50vw - 70px); transform: rotate(-145deg) scale(1.08); opacity: 1; }
}

.meteor-event {
  width: 150px;
  top: -120px;
  left: -140px;

  transform: rotate(135deg); /* important */
  transform-origin: center center;

  filter: drop-shadow(0 0 22px rgba(255, 120, 40, 0.7));
}

.meteor-fly {
  animation: meteorFly 1.8s cubic-bezier(0.25, 0.8, 0.15, 1) forwards;
}

@keyframes meteorFly {
  0% {
    top: -120px;
    left: -140px;
    opacity: 1;
  }

  100% {
    top: calc(100vh - 190px);
    left: calc(50vw - 75px);
    opacity: 1;
  }
}

.nuke-flash, .impact-ring, .lightning-flash {
  position: fixed;
  left: 50%;
  top: 78%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10001;
  opacity: 0;
}

.nuke-flash {
  width: 24px; height: 24px; border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,240,180,0.95) 28%, rgba(255,170,60,0.82) 55%, rgba(255,90,0,0.2) 100%);
  box-shadow: 0 0 40px rgba(255,255,255,0.9), 0 0 90px rgba(255,180,80,0.8), 0 0 180px rgba(255,100,0,0.6);
}
.impact-ring {
  width: 40px; height: 40px; border-radius: 999px;
  border: 10px solid rgba(255, 180, 70, 0.85);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
}
.nuke-flash.show { animation: nukeFlash 0.9s ease-out forwards; }
.impact-ring.show { animation: impactRing 1.2s ease-out forwards; }

@keyframes nukeFlash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(8); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(22); }
}
@keyframes impactRing {
  0% { opacity: 0.95; transform: translate(-50%, -50%) scale(0.25); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

.screen-shake { animation: screenShake 0.75s linear; }
@keyframes screenShake {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-8px, 5px); }
  20% { transform: translate(9px, -6px); }
  30% { transform: translate(-10px, 8px); }
  40% { transform: translate(10px, 2px); }
  50% { transform: translate(-7px, -8px); }
  60% { transform: translate(8px, 6px); }
  70% { transform: translate(-6px, 3px); }
  80% { transform: translate(6px, -5px); }
  90% { transform: translate(-3px, 3px); }
  100% { transform: translate(0, 0); }
}

.blackout-flash, .red-alert-overlay, .spotlight-overlay, .system-overload-overlay, .freeze-overlay, .orbital-beam-column {
  position: fixed; inset: 0; pointer-events: none; z-index: 10000; opacity: 0;
}

.blackout-flash { background: rgba(0,0,0,0.96); }
.blackout-flash.show { animation: blackoutFlash 1.8s ease forwards; }
@keyframes blackoutFlash {
  0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; }
}

.red-alert-overlay {
  border: 12px solid rgba(255, 40, 40, 0.95);
  box-shadow: inset 0 0 80px rgba(255, 0, 0, 0.25);
}
.red-alert-overlay.show { animation: redAlertPulse 2.2s ease forwards; }
@keyframes redAlertPulse {
  0%, 100% { opacity: 0; } 15%, 85% { opacity: 1; }
}

.coin-rain-item {
  width: 34px;
  opacity: 0.95;
  animation: coinDrop linear forwards;
}
@keyframes coinDrop {
  0% { transform: translateY(-120px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0.95; }
}

.spotlight-overlay {
  background: radial-gradient(circle at center, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 18%, rgba(0,0,0,0.82) 65%);
}
.spotlight-overlay.show { animation: spotlightShow 2.5s ease forwards; }
@keyframes spotlightShow {
  0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; }
}

.system-overload-overlay {
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 4px);
  mix-blend-mode: screen;
}
.system-overload-overlay.show { animation: overloadGlitch 2s steps(2) forwards; }
@keyframes overloadGlitch {
  0% { opacity: 0; transform: translate(0,0); }
  10% { opacity: 1; transform: translate(-6px, 2px); }
  20% { transform: translate(8px, -3px); }
  30% { transform: translate(-10px, 4px); }
  40% { transform: translate(6px, -5px); }
  100% { opacity: 0; transform: translate(0,0); }
}

.freeze-overlay {
  backdrop-filter: blur(2px);
  background: rgba(180, 220, 255, 0.12);
}
.freeze-overlay.show { animation: freezeShow 1.6s ease forwards; }
@keyframes freezeShow {
  0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; }
}

.celebration-piece {
  position: absolute; width: 10px; height: 18px; opacity: 1;
  animation: confettiDrop linear forwards;
}
@keyframes confettiDrop {
  0% { transform: translateY(-60px) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(800deg); opacity: 1; }
}

.lightning-flash {
  background: rgba(215, 240, 255, 0.95);
}
.lightning-flash.show { animation: lightningFlash 0.7s ease-out forwards; }
@keyframes lightningFlash {
  0% { opacity: 0; } 15% { opacity: 0.95; } 35% { opacity: 0.2; } 45% { opacity: 0.8; } 100% { opacity: 0; }
}

.orbital-beam-column {
  left: 50%; top: -20vh; transform: translateX(-50%);
  width: 18px; height: 120vh;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(120,220,255,0.9), rgba(255,255,255,0));
  box-shadow: 0 0 30px rgba(120,220,255,0.8), 0 0 100px rgba(120,220,255,0.5);
}
.orbital-beam-column.show { animation: beamShow 1.2s ease forwards; }
@keyframes beamShow {
  0% { opacity: 0; transform: translateX(-50%) scaleY(0.2); }
  20%, 80% { opacity: 1; transform: translateX(-50%) scaleY(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1.1); }
}


.mention-link {
  color: #6ecbff;
  text-decoration: none;
  font-weight: 600;
}

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

.mention-suggestions {
  position: fixed;
  z-index: 10050;
  min-width: 220px;
  max-width: 320px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: rgba(10, 24, 42, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 8px;
}

.mention-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.mention-suggestion-item:hover,
.mention-suggestion-item.active {
  background: rgba(255,255,255,0.06);
}

.mention-suggestion-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mention-suggestion-copy strong,
.mention-suggestion-copy span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mention-suggestion-copy span {
  color: var(--muted);
  font-size: 13px;
}

.verified-inline-badge {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}


.post-reactions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,18,30,0.55);
  color: var(--text);
  padding: 8px 10px;
  cursor: pointer;
}

.reaction-chip.active-reaction {
  border-color: rgba(98,240,239,0.5);
  box-shadow: 0 0 0 1px rgba(98,240,239,0.2) inset;
}


.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dash-card {
  background: rgba(10, 18, 30, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}

.dash-card h3 {
  font-size: 14px;
  color: #9db0d1;
  margin-bottom: 8px;
}

.dash-card p {
  font-size: 24px;
  font-weight: 800;
  color: #f3f7ff;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.chart-box {
  background: rgba(10, 18, 30, 0.6);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 360px;
}

.chart-box h4 {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .dashboard-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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


.group-avatar-stack {
  display: grid;
  grid-template-columns: repeat(2, 20px);
  grid-template-rows: repeat(2, 20px);
  gap: 2px;
  width: 42px;
  height: 42px;
}
.group-avatar-stack.large {
  grid-template-columns: repeat(2, 24px);
  grid-template-rows: repeat(2, 24px);
  width: 50px;
  height: 50px;
}
.group-avatar-item {
  width: 20px !important;
  height: 20px !important;
  border-radius: 999px;
  object-fit: cover;
}
.group-avatar-stack.large .group-avatar-item {
  width: 24px !important;
  height: 24px !important;
}
.chat-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-separator {
  margin-top: 10px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--cyan);
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.edited-tag {
  font-size: 11px;
  color: var(--muted);
}
.dangerish, .btn-danger {
  background: rgba(220, 70, 70, 0.2);
  border: 1px solid rgba(220, 70, 70, 0.35);
}
.mail-expand-card details summary {
  cursor: pointer;
  list-style: none;
}
.mail-expand-card details summary::-webkit-details-marker {
  display: none;
}


.selected-users-row { min-height: 48px; align-items: center; }
.new-chat-user-btn.selected { outline: 2px solid rgba(98,240,239,0.7); background: rgba(98,240,239,0.08); }
.selected-user-chip { cursor: pointer; }
.toggle-button-grid { display: grid; gap: 12px; margin: 16px 0; }
.permission-toggle-btn { display: block; width: 100%; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: rgba(10,18,30,0.7); color: var(--text); padding: 14px 16px; text-align: left; cursor: pointer; }
.permission-toggle-btn.active-toggle { border-color: rgba(98,240,239,0.7); box-shadow: 0 0 0 1px rgba(98,240,239,0.28) inset; background: rgba(98,240,239,0.10); }
.chat-header-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dangerish { border-color: rgba(255,90,90,0.4); }
.group-avatar-stack.large .group-avatar-item { width: 36px; height: 36px; }


.cover-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


.cover-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-wrapper {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.video-overlay {
  pointer-events: none;
}
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-control-btn {
  position: absolute;
  top: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  z-index: 5;
}

.video-control-btn:hover {
  background: rgba(0, 0, 0, 0.72);
}

.video-play-toggle {
  left: 12px;
}

.video-sound-toggle {
  right: 12px;
}

.cover-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.video-wrapper .cover-video,
.video-wrapper .feed-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cover-image {
  object-fit: contain !important;
  object-position: center;
}

.video-control-btn {
  position: absolute;
  top: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.video-control-btn:hover {
  background: rgba(0, 0, 0, 0.74);
  transform: scale(1.04);
}

.video-play-toggle {
  left: 14px;
}

.video-sound-toggle {
  right: 14px;
}

.video-overlay {
  pointer-events: none;
}

.pause-icon {
  display: none;
}

/* Final video controls fix */
.video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-wrapper .feed-video,
.video-wrapper .cover-video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  display: block;
}

.cover-image {
  object-fit: contain !important;
  object-position: center;
}

.video-controls-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.video-control-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  z-index: 31;
}

.video-control-btn:hover {
  background: rgba(0, 0, 0, 0.78);
  transform: scale(1.04);
}

/* Gash Live Stream UI */
.go-live-open-btn {
  background: linear-gradient(135deg, #ff3b3b, #ff8a3d);
  color: white;
}

.go-live-card label {
  font-size: 14px;
  font-weight: 800;
  color: #fff1c8;
}

.go-live-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 199, 89, 0.16);
  background: rgba(0, 0, 0, 0.38);
  margin-bottom: 14px;
}

.go-live-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.go-live-preview-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: var(--muted);
  background: rgba(5, 16, 29, 0.78);
}

.live-control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.live-round-btn {
  border: 1px solid rgba(128, 214, 255, 0.18);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
}

.live-note {
  margin-top: 12px;
  font-size: 13px;
}

.snap-live .live-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.live-snap-content {
  z-index: 3;
  pointer-events: none;
}

.live-snap-content a,
.live-snap-content button,
.live-snap-content .action-pill {
  pointer-events: auto;
}

.live-bg {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 59, 59, 0.26), transparent 22%),
    radial-gradient(circle at 80% 75%, rgba(246, 196, 83, 0.22), transparent 20%),
    linear-gradient(145deg, #16070b, #081628 60%, #0c2744);
}

.live-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ff2f2f;
  color: #fff;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 47, 47, 0.35);
}

.live-viewer-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(10px);
}

.live-watch-pill {
  text-align: center;
}

.live-page-main {
  padding: 24px;
  overflow-y: auto;
}

.live-manage-layout {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 460px);
  gap: 18px;
}

.live-stage-card,
.live-side-panel,
.live-ended-state.standalone {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(10, 24, 42, 0.78);
  box-shadow: var(--shadow);
  border-radius: 28px;
  overflow: hidden;
}

.live-stage-card {
  min-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
  background: #020712;
}

.live-video-stage {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 48px);
  object-fit: contain;
  object-position: center center;
  background: #020712;
}

.live-side-panel {
  padding: 24px;
  align-self: stretch;
}

.live-side-panel h1 {
  margin: 10px 0;
}

.live-page-viewers {
  top: 18px;
  left: 18px;
}

.live-page-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.live-ended-state {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: rgba(2, 7, 18, 0.86);
  backdrop-filter: blur(8px);
}

.live-ended-state h1,
.live-ended-state h2 {
  margin: 0 0 10px;
}

.live-ended-state p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.live-ended-state.standalone {
  position: relative;
  min-height: calc(100vh - 48px);
}

.btn-danger {
  background: rgba(255, 59, 59, 0.18);
  border: 1px solid rgba(255, 59, 59, 0.32);
  color: #ffd6d6;
}

@media (max-width: 980px) {
  .live-manage-layout {
    grid-template-columns: 1fr;
  }

  .live-stage-card,
  .live-video-stage {
    min-height: 60vh;
  }
}

/* Live profile ring + real livestream chat/update styles */
.live-profile-live-link {
  align-items: center;
  gap: 12px;
}

.live-avatar-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.live-avatar-ring {
  border: 3px solid #ff1f3d !important;
  box-shadow: 0 0 18px rgba(255, 31, 61, 0.58);
}

.live-avatar-tag {
  background: #ff1f3d;
  color: #fff;
  font-size: 10px;
  font-weight: 1000;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.live-feed-top-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  border-radius: 8px;
  padding: 9px 14px;
}

.snap-live .live-card-link {
  display: none !important;
}

.live-snap-content {
  pointer-events: auto !important;
}

.live-side-panel.live-chat-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.live-chat-box-inline {
  margin-top: 12px;
  border: 1px solid rgba(255, 199, 89, 0.16);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  padding: 14px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.live-chat-messages {
  flex: 1;
  max-height: 340px;
  min-height: 180px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 8px 2px;
}

.live-chat-message {
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  word-break: break-word;
}

.live-chat-message strong {
  color: var(--cyan);
}

.live-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.live-chat-form input {
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 14px;
  padding: 11px 12px;
  outline: none;
}

.live-chat-form button {
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  color: #160d03;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.live-sound-btn {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 11;
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  font-weight: 900;
  color: white;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

#viewerVideo {
  display: block;
}

/* live profile and camera selector polish */
.profile-live-row {
  max-width: 1100px;
  margin: 0 auto 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-live-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 31, 61, 0.12);
  border: 1px solid rgba(255, 31, 61, 0.3);
  color: white;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(255, 31, 61, 0.12);
}

.live-avatar-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.live-avatar-ring {
  border: 3px solid #ff1f3d !important;
  box-shadow: 0 0 18px rgba(255, 31, 61, 0.6);
}

.live-avatar-tag {
  background: #ff1f3d;
  color: white;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.08em;
}

.live-device-label {
  display: block;
  margin: 10px 0 -4px;
  font-weight: 800;
}

.live-camera-select {
  margin-bottom: 10px;
}

.update-logs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 18, 0.7);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.update-logs-overlay.hide {
  display: none;
}

.update-logs-card {
  position: relative;
  width: min(92vw, 520px);
  padding: 28px;
  border-radius: 28px;
  background: rgba(9, 22, 39, 0.96);
  border: 1px solid rgba(246, 196, 83, 0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  color: white;
}

.update-logs-card h2 {
  margin: 0 0 18px;
  font-family: "Brush Script MT", "Segoe Script", cursive !important;
  font-size: 42px;
  color: #62f0ef;
  text-align: center;
}

.update-logs-list {
  display: grid;
  gap: 10px;
}

.update-logs-list p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(128, 214, 255, 0.1);
  color: #fff6dd;
  font-weight: 700;
}

.update-logs-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.global-announcement-banner {
  top: 84px !important;
  z-index: 99999;
}

/* === Admin Abuse Events Glow-Up === */
.admin-abuse-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.admin-abuse-card { margin: 0; }
.admin-abuse-btn { width: 100%; min-height: 116px; border: 1px solid rgba(98,240,239,.18); border-radius: 24px; background: radial-gradient(circle at top left, rgba(98,240,239,.16), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); color: #fff; display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer; text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,.22); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.admin-abuse-btn:hover { transform: translateY(-3px) scale(1.01); border-color: rgba(98,240,239,.42); background: radial-gradient(circle at top left, rgba(98,240,239,.26), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)); }
.admin-abuse-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 18px rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.24); flex-shrink: 0; }
.admin-abuse-copy { display: grid; gap: 5px; }
.admin-abuse-copy strong { font-size: 1.02rem; letter-spacing: .01em; }
.admin-abuse-copy small { color: #bfe7f4; line-height: 1.35; }
.event-title-card { position: fixed; left: 50%; top: 22%; transform: translate(-50%, -18px) scale(.92); width: min(92vw, 460px); padding: 20px 22px; border-radius: 24px; border: 1px solid rgba(255,255,255,.18); background: rgba(5,14,26,.88); color: white; box-shadow: 0 24px 70px rgba(0,0,0,.48), inset 0 0 34px rgba(98,240,239,.08); backdrop-filter: blur(16px); z-index: 10004; opacity: 0; pointer-events: none; text-align: center; transition: opacity .24s ease, transform .24s ease; }
.event-title-card.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.event-title-card span { display: block; font-size: 40px; margin-bottom: 8px; filter: drop-shadow(0 0 16px rgba(255,255,255,.38)); }
.event-title-card strong { display: block; font-size: clamp(1.35rem, 4vw, 2rem); letter-spacing: .12em; text-transform: uppercase; }
.event-title-card p { margin: 8px 0 0; color: #c9ecf5; font-weight: 700; }
.event-title-missile_launch, .event-title-meteor_strike, .event-title-red_alert { border-color: rgba(255,72,72,.35); box-shadow: 0 24px 70px rgba(0,0,0,.52), 0 0 44px rgba(255,72,72,.18); }
.event-title-freeze_event { border-color: rgba(98,240,239,.38); box-shadow: 0 24px 70px rgba(0,0,0,.52), 0 0 44px rgba(98,240,239,.2); }
.missile-event { width: 170px !important; filter: drop-shadow(0 0 22px rgba(255,180,80,.75)) drop-shadow(-24px -10px 22px rgba(255,90,0,.42)); }
.meteor-event { width: 170px !important; filter: drop-shadow(0 0 24px rgba(255,160,50,.95)) drop-shadow(-18px -12px 30px rgba(255,68,0,.52)); }
.meteor-fly { animation: meteorFly 2s cubic-bezier(.16,.86,.18,1) forwards !important; }
@keyframes meteorFly { 0% { top: -180px; left: -170px; transform: rotate(22deg) scale(.78); opacity: 0; } 12% { opacity: 1; } 100% { top: calc(100vh - 200px); left: calc(50vw - 85px); transform: rotate(138deg) scale(1.18); opacity: 1; } }
.nuke-flash { background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,240,190,.98) 24%, rgba(255,148,42,.92) 48%, rgba(255,40,0,.35) 78%, transparent 100%) !important; }
.red-alert-overlay { border-width: 16px !important; animation: redAlertPulse 2.4s ease forwards !important; }
.system-overload-overlay { background: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 2px, transparent 2px 8px), radial-gradient(circle at center, rgba(255,0,98,.24), rgba(0,0,0,.76)); }
.system-overload-overlay.show { animation: overloadGlitch 1.8s steps(3) forwards; }
@keyframes overloadGlitch { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; transform: translateX(-8px); } 35% { transform: translateX(8px); } 55% { transform: translateX(-4px); } 80% { opacity: 1; transform: translateX(4px); } 100% { opacity: 0; transform: translateX(0); } }
.freeze-overlay { background: radial-gradient(circle at top left, rgba(255,255,255,.24), transparent 26%), radial-gradient(circle at bottom right, rgba(98,240,239,.22), transparent 30%), rgba(160,230,255,.16); box-shadow: inset 0 0 90px rgba(210,250,255,.35); }
.freeze-overlay.show { animation: freezeIn 2s ease forwards; }
@keyframes freezeIn { 0% { opacity: 0; filter: blur(0); } 20% { opacity: 1; filter: blur(1px); } 85% { opacity: 1; } 100% { opacity: 0; filter: blur(0); } }
.orbital-beam-column { left: 50%; width: 170px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(98,240,239,.76), rgba(255,255,255,.92), rgba(98,240,239,.45), transparent); filter: blur(1px) drop-shadow(0 0 32px rgba(98,240,239,.65)); }
.coin-rain-item { width: 38px !important; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.celebration-piece { box-shadow: 0 0 12px rgba(255,255,255,.24); }

/* === Global site events v2 === */
.screen-shake-hard { animation: screenShakeHard 1.15s linear; }
@keyframes screenShakeHard {
  0% { transform: translate(0,0) rotate(0); }
  8% { transform: translate(-14px, 10px) rotate(-.4deg); }
  16% { transform: translate(16px, -10px) rotate(.4deg); }
  24% { transform: translate(-18px, 12px) rotate(-.6deg); }
  32% { transform: translate(18px, -8px) rotate(.5deg); }
  40% { transform: translate(-13px, -12px) rotate(-.35deg); }
  52% { transform: translate(14px, 11px) rotate(.35deg); }
  64% { transform: translate(-10px, 8px) rotate(-.2deg); }
  76% { transform: translate(9px, -7px) rotate(.2deg); }
  100% { transform: translate(0,0) rotate(0); }
}
.missile-smoke-trail { position: fixed; inset: auto -5vw 12vh auto; width: 55vw; height: 14px; background: linear-gradient(90deg, transparent, rgba(255,160,70,.28), rgba(255,255,255,.58)); filter: blur(8px); transform: rotate(-28deg); animation: trailFade 2.2s ease forwards; }
@keyframes trailFade { 0% { opacity:0; } 35% { opacity:1; } 100% { opacity:0; } }
.meteor-spark { position: fixed; top: -80px; width: 7px; height: 90px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,108,40,.2), transparent); filter: drop-shadow(0 0 12px rgba(255,120,40,.8)); animation: meteorSpark 1.5s ease forwards; }
@keyframes meteorSpark { to { transform: translate(35vw, 115vh) rotate(28deg); opacity: 0; } }
.blackout-warning, .red-alert-siren, .spotlight-stage-text, .overload-terminal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); color: white; font-weight: 900; letter-spacing: .18em; text-align: center; z-index: 10003; }
.blackout-warning { font-size: clamp(1.6rem, 5vw, 4rem); text-shadow: 0 0 28px rgba(255,255,255,.35); }
.red-alert-siren { font-size: clamp(1.4rem, 4vw, 3rem); color: #fff; text-shadow: 0 0 24px rgba(255,0,0,.9); animation: sirenPulse .45s infinite alternate; }
@keyframes sirenPulse { from { transform: translate(-50%, -50%) scale(.96); } to { transform: translate(-50%, -50%) scale(1.04); } }
.red-scan-bar { position: fixed; left: 0; right: 0; height: 5px; background: rgba(255,40,40,.85); box-shadow: 0 0 22px rgba(255,0,0,.8); animation: redScan 1.2s linear forwards; }
@keyframes redScan { from { top: -10%; opacity: 1; } to { top: 110%; opacity: 0; } }
.spotlight-stage-text { top: 68%; font-size: clamp(1.1rem, 3vw, 2.2rem); color: #f8fdff; text-shadow: 0 8px 22px rgba(0,0,0,.55); }
.overload-terminal { font-family: Consolas, monospace; line-height: 1.8; padding: 22px 28px; border: 1px solid rgba(98,240,239,.35); background: rgba(0,0,0,.72); color: #62f0ef; box-shadow: 0 0 38px rgba(98,240,239,.18); }
.glitch-slice { position: fixed; left: -5%; width: 110%; height: 12px; background: rgba(98,240,239,.18); mix-blend-mode: screen; animation: glitchSlide .65s steps(2) 2; }
@keyframes glitchSlide { 0% { transform: translateX(-30px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }
.ice-shard { position: fixed; top: -70px; width: 16px; height: 52px; clip-path: polygon(50% 0,100% 100%,0 100%); background: rgba(210,250,255,.72); filter: drop-shadow(0 0 12px rgba(120,230,255,.8)); animation: iceFall 2.4s ease forwards; }
@keyframes iceFall { to { transform: translateY(115vh) rotate(540deg); opacity: 0; } }
.lightning-bolt { position: fixed; left: 49%; top: -5%; width: 90px; height: 78vh; background: linear-gradient(180deg, #fff, #62f0ef, transparent); clip-path: polygon(42% 0, 85% 0, 58% 36%, 80% 36%, 28% 100%, 42% 49%, 20% 49%); filter: drop-shadow(0 0 28px rgba(98,240,239,.95)); animation: boltHit .8s ease forwards; }
@keyframes boltHit { 0% { opacity: 0; transform: translateY(-10%); } 20%, 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(8%); } }
.orbital-target-ring { position: fixed; left: 50%; top: 70%; width: 220px; height: 220px; border: 3px dashed rgba(98,240,239,.8); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 32px rgba(98,240,239,.35); animation: targetSpin 1.7s linear forwards; }
@keyframes targetSpin { to { transform: translate(-50%, -50%) rotate(360deg) scale(.7); opacity: 0; } }
.screen-shake-pop { animation: screenShakePop .42s linear; }
@keyframes screenShakePop {
  0% { transform: translate(0,0); }
  20% { transform: translate(-7px, 5px); }
  40% { transform: translate(7px, -4px); }
  60% { transform: translate(-5px, 3px); }
  80% { transform: translate(4px, -2px); }
  100% { transform: translate(0,0); }
}
.skibidi-pop {
  position: fixed;
  width: min(205px, 36vw);
  z-index: 10002;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.58)) drop-shadow(0 0 20px rgba(255,255,255,.28));
  animation: skibidiWallPeek 1.55s cubic-bezier(.2,.9,.2,1) forwards;
}
.skibidi-left { left: -168px; top: 40%; --tx: 102px; --ty: 0; --origin: left center; --rot: 22deg; --flip-y: 1; }
.skibidi-right { right: -168px; top: 34%; --tx: -102px; --ty: 0; --origin: right center; --rot: -22deg; --flip-y: 1; }
.skibidi-top-left { left: 9%; top: -172px; --tx: 0; --ty: 92px; --origin: center top; --rot: -10deg; --flip-y: -1; }
.skibidi-top-right { right: 9%; top: -172px; --tx: 0; --ty: 92px; --origin: center top; --rot: 10deg; --flip-y: -1; }
.skibidi-bottom-left { left: 10%; bottom: -170px; --tx: 0; --ty: -96px; --origin: center bottom; --rot: 10deg; --flip-y: 1; }
.skibidi-bottom-right { right: 10%; bottom: -170px; --tx: 0; --ty: -96px; --origin: center bottom; --rot: -10deg; --flip-y: 1; }
@keyframes skibidiWallPeek {
  0% { opacity: 0; transform-origin: var(--origin); transform: translate(0,0) rotate(calc(var(--rot) * .45)) scale(.72) scaleY(var(--flip-y)); }
  18% { opacity: 1; transform-origin: var(--origin); transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1.08) scaleY(var(--flip-y)); }
  72% { opacity: 1; transform-origin: var(--origin); transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1) scaleY(var(--flip-y)); }
  100% { opacity: 0; transform-origin: var(--origin); transform: translate(0,0) rotate(calc(var(--rot) * .45)) scale(.72) scaleY(var(--flip-y)); }
}
.event-title-skibidi_toilet { border-color: rgba(255,255,255,.32); box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 44px rgba(255,255,255,.16); }
.skibidi-pop-flash {
  position: fixed;
  z-index: 10001;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  width: 440px;
  height: 440px;
  border: 24px solid rgba(255,255,255,.94);
  border-radius: 999px;
  background: radial-gradient(circle, transparent 34%, rgba(255,255,255,.32) 54%, transparent 70%);
  box-shadow: 0 0 46px rgba(255,255,255,.96), 0 0 155px rgba(255,255,255,.58), inset 0 0 44px rgba(255,255,255,.55);
  filter: blur(.4px);
  animation: skibidiCircleFlash .58s ease-out forwards;
}
.skibidi-flash-left { left: -214px; top: calc(40% - 138px); }
.skibidi-flash-right { right: -214px; top: calc(34% - 138px); }
.skibidi-flash-top-left { left: calc(9% - 118px); top: -214px; }
.skibidi-flash-top-right { right: calc(9% - 118px); top: -214px; }
.skibidi-flash-bottom-left { left: calc(10% - 118px); bottom: -214px; }
.skibidi-flash-bottom-right { right: calc(10% - 118px); bottom: -214px; }
@keyframes skibidiCircleFlash {
  0% { opacity: 0; transform: scale(.44); }
  12% { opacity: 1; }
  45% { opacity: .78; }
  100% { opacity: 0; transform: scale(1.38); }
}


.live-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 30;
}
.live-floating-event {
  position: absolute;
  bottom: 34px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  animation: liveFloatUp 2.6s ease forwards;
  max-width: 80%;
  white-space: nowrap;
}
.live-floating-event.reaction { font-size: 32px; background: transparent; border: 0; box-shadow: none; }
.live-floating-event.gift { background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(236,72,153,.9)); }
.live-floating-event.join { background: rgba(34,197,94,.84); }
.live-system-message {
  color: rgba(255,255,255,.78);
  font-style: italic;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 7px 9px;
}
.verified-mini {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #38bdf8;
  color: #00111f;
  font-size: 10px;
  font-weight: 1000;
}
@keyframes liveFloatUp {
  0% { opacity: 0; transform: translate(-50%, 24px) scale(.94); }
  12% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -180px) scale(1.08); }
}

.live-moderation-box {
  margin-top: 12px;
  border: 1px solid rgba(255, 166, 87, 0.18);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.live-moderation-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(150px, 1.1fr) 92px 118px;
  align-items: stretch;
  gap: 8px;
}

.live-moderation-form input,
.live-moderation-form select {
  border: 1px solid rgba(255, 199, 89, 0.18);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 14px;
  padding: 11px 12px;
  outline: none;
}

.live-moderation-form button,
.live-chat-mod-actions button {
  border: 0;
  border-radius: 12px;
  padding: 9px 11px;
  font-weight: 900;
  cursor: pointer;
  color: #210b0b;
  background: linear-gradient(135deg, #ffb86b, #ff6b6b);
}

.live-moderation-status {
  min-height: 18px;
}

.live-chat-line {
  display: grid;
  gap: 8px;
}

.live-chat-mod-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.live-chat-mod-actions button {
  font-size: 11px;
  padding: 6px 8px;
  opacity: 0.9;
}

@media (max-width: 720px) {
  .live-moderation-form {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PAYMENT PAGE STYLING
   because plain HTML is a crime
========================= */

.payment-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f1a, #151528, #1d1d35);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    font-family: "Segoe UI", sans-serif;
}

.payment-container {
    width: 100%;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    color: white;
}

.payment-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.payment-subtitle {
    text-align: center;
    opacity: 0.75;
    margin-bottom: 30px;
    font-size: 15px;
}

.payment-group {
    margin-bottom: 22px;
}

.payment-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.payment-group select,
.payment-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.payment-group select:focus,
.payment-group input:focus {
    border-color: #7c5cff;
    box-shadow: 0 0 0 4px rgba(124,92,255,0.15);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 10px;
}

.payment-option {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
    font-weight: 600;
}

.payment-option:hover {
    border-color: #7c5cff;
    transform: translateY(-2px);
}

.payment-option.active {
    background: rgba(124,92,255,0.15);
    border-color: #7c5cff;
    box-shadow: 0 0 20px rgba(124,92,255,0.18);
}

.card-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

.payment-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c5cff, #5a3fff);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
    margin-top: 10px;
}

.payment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(124,92,255,0.25);
}

.payment-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading spinner */

.payment-loading {
    display: none;
    text-align: center;
    margin-top: 25px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.15);
    border-top: 5px solid #7c5cff;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Success state */

.payment-success {
    display: none;
    text-align: center;
    margin-top: 25px;
}

.success-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1db954;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    font-size: 38px;
    font-weight: bold;
    color: white;
    box-shadow: 0 10px 30px rgba(29,185,84,0.25);
}

.return-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 24px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.2s ease;
}

.return-btn:hover {
    background: rgba(255,255,255,0.14);
}

/* Mobile */

@media (max-width: 768px) {
    .payment-options {
        grid-template-columns: 1fr;
    }

    .card-row {
        grid-template-columns: 1fr;
    }

    .payment-container {
        padding: 24px;
    }
}

/* Gash redirect landing - dark gold rebuild */
.gash-move-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 16px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 196, 77, 0.22), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(184, 121, 20, 0.22), transparent 30%),
    linear-gradient(135deg, #070501 0%, #141006 45%, #050403 100%);
  color: #fff7df;
}

.gash-move-card {
  position: relative;
  overflow: hidden;
  width: min(1080px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 206, 98, 0.22);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(24, 18, 7, 0.92), rgba(10, 8, 4, 0.92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 232, 155, 0.18);
  text-align: center;
}

.gash-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.22;
  pointer-events: none;
  background: #d69b25;
}

.gash-orb-one { top: -120px; left: -80px; }
.gash-orb-two { right: -90px; bottom: -130px; background: #ffca58; }

.gash-logo-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 210, 95, 0.22), rgba(79, 51, 9, 0.35));
  border: 1px solid rgba(255, 215, 114, 0.28);
  box-shadow: 0 18px 48px rgba(255, 190, 62, 0.12);
}

.gash-move-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.gash-move-card .brand-kicker {
  color: #f4c45d;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gash-move-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: .95;
  letter-spacing: -0.06em;
  color: #fff1c2;
}

.gash-lead {
  max-width: 680px;
  margin: 0 auto 22px;
  color: rgba(255, 247, 223, 0.78);
  font-size: 1.04rem;
}

.gash-redirect-box {
  width: min(620px, 100%);
  margin: 0 auto 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 207, 102, 0.22);
  border-radius: 22px;
  background: rgba(255, 202, 88, 0.08);
  display: grid;
  gap: 5px;
}

.gash-redirect-box span {
  color: rgba(255, 247, 223, 0.62);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.gash-redirect-box strong {
  color: #ffd978;
  word-break: break-word;
}

.gash-main-link {
  width: min(280px, 100%);
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #a66a12, #ffd36a) !important;
  color: #1a1003 !important;
  box-shadow: 0 16px 36px rgba(238, 177, 55, 0.24);
}

.gash-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  text-align: left;
}

.gash-feature-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 216, 125, 0.16);
  border-radius: 22px;
  background: rgba(255, 218, 118, 0.07);
}

.gash-feature-grid span {
  color: #f4c45d;
  font-weight: 800;
}

.gash-feature-grid h2 {
  margin: 8px 0 6px;
  color: #fff2c8;
  font-size: 1rem;
}

.gash-feature-grid p {
  margin: 0;
  color: rgba(255, 247, 223, 0.66);
  font-size: .9rem;
  line-height: 1.5;
}

.gash-secret-card {
  box-shadow: inset 0 0 0 1px rgba(255, 215, 90, 0.16), 0 18px 38px rgba(255, 196, 77, 0.08);
}

@media (max-width: 860px) {
  .gash-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .gash-feature-grid { grid-template-columns: 1fr; }
  .gash-move-card { border-radius: 26px; }
}


/* Gash full-site dark gold polish */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at top, black, transparent 75%); z-index: -1; }
.hero-card, .auth-card, .sidebar-card, .feed-card, .gash-move-card, .preview-popup, .post-box, .demo-post, .live-side-panel, .profile-card, .message-card, .review-card, .admin-card, .stats-card { border-color: var(--line) !important; background: linear-gradient(145deg, rgba(30, 20, 7, 0.9), rgba(12, 9, 4, 0.82)) !important; box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 214, 122, 0.08) !important; }
.auth-card { position: relative; overflow: hidden; width: min(100%, 520px); padding: 38px; }
.auth-card::before, .gash-move-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 999px; background: radial-gradient(circle, rgba(246, 196, 83, 0.22), transparent 65%); top: -110px; right: -90px; pointer-events: none; }
.auth-card::after { content: "a Better version of Hash"; position: absolute; left: 24px; top: 22px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(246, 196, 83, 0.25); background: rgba(246, 196, 83, 0.08); color: #ffe5a3; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.auth-logo, .hero-logo, .gash-move-logo, .sidebar-logo, .mobile-brand-logo, .mini-logo, .popup-logo { filter: drop-shadow(0 0 26px rgba(246, 196, 83, 0.35)) !important; }
.brand-kicker { color: var(--gold); text-shadow: 0 0 18px rgba(246, 196, 83, 0.28); }
.auth-card h1, .hero-card h1, .feed-card h1, .gash-move-card h1, .snap-copy h1, .snap-copy h2 { background: linear-gradient(135deg, #fff8e6, #f6c453 55%, #9d6512); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-form input, .auth-form textarea, .post-box textarea, .live-chat-form input, input, textarea, select { border-color: rgba(255, 199, 89, 0.18) !important; background: rgba(255, 255, 255, 0.045) !important; color: var(--text) !important; }
.auth-form input:focus, .auth-form textarea:focus, .post-box textarea:focus, .live-chat-form input:focus, input:focus, textarea:focus, select:focus { border-color: rgba(246, 196, 83, 0.62) !important; box-shadow: 0 0 0 5px rgba(246, 196, 83, 0.1) !important; }
.btn-primary, .live-chat-form button, .content-type-pill { background: linear-gradient(135deg, #ffe7a1, #f6c453 45%, #9c610f) !important; color: #160d03 !important; box-shadow: 0 14px 30px rgba(184, 121, 24, 0.34) !important; }
.btn-secondary, .nav-item, .action-pill, .engage-btn, .tag-chip, .content-type-pill.alt { border-color: rgba(255, 199, 89, 0.18) !important; background: rgba(246, 196, 83, 0.07) !important; color: #fff1c8 !important; }
.nav-item:hover, .nav-item.active, .engage-btn:hover, .action-pill:hover { border-color: rgba(246, 196, 83, 0.38) !important; background: rgba(246, 196, 83, 0.13) !important; }
.switch-text a, .live-chat-message strong, a:hover { color: var(--gold) !important; }
.gash-feature-grid article { border-color: rgba(255, 199, 89, 0.16) !important; background: rgba(246, 196, 83, 0.055) !important; }
.gash-feature-grid article span { color: var(--gold) !important; }
.auth-feature-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 4px; }
.auth-feature-row span { border: 1px solid rgba(246, 196, 83, 0.24); background: rgba(246, 196, 83, 0.08); color: #ffe5a3; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }

/* --- emergency sidebar visibility fix ---
   Keeps the sidebar inside the app grid so it cannot cover or hide pages. */
.app-shell {
  display: grid !important;
  grid-template-columns: 275px minmax(0, 1fr) !important;
  min-height: 100vh !important;
  width: 100% !important;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 86px minmax(0, 1fr) !important;
}

.gash-sidebar {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  width: auto !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
  z-index: 20 !important;
  flex-shrink: 0 !important;
}

.main-panel {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.app-shell.sidebar-collapsed .sidebar-label,
.app-shell.sidebar-collapsed .sidebar-brand-text,
.app-shell.sidebar-collapsed .sidebar-user-copy,
.app-shell.sidebar-collapsed .sidebar-badge {
  display: none !important;
}

.app-shell.sidebar-collapsed .sidebar-brand-row {
  display: none !important;
}

.app-shell.sidebar-collapsed .sidebar-btn,
.app-shell.sidebar-collapsed .sidebar-profile-card,
.app-shell.sidebar-collapsed .sidebar-brand-big {
  justify-content: center !important;
}

@media (max-width: 980px) {
  .app-shell,
  .app-shell.sidebar-collapsed {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .gash-sidebar {
    position: sticky !important;
    transform: none !important;
    width: auto !important;
  }

  .sidebar-brand-text,
  .sidebar-label,
  .sidebar-user-copy,
  .sidebar-badge {
    display: none !important;
  }

  .sidebar-brand-row {
    display: none !important;
  }

  .sidebar-btn,
  .sidebar-profile-card,
  .sidebar-brand-big {
    justify-content: center !important;
  }
}

/* GOLD SIDEBAR - the part your eyes actually notice */

.gash-sidebar {
  width: 270px;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;

  background:
    linear-gradient(
      180deg,
      #2b1a05 0%,
      #1a1003 45%,
      #0b0601 100%
    );

  border-right: 1px solid rgba(255, 215, 106, 0.25);
  box-shadow:
    8px 0 30px rgba(0, 0, 0, 0.35),
    inset -1px 0 0 rgba(255, 215, 106, 0.08);

  padding: 20px 16px;
  z-index: 100;
}

/* sidebar logo/title */
.gash-sidebar .logo,
.gash-sidebar .brand,
.gash-sidebar h2 {
  color: #ffd76a;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(255, 215, 106, 0.08);
}

/* links */
.gash-sidebar a,
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #f8ebc2;
  text-decoration: none;

  padding: 12px 14px;
  border-radius: 14px;

  transition: 0.2s ease;
}

/* hover */
.gash-sidebar a:hover,
.sidebar-link:hover {
  background: rgba(255, 215, 106, 0.10);
  color: #ffd76a;
  transform: translateX(2px);
}

/* active page */
.gash-sidebar a.active,
.sidebar-link.active {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 106, 0.16),
    rgba(255, 215, 106, 0.05)
  );

  color: #ffd76a;
  border: 1px solid rgba(255, 215, 106, 0.15);
}

/* small muted text */
.gash-sidebar .muted,
.gash-sidebar small {
  color: #c9aa63;
}

/* REMOVE THE BLUE BACKGROUND AND MAKE FEED FULL GOLD THEME */
/* because apparently blue decided to invade your kingdom */

body,
.home-page,
.feed-page,
main,
.main-content,
.feed-container {
  background:
    radial-gradient(circle at top left, rgba(255, 215, 106, 0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(197, 138, 29, 0.08), transparent 35%),
    linear-gradient(
      180deg,
      #120a02 0%,
      #0b0501 45%,
      #050201 100%
    ) !important;

  color: #fff7dc !important;
}

/* remove weird blue overlays */
body::before,
body::after,
main::before,
main::after,
.feed-container::before,
.feed-container::after {
  background: none !important;
  display: none !important;
  content: none !important;
}

/* post background */
.post-card,
.feed-post,
.post,
.hix-post,
.content-card {
  background: rgba(30, 18, 5, 0.92) !important;
  border: 1px solid rgba(255, 215, 106, 0.18) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
  border-radius: 18px;
}

/* top announcement bar */
.announcement,
.notice-bar,
.status-banner {
  background: rgba(255, 215, 106, 0.12) !important;
  border: 1px solid rgba(255, 215, 106, 0.18) !important;
  color: #ffe8a3 !important;
}

/* all/following buttons */
.feed-toggle button,
.feed-tabs button,
.filter-btn {
  background: rgba(25, 15, 5, 0.95) !important;
  border: 1px solid rgba(255, 215, 106, 0.20) !important;
  color: #ffe8a3 !important;
}

.feed-toggle button.active,
.feed-tabs button.active,
.filter-btn.active {
  background: linear-gradient(135deg, #ffd76a, #c58a1d) !important;
  color: #1b1204 !important;
}

/* right side action buttons */
.action-btn,
.like-btn,
.comment-btn,
.share-btn {
  background: rgba(22, 14, 4, 0.95) !important;
  border: 1px solid rgba(255, 215, 106, 0.20) !important;
  color: #ffe8a3 !important;
}

/* username + text */
.username,
.display-name,
.post-text,
.caption {
  color: #fff2c7 !important;
}

.handle,
.meta-text {
  color: #d9b86f !important;
}

/* THE BLUE IS COMING FROM SOME STUPID OVERLAY / PARTICLE / BODY LAYER */
/* nuke it properly */

html,
body {
  background: #050201 !important;
  background-image: none !important;
}

/* force main wrapper */
body,
.main-content,
main,
.home-page,
.feed-page,
.feed-container,
.content-area,
.app-shell,
.layout,
.page-wrapper {
  background:
    radial-gradient(circle at top left, rgba(255, 215, 106, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(197, 138, 29, 0.06), transparent 32%),
    linear-gradient(
      180deg,
      #120902 0%,
      #080401 50%,
      #040200 100%
    ) !important;
}

/* REMOVE BLUE GLOW LAYERS */
body::before,
body::after,
main::before,
main::after,
.feed-container::before,
.feed-container::after,
.main-content::before,
.main-content::after,
.page-wrapper::before,
.page-wrapper::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

/* common blue classes people forget exist */
.bg-blue,
.blue-glow,
.glow-bg,
.animated-bg,
.particle-bg,
.background-overlay,
.feed-background,
.hero-background,
.gradient-bg {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* canvas backgrounds if used */
canvas {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* video background if some developer committed crimes */
video.bg-video,
.background-video {
  display: none !important;
}

/* final insurance policy */
* {
  --tw-gradient-from: transparent !important;
  --tw-gradient-to: transparent !important;
}
