/* Shared product-status badge for every KennyOmegaTV header. */
:root {
  --nav-h: 68px !important;
  --accent-primary: #3b82f6;
  --accent-bright: #38bdf8;
  --accent-soft: #60a5fa;
  --background-primary: #060910;
  --background-secondary: #0b1220;
  --background-panel: #101827;
  --c-bg: var(--background-primary);
  --c-bg-2: var(--background-secondary);
  --c-text: #e8e4f0;
  --c-muted: rgba(232, 228, 240, 0.58);
  --c-faint: rgba(232, 228, 240, 0.18);
  --c-border: rgba(59, 130, 246, 0.2);
  --f-display: 'Satoshi', system-ui, sans-serif;
  --f-body: 'Satoshi', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
  --shared-page-content-width: 1080px;
  --shared-page-card-radius: 8px;
  --shared-page-gap: 1.25rem;
  --kotv-glow-color: 0, 174, 255;
  --kotv-glow-duration: 2.8s;
  --kotv-glow-base-blur: 7px;
  --kotv-glow-peak-blur: 18px;
  --kotv-glow-base-opacity: 0.4;
  --kotv-glow-peak-opacity: 0.88;
}

/* Keep the viewport width stable while the profile modal locks page scrolling. */
html {
  scrollbar-gutter: stable;
}

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

.site-logo-link {
  overflow: visible;
}

.site-logo-link .kotv-logo.kotv-logo--glow {
  will-change: filter;
  animation: kotv-logo-glow var(--kotv-glow-duration) ease-in-out infinite;
}

@keyframes kotv-logo-glow {
  0%,
  100% {
    filter: drop-shadow(
      0 0 var(--kotv-glow-base-blur)
      rgba(var(--kotv-glow-color), var(--kotv-glow-base-opacity))
    );
  }

  50% {
    filter:
      drop-shadow(
        0 0 var(--kotv-glow-peak-blur)
        rgba(var(--kotv-glow-color), var(--kotv-glow-peak-opacity))
      )
      drop-shadow(
        0 0 calc(var(--kotv-glow-peak-blur) * 1.5)
        rgba(var(--kotv-glow-color), 0.32)
      );
  }
}

.navbar {
  height: var(--nav-h) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar .nav-logo {
  align-items: center;
  flex-shrink: 0;
}

.navbar .nav-logo-image {
  display: block;
  width: 60px;
  height: 30px;
  aspect-ratio: 2 / 1;
  flex: 0 0 60px;
  object-fit: contain;
}

.navbar .nav-logo:focus-visible {
  border-radius: 6px;
  outline: 2px solid #60a5fa;
  outline-offset: 4px;
}

.navbar .nav-logo-image[hidden] {
  display: none;
}

.navbar .nav-logo-fallback {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59,130,246,0.55);
  border-radius: 7px;
  color: #60a5fa;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.navbar .nav-logo-fallback[hidden] {
  display: none;
}

.footer .footer-logo .logo-icon {
  display: block;
  width: 128px;
  height: 64px;
  flex: 0 0 128px;
  object-fit: contain;
}

.footer .footer-logo {
  gap: 0;
  line-height: 0;
}

.footer {
  gap: 0.8rem !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Canonical content-page shell matching Bonus and Jeu. */
.shared-content-page,
.shared-content-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.shared-content-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  color-scheme: dark;
}

.shared-content-page :where(h1, h2, h3, h4, button, .btn, .shared-page-button) {
  font-family: var(--f-display);
}

.shared-content-page::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  content: '';
  opacity: 0.4;
  pointer-events: none;
}

.shared-content-page a {
  color: inherit;
}

.shared-content-page .page-wrap {
  min-height: 100vh;
  animation: shared-page-enter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes shared-page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.shared-content-page .navbar {
  position: fixed;
  z-index: 500;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-inline: 3rem;
  border-bottom: 1px solid var(--c-border);
  background: rgba(4, 6, 11, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
}

.shared-content-page .nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6rem;
  color: var(--c-text);
  text-decoration: none;
}

.shared-content-page .nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}

.shared-content-page .nav-links a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--c-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.shared-content-page .nav-links a::after {
  position: absolute;
  right: 50%;
  bottom: 4px;
  left: 50%;
  height: 1.5px;
  background: var(--accent-primary);
  content: '';
  transition: left 0.3s, right 0.3s;
}

.shared-content-page .nav-links a:hover,
.shared-content-page .nav-links a:focus-visible,
.shared-content-page .nav-links a.active {
  color: var(--c-text);
}

.shared-content-page .nav-links a:hover::after,
.shared-content-page .nav-links a:focus-visible::after,
.shared-content-page .nav-links a.active::after {
  right: 0.85rem;
  left: 0.85rem;
}

.shared-content-page .nav-links a:focus-visible,
.shared-content-page .mobile-drawer a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

.shared-content-page .nav-live {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.8rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.shared-content-page #nav-auth {
  display: flex;
  align-items: center;
}

.shared-content-page .burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 0;
  padding: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.shared-content-page .burger span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
}

.shared-content-page .mobile-drawer {
  position: fixed;
  z-index: 450;
  inset-inline: 0;
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  background: rgba(4, 6, 11, 0.97);
}

.shared-content-page .mobile-drawer.open {
  display: flex;
}

.shared-content-page .mobile-drawer a {
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding: 0.9rem 0;
  color: var(--c-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.shared-content-page .mobile-drawer a:hover,
.shared-content-page .mobile-drawer a[aria-current='page'] {
  color: var(--accent-soft);
}

.shared-page-hero {
  position: relative;
  display: flex;
  min-height: 72vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  text-align: center;
}

.shared-page-hero::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.14), transparent),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(56, 189, 248, 0.08), transparent);
  content: '';
  pointer-events: none;
}

.shared-page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

.shared-page-hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shared-page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
}

.shared-page-kicker {
  display: inline-flex;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
  color: var(--accent-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.shared-page-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.6rem 0 1.8rem;
  font-family: var(--f-display);
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  font-weight: 700;
  letter-spacing: 0.012em;
  -webkit-text-stroke: 0.2px currentColor;
  line-height: 0.86;
  text-transform: uppercase;
}

.shared-page-title-top {
  color: #f0edf7;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.shared-page-title-accent {
  position: relative;
  display: inline-block;
  margin-top: 0.16em;
  padding: 0 0.12em 0.08em;
  background: linear-gradient(110deg, #60a5fa 0%, #38bdf8 48%, #38bdf8 100%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.3));
  -webkit-background-clip: text;
}

.shared-page-title-accent::after {
  position: absolute;
  right: 8%;
  bottom: -0.08em;
  left: 8%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
  content: '';
}

.shared-page-intro {
  max-width: 700px;
  margin: 0 auto;
  color: var(--c-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
}

.shared-page-main {
  position: relative;
  z-index: 2;
  max-width: var(--shared-page-content-width);
  margin: -2rem auto 0;
  padding: 0 2rem 7rem;
}

.shared-page-grid {
  display: grid;
  gap: var(--shared-page-gap);
}

.shared-page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--shared-page-card-radius);
  background: rgba(15, 16, 24, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.shared-page-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.65), transparent);
  content: '';
  pointer-events: none;
}

.shared-page-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
}

.shared-content-page .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem !important;
  border-top: 1px solid var(--c-border);
  padding: 3rem 4rem !important;
  background: var(--c-bg-2);
  text-align: center;
}

.shared-content-page .footer-logo {
  display: flex;
  align-items: center;
}

.shared-content-page .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

.shared-content-page .footer-nav a {
  color: var(--c-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.shared-content-page .footer-nav a:hover,
.shared-content-page .footer-nav a:focus-visible {
  color: var(--accent-primary);
}

.shared-content-page .footer-warning {
  max-width: 480px;
  color: var(--c-faint);
  font-size: 0.72rem;
  line-height: 1.7;
}

.shared-content-page .footer-copy {
  color: rgba(232, 228, 240, 0.2);
  font: 0.68rem var(--f-mono);
}

.replay-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.replay-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.replay-card:focus-visible {
  border-color: #38bdf8;
  outline: 3px solid rgba(56, 189, 248, 0.62);
  outline-offset: 4px;
}

.replay-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(5, 9, 20, 0.98));
}

.replay-thumbnail {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.replay-card:hover .replay-thumbnail {
  transform: scale(1.025);
}

.replay-thumbnail-fallback {
  position: absolute;
  color: var(--c-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.5rem;
}

.replay-meta {
  color: var(--accent-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.replay-card-title {
  color: var(--c-text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.replay-description {
  color: var(--c-muted);
  font-size: 0.9rem;
}

.replay-action {
  margin-top: auto;
}

.shared-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b82f6;
  border-radius: 5px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-content-grid {
  grid-template-columns: minmax(0, 1fr);
}

.info-page {
  background:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(59, 130, 246, 0.14), transparent 68%),
    radial-gradient(ellipse 45% 35% at 85% 55%, rgba(56, 189, 248, 0.055), transparent 72%),
    var(--c-bg);
  background-attachment: fixed;
}

.info-main {
  margin-top: 0;
  padding-top: calc(var(--nav-h) + 3rem);
}

.info-story,
.info-contacts {
  padding: 2rem;
}

.shared-page-section-title {
  margin-bottom: 1.2rem;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-story p {
  color: rgba(232, 228, 240, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

.info-story p + p {
  margin-top: 1.15rem;
}

.info-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
}

.info-contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 5px;
  padding: 0.9rem 1rem;
  background: rgba(59, 130, 246, 0.08);
  color: var(--c-text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.info-contact-link:hover,
.info-contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.65);
  outline: none;
  background: rgba(59, 130, 246, 0.16);
}

.info-contact-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.14);
  color: var(--accent-soft);
  font-weight: 900;
}

.info-contact-copy {
  min-width: 0;
}

.info-contact-copy strong {
  display: block;
}

.info-contact-copy span {
  color: var(--c-muted);
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  .shared-content-page .navbar {
    gap: 1rem;
    padding-inline: 1.5rem;
  }

  .shared-content-page .nav-links a {
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  .shared-content-page .nav-live {
    display: none;
  }

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

@media (max-width: 900px) {
  .shared-content-page .nav-links {
    display: none;
  }

  .shared-content-page #nav-auth {
    margin-left: auto;
  }

  .shared-content-page .burger {
    display: flex;
    margin-left: 0;
  }

  .info-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-contact-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .shared-content-page .footer-nav {
    gap: 1rem 1.75rem;
  }
}

@media (max-width: 620px) {
  .replay-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .shared-content-page .navbar {
    padding-inline: 1rem;
  }

  .shared-page-hero {
    min-height: 68vh;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .shared-page-title {
    font-size: clamp(2.75rem, 16vw, 4.5rem);
    line-height: 0.9;
  }

  .shared-page-main {
    padding-right: 1rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
  }

  .replay-card-content,
  .info-story,
  .info-contacts {
    padding: 1.5rem;
  }

  .shared-content-page .footer {
    padding: 2.5rem 1.25rem !important;
  }
}
.navbar .nav-live,
.navbar .nav-discord-btn,
.navbar .nav-profile-btn {
  min-height: 38px;
}

.navbar #nav-auth {
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.navbar .nav-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 44px;
  max-width: 180px;
  padding: 0 0.9rem 0 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(59,130,246,0.5) !important;
  border-radius: 999px;
  background: rgba(6,9,16,0.78) !important;
  box-shadow:
    0 0 18px rgba(59,130,246,0.18),
    inset 0 1px 0 rgba(255,255,255,0.05) !important;
  color: #fff !important;
  line-height: 1;
  white-space: nowrap;
}

.navbar .nav-profile-btn:hover {
  border-color: rgba(96,165,250,0.78) !important;
  background: rgba(11,18,32,0.9) !important;
  box-shadow:
    0 0 22px rgba(59,130,246,0.26),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.navbar .nav-avatar,
.navbar .nav-avatar-img {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  flex: 0 0 30px;
}

.navbar .nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar .nav-avatar-img {
  display: block;
  max-width: 30px;
  max-height: 30px;
  border: 1.5px solid rgba(96,165,250,0.86) !important;
  object-fit: cover;
}

.navbar .nav-username {
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff !important;
}

.navbar > .nav-live {
  display: none !important;
}

.header-live-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  flex-shrink: 0;
  gap: 0.48rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  background: rgba(4,6,11,0.62);
  color: rgba(232,228,240,0.48);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.header-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #252832;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.header-live-status.is-live {
  border-color: rgba(74,222,128,0.35);
  background: rgba(74,222,128,0.08);
  color: #77ed9f;
  box-shadow: 0 0 16px rgba(74,222,128,0.1);
}

.header-live-status.is-live .header-live-dot {
  background: #4ade80;
  box-shadow: 0 0 9px rgba(74,222,128,0.9);
  animation: liveDotPulse 1.8s ease-in-out infinite;
}

.header-live-status:hover {
  border-color: rgba(59,130,246,0.42);
  color: #e8e4f0;
}

body #profile-modal .pm-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.45rem;
}

body #profile-modal .icon-choice,
#profile-modal .pm-user-pagination button {
  min-height: 40px;
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 6px;
  background: rgba(59,130,246,0.07);
  color: #dbeafe;
  cursor: pointer;
}

body #profile-modal .icon-choice {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  height: 66px;
  min-height: 66px;
  gap: 0.3rem;
  padding: 0.65rem 0.4rem;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  transform: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body #profile-modal .icon-choice > span:first-child { font-size: 1.3rem; line-height: 1; }

body #profile-modal .icon-choice.selected {
  border-color: #60a5fa;
  background: rgba(59,130,246,0.22);
  box-shadow: 0 0 12px rgba(59,130,246,0.18);
}

body #profile-modal .icon-choice:hover,
body #profile-modal .icon-choice:active {
  border-color: #7dd3fc;
  background: rgba(59,130,246,0.14);
  box-shadow: 0 0 0 2px rgba(4,6,11,0.9), 0 0 12px rgba(56,189,248,0.22);
  filter: brightness(1.08);
  transform: none;
}

body #profile-modal .icon-choice:focus-visible {
  outline: 0;
  border-color: #7dd3fc;
  box-shadow: 0 0 0 2px #07101f, 0 0 0 4px rgba(125,211,252,0.72);
  transform: none;
}

body #profile-modal .pm-chat-icon-label {
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body #profile-modal input[readonly] {
  color: rgba(232,228,240,0.62) !important;
  cursor: not-allowed;
}

#profile-modal .pm-role-message {
  min-height: 1.2em;
  margin: 0.6rem 0 0;
  color: #86efac;
  font-size: 0.72rem;
}

#profile-modal .pm-role-message.is-error { color: #fda4af; }

#profile-modal .pm-user-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) auto;
  gap: 0.55rem;
}

#profile-modal .pm-user-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

#profile-modal .pm-user-row {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 7px;
  background: rgba(2,6,23,0.42);
}

#profile-modal .pm-user-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.6rem;
}

#profile-modal .pm-user-identity > div { min-width: 0; }
#profile-modal .pm-user-identity strong {
  display: block;
  overflow: hidden;
  color: #f8fafc;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#profile-modal .pm-user-avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(96,165,250,0.45);
  border-radius: 50%;
  background: rgba(59,130,246,0.12);
  object-fit: cover;
}

#profile-modal .pm-user-id {
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: copy;
  font: 0.65rem monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#profile-modal .pm-user-details {
  margin: 0.45rem 0;
  color: #94a3b8;
  font-size: 0.68rem;
}

#profile-modal .pm-user-role-controls {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(150px, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

#profile-modal .pm-user-role-controls select,
#profile-modal .pm-user-rainbet { min-width: 0; }
#profile-modal .pm-owner-locked { color: #facc15; font-size: 0.72rem; font-weight: 800; }
#profile-modal .pm-user-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.8rem;
  color: #94a3b8;
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  #profile-modal .pm-user-filters { grid-template-columns: 1fr; }
  body #profile-modal .pm-icons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #profile-modal .pm-user-role-controls { grid-template-columns: 1fr; }
}

body #profile-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 1rem !important;
  background: rgba(2,3,8,0.78) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
  overscroll-behavior: contain;
  touch-action: none;
}

html.profile-modal-open,
html.profile-modal-open body {
  overscroll-behavior: none;
}

/* Every interactive profile control keeps its box geometry between states. */
body #profile-modal,
body #profile-modal * {
  box-sizing: border-box !important;
}

body #profile-modal.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

body #profile-modal .pm-box {
  position: relative !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  max-height: 90vh !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  border: 1px solid rgba(59,130,246,0.45) !important;
  border-top: 3px solid rgba(59,130,246,0.72) !important;
  border-radius: 10px !important;
  background: rgba(6,9,16,0.94) !important;
  box-shadow: 0 0 55px rgba(59,130,246,0.24) !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 transparent;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

body #profile-modal .pm-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.2rem 1.5rem !important;
  border-bottom: 1px solid rgba(59,130,246,0.18) !important;
  background: rgba(6,9,16,0.98) !important;
  min-width: 0 !important;
}

body #profile-modal .pm-title {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  min-width: 0 !important;
}

body #profile-modal .pm-title-bar {
  display: block !important;
  width: 3px !important;
  height: 18px !important;
  border-radius: 2px !important;
  background: #3b82f6 !important;
}

body #profile-modal .pm-close {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  margin-left: 1rem !important;
  align-items: center !important;
  justify-content: center !important;
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  inline-size: 32px !important;
  block-size: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 1px solid rgba(59,130,246,0.22) !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,0.04) !important;
  color: rgba(232,228,240,0.75) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transform: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s !important;
}

body #profile-modal .pm-close:hover,
body #profile-modal .pm-close:focus-visible,
body #profile-modal .pm-close:active {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border-width: 1px !important;
  border-color: rgba(59,130,246,0.55) !important;
  background: rgba(59,130,246,0.14) !important;
  color: #fff !important;
  transform: none !important;
}

body #profile-modal .pm-close:focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 2px #07101f, 0 0 0 4px #7dd3fc !important;
}

body #profile-modal .pm-body {
  padding: 1.2rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

body #profile-modal .pm-section {
  overflow: hidden !important;
  border: 1px solid rgba(59,130,246,0.16) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.025) !important;
}

body #profile-modal .pm-section-label {
  padding: 0.7rem 1.2rem !important;
  border-bottom: 1px solid rgba(59,130,246,0.16) !important;
  background: rgba(59,130,246,0.08) !important;
  color: #60a5fa !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-section-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  padding: 1.2rem !important;
}

body #profile-modal .pm-avatar-row {
  display: flex !important;
  align-items: center !important;
  gap: 1.2rem !important;
}

body #profile-modal #pm-avatar {
  width: 72px !important;
  height: 72px !important;
  border: 2px solid #3b82f6;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #60a5fa !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
}

body #profile-modal .pm-avatar-info p,
body #profile-modal .pm-field-note {
  color: rgba(232,228,240,0.48) !important;
  font-size: 0.72rem !important;
}

body #profile-modal .pm-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
}

body #profile-modal .pm-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
}

body #profile-modal .pm-age-field {
  max-width: 160px !important;
}

body #profile-modal .pm-field label {
  color: #60a5fa !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-field input,
body #profile-modal .pm-field select {
  width: 100% !important;
  border: 1px solid rgba(59,130,246,0.22) !important;
  border-radius: 6px !important;
  background: rgba(4,6,11,0.78) !important;
  color: #fff !important;
  padding: 0.75rem 0.85rem !important;
}

body #profile-modal .pm-field input:focus,
body #profile-modal .pm-field select:focus {
  border-color: rgba(59,130,246,0.8) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.13) !important;
}

body #profile-modal .pm-discord-linked {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 0.8rem 1rem !important;
  border: 1px solid rgba(114,137,218,0.25) !important;
  border-radius: 6px !important;
  background: rgba(114,137,218,0.08) !important;
}

body #profile-modal .pm-discord-left {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

body #profile-modal .pm-discord-tag {
  color: #7289da !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}

body #profile-modal .pm-discord-label {
  color: rgba(232,228,240,0.48) !important;
  font-size: 0.7rem !important;
}

body #profile-modal .pm-linked-badge {
  padding: 0.3rem 0.7rem !important;
  border: 1px solid rgba(74,222,128,0.35) !important;
  border-radius: 999px !important;
  background: rgba(74,222,128,0.15) !important;
  color: #4ade80 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-color-palette {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(36px, 1fr)) !important;
  gap: 0.55rem !important;
  width: 100% !important;
  padding: 0.65rem !important;
  border: 1px solid rgba(59,130,246,0.22) !important;
  border-radius: 6px !important;
  background: rgba(4,6,11,0.78) !important;
}

body #profile-modal .pm-color-choice {
  box-sizing: border-box !important;
  display: block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 38px !important;
  inline-size: 100% !important;
  block-size: 38px !important;
  padding: 0 !important;
  border: 2px solid rgba(255,255,255,0.16) !important;
  border-radius: 7px !important;
  background: var(--pm-choice-color) !important;
  cursor: pointer !important;
  transform: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

body #profile-modal .pm-color-choice.selected {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 2px #07101f, 0 0 14px rgba(56,189,248,0.68) !important;
}

body #profile-modal .pm-color-choice:hover,
body #profile-modal .pm-color-choice:active {
  border-color: #7dd3fc !important;
  box-shadow: 0 0 0 2px #07101f, 0 0 12px rgba(56,189,248,0.42) !important;
  filter: brightness(1.08) !important;
  transform: none !important;
}

body #profile-modal .pm-color-choice:focus-visible {
  outline: 0 !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 0 0 2px #07101f, 0 0 0 4px rgba(125,211,252,0.72) !important;
  transform: none !important;
}

body #profile-modal .pm-chat-color-label {
  color: rgba(232,228,240,0.7) !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-chat-preview {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid rgba(59,130,246,0.14) !important;
  border-radius: 6px !important;
  background: rgba(4,6,11,0.78) !important;
}

body #profile-modal .pm-chat-preview .preview-label {
  margin-left: auto !important;
  color: rgba(232,228,240,0.48) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-footer {
  position: sticky !important;
  bottom: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  padding: 1rem 1.5rem !important;
  border-top: 1px solid rgba(59,130,246,0.16) !important;
  background: rgba(6,9,16,0.98) !important;
}

body #profile-modal #pm-save-btn {
  flex: 1 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%) !important;
  color: #fff !important;
  padding: 0.9rem 1rem !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-logout-btn {
  padding: 0.9rem 1.2rem !important;
  border: 1px solid rgba(56,189,248,0.28) !important;
  border-radius: 6px !important;
  background: rgba(56,189,248,0.12) !important;
  color: #38bdf8 !important;
  cursor: pointer !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

body #profile-modal .pm-account-error {
  flex-basis: 100% !important;
  margin: 0 !important;
  color: #ff8392 !important;
  font-size: 0.75rem !important;
  text-align: center !important;
}

body #profile-modal .pm-stream-config[hidden] {
  display: none !important;
}

body #profile-modal .pm-stream-help {
  margin: 0 !important;
  color: rgba(232,228,240,0.62) !important;
  font-size: 0.76rem !important;
  line-height: 1.6 !important;
}

body #profile-modal .pm-stream-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  padding: 0.9rem !important;
  border: 1px solid rgba(59,130,246,0.16) !important;
  border-radius: 7px !important;
  background: rgba(4,6,11,0.56) !important;
}

body #profile-modal .pm-stream-field-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

body #profile-modal .pm-stream-field-header label {
  color: #60a5fa !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body #profile-modal .pm-stream-status {
  color: rgba(232,228,240,0.48) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.68rem !important;
  white-space: nowrap !important;
}

body #profile-modal .pm-stream-status.is-configured {
  color: #4ade80 !important;
}

body #profile-modal .pm-stream-controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 0.55rem !important;
}

body #profile-modal .pm-stream-controls input,
body #profile-modal .pm-stream-controls select {
  min-width: 0 !important;
  border: 1px solid rgba(59,130,246,0.22) !important;
  border-radius: 6px !important;
  background: rgba(4,6,11,0.88) !important;
  color: #fff !important;
  padding: 0.72rem 0.8rem !important;
}

body #profile-modal .pm-live-status-controls {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

body #profile-modal .pm-live-status-controls select {
  cursor: pointer !important;
}

body #profile-modal .pm-live-status-controls select.is-live {
  border-color: rgba(74,222,128,0.45) !important;
  color: #77ed9f !important;
}

body #profile-modal .pm-stream-save,
body #profile-modal .pm-stream-clear {
  border-radius: 6px !important;
  padding: 0.7rem 0.8rem !important;
  cursor: pointer !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
}

body #profile-modal .pm-stream-save {
  border: 1px solid rgba(59,130,246,0.5) !important;
  background: rgba(59,130,246,0.18) !important;
  color: #bfdbfe !important;
}

body #profile-modal .pm-stream-clear {
  border: 1px solid rgba(255,91,111,0.3) !important;
  background: rgba(255,91,111,0.08) !important;
  color: #ff8392 !important;
}

body #profile-modal .pm-stream-controls button:disabled {
  cursor: wait !important;
  opacity: 0.5 !important;
}

body #profile-modal .pm-stream-message {
  min-height: 1.1rem !important;
  color: #4ade80 !important;
  font-size: 0.74rem !important;
}

body #profile-modal .pm-stream-message.is-error {
  color: #ff8392 !important;
}

body #profile-modal .pm-call-animal-race[hidden] {
  display: none !important;
}

body #profile-modal .pm-animal-race-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
}

body #profile-modal .pm-animal-race-actions button[hidden] {
  display: none !important;
}

body #profile-modal .pm-animal-race-entries {
  display: flex !important;
  max-height: 220px !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  list-style: none !important;
}

body #profile-modal .pm-animal-race-entries li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.5rem !important;
  min-width: 0 !important;
  padding: 0.45rem 0.55rem !important;
  border: 1px solid rgba(59,130,246,0.15) !important;
  border-radius: 5px !important;
  background: rgba(15,52,96,0.18) !important;
  color: rgba(219,234,254,0.8) !important;
  font-size: 0.68rem !important;
}

body #profile-modal .pm-animal-race-entries li span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body #profile-modal .pm-animal-race-entries button {
  min-height: 34px !important;
  border: 1px solid rgba(255,91,111,0.28) !important;
  border-radius: 5px !important;
  background: rgba(255,91,111,0.08) !important;
  color: #fda4af !important;
  cursor: pointer !important;
  font-size: 0.64rem !important;
  font-weight: 700 !important;
}

body #profile-modal .pm-animal-race-message {
  min-height: 1rem !important;
  margin: 0 !important;
  color: #4ade80 !important;
  font-size: 0.7rem !important;
}

body #profile-modal .pm-animal-race-message.is-error { color: #ff8392 !important; }

@media (max-width: 560px) {
  body #profile-modal .pm-row {
    grid-template-columns: 1fr !important;
  }

  body #profile-modal .pm-footer {
    flex-direction: column !important;
  }

  body #profile-modal .pm-stream-controls {
    grid-template-columns: 1fr 1fr !important;
  }

  body #profile-modal .pm-stream-controls input,
  body #profile-modal .pm-stream-controls select {
    grid-column: 1 / -1 !important;
  }
}

@keyframes liveDotPulse {
  50% { opacity: 0.55; transform: scale(0.78); }
}

.mobile-drawer {
  top: var(--nav-h) !important;
}

.navbar .nav-logo::after {
  content: 'BETA';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.15rem;
  padding: 0.18rem 0.42rem;
  border: 1px solid rgba(59,130,246, 0.48);
  border-radius: 999px;
  background: rgba(59,130,246, 0.1);
  box-shadow:
    0 0 12px rgba(59,130,246, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #93c5fd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
  animation: betaGlow 3.4s ease-in-out infinite;
}

.navbar .nav-logo:hover::after {
  border-color: rgba(96,165,250, 0.8);
  box-shadow: 0 0 16px rgba(59,130,246, 0.28);
  color: #dbeafe;
}

@keyframes betaGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(59,130,246, 0.12); }
  50% { box-shadow: 0 0 17px rgba(59,130,246, 0.28); }
}

@media (min-width: 561px) and (max-width: 1024px) {
  .navbar .nav-logo-image,
  .navbar .nav-logo-fallback {
    width: 52px;
    height: 26px;
    flex-basis: 52px;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-h: 66px !important;
  }

  .navbar {
    height: var(--nav-h) !important;
  }

  .mobile-drawer {
    top: var(--nav-h) !important;
  }

  .navbar .nav-logo::after {
    margin-left: 0;
    padding: 0.16rem 0.32rem;
    font-size: 0.42rem;
    letter-spacing: 0.1em;
  }

  .navbar .nav-logo-image,
  .navbar .nav-logo-fallback {
    width: 44px;
    height: 22px;
    flex-basis: 44px;
  }

  .header-live-status {
    min-height: 30px;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .header-live-dot {
    width: 7px;
    height: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo-link .kotv-logo.kotv-logo--glow {
    animation: none;
    filter: drop-shadow(
      0 0 var(--kotv-glow-base-blur)
      rgba(var(--kotv-glow-color), var(--kotv-glow-base-opacity))
    ) !important;
    will-change: auto;
  }

  .navbar .nav-logo-image,
  .navbar .nav-logo::after,
  .header-live-status.is-live .header-live-dot {
    animation: none;
    transition: none;
  }
}

/* One header geometry for every public page. Page-local styles used to give
   Replay and Info different link spacing and breakpoints from the main site. */
.navbar {
  box-sizing: border-box !important;
  position: fixed !important;
  z-index: 500 !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 3rem !important;
  gap: 2rem !important;
  align-items: center !important;
}

.navbar .nav-logo {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.navbar .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  margin: 0 0 0 auto !important;
}

.navbar .nav-links a {
  padding: 0.5rem 1rem !important;
  font-family: var(--f-display) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
}

.navbar #nav-auth {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.navbar .nav-discord-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(114,137,218,0.4);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(114,137,218,0.15);
  color: #c7d2fe;
  cursor: pointer;
  font: 700 0.75rem var(--f-body);
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar .nav-discord-btn:hover {
  border-color: rgba(114,137,218,0.72);
  background: rgba(114,137,218,0.28);
}

@media (max-width: 900px) {
  .navbar {
    padding-inline: 1.5rem !important;
    gap: 1rem !important;
  }

  .navbar .nav-links,
  .navbar > .nav-live {
    display: none !important;
  }

  .navbar #nav-auth {
    margin-left: auto !important;
  }

  .navbar .burger {
    display: flex !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 560px) {
  .navbar {
    padding-inline: 1rem !important;
  }
}
