html {
  scroll-behavior: smooth;
}

:root {
  --pointer-x: 50%;
  --pointer-y: 28%;
}

body {
  font-family: "Manrope", sans-serif;
  background: #0a0a0a;
  color: #f4f5f7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (pointer: fine) {
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4.6 2.8V15L8.4 11.5L11.3 17.4L13.7 16.3L10.8 10.8H16.8L4.6 2.8Z' fill='%23f50538' fill-opacity='.24'/%3E%3Cpath d='M3.5 2.3V15.7L7.8 11.6L10.8 18L13.6 16.7L10.7 10.7H16.6L3.5 2.3Z' fill='%23ffffff' stroke='%23f50538' stroke-width='1.05' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto;
  }

  a,
  button,
  .btn,
  [role="button"],
  input[type='submit'],
  input[type='button'],
  input[type='checkbox'],
  input[type='radio'],
  input[type='file'],
  select,
  summary,
  label[for],
  .card-lift,
  [data-magnetic] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4.6 2.8V15L8.4 11.5L11.3 17.4L13.7 16.3L10.8 10.8H16.8L4.6 2.8Z' fill='%23f50538' fill-opacity='.34'/%3E%3Cpath d='M3.5 2.3V15.7L7.8 11.6L10.8 18L13.6 16.7L10.7 10.7H16.6L3.5 2.3Z' fill='%23fff4f6' stroke='%23f50538' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, pointer;
  }

  input[type='text'],
  input[type='email'],
  input[type='password'],
  input[type='search'],
  input[type='url'],
  input[type='number'],
  textarea {
    cursor: text;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(245, 5, 56, 0.08), transparent 24%);
}

.ambient-glow::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -15%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 5, 56, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: ambientDriftA 16s ease-in-out infinite alternate;
}

.ambient-glow::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 141, 143, 0.06) 0%, transparent 70%);
  filter: blur(50px);
  animation: ambientDriftB 20s ease-in-out infinite alternate;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #f50538, rgba(245, 5, 56, 0.3));
  transform-origin: left;
  z-index: 100;
  pointer-events: none;
}

[data-header-shell] {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.18));
  backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.site-header.is-scrolled [data-header-shell],
[data-header].is-scrolled [data-header-shell] {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.28));
  backdrop-filter: blur(24px) saturate(155%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

[data-header-shell] {
  position: relative;
}

.site-nav.is-open {
  display: flex;
}

.site-nav__primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__intro,
.site-nav__secondary {
  display: none;
}

.site-nav__pill {
  display: inline-flex;
  min-width: 1.35rem;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 5, 56, 0.14);
  color: #ffb7c5;
  font-size: 0.68rem;
  font-weight: 700;
}

.notification-bell {
  overflow: visible;
}

.notification-bell.is-active {
  border-color: rgba(245, 5, 56, 0.38);
  background: rgba(245, 5, 56, 0.1);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(245, 5, 56, 0.14), 0 14px 30px rgba(245, 5, 56, 0.18);
}

.notification-bell__badge {
  animation: badgePulse 1.8s ease-in-out infinite;
}

#operator-sidebar.is-open {
  transform: translateX(0) !important;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, width 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.card-lift {
  position: relative;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(.2, .9, .2, 1), border-color 220ms ease-out, box-shadow 220ms ease-out, background-color 220ms ease-out;
  will-change: transform;
}

.card-lift::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(245, 5, 56, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 32%);
  opacity: 0;
  transition: opacity 220ms ease-out;
  pointer-events: none;
}

.card-lift:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.card-lift:hover::after {
  opacity: 1;
}

.card-lift,
.feature-dossier,
.gallery-sweep__tile,
.showroom-stream__tile,
.track-card,
.final-poster__inner {
  transition:
    transform 320ms cubic-bezier(.2, .9, .2, 1),
    border-color 220ms ease-out,
    box-shadow 280ms ease-out,
    background-color 220ms ease-out;
}

.feature-dossier img,
.gallery-sweep__tile img,
.showroom-stream__tile img,
.track-card__media img,
.member-showroom img {
  transition: transform 900ms cubic-bezier(.2, .9, .2, 1), filter 420ms ease;
}

.feature-dossier:hover img,
.gallery-sweep__tile:hover img,
.showroom-stream__tile:hover img,
.track-card:hover .track-card__media img,
.member-showroom:hover img {
  transform: scale(1.04);
  filter: saturate(1.02);
}

[data-tilt-shell] {
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translate3d(0, 0, 0);
  transform-style: preserve-3d;
}

.btn,
[data-magnetic],
.site-nav a,
.site-brand {
  position: relative;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    transform 220ms cubic-bezier(.2, .9, .2, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.btn {
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.16) 48%, transparent 78%);
  transform: translateX(-135%);
  transition: transform 480ms cubic-bezier(.2, .9, .2, 1);
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(135%);
}

body.motion-live .hero-actions > * {
  animation: heroBob 6.2s ease-in-out infinite;
}

body.motion-live .hero-actions > *:nth-child(2) {
  animation-delay: 1.1s;
}

body.motion-live .hero-actions > *:nth-child(3) {
  animation-delay: 2.2s;
}

input,
textarea,
select {
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 4px rgba(245, 5, 56, 0.08);
}

::selection {
  background: rgba(245, 5, 56, 0.22);
  color: #fff;
}

.pill-live {
  background: rgba(31, 196, 143, 0.14);
  color: #8ff0c9;
  border-color: rgba(31, 196, 143, 0.2);
}

.pill-announced,
.pill-pending,
.pill-review {
  background: rgba(246, 173, 51, 0.14);
  color: #ffd28a;
  border-color: rgba(246, 173, 51, 0.2);
}

.pill-closed,
.pill-rejected {
  background: rgba(245, 5, 56, 0.14);
  color: #ff99ad;
  border-color: rgba(245, 5, 56, 0.2);
}

.pill-draft,
.pill-new,
.pill-waitlist {
  background: rgba(138, 141, 143, 0.14);
  color: #d3d7db;
  border-color: rgba(138, 141, 143, 0.18);
}

.pill-confirmed,
.pill-approved {
  background: rgba(31, 196, 143, 0.14);
  color: #8ff0c9;
  border-color: rgba(31, 196, 143, 0.2);
}

.line-clamp-1,
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 540ms ease,
    transform 540ms cubic-bezier(.2, .9, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-cursor {
  display: none !important;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #14181d 0%, #080a0c 72%);
  transition: opacity .45s ease, visibility .45s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.speedometer-loader {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.speedometer-loader__dial {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .08), transparent 48%),
    radial-gradient(circle at 50% 58%, #13171b 0%, #0b0d10 68%, #08090b 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 24px 60px rgba(0, 0, 0, .34);
  overflow: visible;
}

.speedometer-loader__dial::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.speedometer-loader__dial::after {
  content: none;
}

.speedometer-loader__tick {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 2px;
  height: 18px;
  background: rgba(255, 255, 255, .34);
  border-radius: 999px;
  transform-origin: center 92px;
  transform: translateX(-50%) rotate(calc(-125deg + (var(--tick) * 22deg)));
}

.speedometer-loader__tick:nth-child(n+9) {
  background: rgba(245, 5, 56, .7);
}

.speedometer-loader__redline {
  position: absolute;
  right: 22px;
  top: 28px;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(245, 5, 56, .34), transparent 72%);
  filter: blur(10px);
}

.speedometer-loader__needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff, rgba(245, 5, 56, .9));
  box-shadow: 0 0 20px rgba(245, 5, 56, .24);
  transform-origin: 10px center;
  transform: translate(-10px, -50%) rotate(-125deg);
  animation: revNeedle 1.35s cubic-bezier(.22, .86, .31, 1) infinite;
}

.speedometer-loader__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .08);
}

.speedometer-loader__meta {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.speedometer-loader__meta small {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .54);
}

.speedometer-loader__meta strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.motion-ready [data-sequence] .page-intro > *,
body.motion-ready [data-sequence] .hero-copy > *,
body.motion-ready [data-sequence] .poster-hero__copy > *,
body.motion-ready [data-sequence] .poster-hero__meter > *,
body.motion-ready [data-sequence] .hero-actions > *,
body.motion-ready [data-sequence] .hero-card > *,
body.motion-ready [data-sequence] .feature-dossier > *,
body.motion-ready [data-sequence] .event-hero__content > *,
body.motion-ready [data-sequence] .event-hero__stats > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.985);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(.2, .9, .2, 1);
  transition-delay: var(--enter-delay, 0ms);
}

body.motion-live [data-sequence] .page-intro > *,
body.motion-live [data-sequence] .hero-copy > *,
body.motion-live [data-sequence] .poster-hero__copy > *,
body.motion-live [data-sequence] .poster-hero__meter > *,
body.motion-live [data-sequence] .hero-actions > *,
body.motion-live [data-sequence] .hero-card > *,
body.motion-live [data-sequence] .feature-dossier > *,
body.motion-live [data-sequence] .event-hero__content > *,
body.motion-live [data-sequence] .event-hero__stats > * {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.page-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-bottom: .9rem;
}

.page-title {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-lead {
  max-width: 38rem;
  margin: .9rem auto 0;
  color: #8a8d8f;
  font-size: .98rem;
  line-height: 1.7;
}

.member-showroom {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(19, 23, 28, 0.96), rgba(11, 13, 16, 0.92));
}

.member-showroom.is-empty {
  min-height: 320px;
}

.member-showroom > .absolute.inset-0.bg-gradient-to-t {
  pointer-events: none;
}

.member-showroom [data-showroom-empty],
.member-showroom [data-showroom-actions],
.member-showroom [data-showroom-meta] {
  z-index: 3;
}

.member-showroom [data-showroom-empty],
.member-showroom [data-showroom-meta] {
  pointer-events: none;
}

.member-showroom [data-showroom-empty] > *,
.member-showroom [data-showroom-meta] > * {
  pointer-events: auto;
}

.member-showroom [data-showroom-actions] {
  pointer-events: auto;
}

.member-showroom [data-application-photo-empty].hidden,
.member-showroom [data-application-photo-actions].hidden,
.member-showroom [data-showroom-actions].hidden,
.member-showroom [data-showroom-empty].hidden {
  display: none !important;
}

.member-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.event-access-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 260ms ease;
}

.event-access-card.is-open {
  border-color: rgba(245, 5, 56, 0.2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.event-access-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 16px;
  text-align: left;
  background: transparent;
  border: 0;
}

.event-access-card__copy {
  display: grid;
  gap: 6px;
}

.event-access-card__title {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.event-access-card__meta {
  display: block;
  max-width: 28ch;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(196, 196, 198, 0.82);
}

.event-access-card__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}

.event-access-card__icon svg {
  width: 16px;
  height: 16px;
}

.event-access-card.is-open .event-access-card__icon {
  transform: rotate(180deg);
  color: #fff;
  border-color: rgba(245, 5, 56, 0.28);
  background: rgba(245, 5, 56, 0.1);
}

.event-access-card__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 340ms cubic-bezier(.22, 1, .36, 1), opacity 180ms ease;
}

.event-access-card.is-open .event-access-card__panel {
  opacity: 1;
}

.event-access-card__body {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.event-access-photo__frame {
  min-height: 300px;
}

.event-access-photo__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.event-access-photo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.event-access-photo__button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  color: #fff;
}

.event-access-photo__button--danger:hover {
  border-color: rgba(245, 5, 56, 0.34);
  background: linear-gradient(180deg, rgba(245, 5, 56, 0.16), rgba(245, 5, 56, 0.05));
}

.footer-contact-stack {
  display: grid;
  gap: 12px;
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 52px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 23, 28, 0.94), rgba(10, 11, 13, 0.92));
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-contact-link:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 5, 56, 0.18);
  background: linear-gradient(180deg, rgba(245, 5, 56, 0.07), rgba(18, 21, 26, 0.94));
  color: #fff;
}

.footer-contact-link__label {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138, 141, 143, 0.95);
}

.footer-contact-link__value {
  display: block;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.member-photo-native-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.member-photo-upload-form {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.member-save-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 18, 21, 0.88);
  color: rgba(255, 255, 255, 0.72);
}

.member-save-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.member-save-status[data-state="working"] {
  color: #ffd28a;
}

.member-save-status[data-state="working"]::before {
  animation: statusPulse 1.2s ease-in-out infinite;
}

.member-save-status[data-state="success"] {
  color: #8ff0c9;
}

.member-save-status[data-state="error"] {
  color: #ff99ad;
}

.live-editor-trigger {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 92;
}

.live-editor-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  z-index: 93;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 20px;
  background: rgba(10, 10, 10, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(26px);
  transform: translateX(100%);
  transition: transform 220ms cubic-bezier(.2, .9, .2, 1);
}

.live-editor-drawer.is-open {
  transform: translateX(0);
}

.live-editor-drawer__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-editor-drawer__body {
  overflow-y: auto;
  padding-top: 18px;
  display: grid;
  gap: 18px;
}

.live-editor-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.live-editor-field {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: .82rem;
}

.live-editor-field > span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.live-editor-field input,
.live-editor-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 12px 14px;
  outline: none;
}

.live-editor-color {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.live-editor-swatch {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes revNeedle {
  0% {
    transform: translate(-10px, -50%) rotate(-125deg);
  }

  55% {
    transform: translate(-10px, -50%) rotate(48deg);
  }

  100% {
    transform: translate(-10px, -50%) rotate(24deg);
  }
}

@keyframes ambientDriftA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(6%, 10%, 0) scale(1.08);
  }
}

@keyframes ambientDriftB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-7%, -8%, 0) scale(1.06);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 5, 56, 0.32);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(245, 5, 56, 0);
  }
}

@keyframes heroBob {
  0%, 100% {
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  }
  50% {
    transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 4px), 0);
  }
}

@keyframes statusPulse {
  0%, 100% {
    transform: scale(1);
    opacity: .9;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.event-member-access-form__actions {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  justify-items: center;
}

.event-member-access-form__actions .btn:first-child {
  width: 100%;
  min-height: 56px;
}

.event-member-access-form__secondary {
  min-width: 220px;
  min-height: 46px;
  padding: 0 22px;
  justify-self: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 30px rgba(0, 0, 0, 0.14);
}

.event-member-access-form__secondary:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  color: #fff;
}

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

.member-choice-card {
  display: block;
  position: relative;
  cursor: pointer;
}

.member-choice-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.member-choice-card__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  color: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 34px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.member-choice-card__box::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.14);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.member-choice-card__box::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 7px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0.45);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.member-choice-card__label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 1;
}

.member-choice-card:hover .member-choice-card__box {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  color: #fff;
}

.member-choice-card__input:checked + .member-choice-card__box {
  border-color: rgba(245, 5, 56, 0.34);
  background: linear-gradient(180deg, rgba(245, 5, 56, 0.16), rgba(255, 255, 255, 0.04));
  color: #fff;
  box-shadow: 0 20px 36px rgba(245, 5, 56, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.member-choice-card__input:checked + .member-choice-card__box::before {
  border-color: rgba(245, 5, 56, 0.42);
  background: linear-gradient(180deg, rgba(245, 5, 56, 0.96), rgba(176, 3, 42, 0.94));
  box-shadow: 0 0 0 4px rgba(245, 5, 56, 0.12), 0 16px 28px rgba(245, 5, 56, 0.18);
  transform: scale(1.04);
}

.member-choice-card__input:checked + .member-choice-card__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.member-choice-card__input:focus + .member-choice-card__box,
.member-choice-card__input:focus-visible + .member-choice-card__box {
  box-shadow: 0 0 0 4px rgba(245, 5, 56, 0.12), 0 18px 34px rgba(0, 0, 0, 0.12);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination__summary {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.pagination__links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pagination__link:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-1px);
}

.pagination__link--active {
  border-color: rgba(245, 5, 56, 0.34);
  background: linear-gradient(180deg, rgba(245, 5, 56, 0.16), rgba(255, 255, 255, 0.04));
  color: #fff;
  box-shadow: 0 16px 30px rgba(245, 5, 56, 0.14);
}

.pagination__link--ghost {
  padding: 0 16px;
}

@media (max-width: 1024px) {
  .site-header {
    padding-top: 14px;
  }

  [data-header-shell] {
    padding: 12px 14px;
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 0;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(16, 19, 24, 0.98), rgba(10, 12, 16, 0.95));
    backdrop-filter: blur(26px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top center;
    transition: opacity 200ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 200ms;
    z-index: 20;
  }

  .site-nav.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 200ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1);
  }

  .site-nav__intro,
  .site-nav__secondary {
    display: grid;
    gap: 10px;
  }

  .site-nav__intro {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav__eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(138, 141, 143, 0.95);
  }

  .site-nav__headline {
    max-width: 26ch;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
  }

  .site-nav__primary,
  .site-nav__secondary {
    display: grid;
    gap: 8px;
  }

  .site-nav__secondary {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 16px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: linear-gradient(180deg, rgba(19, 23, 28, 0.94), rgba(10, 11, 13, 0.92));
    color: rgba(255, 255, 255, 0.84) !important;
  }

  .site-nav__link--utility {
    color: rgba(255, 255, 255, 0.76) !important;
  }

  .site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid rgba(245, 5, 56, 0.28);
    background: linear-gradient(180deg, #f50538, #c90d34);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 18px 38px rgba(245, 5, 56, 0.22);
  }

  .notification-bell {
    width: 42px;
    height: 42px;
  }

  .pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .pagination__links {
    justify-content: center;
  }

  .event-access-photo__toolbar {
    justify-content: stretch;
  }

  .event-access-photo__button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  [data-header-shell] {
    padding: 10px 12px;
  }

  .page-intro {
    margin-bottom: 2rem;
  }

  .event-access-card__toggle {
    padding: 16px;
    gap: 12px;
  }

  .event-access-card__meta {
    max-width: 100%;
  }

  .event-access-card__body {
    padding: 0 16px 16px;
  }

  .event-access-photo__frame {
    min-height: 270px;
  }

  .page-title {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .page-lead {
    font-size: .92rem;
    line-height: 1.65;
  }

  .speedometer-loader__dial {
    width: 178px;
    height: 178px;
  }

  .speedometer-loader__tick {
    top: 14px;
    height: 16px;
    transform-origin: center 73px;
  }

  .speedometer-loader__redline {
    top: 22px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .speedometer-loader__needle {
    width: 74px;
  }

  .live-editor-trigger {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  body.motion-ready [data-sequence] .page-intro > *,
  body.motion-ready [data-sequence] .hero-copy > *,
  body.motion-ready [data-sequence] .poster-hero__copy > *,
  body.motion-ready [data-sequence] .poster-hero__meter > *,
  body.motion-ready [data-sequence] .hero-actions > *,
  body.motion-ready [data-sequence] .hero-card > *,
  body.motion-ready [data-sequence] .feature-dossier > *,
  body.motion-ready [data-sequence] .event-hero__content > *,
  body.motion-ready [data-sequence] .event-hero__stats > * {
    opacity: 1;
    transform: none;
  }
}

/* Compact footer + clean mobile nav aligned to the home page */
.site-nav-open {
  overflow: hidden;
}

.site-nav__sheet {
  display: contents;
}

.site-nav__backdrop,
.site-nav__panel-head {
  display: none;
}

.footer-contact-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer-contact-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(245, 5, 56, 0.04), rgba(255, 255, 255, 0.018));
}

.footer-contact-link__label {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138, 141, 143, 0.9);
}

.footer-contact-link__value {
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-nav__pill {
  display: inline-flex;
  min-width: 1.2rem;
  justify-content: center;
  padding: 0.16rem 0.38rem;
  border-radius: 4px;
  background: rgba(245, 5, 56, 0.12);
  border: 1px solid rgba(245, 5, 56, 0.2);
  color: #ffd1db;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 1024px) {
  .nav-toggle {
    gap: 4px;
  }

  .nav-toggle span {
    margin: 0 auto;
  }

  .nav-toggle--site {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.18));
    backdrop-filter: blur(18px) saturate(140%);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .nav-toggle--site::before {
    content: none;
  }

  .nav-toggle--site span {
    width: 16px;
    margin-left: 0;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: none !important;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 74px 12px 12px;
    background: rgba(8, 10, 14, 0.28);
    backdrop-filter: blur(18px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 60;
  }

  .site-nav.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .site-nav__sheet {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(90vw, 22rem);
    max-height: calc(100vh - 88px);
    overflow: auto;
    gap: 14px;
    padding: 16px 16px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.34), rgba(10, 10, 10, 0.22));
    backdrop-filter: blur(26px) saturate(155%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    transform: translateY(-10px);
    transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
  }

  .site-nav.is-open .site-nav__sheet {
    transform: translateY(0);
  }

  .site-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav__panel-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .site-nav__panel-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: linear-gradient(180deg, #f50538, #b4072c);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(245, 5, 56, 0.2);
  }

  .site-nav__panel-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .site-nav__panel-title {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
  }

  .site-nav__panel-meta {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(138, 141, 143, 0.88);
  }

  .site-nav__close {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    backdrop-filter: blur(16px) saturate(135%);
    color: #fff;
  }

  .site-nav__close span {
    position: absolute;
    width: 13px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-nav__close span:first-child {
    transform: rotate(45deg);
  }

  .site-nav__close span:last-child {
    transform: rotate(-45deg);
  }

  .site-nav__intro {
    display: grid;
    gap: 8px;
    padding: 0 0 2px;
    border: 0;
  }

  .site-nav__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(138, 141, 143, 0.92);
  }

  .site-nav__headline {
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.74);
  }

  .site-nav__primary,
  .site-nav__secondary {
    display: grid;
    gap: 0;
  }

  .site-nav__secondary {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 0 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
  }

  .site-nav__link:last-child {
    border-bottom-color: transparent !important;
    padding-bottom: 0 !important;
  }

  .site-nav__link--utility {
    color: rgba(255, 255, 255, 0.68) !important;
  }

  .site-nav__cta {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    padding: 0 16px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

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

@media (max-width: 640px) {
  .footer-contact-stack {
    grid-template-columns: 1fr;
  }

  .footer-contact-link {
    padding: 9px 11px;
  }
}


/* --- 2026-04 UI fixes --- */
.footer-contact-stack {
  display: grid;
  gap: 10px;
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 3px;
  min-height: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  box-shadow: none;
}

.footer-contact-link:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
  color: #fff;
}

.footer-contact-link__label {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138, 141, 143, 0.92);
}

.footer-contact-link__value {
  display: block;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
  color: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-access-photo__frame {
  min-height: 300px;
}

.event-access-photo__frame [data-application-photo-empty] {
  z-index: 2;
  align-items: flex-start;
  padding: 2rem 1.5rem 7.75rem;
}

.event-access-photo__frame [data-application-photo-empty] > div {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.event-access-photo__frame [data-application-photo-meta] {
  z-index: 3;
  pointer-events: none;
}

.event-access-photo__frame [data-application-photo-meta] > * {
  pointer-events: auto;
}

.event-access-photo__toolbar {
  justify-content: flex-start;
}

.operator-sidebar__backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(6, 8, 12, 0.52);
  backdrop-filter: blur(10px) saturate(135%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 74;
}

#operator-sidebar.is-open + .operator-main,
#operator-sidebar.is-open ~ .operator-main {
  pointer-events: none;
}

#operator-sidebar.is-open ~ .operator-sidebar__backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.operator-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.operator-sidebar__close {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  color: #fff;
}

.operator-sidebar__close span {
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.operator-sidebar__close span:first-child {
  transform: rotate(45deg);
}

.operator-sidebar__close span:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .site-nav {
    padding-top: 86px;
  }

  .site-nav__sheet {
    width: min(92vw, 24rem);
  }
}

@media (max-width: 640px) {
  .event-access-photo__frame {
    min-height: 320px;
  }

  .event-access-photo__frame [data-application-photo-empty] {
    padding: 1.5rem 1rem 8.25rem;
  }

  .event-access-photo__frame [data-application-photo-meta] {
    padding: 1rem;
  }
}


/* --- 2026-04 pass 6: admin parity, footer fit, upload note, mobile drawer, email label support --- */
.footer-links-grid{
  align-items:start;
}

.footer-contact-column{
  min-width:0;
}

.footer-contact-stack{
  display:grid;
  gap:0;
}

.footer-contact-link{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  align-items:baseline;
  gap:16px;
  padding:12px 0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.08);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.footer-contact-link:hover{
  transform:none;
  border-color:rgba(255,255,255,.14);
  background:transparent;
}

.footer-contact-link__label{
  min-width:84px;
  margin:0;
}

.footer-contact-link__value{
  min-width:0;
  font-size:.82rem;
  line-height:1.45;
  font-weight:700;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
}

@media (max-width:1180px){
  .footer-links-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer-contact-column{
    grid-column:1 / -1;
  }
}

@media (max-width:720px){
  .footer-contact-link{
    grid-template-columns:72px minmax(0,1fr);
    gap:12px;
  }

  .footer-contact-link__label{
    min-width:72px;
  }

  .footer-contact-link__value{
    white-space:normal;
  }
}

.event-access-photo__frame{
  min-height:320px;
}

.event-access-photo__frame [data-application-photo-empty]{
  z-index:2;
  align-items:flex-start;
  justify-content:center;
  padding:1.9rem 1.5rem 8.8rem;
}

.event-access-photo__frame [data-application-photo-empty] > div{
  display:grid;
  gap:.8rem;
  justify-items:center;
  margin:0 auto;
}

.event-access-photo__reviewnote{
  z-index:3;
  pointer-events:none;
  padding:1.2rem 1.25rem 1.15rem;
}

.event-access-photo__reviewnote > *{
  pointer-events:auto;
}

@media (max-width:640px){
  .event-access-photo__frame{
    min-height:332px;
  }

  .event-access-photo__frame [data-application-photo-empty]{
    padding:1.45rem 1rem 8.7rem;
  }

  .event-access-photo__reviewnote{
    padding:1rem;
  }
}

.admin-mobilebar{
  display:none;
}

.admin-body .operator-shell{
  grid-template-columns:300px minmax(0,1fr);
  align-items:start;
}

.admin-body .operator-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  z-index:20;
}

.admin-body .operator-main{
  padding:28px 30px 48px;
}

.admin-body .operator-header{
  margin-bottom:24px;
}

.admin-body .operator-header__title,
.admin-body .ops-hero__copy h2,
.admin-body .ops-panel__head h3,
.admin-body .ops-guide__card h3,
.admin-body .ops-ledger__main h3,
.admin-body .ops-module__head h4{
  font-family:"Space Grotesk", sans-serif !important;
  letter-spacing:-.035em !important;
}

.admin-body .btn,
.admin-body .ops-filter-chip,
.admin-body .status-pill,
.admin-body .muted-chip,
.admin-body .ops-attention-badge,
.admin-body .operator-utility-pill,
.admin-body .operator-nav__badge{
  border-radius:10px !important;
}

.admin-body .btn,
.admin-body .ops-filter-chip,
.admin-body .status-pill,
.admin-body .muted-chip,
.admin-body .operator-utility-pill{
  font-family:"Manrope", sans-serif !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
}

.admin-body .btn{
  min-height:42px;
}

.admin-body .ops-filter-chip{
  min-height:40px;
  padding:0 16px !important;
  background:rgba(255,255,255,.03) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  color:rgba(255,255,255,.82) !important;
  box-shadow:none !important;
}

.admin-body .ops-filter-chip:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16) !important;
  color:#fff !important;
}

.admin-body .ops-filter-chip.is-active{
  background:rgba(245,5,56,.14) !important;
  border-color:rgba(245,5,56,.24) !important;
  color:#fff !important;
  box-shadow:0 16px 28px rgba(245,5,56,.12) !important;
}

.admin-body .status-pill,
.admin-body .muted-chip,
.admin-body .ops-attention-badge,
.admin-body .operator-nav__badge{
  min-height:28px;
  padding:0 10px !important;
}

.admin-body .ops-ledger{
  gap:12px !important;
  background:transparent !important;
  border-radius:0 !important;
}

.admin-body .ops-ledger__row{
  border-radius:10px !important;
  border:1px solid #2a2a2a !important;
  background:rgba(17,18,20,.92) !important;
  box-shadow:0 24px 60px rgba(0,0,0,.16);
}

.admin-body .ops-ledger__row:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.12) !important;
}

.admin-body .ops-list__row,
.admin-body .operator-nav a,
.admin-body .ops-panel,
.admin-body .ops-guide__card,
.admin-body .ops-hero,
.admin-body .ops-metrics{
  border-radius:10px !important;
}

@media (max-width:1024px){
  .admin-mobilebar{
    display:block;
  }

  .admin-body .operator-shell{
    display:block;
    padding-top:92px;
  }

  .admin-body .operator-sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:min(88vw, 360px);
    height:100vh;
    transform:translateX(-104%);
    transition:transform .28s cubic-bezier(.22,1,.36,1), opacity .2s ease;
    z-index:100;
    border-radius:0 22px 22px 0;
    border-right:1px solid rgba(255,255,255,.1);
    box-shadow:0 28px 72px rgba(0,0,0,.28);
    background:linear-gradient(180deg, rgba(10,12,15,.96), rgba(10,12,15,.9));
  }

  .admin-body .operator-sidebar.is-open{
    transform:translateX(0) !important;
  }

  .admin-body .operator-main{
    padding:0 16px 28px;
  }

  .operator-sidebar__backdrop{
    z-index:96;
  }
}


/* --- 2026-04 pass 7: footer restore, dedicated mobile menu, admin parity refinement --- */
body.mobile-nav-open,
body.operator-nav-open{
  overflow:hidden;
}

.footer-links-grid{
  align-items:start;
}

@media (min-width:1280px){
  .footer-links-grid{
    grid-template-columns:minmax(0,.9fr) minmax(0,.9fr) minmax(0,1.45fr) !important;
  }
}

.footer-contact-column{
  min-width:0;
}

.footer-contact-stack{
  display:grid !important;
  gap:10px !important;
}

.footer-contact-link{
  display:grid !important;
  grid-template-columns:88px minmax(0,1fr) !important;
  align-items:center !important;
  gap:16px !important;
  min-height:44px !important;
  width:100%;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.footer-contact-link:hover{
  transform:none !important;
  background:transparent !important;
  border-color:transparent !important;
}

.footer-contact-link__label{
  min-width:88px;
  font-size:.58rem !important;
  letter-spacing:.18em !important;
  text-transform:uppercase;
  color:rgba(138,141,143,.92) !important;
}

.footer-contact-link__value{
  min-width:0;
  display:block;
  font-size:.9rem !important;
  line-height:1.45 !important;
  font-weight:700 !important;
  letter-spacing:-.01em;
  color:#fff !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

@media (max-width:1180px){
  .footer-links-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .footer-contact-column{
    grid-column:1 / -1;
  }
}

@media (max-width:720px){
  .footer-contact-link{
    grid-template-columns:72px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .footer-contact-link__label{
    min-width:72px;
  }

  .footer-contact-link__value{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
  }
}

.mobile-site-nav{
  position:fixed;
  inset:0;
  display:none;
  z-index:110;
}

.mobile-site-nav.is-open{
  display:block;
}

.mobile-site-nav__backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(6,8,12,.62);
  backdrop-filter:blur(14px) saturate(135%);
}

.mobile-site-nav__panel{
  position:absolute;
  top:18px;
  right:14px;
  bottom:14px;
  width:min(calc(100vw - 28px), 380px);
  display:grid;
  align-content:start;
  gap:14px;
  padding:18px 18px 20px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top right, rgba(245,5,56,.12), transparent 30%),
    linear-gradient(180deg, rgba(17,18,20,.96), rgba(9,10,12,.94));
  box-shadow:0 32px 80px rgba(0,0,0,.34);
  overflow:auto;
  transform:translateX(18px) scale(.985);
  opacity:0;
  transition:transform .26s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}

.mobile-site-nav.is-open .mobile-site-nav__panel{
  transform:translateX(0) scale(1);
  opacity:1;
}

.mobile-site-nav__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.mobile-site-nav__brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.mobile-site-nav__mark{
  display:inline-flex;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:linear-gradient(180deg,#f50538,#b4072c);
  color:#fff;
  font-family:"Space Grotesk", sans-serif;
  font-size:.84rem;
  font-weight:700;
  box-shadow:0 16px 30px rgba(245,5,56,.22);
}

.mobile-site-nav__brandcopy{
  display:grid;
  gap:2px;
  min-width:0;
}

.mobile-site-nav__title{
  font-size:.92rem;
  font-weight:700;
  letter-spacing:-.02em;
  color:#fff;
}

.mobile-site-nav__meta,
.mobile-site-nav__eyebrow{
  font-size:.58rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(138,141,143,.9);
}

.mobile-site-nav__close{
  position:relative;
  display:inline-flex;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  color:#fff;
}

.mobile-site-nav__close span{
  position:absolute;
  width:13px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}

.mobile-site-nav__close span:first-child{transform:rotate(45deg)}
.mobile-site-nav__close span:last-child{transform:rotate(-45deg)}

.mobile-site-nav__intro{
  display:grid;
  gap:8px;
}

.mobile-site-nav__headline{
  margin:0;
  font-size:.86rem;
  line-height:1.65;
  color:rgba(255,255,255,.72);
}

.mobile-site-nav__section{
  display:grid;
  gap:0;
}

.mobile-site-nav__section--utility{
  margin-top:2px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
}

.mobile-site-nav__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:0 2px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.86);
  font-size:.95rem;
  text-decoration:none;
  transition:color .18s ease,border-color .18s ease,transform .18s ease;
}

.mobile-site-nav__link:hover,
.mobile-site-nav__link.is-active{
  color:#fff;
  border-bottom-color:rgba(255,255,255,.16);
}

.mobile-site-nav__link--utility{
  color:rgba(255,255,255,.7);
}

.mobile-site-nav__pill{
  display:inline-flex;
  min-width:1.3rem;
  justify-content:center;
  padding:.14rem .4rem;
  border-radius:999px;
  background:rgba(245,5,56,.16);
  border:1px solid rgba(245,5,56,.24);
  color:#ffd1db;
  font-size:.68rem;
  font-weight:700;
}

.mobile-site-nav__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:14px;
  padding:0 18px;
  border-radius:10px;
  border:1px solid rgba(245,5,56,.28);
  background:linear-gradient(180deg,#f50538,#c90d34);
  color:#fff;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 20px 38px rgba(245,5,56,.2);
  text-decoration:none;
}

.admin-body .operator-shell{
  position:relative;
  display:grid !important;
  grid-template-columns:300px minmax(0,1fr) !important;
  width:100%;
  min-height:100vh;
  align-items:start;
}

.admin-body .operator-shell::before,
.admin-body .operator-shell::after{
  content:"";
  position:fixed;
  pointer-events:none;
  z-index:0;
  inset:auto;
  width:34vw;
  height:34vw;
  max-width:520px;
  max-height:520px;
  border-radius:999px;
  filter:blur(90px);
  opacity:.16;
}

.admin-body .operator-shell::before{
  top:-120px;
  right:-120px;
  background:radial-gradient(circle, rgba(245,5,56,.7), transparent 62%);
}

.admin-body .operator-shell::after{
  bottom:-140px;
  left:16%;
  background:radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
}

.admin-body .operator-sidebar,
.admin-body .operator-main{
  position:relative;
  z-index:1;
}

.admin-body .operator-sidebar{
  justify-self:stretch;
  align-self:start;
  margin:0 !important;
  border-right:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(18,19,22,.94), rgba(11,12,15,.9));
}

.admin-body .operator-main{
  padding:30px 32px 52px;
}

.admin-body .operator-header,
.admin-body .ops-hero,
.admin-body .ops-panel,
.admin-body .ops-assets__card,
.admin-body .ops-module,
.admin-body .ops-guide__card,
.admin-body .ops-metrics,
.admin-body .ops-list,
.admin-body .ops-ledger__row,
.admin-body .ops-review,
.admin-body .ops-roster__item,
.admin-body .ops-color-card{
  border-radius:12px !important;
}

.admin-body .ops-hero,
.admin-body .ops-panel,
.admin-body .ops-assets__card,
.admin-body .ops-module,
.admin-body .ops-guide__card,
.admin-body .ops-review,
.admin-body .ops-color-card{
  border:1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(180deg, rgba(17,18,20,.94), rgba(11,12,15,.9)) !important;
  box-shadow:0 28px 70px rgba(0,0,0,.22);
}

.admin-body .ops-hero{
  position:relative;
  overflow:hidden;
  padding:26px 28px !important;
  background:
    radial-gradient(circle at top right, rgba(245,5,56,.1), transparent 28%),
    linear-gradient(180deg, rgba(17,18,20,.96), rgba(11,12,15,.92)) !important;
}

.admin-body .ops-hero::before,
.admin-body .ops-panel::before,
.admin-body .ops-module::before,
.admin-body .ops-guide__card::before{
  left:18px !important;
  right:18px !important;
}

.admin-body .ops-hero__copy h2{
  font-size:clamp(1.55rem,1.9vw,2.05rem) !important;
  line-height:1.04 !important;
}

.admin-body .ops-hero__copy p,
.admin-body .ops-panel__head p,
.admin-body .ops-ledger__main p,
.admin-body .ops-guide__card p,
.admin-body .ops-module__head p,
.admin-body .ops-list__row > div > span{
  font-size:.95rem;
  line-height:1.72;
  color:rgba(255,255,255,.66) !important;
}

.admin-body .section-kicker,
.admin-body .ops-metrics span,
.admin-body .ops-ledger__meta span,
.admin-body .ops-keyvals span,
.admin-body .ops-field__label,
.admin-body .operator-nav__meta,
.admin-body .mono{
  font-family:"JetBrains Mono", monospace !important;
  letter-spacing:.14em !important;
}

.admin-body .btn,
.admin-body .btn-primary,
.admin-body .btn-ghost,
.admin-body .ops-filter-chip,
.admin-body .status-pill,
.admin-body .muted-chip,
.admin-body .ops-attention-badge,
.admin-body .operator-utility-pill,
.admin-body .operator-nav__badge,
.admin-body .operator-nav a{
  border-radius:8px !important;
}

.admin-body .btn,
.admin-body .btn-primary,
.admin-body .btn-ghost,
.admin-body .operator-utility-pill{
  min-height:44px !important;
  padding:0 18px !important;
  font-size:.86rem !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
  box-shadow:none !important;
}

.admin-body .btn-primary{
  background:linear-gradient(180deg,#f50538,#c90d34) !important;
  border:1px solid rgba(245,5,56,.26) !important;
}

.admin-body .btn-ghost,
.admin-body .operator-utility-pill{
  background:rgba(255,255,255,.03) !important;
  border:1px solid rgba(255,255,255,.1) !important;
}

.admin-body .btn:hover,
.admin-body .operator-utility-pill:hover,
.admin-body .ops-filter-chip:hover,
.admin-body .operator-nav a:hover,
.admin-body .ops-list__row:hover,
.admin-body .ops-ledger__row:hover{
  transform:translateY(-1px);
}

.admin-body .ops-filter-chip,
.admin-body .status-pill,
.admin-body .muted-chip,
.admin-body .ops-attention-badge,
.admin-body .operator-nav__badge{
  min-height:30px;
  padding:0 10px !important;
  font-size:.72rem !important;
}

.admin-body .ops-metrics{
  gap:0 !important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03) !important;
}

.admin-body .ops-metrics article{
  background:rgba(17,18,20,.94) !important;
  border-right:1px solid rgba(255,255,255,.08);
}

.admin-body .ops-metrics article:last-child{
  border-right:0;
}

.admin-body .ops-list{
  background:transparent !important;
  gap:12px;
}

.admin-body .ops-list__row{
  border:1px solid rgba(255,255,255,.08) !important;
  background:rgba(17,18,20,.92) !important;
  box-shadow:0 20px 54px rgba(0,0,0,.14);
}

.admin-body .ops-search input,
.admin-body .ops-field input,
.admin-body .ops-field select,
.admin-body .ops-field textarea,
.admin-body input,
.admin-body select,
.admin-body textarea{
  border-radius:10px !important;
  min-height:50px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 14px 30px rgba(0,0,0,.1) !important;
}

.admin-body .ops-field textarea,
.admin-body textarea{
  min-height:124px;
}

.admin-body .ops-toolbar,
.admin-body .ops-hero__actions,
.admin-body .badge-row,
.admin-body .chip-row{
  gap:10px !important;
}

@media (max-width:1024px){
  .admin-body .operator-shell{
    display:block !important;
    padding-top:92px;
  }

  .admin-body .operator-main{
    padding:0 16px 32px;
  }

  .admin-body .operator-sidebar{
    width:min(88vw,360px);
    transform:translateX(-104%);
    border-radius:0 18px 18px 0;
    background:
      radial-gradient(circle at top right, rgba(245,5,56,.12), transparent 30%),
      linear-gradient(180deg, rgba(17,18,20,.98), rgba(11,12,15,.96));
  }

  .admin-body .operator-sidebar.is-open{
    transform:translateX(0) !important;
  }
}

/* --- pass8 targeted fixes: footer stack, centered mobile toggle, left operator rail --- */
.footer-contact-stack{
  display:grid !important;
  gap:10px !important;
}

.footer-contact-link{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:6px !important;
  align-items:start !important;
  min-height:auto !important;
  width:100%;
  padding:10px 12px !important;
  border:1px solid rgba(255,255,255,.07) !important;
  border-radius:8px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.014)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.footer-contact-link:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(255,255,255,.12) !important;
  background:linear-gradient(180deg, rgba(245,5,56,.04), rgba(255,255,255,.018)) !important;
}

.footer-contact-link__label{
  min-width:0 !important;
  font-size:.55rem !important;
  letter-spacing:.18em !important;
  text-transform:uppercase;
  color:rgba(138,141,143,.9) !important;
}

.footer-contact-link__value{
  display:block !important;
  min-width:0;
  font-size:.82rem !important;
  line-height:1.45 !important;
  font-weight:700 !important;
  letter-spacing:-.01em;
  color:#fff !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}

@media (max-width:720px){
  .footer-contact-link{
    padding:10px 12px !important;
  }
}

@media (max-width:1024px){
  .nav-toggle--site{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
  }

  .nav-toggle--site span{
    display:block;
    width:16px;
    margin:0 auto !important;
  }
}

.admin-body .operator-shell{
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:118px 0 40px !important;
  grid-template-columns:300px minmax(0,1fr) !important;
  gap:0 !important;
}

.admin-body .operator-sidebar{
  justify-self:start !important;
  margin-left:0 !important;
  margin-right:0 !important;
  border-left:0 !important;
  border-radius:0 24px 24px 0 !important;
}

.admin-body .operator-main{
  padding:30px 32px 52px !important;
}

@media (max-width:1024px){
  .admin-body .operator-shell{
    padding:92px 0 32px !important;
    display:block !important;
  }

  .admin-body .operator-sidebar{
    top:92px !important;
    left:0 !important;
    bottom:0 !important;
    width:min(88vw,360px) !important;
    border-radius:0 20px 20px 0 !important;
  }

  .admin-body .operator-main{
    padding:0 16px 32px !important;
  }
}

/* --- pass9 targeted polish: footer, member-access actions, premium utility surfaces --- */
.footer-links-grid{
  align-items:start;
  column-gap:clamp(28px,4vw,52px);
}

@media (min-width:1280px){
  .footer-links-grid{
    grid-template-columns:minmax(0,.92fr) minmax(0,.92fr) minmax(320px,1.18fr) !important;
  }
}

.footer-contact-column{
  min-width:0;
}

.footer-contact-stack{
  display:grid !important;
  gap:14px !important;
}

.footer-contact-link{
  display:block !important;
  min-height:auto !important;
  width:100%;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.footer-contact-link:hover{
  transform:none !important;
  background:transparent !important;
  border-color:transparent !important;
}

.footer-contact-link__label{
  display:block !important;
  margin:0 0 6px 0 !important;
  min-width:0 !important;
  font-size:.58rem !important;
  letter-spacing:.18em !important;
  text-transform:uppercase;
  color:rgba(138,141,143,.9) !important;
}

.footer-contact-link__value{
  display:block !important;
  min-width:0;
  font-size:.92rem !important;
  line-height:1.5 !important;
  font-weight:500 !important;
  letter-spacing:-.01em;
  color:rgba(255,255,255,.68) !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  transition:color .18s ease;
}

.footer-contact-link:hover .footer-contact-link__value{
  color:#fff !important;
}

@media (max-width:1180px){
  .footer-links-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .footer-contact-column{
    grid-column:1 / -1;
    max-width:460px;
  }
}

@media (max-width:720px){
  .footer-contact-column{
    max-width:none;
  }
}

.event-member-access-form__actions{
  justify-items:stretch !important;
}

.event-member-access-form__secondary{
  display:flex !important;
  width:100% !important;
  min-height:56px !important;
  padding:0 22px !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1.2 !important;
  text-transform:none !important;
  letter-spacing:-.01em !important;
  font-size:.9rem !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.1) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  box-shadow:0 18px 38px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.event-member-access-form__secondary:hover{
  border-color:rgba(255,255,255,.16) !important;
  background:linear-gradient(180deg, rgba(245,5,56,.075), rgba(255,255,255,.03)) !important;
  box-shadow:0 24px 44px rgba(0,0,0,.22), 0 0 0 1px rgba(245,5,56,.06), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.admin-body .btn,
.admin-body .btn-primary,
.admin-body .btn-ghost,
.admin-body .operator-utility-pill{
  border-radius:16px !important;
  box-shadow:0 18px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

.admin-body .btn-ghost,
.admin-body .operator-utility-pill{
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026)) !important;
  border-color:rgba(255,255,255,.11) !important;
}

.admin-body .btn-primary{
  background:linear-gradient(180deg, #f50538 0%, #cb0a33 60%, #a8072a 100%) !important;
  border-color:rgba(245,5,56,.34) !important;
  box-shadow:0 22px 44px rgba(245,5,56,.18), 0 18px 34px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.09) !important;
}

.admin-body .btn:hover,
.admin-body .btn-primary:hover,
.admin-body .btn-ghost:hover,
.admin-body .operator-utility-pill:hover{
  box-shadow:0 28px 50px rgba(0,0,0,.24), 0 0 0 1px rgba(245,5,56,.08), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.admin-body div.rounded-md.border,
.admin-body article.rounded-md.border,
.admin-body a.rounded-md.border{
  border-radius:18px !important;
  border-color:rgba(255,255,255,.085) !important;
  background:
    radial-gradient(circle at top right, rgba(245,5,56,.065), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.024)) !important;
  box-shadow:0 22px 44px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter:blur(12px);
}

.admin-body a.rounded-md.border:hover,
.admin-body article.rounded-md.border:hover{
  border-color:rgba(255,255,255,.13) !important;
  box-shadow:0 30px 56px rgba(0,0,0,.24), 0 0 0 1px rgba(245,5,56,.07), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* --- pass10 targeted fixes: footer vertical stack, public premium utility surfaces, full-height admin shell --- */
.footer-contact-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:14px !important;
}

.footer-contact-link{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:5px !important;
  width:100% !important;
  min-height:auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.footer-contact-link__label,
.footer-contact-link__value{
  display:block !important;
  width:100% !important;
}

.footer-contact-link__label{
  margin:0 !important;
  min-width:0 !important;
}

.footer-contact-link__value{
  margin-top:0 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  color:rgba(255,255,255,.68) !important;
}

.footer-contact-link:hover .footer-contact-link__value{
  color:#fff !important;
}

@media (min-width:1280px){
  .footer-links-grid{
    grid-template-columns:minmax(0,.92fr) minmax(0,.92fr) minmax(360px,1.22fr) !important;
    column-gap:clamp(30px,4vw,56px) !important;
  }
}

@media (max-width:1180px){
  .footer-contact-column{
    grid-column:1 / -1;
    max-width:520px;
  }
}

.site-body main div.rounded-md.border,
.site-body main article.rounded-md.border,
.site-body main a.rounded-md.border{
  border-radius:18px !important;
  border-color:rgba(255,255,255,.085) !important;
  background:
    radial-gradient(circle at top right, rgba(245,5,56,.055), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.024)) !important;
  box-shadow:0 22px 44px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter:blur(12px);
}

.site-body main a.rounded-md.border:hover,
.site-body main article.rounded-md.border:hover,
.site-body main div.rounded-md.border:hover{
  border-color:rgba(255,255,255,.13) !important;
  box-shadow:0 30px 56px rgba(0,0,0,.24), 0 0 0 1px rgba(245,5,56,.06), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.admin-body .operator-shell{
  min-height:100dvh !important;
  padding:0 !important;
  grid-template-columns:300px minmax(0,1fr) !important;
  align-items:stretch !important;
}

.admin-body .operator-sidebar{
  position:sticky !important;
  top:0 !important;
  left:0 !important;
  align-self:stretch !important;
  min-height:100dvh !important;
  height:100dvh !important;
  margin:0 !important;
  padding:24px 16px 24px !important;
  border-radius:0 24px 24px 0 !important;
}

.admin-body .operator-main{
  min-height:100dvh !important;
  padding:24px 32px 44px !important;
}

.admin-body .operator-header{
  margin-bottom:16px !important;
  padding-top:2px !important;
}

@media (max-width:1024px){
  .admin-body .operator-shell{
    min-height:auto !important;
    padding:92px 0 32px !important;
    display:block !important;
  }

  .admin-body .operator-sidebar{
    position:fixed !important;
    top:92px !important;
    bottom:0 !important;
    left:0 !important;
    width:min(88vw,360px) !important;
    min-height:auto !important;
    height:auto !important;
    border-radius:0 20px 20px 0 !important;
    padding:20px 14px 22px !important;
  }

  .admin-body .operator-main{
    min-height:auto !important;
    padding:0 16px 32px !important;
  }
}


/* --- pass11 premium replacement for residual rounded white-border surfaces across public + admin --- */
:where(.site-body main, .admin-body .operator-main) :is(a, button, div, article, section).rounded.border[class*="border-white"],
:where(.site-body main, .admin-body .operator-main) :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
:where(.site-body main, .admin-body .operator-main) :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]{
  border-color:rgba(255,255,255,.09) !important;
  background:
    radial-gradient(circle at top right, rgba(245,5,56,.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.024)) !important;
  box-shadow:0 22px 44px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.045) !important;
  backdrop-filter:blur(12px);
}

:where(.site-body main, .admin-body .operator-main) :is(a, button).rounded.border[class*="border-white"]:hover,
:where(.site-body main, .admin-body .operator-main) :is(a, button).rounded-md.border[class*="border-white"]:hover,
:where(.site-body main, .admin-body .operator-main) :is(a, button).rounded-2xl.border[class*="border-white"]:hover,
:where(.site-body main, .admin-body .operator-main) :is(div, article, section).rounded.border[class*="border-white"]:hover,
:where(.site-body main, .admin-body .operator-main) :is(div, article, section).rounded-md.border[class*="border-white"]:hover,
:where(.site-body main, .admin-body .operator-main) :is(div, article, section).rounded-2xl.border[class*="border-white"]:hover{
  border-color:rgba(255,255,255,.14) !important;
  box-shadow:0 30px 56px rgba(0,0,0,.24), 0 0 0 1px rgba(245,5,56,.07), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

:where(.site-body main, .admin-body .operator-main) :is(a, button).rounded.border[class*="border-white"],
:where(.site-body main, .admin-body .operator-main) :is(a, button).rounded-md.border[class*="border-white"]{
  border-radius:16px !important;
}

:where(.site-body main, .admin-body .operator-main) :is(div, article, section).rounded-md.border[class*="border-white"],
:where(.site-body main, .admin-body .operator-main) :is(a).rounded-md.border[class*="border-white"]{
  border-radius:18px !important;
}

/* --- pass13 refined premium override for residual white-border surfaces on public + admin --- */
body:not(.admin-body) main :is(a, button, div, article, section).rounded.border[class*="border-white"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]{
  border-color: #2a2a2a !important;
  background: #141414 !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.026) 0%, rgba(255,255,255,.012) 100%),
    radial-gradient(130% 130% at 100% 0%, rgba(245,5,56,.055) 0%, rgba(245,5,56,0) 32%) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.028),
    0 0 0 1px rgba(255,255,255,.01) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  overflow: hidden !important;
}

body:not(.admin-body) main :is(a, button).rounded.border[class*="border-white"],
body:not(.admin-body) main :is(a, button).rounded-md.border[class*="border-white"],
body:not(.admin-body) main :is(a, button).rounded-2xl.border[class*="border-white"],
body.admin-body .operator-main :is(a, button).rounded.border[class*="border-white"],
body.admin-body .operator-main :is(a, button).rounded-md.border[class*="border-white"],
body.admin-body .operator-main :is(a, button).rounded-2xl.border[class*="border-white"]{
  border-radius: 14px !important;
}

body:not(.admin-body) main :is(div, article, section, a).rounded-md.border[class*="border-white"],
body:not(.admin-body) main :is(div, article, section, a).rounded-2xl.border[class*="border-white"],
body.admin-body .operator-main :is(div, article, section, a).rounded-md.border[class*="border-white"],
body.admin-body .operator-main :is(div, article, section, a).rounded-2xl.border[class*="border-white"]{
  border-radius: 14px !important;
}

body:not(.admin-body) main :is(a, button, div, article, section).rounded.border[class*="border-white"]:hover,
body:not(.admin-body) main :is(a, button, div, article, section).rounded-md.border[class*="border-white"]:hover,
body:not(.admin-body) main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]:hover,
body.admin-body .operator-main :is(a, button, div, article, section).rounded.border[class*="border-white"]:hover,
body.admin-body .operator-main :is(a, button, div, article, section).rounded-md.border[class*="border-white"]:hover,
body.admin-body .operator-main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]:hover{
  border-color: rgba(245,5,56,.20) !important;
  background: #141414 !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.014) 100%),
    radial-gradient(130% 130% at 100% 0%, rgba(245,5,56,.08) 0%, rgba(245,5,56,0) 34%) !important;
  box-shadow:
    0 18px 38px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.032),
    0 0 22px rgba(245,5,56,.07) !important;
}

/* --- pass14 exact alignment with native dark cards used on homepage brand/sequence blocks --- */
body:not(.admin-body) main :is(a, button, div, article, section).rounded.border[class*="border-white"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]{
  background:#141414 !important;
  background-image:none !important;
  border-color:#2a2a2a !important;
  border-radius:16px !important;
  box-shadow:0 16px 34px rgba(0,0,0,.18) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}

body:not(.admin-body) main :is(a, button, div, article, section).rounded.border[class*="border-white"][class*="bg-white/"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-md.border[class*="border-white"][class*="bg-white/"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"][class*="bg-white/"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded.border[class*="border-white"][class*="bg-white/"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-md.border[class*="border-white"][class*="bg-white/"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"][class*="bg-white/"]{
  background:#141414 !important;
}

body:not(.admin-body) main :is(a, button, div, article, section).rounded.border[class*="border-white"]:hover,
body:not(.admin-body) main :is(a, button, div, article, section).rounded-md.border[class*="border-white"]:hover,
body:not(.admin-body) main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]:hover,
body.admin-body .operator-main :is(a, button, div, article, section).rounded.border[class*="border-white"]:hover,
body.admin-body .operator-main :is(a, button, div, article, section).rounded-md.border[class*="border-white"]:hover,
body.admin-body .operator-main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]:hover{
  background:#141414 !important;
  background-image:none !important;
  border-color:#2a2a2a !important;
  box-shadow:0 18px 36px rgba(0,0,0,.22) !important;
}

/* --- pass15 tighten residual white-border surfaces to true rounded-md feel --- */
body:not(.admin-body) main :is(a, button, div, article, section).rounded.border[class*="border-white"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
body:not(.admin-body) main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-md.border[class*="border-white"],
body.admin-body .operator-main :is(a, button, div, article, section).rounded-2xl.border[class*="border-white"]{
  border-radius: 0.375rem !important;
}


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

.club-identity-copy {
  align-self: start;
}

.club-standard-grid,
.club-review-strip,
.ops-playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.club-standard-card {
  display: grid;
  gap: .65rem;
  padding: 1.25rem 1.15rem;
  border-radius: .375rem;
  border: 1px solid #2a2a2a;
  background: #141414;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.club-standard-card__index {
  font-family: "JetBrains Mono", monospace;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8a8d8f;
}

.club-standard-card__title {
  font-size: .96rem;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 700;
  color: #fff;
}

.club-standard-card__body {
  font-size: .87rem;
  line-height: 1.65;
  color: rgba(196, 196, 198, 0.82);
}

.club-note-panel {
  border: 1px solid #2a2a2a;
  border-radius: .375rem;
  padding: 1.25rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(14, 14, 14, 0.96)),
    radial-gradient(circle at top right, rgba(245, 5, 56, 0.08), transparent 34%);
}

.club-note-panel--compact {
  padding: 1rem 1rem 1.05rem;
}

.club-access-summary {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.club-access-summary > div,
.member-passport-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem .9rem;
  border-radius: .375rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255,255,255,0.02);
}

.club-access-summary span,
.member-passport-list span {
  color: #8a8d8f;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.club-access-summary strong,
.member-passport-list strong {
  color: rgba(255,255,255,0.9);
  font-size: .82rem;
  text-align: right;
}

.member-lounge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
}

.member-lounge-hero__copy,
.member-passport-card {
  border-radius: .375rem;
  border: 1px solid #2a2a2a;
  background: #141414;
}

.member-lounge-hero__copy {
  padding: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(245,5,56,0.09), transparent 36%),
    linear-gradient(180deg, rgba(17,18,20,0.98), rgba(20,20,20,0.98));
}

.member-lounge-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.member-passport-card {
  padding: 1.4rem;
}

.member-passport-card__machine {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 700;
  color: #fff;
}

.ops-playbook-grid {
  margin-top: .75rem;
}

@media (max-width: 1100px) {
  .club-identity-grid,
  .member-lounge-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .club-standard-grid,
  .club-review-strip,
  .ops-playbook-grid {
    grid-template-columns: 1fr;
  }

  .member-lounge-hero__copy,
  .member-passport-card {
    padding: 1.25rem;
  }
}

/* ===== ADMIN SHELL RESET / HOMEPAGE PARITY FINAL ===== */
body.admin-body{
  background:#090909;
  color:#f4f5f7;
}
body.admin-body .site-header,
body.admin-body [data-header]{
  display:none !important;
}
body.admin-body .grain-overlay{
  opacity:.18;
}
body.admin-body .admin-atmosphere{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
}
body.admin-body .admin-atmosphere__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.22;
  transform:scale(1.03);
  filter:saturate(.92) contrast(1.02);
}
body.admin-body .admin-atmosphere__veil{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(9,9,9,.18) 0%, rgba(9,9,9,.56) 42%, rgba(9,9,9,.82) 100%),
    linear-gradient(90deg, rgba(9,9,9,.74) 0%, rgba(9,9,9,.38) 38%, rgba(9,9,9,.72) 100%);
}
body.admin-body .admin-atmosphere__glow{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 15%, rgba(245,5,56,.14), transparent 30%), radial-gradient(circle at 75% 25%, rgba(255,255,255,.06), transparent 28%);
}
body.admin-body .operator-shell{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 296px minmax(0, 1fr);
  min-height:100vh;
  align-items:start;
}
body.admin-body .operator-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  padding:22px 18px 22px 18px;
  border-right:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(17,17,17,.72) 0%, rgba(13,13,13,.66) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow:hidden;
  display:block;
  transform:none !important;
}
body.admin-body .operator-sidebar__inner{
  display:flex;
  flex-direction:column;
  height:100%;
  gap:18px;
}
body.admin-body .operator-brand-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px;
  border:1px solid #2a2a2a;
  border-radius:12px;
  background:rgba(20,20,20,.74);
  text-decoration:none;
}
body.admin-body .operator-brand-card__mark,
body.admin-body .admin-mobilebar__mark{
  width:36px;
  height:36px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background:linear-gradient(180deg,#f50538,#b4072c);
  color:#fff;
  box-shadow:0 14px 30px rgba(245,5,56,.18);
}
body.admin-body .operator-brand-card__title{
  font-weight:800;
  letter-spacing:-.02em;
  color:#fff;
}
body.admin-body .operator-brand-card__meta{
  margin-top:4px;
  font-size:12px;
  line-height:1.45;
  color:rgba(255,255,255,.58);
}
body.admin-body .operator-nav{
  flex:1;
  min-height:0;
  overflow:auto;
  padding-right:4px;
}
body.admin-body .operator-nav::-webkit-scrollbar{width:6px;}
body.admin-body .operator-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.08);border-radius:999px;}
body.admin-body .operator-nav__group + .operator-nav__group{margin-top:18px;}
body.admin-body .operator-nav__group-title{
  margin:0 0 8px;
  padding:0 10px;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.4);
  font-weight:700;
}
body.admin-body .operator-nav__stack{
  display:flex;
  flex-direction:column;
  gap:6px;
}
body.admin-body .operator-nav__link{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  border:1px solid transparent;
  border-radius:12px;
  text-decoration:none;
  color:#fff;
  background:transparent;
  transition:background .18s ease,border-color .18s ease, transform .18s ease;
}
body.admin-body .operator-nav__link:hover{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.06);
}
body.admin-body .operator-nav__link.is-active{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-color:#2a2a2a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
body.admin-body .operator-nav__text{display:block; min-width:0;}
body.admin-body .operator-nav__label{display:block; font-weight:700; letter-spacing:-.015em; line-height:1.15;}
body.admin-body .operator-nav__meta{display:block; margin-top:4px; font-size:11px; line-height:1.35; color:rgba(255,255,255,.45);}
body.admin-body .operator-nav__badge{
  display:inline-flex;
  min-width:1.35rem;
  justify-content:center;
  padding:.18rem .38rem;
  border-radius:999px;
  background:#f50538;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:1;
  box-shadow:0 10px 24px rgba(245,5,56,.18);
}
body.admin-body .operator-sidebar__utility{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.06);
}
body.admin-body .operator-utility-link{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border:1px solid #2a2a2a;
  border-radius:12px;
  background:rgba(20,20,20,.72);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
body.admin-body .operator-utility-link--danger{border-color:rgba(245,5,56,.34);}
body.admin-body .operator-sidebar__backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.62);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:39;
}
body.admin-body .operator-main{
  min-width:0;
  padding:28px 28px 40px;
}
body.admin-body .admin-mobilebar{display:none;}
body.admin-body .admin-page-shell{
  position:relative;
  min-height:100vh;
}
body.admin-body .admin-page-container{
  width:min(100%, 1380px);
  margin:0 auto;
}
body.admin-body .ops-page,
body.admin-body .admin-overview-page{
  width:100%;
  max-width:none;
  margin:0;
}
body.admin-body .ops-page > * + *,
body.admin-body .admin-overview-page > * + *{
  margin-top:24px;
}
body.admin-body .ops-overview-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(360px, 520px);
  gap:18px;
  align-items:stretch;
}
body.admin-body .ops-overview-intro,
body.admin-body .ops-feature-card,
body.admin-body .ops-panel,
body.admin-body .ops-tool-tile,
body.admin-body .ops-priority-card,
body.admin-body .ops-stage-card,
body.admin-body .ops-hero,
body.admin-body .ops-guide__card,
body.admin-body .ops-manager,
body.admin-body .ops-manager > .ops-panel,
body.admin-body .ops-surface,
body.admin-body .ops-table{
  border:1px solid #2a2a2a !important;
  border-radius:10px !important;
  background:rgba(20,20,20,.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:0 18px 48px rgba(0,0,0,.16);
}
body.admin-body .ops-overview-intro{
  padding:26px;
}
body.admin-body .ops-overview-intro h1{
  margin:0;
  font-size:clamp(2rem, 3.2vw, 3rem);
  line-height:1;
  letter-spacing:-.04em;
  font-weight:800;
}
body.admin-body .ops-overview-intro p:last-of-type{
  margin-top:12px;
  max-width:44rem;
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.62);
}
body.admin-body .ops-overview-actions{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
body.admin-body .ops-feature-card{overflow:hidden;}
body.admin-body .ops-feature-card__media{position:relative; min-height:420px;}
body.admin-body .ops-feature-card__media img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
body.admin-body .ops-feature-card__overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.76) 100%);}
body.admin-body .ops-feature-card__headline{position:absolute; left:0; right:0; bottom:0; padding:22px;}
body.admin-body .ops-feature-card__headline h2{margin:0; font-size:1.9rem; line-height:1; letter-spacing:-.03em; font-weight:800;}
body.admin-body .ops-feature-card__body{padding:0;}
body.admin-body .ops-feature-card__meta-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid #2a2a2a;}
body.admin-body .ops-feature-card__meta-grid > div{padding:16px; border-right:1px solid #2a2a2a; border-bottom:1px solid #2a2a2a;}
body.admin-body .ops-feature-card__meta-grid > div:nth-child(2n){border-right:none;}
body.admin-body .ops-feature-card__meta-grid p:last-child{font-weight:600; line-height:1.45;}
body.admin-body .ops-metric-strip{
  border:1px solid #2a2a2a;
  border-radius:10px;
  background:rgba(10,10,10,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding:18px 20px;
}
body.admin-body .ops-metric-strip__grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px;}
body.admin-body .ops-metric-strip__item span{display:block; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.42); font-family:"JetBrains Mono", monospace;}
body.admin-body .ops-metric-strip__item strong{display:block; margin-top:8px; font-size:1.7rem; line-height:1; letter-spacing:-.03em;}
body.admin-body .ops-priority-grid,
body.admin-body .ops-tool-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;}
body.admin-body .ops-priority-card,
body.admin-body .ops-tool-tile{padding:18px; text-decoration:none; color:#fff; position:relative;}
body.admin-body .ops-priority-card__index{display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; border:1px solid #2a2a2a; border-radius:8px; color:rgba(255,255,255,.42); font-size:11px; font-family:"JetBrains Mono", monospace; margin-bottom:14px;}
body.admin-body .ops-priority-card h3,
body.admin-body .ops-tool-tile h4{margin:0; font-size:1.05rem; line-height:1.2; letter-spacing:-.02em; font-weight:800;}
body.admin-body .ops-priority-card p,
body.admin-body .ops-tool-tile__body,
body.admin-body .ops-tool-tile__meta{margin-top:8px; color:rgba(255,255,255,.58); font-size:14px; line-height:1.55;}
body.admin-body .ops-priority-card__count{position:absolute; top:18px; right:18px; display:inline-flex; min-width:30px; justify-content:center; padding:.32rem .5rem; border-radius:999px; background:rgba(245,5,56,.16); color:#fff; font-size:11px; font-weight:700;}
body.admin-body .ops-section-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px;}
body.admin-body .ops-panel{padding:22px;}
body.admin-body .ops-panel__head h3{margin:4px 0 0; font-size:1.35rem; line-height:1.1; letter-spacing:-.03em; font-weight:800;}
body.admin-body .ops-stage-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:18px;}
body.admin-body .ops-stage-card{padding:16px;}
body.admin-body .ops-stage-card p{margin:0; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.42); font-family:"JetBrains Mono", monospace;}
body.admin-body .ops-stage-card strong{display:block; margin-top:10px; font-size:1.6rem; line-height:1; letter-spacing:-.03em;}
body.admin-body .ops-feed{display:flex; flex-direction:column; gap:12px; margin-top:18px;}
body.admin-body .ops-feed__item{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid rgba(255,255,255,.06);}
body.admin-body .ops-feed__item:first-child{border-top:none; padding-top:0;}
body.admin-body .ops-feed__title{margin:0; font-weight:700;}
body.admin-body .ops-feed__meta{margin-top:4px; color:rgba(255,255,255,.58); font-size:13px; line-height:1.5;}
body.admin-body .ops-empty{color:rgba(255,255,255,.5);}
body.admin-body .section-kicker{font-family:"JetBrains Mono", monospace; letter-spacing:.16em; text-transform:uppercase; font-size:10px; color:rgba(255,255,255,.42);}
body.admin-body .btn,
body.admin-body button.btn,
body.admin-body a.btn{
  border-radius:10px !important;
}
body.admin-body .btn.btn-primary{
  background:#f50538;
  color:#fff;
  border:1px solid rgba(245,5,56,.45);
}
body.admin-body .btn.btn-ghost{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}
body.admin-body .ops-hero,
body.admin-body .ops-guide__grid,
body.admin-body .ops-manager,
body.admin-body .ops-page > form,
body.admin-body .ops-page > section,
body.admin-body .ops-page > div{
  max-width:none;
}
body.admin-body .ops-guide__grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
body.admin-body .ops-guide__card{padding:18px;}
body.admin-body .ops-hero{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding:22px;}
body.admin-body .ops-hero__copy{max-width:52rem;}
body.admin-body .ops-hero__copy h2{margin:4px 0 0; font-size:2rem; line-height:1.02; letter-spacing:-.04em;}
body.admin-body .ops-hero__copy p:last-child{margin-top:12px; color:rgba(255,255,255,.6); line-height:1.6;}
body.admin-body .ops-manager{display:flex; flex-direction:column; gap:18px;}
body.admin-body .ops-field input,
body.admin-body .ops-field textarea,
body.admin-body .ops-field select{
  border-radius:10px;
  border:1px solid #2a2a2a;
  background:rgba(10,10,10,.72);
}
@media (max-width: 1280px){
  body.admin-body .ops-priority-grid,
  body.admin-body .ops-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.admin-body .ops-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 1024px){
  body.admin-body .operator-shell{grid-template-columns:1fr;}
  body.admin-body .operator-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:min(86vw, 320px);
    z-index:40;
    transform:translateX(-110%);
    transition:transform .22s ease;
    box-shadow:0 18px 48px rgba(0,0,0,.35);
  }
  body.admin-body .operator-sidebar.is-open{transform:translateX(0);}
  body.admin-body .operator-sidebar__backdrop{display:block;}
  body.admin-body.operator-nav-open .operator-sidebar__backdrop{opacity:1; visibility:visible; pointer-events:auto;}
  body.admin-body .operator-main{padding:16px 16px 28px;}
  body.admin-body .admin-mobilebar{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 0 18px;}
  body.admin-body .admin-mobilebar__brand{display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-weight:700;}
  body.admin-body .admin-mobilebar__toggle{width:44px; height:44px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(20,20,20,.64);}
  body.admin-body .admin-page-container{width:min(100%, 100%);}
  body.admin-body .ops-overview-grid,
  body.admin-body .ops-section-grid,
  body.admin-body .ops-guide__grid{grid-template-columns:1fr;}
}
@media (max-width: 820px){
  body.admin-body .ops-metric-strip__grid,
  body.admin-body .ops-priority-grid,
  body.admin-body .ops-tool-grid,
  body.admin-body .ops-stage-grid{grid-template-columns:1fr;}
  body.admin-body .ops-feature-card__media{min-height:320px;}
  body.admin-body .ops-feature-card__meta-grid{grid-template-columns:1fr;}
  body.admin-body .ops-feature-card__meta-grid > div{border-right:none;}
}

/* --- 2026-04 targeted recovery: overview feature, public mobile nav/footer, admin mobile drawer --- */
body.mobile-nav-open,
body.operator-nav-open{
  overflow:hidden;
}

/* Public footer: stable stacked contact rows on mobile */
.footer-contact-stack{
  display:grid !important;
  gap:10px !important;
}
.footer-contact-link{
  display:grid !important;
  grid-template-columns:84px minmax(0,1fr) !important;
  align-items:start !important;
  gap:14px !important;
  width:100% !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.footer-contact-link__label{
  display:block !important;
  min-width:84px !important;
  color:rgba(138,141,143,.92) !important;
}
.footer-contact-link__value{
  display:block !important;
  min-width:0 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  word-break:break-word !important;
  color:rgba(255,255,255,.82) !important;
}
@media (max-width: 720px){
  .footer-links-grid{
    gap:18px !important;
  }
  .footer-contact-column{
    grid-column:1 / -1 !important;
  }
  .footer-contact-link{
    grid-template-columns:74px minmax(0,1fr) !important;
    gap:12px !important;
  }
  .footer-contact-link__label{
    min-width:74px !important;
  }
}

/* Public mobile menu: stable drawer */
.mobile-site-nav{
  position:fixed !important;
  inset:0 !important;
  z-index:120 !important;
  display:none !important;
}
.mobile-site-nav.is-open{
  display:block !important;
}
.mobile-site-nav__panel{
  overflow-y:auto !important;
  overscroll-behavior:contain;
}
.mobile-site-nav__section,
.mobile-site-nav__section--utility{
  display:grid;
  gap:0;
}
.mobile-site-nav__link{
  min-height:50px !important;
}

/* Admin overview top card */
body.admin-body .ops-overview-grid{
  grid-template-columns:minmax(0, 1fr) minmax(380px, 520px) !important;
  align-items:stretch !important;
}
body.admin-body .ops-overview-intro{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
}
body.admin-body .ops-feature-card{
  display:grid;
  grid-template-rows:auto auto;
  overflow:hidden;
}
body.admin-body .ops-feature-card__media{
  min-height:420px;
  aspect-ratio:4 / 5;
}
body.admin-body .ops-feature-card__headline{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:100%;
}
body.admin-body .ops-feature-card__headline h2{
  max-width:15ch;
}
body.admin-body .ops-feature-card__meta-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
body.admin-body .ops-feature-card__meta-grid > div{
  min-height:78px;
}

/* Admin mobile drawer: hidden by default, closable, no sticky-open state */
body.admin-body .operator-sidebar__head{
  display:none;
}
body.admin-body .operator-sidebar__head-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
body.admin-body .operator-sidebar__head-title{
  font-weight:700;
  letter-spacing:-.02em;
  color:#fff;
}
body.admin-body .operator-sidebar__close{
  position:relative;
  display:inline-flex;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  color:#fff;
}
body.admin-body .operator-sidebar__close span{
  position:absolute;
  width:13px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
body.admin-body .operator-sidebar__close span:first-child{transform:rotate(45deg);}
body.admin-body .operator-sidebar__close span:last-child{transform:rotate(-45deg);}

@media (max-width: 1024px){
  body.admin-body .operator-sidebar{
    inset:0 auto 0 0 !important;
    width:min(84vw, 320px) !important;
    transform:translateX(-108%) !important;
    overflow:hidden !important;
  }
  body.admin-body .operator-sidebar.is-open{
    transform:translateX(0) !important;
  }
  body.admin-body .operator-sidebar__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  body.admin-body .operator-brand-card{
    display:none !important;
  }
  body.admin-body .operator-nav{
    overflow:auto !important;
    padding-right:2px;
  }
  body.admin-body .operator-sidebar__utility{
    margin-top:auto;
  }
  body.admin-body .ops-overview-grid{
    grid-template-columns:1fr !important;
  }
  body.admin-body .ops-feature-card__media{
    min-height:300px;
    aspect-ratio:16 / 10;
  }
  body.admin-body .ops-feature-card__headline h2{
    max-width:none;
  }
}


/* Admin overview intro repair */
body.admin-body .ops-overview-grid{
  grid-template-columns:minmax(0, 1.02fr) minmax(360px, 500px) !important;
  gap:18px !important;
  align-items:stretch !important;
}
body.admin-body .ops-overview-intro{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  align-self:stretch !important;
  gap:16px !important;
  min-height:0 !important;
}
body.admin-body .ops-overview-intro p:last-of-type{
  max-width:34rem !important;
  margin-top:0 !important;
}
body.admin-body .ops-overview-actions{
  margin-top:2px !important;
  align-items:center;
}
body.admin-body .ops-feature-card{
  align-self:stretch;
}
body.admin-body .ops-feature-card__media{
  min-height:360px !important;
}
body.admin-body .ops-feature-card__headline{
  padding:18px !important;
}
body.admin-body .ops-feature-card__headline h2{
  font-size:1.55rem !important;
  line-height:1.02 !important;
  max-width:14ch !important;
}
body.admin-body .ops-feature-card__meta-grid > div{
  min-height:72px !important;
}

@media (max-width: 1024px){
  body.admin-body .ops-overview-grid{
    grid-template-columns:1fr !important;
  }
  body.admin-body .ops-overview-intro{
    gap:14px !important;
  }
  body.admin-body .ops-feature-card__media{
    min-height:260px !important;
    aspect-ratio:16 / 10 !important;
  }
}

/* --- 2026-04-08 targeted restore: keep dashboard baseline, fix only admin overview intro + admin mobile menu icon --- */
body.admin-body .admin-overview-intro{
  display:grid;
  grid-template-columns:minmax(0,0.92fr) minmax(360px,1.08fr);
  gap:22px;
  align-items:stretch;
  max-width:1380px;
  margin:0 auto 24px;
}

body.admin-body .admin-overview-intro > *{min-width:0;}

body.admin-body .admin-overview-intro__surface,
body.admin-body .admin-overview-intro__feature{
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:linear-gradient(180deg, rgba(17,18,20,.74), rgba(12,13,15,.62));
  backdrop-filter:blur(18px) saturate(138%);
  box-shadow:0 24px 60px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.03);
  overflow:hidden;
}

body.admin-body .admin-overview-intro__surface{
  padding:28px 30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

body.admin-body .admin-overview-intro__surface h1{
  max-width:11ch;
  margin:0;
  font-size:clamp(2rem, 2.7vw, 2.75rem);
  line-height:1.02;
}

body.admin-body .admin-overview-intro__surface > p:not(.section-kicker){
  max-width:34ch;
  margin-top:12px;
  color:rgba(255,255,255,.72);
  line-height:1.62;
}

body.admin-body .admin-overview-intro__surface .mt-6{
  margin-top:22px !important;
}

body.admin-body .admin-overview-intro__feature{
  display:grid;
  grid-template-rows:minmax(360px,1fr) auto;
}

body.admin-body .admin-overview-intro__media{
  position:relative;
  min-height:360px;
  overflow:hidden;
}

body.admin-body .admin-overview-intro__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

body.admin-body .admin-overview-intro__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.68));
}

body.admin-body .admin-overview-intro__caption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:22px 22px 20px;
}

body.admin-body .admin-overview-intro__caption h2{
  margin:0;
  max-width:16ch;
  font-size:1.4rem;
  line-height:1.05;
}

body.admin-body .admin-overview-intro__stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

body.admin-body .admin-overview-intro__stat{
  min-width:0;
  padding:15px 16px;
  border-top:1px solid #2a2a2a;
}

body.admin-body .admin-overview-intro__stat:nth-child(2n){
  border-left:1px solid #2a2a2a;
}

body.admin-body .admin-mobile-bar__toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  min-width:44px;
  height:44px;
  padding:0;
  border-radius:8px;
  font-size:0;
  line-height:0;
  color:#fff;
  overflow:hidden;
}

body.admin-body .admin-mobile-bar__toggle span{
  display:block;
  width:18px;
  height:2px;
  margin:3px auto;
  border-radius:999px;
  background:currentColor;
  transition:transform 180ms ease, opacity 180ms ease;
}

body.admin-body .admin-mobile-bar__toggle.is-open span:nth-child(1){
  transform:translateY(5px) rotate(45deg);
}

body.admin-body .admin-mobile-bar__toggle.is-open span:nth-child(2){
  opacity:0;
}

body.admin-body .admin-mobile-bar__toggle.is-open span:nth-child(3){
  transform:translateY(-5px) rotate(-45deg);
}

@media (max-width: 1180px){
  body.admin-body .admin-overview-intro{
    grid-template-columns:minmax(0,1fr);
  }

  body.admin-body .admin-overview-intro__feature{
    grid-template-rows:minmax(300px,1fr) auto;
  }

  body.admin-body .admin-overview-intro__media{
    min-height:300px;
  }
}

@media (max-width: 720px){
  body.admin-body .admin-overview-intro{
    gap:16px;
  }

  body.admin-body .admin-overview-intro__surface{
    padding:20px 18px;
  }

  body.admin-body .admin-overview-intro__feature{
    grid-template-rows:minmax(260px,1fr) auto;
  }

  body.admin-body .admin-overview-intro__media{
    min-height:260px;
  }

  body.admin-body .admin-overview-intro__caption{
    padding:18px 16px 16px;
  }

  body.admin-body .admin-overview-intro__caption h2{
    max-width:none;
    font-size:1.2rem;
  }

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

  body.admin-body .admin-overview-intro__stat:nth-child(2n){
    border-left:0;
  }
}

/* --- 2026-04-08 final targeted admin overview proportion fix --- */
body.admin-body .admin-overview-intro{
  align-items:start !important;
  grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr) !important;
}

body.admin-body .admin-overview-intro__surface,
body.admin-body .admin-overview-intro__feature{
  align-self:start !important;
}

body.admin-body .admin-overview-intro__feature{
  grid-template-rows:auto auto !important;
}

body.admin-body .admin-overview-intro__media{
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:16 / 8.4 !important;
}

body.admin-body .admin-overview-intro__media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}

body.admin-body .admin-overview-intro__caption{
  padding:18px 18px 16px !important;
}

body.admin-body .admin-overview-intro__caption h2{
  max-width:18ch !important;
  font-size:1.22rem !important;
  line-height:1.06 !important;
}

body.admin-body .admin-overview-intro__stat{
  padding:13px 14px !important;
}

@media (max-width: 1180px){
  body.admin-body .admin-overview-intro{
    grid-template-columns:minmax(0,1fr) !important;
  }

  body.admin-body .admin-overview-intro__media{
    aspect-ratio:16 / 9.5 !important;
  }
}

@media (max-width: 720px){
  body.admin-body .admin-overview-intro__media{
    aspect-ratio:16 / 10.5 !important;
  }

  body.admin-body .admin-overview-intro__caption h2{
    font-size:1.08rem !important;
  }
}


/* --- 2026-04-08 admin overview surface height alignment patch --- */
body.admin-body .admin-overview-intro{
  align-items:stretch !important;
}

body.admin-body .admin-overview-intro__surface{
  padding:22px 22px 20px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  align-self:stretch !important;
  height:100% !important;
  min-height:100% !important;
}

body.admin-body .admin-overview-intro__surface .mt-6{
  margin-top:auto !important;
  padding-top:22px !important;
}

/* --- 2026-04-08 private chat page --- */
body.route-members-chat{
  --chat-surface:rgba(255,255,255,0.045);
  --chat-surface-strong:rgba(255,255,255,0.07);
  --chat-border:rgba(255,255,255,0.1);
  --chat-muted:rgba(244,245,247,0.56);
  --chat-accent:#f50538;
}

body.route-members-chat::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 15%, rgba(245,5,56,0.16), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(255,255,255,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  z-index:0;
}

.chat-hero{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,0.82fr);
  gap:28px;
  margin-bottom:28px;
  padding:34px;
  border:1px solid var(--chat-border);
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(12,12,12,0.88), rgba(10,10,10,0.96));
  box-shadow:0 24px 60px rgba(0,0,0,0.28);
  overflow:hidden;
}

.chat-hero::after{
  content:"";
  position:absolute;
  inset:auto -6% -24% auto;
  width:340px;
  height:340px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(245,5,56,0.22), rgba(245,5,56,0));
  pointer-events:none;
}

.chat-hero__copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width:720px;
}

.chat-hero__title{
  max-width:11ch;
  margin:0;
  font-size:clamp(2.3rem, 5.6vw, 4.6rem);
  line-height:0.92;
  letter-spacing:-0.05em;
}

.chat-hero__lead{
  max-width:52ch;
  margin:0;
  color:var(--chat-muted);
  font-size:1rem;
  line-height:1.7;
}

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

.chat-hero__matrix{
  position:relative;
  z-index:1;
  display:grid;
  gap:18px;
}

.chat-hero__metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.chat-hero__metric{
  display:grid;
  gap:8px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,0.09);
  border-radius:18px;
  background:rgba(255,255,255,0.035);
  backdrop-filter:blur(14px);
}

.chat-hero__metric small,
.chat-rule .mono{
  font-family:"JetBrains Mono", monospace;
  text-transform:uppercase;
  letter-spacing:0.16em;
}

.chat-hero__metric small{
  font-size:10px;
  color:rgba(244,245,247,0.46);
}

.chat-hero__metric strong{
  font-size:1.6rem;
  line-height:1;
}

.chat-hero__metric span{
  color:var(--chat-muted);
  font-size:0.86rem;
  line-height:1.5;
}

.chat-rule{
  display:grid;
  gap:12px;
  padding:18px 18px 20px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
}

.chat-rule__list{
  display:grid;
  gap:10px;
}

.chat-rule__list p{
  margin:0;
  color:rgba(244,245,247,0.68);
  line-height:1.6;
}

.chat-layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(280px,320px) minmax(0,1fr) minmax(260px,300px);
  gap:18px;
  align-items:stretch;
}

.chat-panel,
.chat-workspace{
  min-height:680px;
  border:1px solid var(--chat-border);
  border-radius:26px;
  background:linear-gradient(180deg, rgba(16,16,16,0.92), rgba(10,10,10,0.98));
  box-shadow:0 18px 44px rgba(0,0,0,0.24);
}

.chat-panel{
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.chat-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:20px 22px 18px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.chat-panel__head h2{
  margin:6px 0 0;
  font-size:1rem;
  font-weight:700;
  letter-spacing:-0.03em;
}

.chat-loading,
.chat-empty{
  margin:18px;
  padding:20px;
  border-radius:22px;
  border:1px dashed rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.025);
}

.chat-loading,
.chat-empty p{
  color:rgba(244,245,247,0.62);
  line-height:1.6;
}

.chat-empty strong{
  display:block;
  margin-bottom:8px;
  font-size:1rem;
  letter-spacing:-0.03em;
}

.chat-room-list{
  display:grid;
  gap:10px;
  padding:14px 16px 18px;
  overflow:auto;
}

.chat-room{
  width:100%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border:1px solid transparent;
  border-radius:20px;
  background:transparent;
  color:inherit;
  text-align:left;
  transition:border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.chat-room:hover{
  border-color:rgba(255,255,255,0.11);
  background:rgba(255,255,255,0.03);
  transform:translateY(-1px);
}

.chat-room.is-active{
  border-color:rgba(245,5,56,0.24);
  background:linear-gradient(180deg, rgba(245,5,56,0.12), rgba(255,255,255,0.02));
}

.chat-room__thumb,
.chat-stage__avatar,
.chat-message__avatar,
.chat-member-chip__avatar,
.chat-live-card__avatar,
.chat-mention-option__avatar{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:999px;
  color:#fff;
  font-weight:700;
  letter-spacing:0.03em;
  background:
    linear-gradient(135deg, var(--chat-avatar-accent, #f50538), rgba(255,255,255,0.14)),
    rgba(255,255,255,0.08);
}

.chat-room__thumb img,
.chat-stage__avatar img,
.chat-message__avatar img,
.chat-member-chip__avatar img,
.chat-live-card__avatar img,
.chat-mention-option__avatar img,
.chat-presence-pill__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.chat-avatar__status{
  position:absolute;
  right:2px;
  bottom:2px;
  width:10px;
  height:10px;
  border-radius:999px;
  border:2px solid #0f0f10;
  background:rgba(255,255,255,0.22);
}

.chat-avatar__status.is-online{
  background:#38c996;
  box-shadow:0 0 0 4px rgba(56,201,150,0.16);
}

.chat-room__thumb{
  width:42px;
  height:42px;
  font-size:0.82rem;
}

.chat-room__copy{
  min-width:0;
  display:grid;
  gap:6px;
}

.chat-room__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  color:rgba(244,245,247,0.72);
  font-size:0.77rem;
}

.chat-room__meta strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:0.95rem;
  letter-spacing:-0.02em;
  color:#fff;
}

.chat-room__badge,
.chat-room__unread{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:1.55rem;
  padding:0.2rem 0.45rem;
  border-radius:999px;
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.chat-room__badge{
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.05);
  color:rgba(255,255,255,0.78);
}

.chat-room__status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:rgba(244,245,247,0.48);
}

.chat-room__unread{
  background:rgba(245,5,56,0.18);
  color:#ffc0cd;
}

.chat-room__preview{
  display:block;
  color:rgba(244,245,247,0.52);
  font-size:0.82rem;
  line-height:1.5;
}

.chat-workspace{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto;
  overflow:hidden;
}

.chat-stage__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:24px 26px 18px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.chat-stage__identity{
  display:flex;
  gap:14px;
  align-items:flex-start;
  min-width:0;
}

.chat-stage__identity h2{
  margin:4px 0 6px;
  font-size:1.25rem;
  line-height:1.1;
  letter-spacing:-0.04em;
}

.chat-stage__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.chat-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.34rem 0.66rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.76);
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.chat-chip.is-live{
  border-color:rgba(56,201,150,0.22);
  background:rgba(56,201,150,0.12);
  color:#b9f1dd;
}

.chat-chip.is-admin{
  border-color:rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.chat-chip.is-frozen{
  border-color:rgba(245,5,56,0.22);
  background:rgba(245,5,56,0.12);
  color:#ffd1da;
}

.chat-chip.is-hot{
  border-color:rgba(245,5,56,0.24);
  background:rgba(245,5,56,0.14);
  color:#ffd1da;
}

.chat-chip.is-steady{
  border-color:rgba(253,107,77,0.22);
  background:rgba(253,107,77,0.12);
  color:#ffd6cb;
}

.chat-chip.is-quiet{
  border-color:rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.68);
}

.chat-stage__avatar{
  width:54px;
  height:54px;
  font-size:1rem;
  flex-shrink:0;
}

.chat-stage__feed{
  min-height:0;
  padding:20px 22px 0;
}

.chat-message-list{
  height:100%;
  min-height:460px;
  max-height:calc(100vh - 360px);
  display:flex;
  flex-direction:column;
  gap:16px;
  overflow:auto;
  padding-right:6px;
}

.chat-message{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:flex-start;
}

.chat-message--self{
  grid-template-columns:minmax(0,1fr) auto;
}

.chat-message--self .chat-message__avatar{
  order:2;
}

.chat-message--self .chat-message__stack{
  order:1;
  justify-self:end;
}

.chat-message__avatar{
  width:38px;
  height:38px;
  font-size:0.78rem;
  flex-shrink:0;
}

.chat-message__stack{
  display:grid;
  gap:6px;
  max-width:min(82%, 620px);
}

.chat-message--self .chat-message__meta{
  justify-content:flex-end;
}

.chat-message__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:0.76rem;
  color:rgba(244,245,247,0.48);
}

.chat-message__meta strong{
  color:#fff;
  font-size:0.85rem;
  letter-spacing:-0.02em;
}

.chat-message__flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.24rem 0.44rem;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.74);
  font-size:0.62rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.chat-message__flag.is-pit{
  background:rgba(245,5,56,0.14);
  color:#ffd1da;
}

.chat-message__bubble{
  padding:14px 16px;
  border-radius:18px 18px 18px 6px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(244,245,247,0.9);
  line-height:1.6;
  word-break:break-word;
}

.chat-message--self .chat-message__bubble{
  border-radius:18px 18px 6px 18px;
  background:linear-gradient(135deg, rgba(245,5,56,0.22), rgba(245,5,56,0.12));
  border-color:rgba(245,5,56,0.26);
}

.chat-message--pit .chat-message__bubble{
  background:
    linear-gradient(135deg, rgba(245,5,56,0.2), rgba(255,255,255,0.08)),
    rgba(255,255,255,0.05);
  border-color:rgba(245,5,56,0.22);
  box-shadow:0 10px 30px rgba(245,5,56,0.08);
}

.chat-message__actions{
  display:flex;
  justify-content:flex-end;
}

.chat-message__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  background:none;
  color:rgba(244,245,247,0.46);
  font-size:0.74rem;
  transition:color .2s ease;
}

.chat-message__action:hover{
  color:#fff;
}

.chat-message--system{
  grid-template-columns:minmax(0,1fr);
}

.chat-message__system-badge{
  display:inline-flex;
  width:max-content;
  padding:0.28rem 0.55rem;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.76);
  font-size:0.68rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.chat-message--system .chat-message__bubble{
  background:rgba(255,255,255,0.025);
  border-style:dashed;
  color:rgba(244,245,247,0.68);
}

.chat-room-banner{
  margin-bottom:14px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(245,5,56,0.16);
  background:rgba(245,5,56,0.1);
  color:#ffd3dc;
  line-height:1.6;
}

.chat-stage__status{
  display:grid;
  gap:10px;
  padding:12px 26px 0;
}

.chat-quick-actions,
.chat-typing,
.chat-inline-error{
  padding:11px 14px;
  border-radius:14px;
  font-size:0.82rem;
}

.chat-quick-actions{
  display:grid;
  gap:10px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.76);
  box-shadow:0 18px 38px rgba(0,0,0,0.18);
}

.chat-quick-actions__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.chat-quick-actions__head span{
  color:rgba(244,245,247,0.52);
  font-size:0.74rem;
  line-height:1.5;
}

.chat-quick-actions__head code{
  font-family:"JetBrains Mono", monospace;
  font-size:0.72rem;
  color:#fff;
}

.chat-quick-actions__list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chat-quick-action{
  appearance:none;
  border:none;
  border-radius:999px;
  padding:0.6rem 0.92rem;
  background:rgba(255,255,255,0.06);
  color:rgba(244,245,247,0.82);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.02em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.chat-quick-action:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.1);
  color:#fff;
}

.chat-quick-action.is-live{
  background:rgba(56,201,150,0.14);
  color:#c8f5e4;
}

.chat-typing{
  background:rgba(255,255,255,0.04);
  color:rgba(244,245,247,0.6);
}

.chat-inline-error{
  background:rgba(245,5,56,0.12);
  border:1px solid rgba(245,5,56,0.18);
  color:#ffd0d9;
}

.chat-composer{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  padding:18px 26px 24px;
  align-items:flex-end;
}

.chat-composer textarea{
  width:100%;
  min-height:54px;
  max-height:180px;
  padding:16px 18px;
  resize:none;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.03);
  color:#fff;
  line-height:1.6;
  outline:none;
  transition:border-color .2s ease, background-color .2s ease;
}

.chat-composer textarea:focus{
  border-color:rgba(245,5,56,0.4);
  background:rgba(255,255,255,0.05);
}

.chat-composer textarea:disabled{
  opacity:0.62;
  cursor:not-allowed;
}

.chat-composer.is-busy{
  opacity:0.92;
}

.chat-inspector{
  display:grid;
  gap:18px;
  padding:18px;
  overflow:auto;
}

.chat-presence-strip,
.chat-admin-tools{
  display:grid;
  gap:12px;
}

.chat-presence-strip__list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chat-presence-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  font-size:0.76rem;
  color:rgba(255,255,255,0.78);
}

.chat-presence-pill__avatar{
  width:24px;
  height:24px;
  font-size:0.6rem;
}

.chat-detail-list{
  display:grid;
  gap:12px;
}

.chat-detail-list > div{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
}

.chat-detail-list dt{
  margin-bottom:5px;
  font-family:"JetBrains Mono", monospace;
  font-size:10px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:rgba(244,245,247,0.42);
}

.chat-detail-list dd{
  margin:0;
  color:rgba(244,245,247,0.82);
  line-height:1.55;
}

.chat-member-preview{
  display:grid;
  gap:10px;
}

.chat-member-chip{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.025);
  color:inherit;
  text-decoration:none;
}

.chat-member-chip.is-online{
  border-color:rgba(56,201,150,0.16);
  background:rgba(56,201,150,0.06);
}

.chat-member-chip strong{
  display:block;
  font-size:0.9rem;
  letter-spacing:-0.02em;
}

.chat-member-chip small{
  display:block;
  margin-top:2px;
  color:rgba(244,245,247,0.48);
}

.chat-member-chip__avatar{
  width:38px;
  height:38px;
  font-size:0.74rem;
}

.chat-admin-tools__row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chat-admin-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.85rem 1rem;
  border-radius:16px;
  border:1px solid rgba(245,5,56,0.22);
  background:rgba(245,5,56,0.14);
  color:#fff;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.04em;
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.chat-admin-button:hover{
  transform:translateY(-1px);
  background:rgba(245,5,56,0.2);
}

.chat-admin-button--ghost{
  border-color:rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.8);
}

.chat-admin-tools__hint{
  margin:0;
  color:rgba(244,245,247,0.54);
  line-height:1.6;
}

.chat-admin-tools__hint code{
  padding:0.2rem 0.4rem;
  border-radius:8px;
  background:rgba(255,255,255,0.06);
  color:#fff;
}

@media (max-width: 1279px){
  .chat-layout{
    grid-template-columns:minmax(260px,300px) minmax(0,1fr);
  }

  .chat-panel--inspector{
    grid-column:1 / -1;
    min-height:unset;
  }

  .chat-inspector{
    grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);
    align-items:start;
  }
}

@media (max-width: 1024px){
  .chat-hero{
    grid-template-columns:minmax(0,1fr);
    padding:28px;
  }

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

  .chat-panel,
  .chat-workspace{
    min-height:unset;
  }

  .chat-room-list{
    max-height:360px;
  }

  .chat-message-list{
    min-height:380px;
    max-height:70vh;
  }

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

@media (max-width: 720px){
  .chat-hero{
    border-radius:24px;
    padding:22px;
    gap:22px;
  }

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

  .chat-panel__head,
  .chat-stage__head,
  .chat-stage__status,
  .chat-composer{
    padding-left:18px;
    padding-right:18px;
  }

  .chat-stage__head{
    flex-direction:column;
    align-items:flex-start;
  }

  .chat-stage__feed{
    padding:18px 18px 0;
  }

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

  .chat-message__stack{
    max-width:100%;
  }
}

.chat-context-stack{
  display:grid;
  gap:14px;
}

.chat-context-shell{
  display:grid;
  gap:16px;
}

.chat-context-hero{
  display:grid;
  gap:10px;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.78);
  box-shadow:0 20px 44px rgba(0,0,0,0.2);
}

.chat-context-hero--member{
  border-color:rgba(56,201,150,0.14);
  background:
    linear-gradient(180deg, rgba(56,201,150,0.09), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.78);
}

.chat-context-hero--admin{
  border-color:rgba(245,5,56,0.14);
  background:
    linear-gradient(180deg, rgba(245,5,56,0.1), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.8);
}

.chat-context-hero h3{
  margin:0;
  font-size:1.04rem;
  font-weight:700;
  letter-spacing:-0.03em;
}

.chat-context-hero p{
  margin:0;
  color:rgba(244,245,247,0.66);
  line-height:1.6;
}

.chat-context-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chat-context-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
}

.chat-context-head p{
  margin:0;
}

.chat-context-head strong{
  font-size:0.88rem;
  letter-spacing:-0.02em;
}

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

.chat-live-card{
  display:grid;
  gap:14px;
  padding:16px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(10,10,10,0.66);
  box-shadow:0 22px 48px rgba(0,0,0,0.22);
}

.chat-live-card.is-online{
  border-color:rgba(56,201,150,0.16);
  background:
    linear-gradient(180deg, rgba(56,201,150,0.1), rgba(255,255,255,0.02)),
    rgba(10,10,10,0.68);
}

.chat-live-card__head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:center;
}

.chat-live-card__head strong{
  display:block;
  font-size:1rem;
  letter-spacing:-0.02em;
}

.chat-live-card__head small{
  display:block;
  margin-top:2px;
  color:rgba(244,245,247,0.56);
}

.chat-live-card__avatar{
  width:52px;
  height:52px;
  font-size:0.84rem;
}

.chat-live-card__identity{
  min-width:0;
}

.chat-live-card__tags{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.chat-live-card__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.4rem 0.72rem;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.07);
  color:rgba(244,245,247,0.72);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.chat-live-card__tag.is-online{
  border-color:rgba(56,201,150,0.18);
  background:rgba(56,201,150,0.12);
  color:#c8f5e4;
}

.chat-live-card__actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}

.chat-live-card__action,
.chat-member-chip__action{
  appearance:none;
  border:1px solid rgba(245,5,56,0.18);
  background:rgba(245,5,56,0.12);
  color:#ffd6df;
  border-radius:999px;
  padding:7px 10px;
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.chat-live-card__action--ghost{
  border-color:rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.045);
  color:rgba(244,245,247,0.8);
}

.chat-live-card__action:hover,
.chat-member-chip__action:hover{
  transform:translateY(-1px);
  border-color:rgba(245,5,56,0.34);
  background:rgba(245,5,56,0.2);
  color:#fff;
}

.chat-live-card__action--ghost:hover{
  border-color:rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.08);
}

.chat-live-card__status{
  color:rgba(244,245,247,0.56);
  font-size:0.78rem;
}

.chat-command-deck{
  display:grid;
  gap:14px;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.76);
}

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

.chat-member-chip{
  grid-template-columns:auto minmax(0,1fr) auto;
}

.chat-message__mention{
  display:inline-flex;
  align-items:center;
  padding:0.1rem 0.48rem;
  margin:0 2px;
  border-radius:999px;
  background:rgba(245,5,56,0.14);
  color:#ffd7df;
  font-weight:700;
  letter-spacing:-0.01em;
}

.chat-message__seen{
  margin-top:8px;
  font-size:0.7rem;
  color:rgba(244,245,247,0.42);
}

.chat-composer{
  position:relative;
}

.chat-mention-menu{
  position:absolute;
  left:26px;
  right:118px;
  bottom:calc(100% - 4px);
  z-index:12;
  display:grid;
  gap:6px;
  padding:10px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(17,18,20,0.98), rgba(10,10,10,0.96));
  box-shadow:0 26px 70px rgba(0,0,0,0.34);
  backdrop-filter:blur(18px);
  max-height:300px;
  overflow:auto;
}

.chat-mention-option{
  appearance:none;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  align-items:center;
  width:100%;
  border:none;
  border-radius:16px;
  background:transparent;
  color:#fff;
  padding:10px 12px;
  text-align:left;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.chat-mention-option:hover,
.chat-mention-option.is-active{
  background:rgba(255,255,255,0.06);
  transform:translateY(-1px);
}

.chat-mention-option strong{
  display:block;
  font-size:0.88rem;
  letter-spacing:-0.02em;
}

.chat-mention-option small{
  display:block;
  margin-top:2px;
  color:rgba(244,245,247,0.52);
}

.chat-mention-option__avatar{
  width:38px;
  height:38px;
  font-size:0.74rem;
}

.chat-message-list::-webkit-scrollbar,
.chat-inspector::-webkit-scrollbar,
.chat-room-list::-webkit-scrollbar,
.chat-composer textarea::-webkit-scrollbar,
.chat-mention-menu::-webkit-scrollbar{
  width:8px;
}

.chat-message-list::-webkit-scrollbar-thumb,
.chat-inspector::-webkit-scrollbar-thumb,
.chat-room-list::-webkit-scrollbar-thumb,
.chat-composer textarea::-webkit-scrollbar-thumb,
.chat-mention-menu::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(245,5,56,0.46), rgba(245,5,56,0.18));
  border:1px solid rgba(255,255,255,0.06);
}

.chat-message-list::-webkit-scrollbar-track,
.chat-inspector::-webkit-scrollbar-track,
.chat-room-list::-webkit-scrollbar-track,
.chat-composer textarea::-webkit-scrollbar-track,
.chat-mention-menu::-webkit-scrollbar-track{
  background:rgba(255,255,255,0.03);
  border-radius:999px;
}

.chat-composer textarea{
  padding-right:14px;
  scrollbar-width:thin;
  scrollbar-color:rgba(245,5,56,0.42) rgba(255,255,255,0.03);
}

.chat-message-list,
.chat-inspector,
.chat-room-list,
.chat-mention-menu{
  scrollbar-width:thin;
  scrollbar-color:rgba(245,5,56,0.42) rgba(255,255,255,0.03);
}

@media (max-width: 720px){
  .chat-mention-menu{
    left:18px;
    right:18px;
    bottom:calc(100% + 8px);
  }

  .chat-quick-actions__head,
  .chat-live-card__actions{
    align-items:flex-start;
  }

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

/* --- 2026-04 chat utility expansion + mobile/footer recovery --- */
.chat-reply-draft{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.78);
}

.chat-reply-draft__copy{
  display:grid;
  gap:4px;
  min-width:0;
}

.chat-reply-draft__copy p,
.chat-reply-draft__copy strong,
.chat-reply-draft__copy span{
  margin:0;
}

.chat-reply-draft__copy strong{
  font-size:0.9rem;
  letter-spacing:-0.02em;
}

.chat-reply-draft__copy span{
  color:rgba(244,245,247,0.6);
  line-height:1.5;
}

.chat-reply-draft__clear{
  appearance:none;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  color:rgba(244,245,247,0.78);
  border-radius:999px;
  padding:0.55rem 0.82rem;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  transition:background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.chat-reply-draft__clear:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.chat-room-banner--pinned{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  border-color:rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(18,18,20,0.78);
  color:#fff;
}

.chat-room-banner__copy{
  min-width:0;
}

.chat-room-banner__copy strong,
.chat-room-banner__copy p{
  margin:0;
}

.chat-room-banner__copy p{
  margin-top:6px;
  color:rgba(244,245,247,0.68);
}

.chat-room-banner__actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.chat-room-banner__action{
  appearance:none;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.04);
  color:#fff;
  border-radius:999px;
  padding:0.55rem 0.82rem;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.chat-room-banner__action:hover{
  background:rgba(255,255,255,0.08);
}

.chat-message__quote{
  display:grid;
  gap:4px;
  margin-bottom:10px;
  padding:10px 12px;
  border-left:2px solid rgba(245,5,56,0.42);
  border-radius:14px;
  background:rgba(255,255,255,0.035);
}

.chat-message__quote strong{
  font-size:0.78rem;
  letter-spacing:-0.01em;
}

.chat-message__quote span{
  color:rgba(244,245,247,0.58);
  font-size:0.8rem;
  line-height:1.45;
}

.chat-message__reactions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.chat-message__reaction{
  appearance:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  color:rgba(244,245,247,0.82);
  border-radius:999px;
  padding:0.34rem 0.58rem;
  font-size:0.78rem;
  transition:transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.chat-message__reaction:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.07);
}

.chat-message__reaction.is-active{
  border-color:rgba(245,5,56,0.24);
  background:rgba(245,5,56,0.14);
  color:#fff;
}

.chat-message__action--emoji{
  min-width:34px;
  text-align:center;
}

.chat-message__action--emoji.is-active{
  color:#fff;
}

.chat-message__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
  margin-top:10px;
}

.chat-message--self .chat-message__actions{
  justify-content:flex-end;
}

.chat-message.is-highlighted .chat-message__bubble{
  box-shadow:0 0 0 1px rgba(245,5,56,0.24), 0 0 0 10px rgba(245,5,56,0.08);
}

@media (max-width: 1024px){
  .chat-layout{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  .chat-workspace{
    order:1;
    min-height:min(78vh, 880px);
  }

  .chat-panel--rail{
    order:2;
  }

  .chat-panel--inspector{
    order:3;
    grid-column:auto;
  }

  .chat-panel,
  .chat-workspace{
    min-height:unset;
    border-radius:24px;
  }

  .chat-room-list{
    grid-auto-flow:column;
    grid-auto-columns:minmax(240px, 74vw);
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:18px;
    scroll-snap-type:x proximity;
  }

  .chat-room{
    min-height:116px;
    scroll-snap-align:start;
  }

  .chat-message-list{
    min-height:300px;
    max-height:52vh;
  }

  .chat-stage__status{
    padding:10px 18px 0;
  }

  .chat-composer{
    position:sticky;
    bottom:0;
    z-index:3;
    padding:14px 18px 18px;
    background:
      linear-gradient(180deg, rgba(16,16,16,0.18), rgba(10,10,10,0.96) 28%),
      rgba(10,10,10,0.96);
    backdrop-filter:blur(18px);
    border-top:1px solid rgba(255,255,255,0.05);
  }

  .chat-quick-actions__list{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:2px;
    scroll-snap-type:x proximity;
  }

  .chat-quick-action{
    flex:0 0 auto;
    scroll-snap-align:start;
  }
}

@media (max-width: 720px){
  .chat-hero{
    padding:20px;
    gap:18px;
    border-radius:22px;
  }

  .chat-panel__head,
  .chat-stage__head{
    padding:16px;
  }

  .chat-stage__feed{
    padding:16px 16px 0;
  }

  .chat-room-list{
    grid-auto-columns:minmax(220px, 82vw);
    padding:12px 14px 16px;
  }

  .chat-stage__identity h2{
    font-size:1.05rem;
  }

  .chat-stage__chips{
    gap:6px;
  }

  .chat-message-list{
    min-height:260px;
    max-height:48vh;
    gap:12px;
  }

  .chat-context-hero,
  .chat-command-deck,
  .chat-live-card{
    padding:14px;
    border-radius:20px;
  }

  .chat-live-card__actions,
  .chat-room-banner__actions{
    justify-content:flex-start;
  }

  .chat-composer{
    grid-template-columns:minmax(0,1fr);
    padding:14px;
  }

  .chat-composer textarea{
    min-height:50px;
    padding:14px 16px;
  }

  .chat-composer [data-chat-composer-submit]{
    width:100%;
    justify-content:center;
  }

  .chat-mention-menu{
    left:14px;
    right:14px;
    bottom:calc(100% + 6px);
  }

  .chat-reply-draft,
  .chat-room-banner--pinned{
    flex-direction:column;
  }
}

.footer-links-grid{
  align-items:start;
}

@media (min-width: 1280px){
  .footer-links-grid{
    grid-template-columns:minmax(0,0.92fr) minmax(0,0.92fr) minmax(280px,1.18fr) !important;
  }
}

@media (max-width: 1180px){
  .footer-contact-column{
    grid-column:1 / -1 !important;
    max-width:520px;
  }
}

.footer-contact-column{
  min-width:0;
}

.footer-contact-stack{
  display:grid !important;
  gap:12px !important;
}

.footer-contact-link{
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  align-items:start !important;
  gap:12px !important;
  width:100% !important;
  min-height:unset !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
}

.footer-contact-link:hover{
  transform:none !important;
  border-color:transparent !important;
  background:transparent !important;
}

.footer-contact-link__label,
.footer-contact-link__value{
  display:block !important;
  width:auto !important;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
}

.footer-contact-link__label{
  min-width:72px !important;
  margin:0 !important;
}

.footer-contact-link__value{
  min-width:0 !important;
  margin:0 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  line-height:1.45 !important;
}

footer .mt-12.pt-6.border-t{
  gap:8px;
}

@media (max-width: 720px){
  .footer-links-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .footer-contact-column{
    grid-column:auto !important;
  }

  .footer-contact-link{
    grid-template-columns:1fr !important;
    gap:4px !important;
  }

  .footer-contact-link__label{
    min-width:0 !important;
  }

  footer .mt-12.pt-6.border-t{
    flex-direction:column !important;
    align-items:flex-start !important;
  }
}

/* --- 2026-04 immersive chat shell + footer desktop repair --- */
.chat-page-shell{
  padding-left:0;
  padding-right:0;
}

.chat-app-shell{
  width:100%;
}

.chat-layout--immersive{
  min-height:min(calc(100svh - 8rem), 980px);
}

.chat-layout--immersive .chat-panel,
.chat-layout--immersive .chat-workspace{
  min-height:min(calc(100svh - 8rem), 920px);
}

.chat-stage__controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.chat-stage__mobile-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.chat-mobile-dock{
  display:none;
}

.chat-stage__control,
.chat-panel__close{
  appearance:none;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.045);
  color:#fff;
  border-radius:999px;
  padding:0.6rem 0.95rem;
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.chat-stage__control:hover,
.chat-panel__close:hover{
  transform:translateY(-1px);
  border-color:rgba(245,5,56,0.3);
  background:rgba(245,5,56,0.16);
}

.chat-panel__close{
  display:none;
}

.chat-quick-action.is-ghost{
  border-color:rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.045);
  color:rgba(244,245,247,0.9);
}

.chat-app-shell.is-focus-mode .chat-layout{
  grid-template-columns:minmax(0,1fr) !important;
}

.chat-app-shell.is-focus-mode .chat-panel--rail,
.chat-app-shell.is-focus-mode .chat-panel--inspector{
  display:none !important;
}

.chat-mobile-backdrop{
  position:fixed;
  inset:0;
  z-index:54;
  border:0;
  padding:0;
  background:rgba(6,6,7,0.74);
  backdrop-filter:blur(14px);
  opacity:0;
  pointer-events:none;
}

body.chat-mobile-sheet-open{
  overflow:hidden;
}

@media (min-width: 1025px){
  .chat-stage__mobile-actions{
    display:none;
  }

  .chat-mobile-dock{
    display:none !important;
  }
}

@media (max-width: 1024px){
  .chat-page-shell{
    padding-top:82px;
    padding-bottom:10px;
  }

  .chat-app-shell{
    padding-left:10px;
    padding-right:10px;
  }

  .chat-layout--immersive{
    display:block !important;
    min-height:calc(100svh - 94px);
  }

  .chat-layout--immersive .chat-workspace{
    min-height:calc(100svh - 94px) !important;
    border-radius:28px !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:60;
    max-height:calc(100svh - 102px);
    min-height:unset !important;
    border-radius:28px !important;
    transform:translateY(calc(100% + 22px));
    opacity:0;
    pointer-events:none;
    transition:
      transform 220ms ease,
      opacity 220ms ease;
    overflow:hidden;
  }

  [data-chat-root][data-mobile-panel="rooms"] .chat-panel--rail,
  [data-chat-root][data-mobile-panel="context"] .chat-panel--inspector{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }

  [data-chat-root].is-mobile-panel-open .chat-mobile-backdrop{
    opacity:1;
    pointer-events:auto;
  }

  .chat-panel__close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .chat-panel--rail .chat-room-list{
    max-height:calc(100svh - 220px);
    overflow-y:auto;
    overflow-x:hidden;
    padding:12px 14px 18px !important;
  }

  .chat-panel--inspector .chat-inspector{
    max-height:calc(100svh - 220px);
    overflow:auto;
    padding-bottom:18px;
  }

  .chat-stage__head{
    align-items:flex-start !important;
    gap:14px;
  }

  .chat-stage__controls{
    width:100%;
    justify-content:flex-end;
  }

  .chat-stage__mobile-actions{
    display:none !important;
  }

  .chat-stage__controls .chat-room__meta{
    display:none;
  }

  .chat-mobile-dock{
    position:sticky;
    top:84px;
    z-index:52;
    display:block;
    margin:0 12px 10px;
  }

  .chat-mobile-dock__shell{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    padding:8px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.08);
    background:
      linear-gradient(180deg, rgba(17,18,20,0.94), rgba(10,10,10,0.92));
    backdrop-filter:blur(18px) saturate(150%);
    box-shadow:0 18px 48px rgba(0,0,0,0.26);
  }

  .chat-mobile-dock__action{
    appearance:none;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.045);
    color:#fff;
    min-height:44px;
    padding:0.7rem 0.8rem;
    border-radius:14px;
    font-weight:700;
    letter-spacing:0.04em;
    text-transform:uppercase;
    font-size:0.68rem;
  }

  .chat-mobile-dock__label{
    display:block;
    text-align:center;
  }
}

@media (max-width: 720px){
  .chat-page-shell{
    padding-top:76px;
    padding-bottom:0;
  }

  .chat-app-shell{
    padding-left:0;
    padding-right:0;
  }

  .chat-layout--immersive{
    min-height:calc(100svh - 76px);
  }

  .chat-mobile-dock{
    top:78px;
    margin:0 10px 10px;
  }

  .chat-mobile-dock__shell{
    gap:7px;
    padding:7px;
    border-radius:16px;
  }

  .chat-mobile-dock__action{
    min-height:42px;
    padding:0.66rem 0.6rem;
    border-radius:12px;
    font-size:0.64rem;
  }

  .chat-layout--immersive .chat-workspace{
    min-height:calc(100svh - 76px) !important;
    border-radius:0 !important;
    border-left:0 !important;
    border-right:0 !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    left:0;
    right:0;
    bottom:0;
    max-height:calc(100svh - 76px);
    border-radius:28px 28px 0 0 !important;
    border-bottom:0 !important;
  }

  .chat-stage__head{
    padding:14px 14px 10px !important;
  }

  .chat-stage__feed{
    padding:0 14px !important;
  }

  .chat-stage__identity .chat-room__preview,
  .chat-stage__chips{
    display:none !important;
  }

  .chat-stage__status{
    padding:10px 14px 0 !important;
  }

  .chat-composer{
    padding:12px 14px 14px !important;
  }

  .chat-message-list{
    min-height:0 !important;
    max-height:none !important;
    padding-bottom:8px;
  }

  .chat-stage__controls{
    gap:8px;
  }
}

@media (min-width: 1100px){
  .footer-links-grid{
    align-items:start;
    grid-template-columns:minmax(0,0.72fr) minmax(0,0.74fr) minmax(340px,1.24fr) !important;
  }

  .footer-contact-column{
    min-width:340px;
    justify-self:stretch;
  }
}

@media (min-width: 721px) and (max-width: 1099px){
  .footer-contact-column{
    grid-column:1 / -1 !important;
    max-width:none !important;
  }
}

.footer-contact-list{
  display:grid;
  gap:14px;
}

.footer-contact-item{
  display:grid;
  gap:4px;
}

.footer-contact-item__label{
  display:block;
  font-size:0.64rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(138,141,143,0.95);
}

.footer-contact-item__value{
  display:inline-block;
  color:#fff;
  font-size:0.95rem;
  line-height:1.5;
  font-weight:700;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.footer-contact-item__value:hover{
  color:#ffd5de;
}

@media (max-width: 720px){
  .footer-contact-list{
    gap:10px;
  }

  .footer-contact-item__value{
    font-size:0.88rem;
  }
}


/* --- 2026-04-08 targeted mobile chat sheet recovery --- */
.chat-mobile-backdrop{
  background:rgba(5,7,10,.22) !important;
  -webkit-backdrop-filter:blur(4px) saturate(110%) !important;
  backdrop-filter:blur(4px) saturate(110%) !important;
}

@media (max-width: 1024px){
  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    top:132px !important;
    left:12px !important;
    right:12px !important;
    bottom:14px !important;
    max-height:none !important;
    border-radius:24px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    background:linear-gradient(180deg, rgba(17,18,20,.76), rgba(8,9,12,.82)) !important;
    -webkit-backdrop-filter:blur(14px) saturate(130%) !important;
    backdrop-filter:blur(14px) saturate(130%) !important;
    box-shadow:0 28px 72px rgba(0,0,0,.24) !important;
    transform:translateY(18px) scale(.985) !important;
  }

  [data-chat-root][data-mobile-panel="rooms"] .chat-panel--rail,
  [data-chat-root][data-mobile-panel="context"] .chat-panel--inspector{
    transform:translateY(0) scale(1) !important;
  }

  .chat-panel__head{
    position:sticky;
    top:0;
    z-index:2;
    background:linear-gradient(180deg, rgba(12,14,18,.72), rgba(12,14,18,.46));
    -webkit-backdrop-filter:blur(10px) saturate(125%);
    backdrop-filter:blur(10px) saturate(125%);
  }

  .chat-mobile-dock{
    top:78px !important;
    margin:0 10px 10px !important;
  }

  .chat-mobile-dock__shell{
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:7px !important;
    gap:7px !important;
    border-radius:16px !important;
    background:linear-gradient(180deg, rgba(17,18,20,.76), rgba(10,10,10,.72)) !important;
    -webkit-backdrop-filter:blur(12px) saturate(125%) !important;
    backdrop-filter:blur(12px) saturate(125%) !important;
    box-shadow:0 14px 36px rgba(0,0,0,.18) !important;
  }

  .chat-mobile-dock__action{
    min-height:44px !important;
    border-radius:12px !important;
    background:rgba(255,255,255,.04) !important;
    color:rgba(255,255,255,.78) !important;
  }

  [data-chat-root][data-mobile-panel="rooms"] [data-chat-mobile-toggle="rooms"],
  [data-chat-root][data-mobile-panel="context"] [data-chat-mobile-toggle="context"]{
    border-color:rgba(245,5,56,.24) !important;
    background:rgba(245,5,56,.14) !important;
    color:#fff !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  }
}

@media (max-width: 720px){
  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    top:122px !important;
    left:8px !important;
    right:8px !important;
    bottom:8px !important;
    border-radius:22px !important;
  }

  .chat-mobile-backdrop{
    background:rgba(5,7,10,.18) !important;
  }
}


/* --- 2026-04-08 mobile chat hard fix: backdrop behind sheet, panel always interactive --- */
.chat-mobile-backdrop{
  z-index:72 !important;
  background:rgba(5,7,10,.12) !important;
  -webkit-backdrop-filter:blur(2px) saturate(108%) !important;
  backdrop-filter:blur(2px) saturate(108%) !important;
}

@media (max-width: 1024px){
  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    z-index:96 !important;
    visibility:hidden !important;
    display:block !important;
    pointer-events:none !important;
  }

  [data-chat-root][data-mobile-panel="rooms"] .chat-panel--rail,
  [data-chat-root][data-mobile-panel="context"] .chat-panel--inspector{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  [data-chat-root].is-mobile-panel-open .chat-mobile-backdrop{
    opacity:1 !important;
    pointer-events:auto !important;
  }
}

@media (max-width: 720px){
  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    top:112px !important;
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
    border-radius:24px !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }
}


/* --- 2026-04-08 final mobile chat interaction fix --- */
@media (max-width: 1024px){
  [data-chat-root]{
    position:relative !important;
    isolation:isolate !important;
  }

  .chat-mobile-backdrop{
    z-index:80 !important;
    pointer-events:none !important;
    background:rgba(5,7,10,.10) !important;
    -webkit-backdrop-filter:blur(1px) saturate(106%) !important;
    backdrop-filter:blur(1px) saturate(106%) !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    position:fixed !important;
    z-index:140 !important;
    pointer-events:none !important;
    will-change:transform, opacity !important;
    touch-action:auto !important;
  }

  [data-chat-root][data-mobile-panel="rooms"] .chat-panel--rail,
  [data-chat-root][data-mobile-panel="context"] .chat-panel--inspector{
    pointer-events:auto !important;
  }
}


/* --- 2026-04-08 premium mobile chat sheets redesign --- */
@media (max-width: 1024px){
  [data-chat-root]{
    --chat-mobile-dock-gap: max(14px, env(safe-area-inset-bottom));
    --chat-mobile-dock-height: 64px;
    --chat-mobile-sheet-bottom: calc(var(--chat-mobile-dock-gap) + var(--chat-mobile-dock-height) + 14px);
    position:relative !important;
    isolation:isolate !important;
  }

  .chat-mobile-backdrop{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    background:transparent !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  .chat-layout--immersive,
  .chat-workspace{
    position:relative;
  }

  .chat-workspace{
    z-index:1;
  }

  [data-chat-root].is-mobile-panel-open .chat-workspace::after{
    content:"";
    position:fixed;
    inset:0;
    background:
      radial-gradient(circle at top center, rgba(245,5,56,0.08), transparent 34%),
      linear-gradient(180deg, rgba(7,10,14,0.18), rgba(7,10,14,0.34));
    z-index:68;
    pointer-events:none;
  }

  .chat-mobile-dock{
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    bottom:var(--chat-mobile-dock-gap) !important;
    top:auto !important;
    margin:0 !important;
    z-index:96 !important;
  }

  .chat-mobile-dock__shell{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    padding:8px !important;
    border-radius:22px !important;
    border:1px solid rgba(255,255,255,0.10) !important;
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 34%),
      linear-gradient(180deg, rgba(14,16,20,0.94), rgba(8,10,14,0.92)) !important;
    -webkit-backdrop-filter:blur(18px) saturate(135%) !important;
    backdrop-filter:blur(18px) saturate(135%) !important;
    box-shadow:
      0 24px 60px rgba(0,0,0,0.30),
      inset 0 1px 0 rgba(255,255,255,0.08) !important;
  }

  .chat-mobile-dock__action{
    position:relative;
    overflow:hidden;
    min-height:48px !important;
    border-radius:16px !important;
    border:1px solid rgba(255,255,255,0.08) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)) !important;
    color:rgba(255,255,255,0.78) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease;
  }

  .chat-mobile-dock__action::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(255,255,255,0.08), transparent 52%);
    opacity:0.75;
    pointer-events:none;
  }

  .chat-mobile-dock__action:active{
    transform:translateY(1px) scale(0.99);
  }

  .chat-mobile-dock__label{
    position:relative;
    z-index:1;
    font-size:0.67rem;
    letter-spacing:0.1em;
  }

  [data-chat-root][data-mobile-panel="rooms"] [data-chat-mobile-toggle="rooms"],
  [data-chat-root][data-mobile-panel="context"] [data-chat-mobile-toggle="context"]{
    border-color:rgba(245,5,56,0.28) !important;
    background:linear-gradient(180deg, rgba(245,5,56,0.20), rgba(245,5,56,0.10)) !important;
    color:#fff !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      0 14px 28px rgba(245,5,56,0.16) !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    top:auto !important;
    bottom:var(--chat-mobile-sheet-bottom) !important;
    max-height:min(72svh, 720px) !important;
    min-height:360px !important;
    border-radius:28px !important;
    border:1px solid rgba(255,255,255,0.10) !important;
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.10), transparent 34%),
      linear-gradient(180deg, rgba(18,20,24,0.96), rgba(8,10,14,0.95)) !important;
    -webkit-backdrop-filter:blur(22px) saturate(138%) !important;
    backdrop-filter:blur(22px) saturate(138%) !important;
    box-shadow:
      0 38px 90px rgba(0,0,0,0.42),
      inset 0 1px 0 rgba(255,255,255,0.08) !important;
    transform:translate3d(0,22px,0) scale(0.985) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    overflow:hidden !important;
    z-index:1200 !important;
    will-change:transform, opacity !important;
  }

  .chat-layout--immersive .chat-panel--rail::before,
  .chat-layout--immersive .chat-panel--inspector::before{
    content:"";
    position:absolute;
    left:50%;
    top:12px;
    width:54px;
    height:5px;
    border-radius:999px;
    transform:translateX(-50%);
    background:rgba(255,255,255,0.18);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.14);
    z-index:3;
    pointer-events:none;
  }

  [data-chat-root][data-mobile-panel="rooms"] .chat-panel--rail,
  [data-chat-root][data-mobile-panel="context"] .chat-panel--inspector{
    opacity:1 !important;
    visibility:visible !important;
    transform:translate3d(0,0,0) scale(1) !important;
    pointer-events:auto !important;
  }

  .chat-panel__head{
    position:sticky !important;
    top:0 !important;
    z-index:4 !important;
    padding:26px 20px 16px !important;
    background:linear-gradient(180deg, rgba(12,14,18,0.92), rgba(12,14,18,0.64)) !important;
    -webkit-backdrop-filter:blur(14px) saturate(130%) !important;
    backdrop-filter:blur(14px) saturate(130%) !important;
  }

  .chat-panel__close{
    min-width:76px;
  }

  .chat-panel--rail .chat-room-list,
  .chat-panel--inspector .chat-inspector{
    padding-bottom:22px !important;
  }
}

@media (max-width: 720px){
  [data-chat-root]{
    --chat-mobile-dock-gap: max(10px, env(safe-area-inset-bottom));
    --chat-mobile-dock-height: 60px;
  }

  [data-chat-root].is-mobile-panel-open .chat-workspace::after{
    background:
      radial-gradient(circle at top center, rgba(245,5,56,0.07), transparent 32%),
      linear-gradient(180deg, rgba(7,10,14,0.14), rgba(7,10,14,0.26));
  }

  .chat-mobile-dock{
    left:10px !important;
    right:10px !important;
  }

  .chat-mobile-dock__shell{
    border-radius:18px !important;
    padding:7px !important;
    gap:7px !important;
  }

  .chat-mobile-dock__action{
    min-height:46px !important;
    border-radius:14px !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    left:8px !important;
    right:8px !important;
    bottom:var(--chat-mobile-sheet-bottom) !important;
    max-height:min(74svh, 680px) !important;
    min-height:320px !important;
    border-radius:24px !important;
  }
}


/* --- 2026-04-08 final mobile dock touch repair + hide admin live edit trigger on mobile --- */
@media (max-width: 1024px){
  .live-editor-trigger{
    display:none !important;
  }

  .chat-workspace::after,
  [data-chat-root].is-mobile-panel-open .chat-workspace::after{
    display:none !important;
    content:none !important;
  }

  .chat-mobile-backdrop{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  .chat-mobile-dock{
    position:fixed !important;
    left:10px !important;
    right:10px !important;
    top:auto !important;
    bottom:max(10px, env(safe-area-inset-bottom)) !important;
    z-index:4000 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }

  .chat-mobile-dock__shell,
  .chat-mobile-dock__action,
  .chat-mobile-dock__label{
    pointer-events:auto !important;
  }

  .chat-mobile-dock__shell{
    position:relative !important;
    z-index:1 !important;
  }

  .chat-mobile-dock__action{
    cursor:pointer !important;
    user-select:none !important;
    -webkit-user-select:none !important;
    -webkit-tap-highlight-color:transparent !important;
    touch-action:manipulation !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    z-index:3990 !important;
  }
}

/* --- 2026-04-09 mobile chat app redesign: messenger-style workspace, inline utility bar, full-height sheets --- */
@media (max-width: 1024px){
  .live-editor-trigger{display:none !important;}

  .chat-page-shell{
    padding-top:78px !important;
    padding-bottom:0 !important;
    min-height:100svh;
  }

  .chat-app-shell{
    max-width:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .chat-mobile-dock{
    display:none !important;
  }

  .chat-layout--immersive{
    display:block !important;
    min-height:calc(100svh - 78px) !important;
  }

  .chat-layout--immersive .chat-workspace{
    min-height:calc(100svh - 78px) !important;
    border-radius:24px 24px 0 0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    box-shadow:0 -10px 36px rgba(0,0,0,0.18) !important;
    background:
      radial-gradient(circle at top center, rgba(245,5,56,0.06), transparent 24%),
      linear-gradient(180deg, rgba(16,18,22,0.98), rgba(9,11,15,1)) !important;
  }

  .chat-stage__head{
    position:sticky !important;
    top:0 !important;
    z-index:160 !important;
    padding:14px 14px 12px !important;
    background:linear-gradient(180deg, rgba(10,12,16,0.98), rgba(10,12,16,0.86)) !important;
    -webkit-backdrop-filter:blur(16px) saturate(135%) !important;
    backdrop-filter:blur(16px) saturate(135%) !important;
  }

  .chat-stage__identity{
    gap:12px !important;
  }

  .chat-stage__identity h2{
    font-size:1.05rem !important;
    margin:3px 0 4px !important;
  }

  .chat-stage__avatar{
    width:48px !important;
    height:48px !important;
  }

  .chat-stage__controls{
    width:100% !important;
    display:grid !important;
    gap:10px !important;
    justify-items:stretch !important;
  }

  .chat-stage__mobile-actions{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    width:100% !important;
    margin-top:12px !important;
  }

  .chat-stage__control{
    min-height:46px !important;
    padding:0.78rem 0.8rem !important;
    border-radius:16px !important;
    border:1px solid rgba(255,255,255,0.08) !important;
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 42%),
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)) !important;
    color:rgba(255,255,255,0.82) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.05) !important;
    font-size:0.68rem !important;
    letter-spacing:0.11em !important;
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent !important;
  }

  .chat-stage__control.is-active,
  .chat-stage__control[aria-pressed="true"]{
    border-color:rgba(245,5,56,0.28) !important;
    background:linear-gradient(180deg, rgba(245,5,56,0.22), rgba(245,5,56,0.12)) !important;
    color:#fff !important;
    box-shadow:0 12px 28px rgba(245,5,56,0.16), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  }

  .chat-stage__controls .chat-room__meta{
    display:inline-flex !important;
    width:max-content;
    justify-self:flex-start;
    padding:0.2rem 0 !important;
    font-size:0.72rem !important;
    color:rgba(255,255,255,0.64) !important;
  }

  .chat-stage__feed{
    padding:10px 12px 0 !important;
  }

  .chat-message-list{
    min-height:0 !important;
    max-height:none !important;
    padding-right:0 !important;
    padding-bottom:8px !important;
  }

  .chat-message__stack{
    max-width:88% !important;
  }

  .chat-stage__status{
    padding:8px 12px 0 !important;
  }

  .chat-composer{
    position:sticky !important;
    bottom:0 !important;
    z-index:140 !important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background:linear-gradient(180deg, rgba(10,12,16,0), rgba(10,12,16,0.76) 22%, rgba(10,12,16,0.96)) !important;
    -webkit-backdrop-filter:blur(12px) saturate(132%) !important;
    backdrop-filter:blur(12px) saturate(132%) !important;
  }

  .chat-composer textarea{
    min-height:52px !important;
    border-radius:18px !important;
    padding:15px 16px !important;
    background:rgba(255,255,255,0.045) !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    position:fixed !important;
    inset:auto 0 0 0 !important;
    top:calc(78px + env(safe-area-inset-top) + 8px) !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    max-height:none !important;
    min-height:0 !important;
    border-radius:28px 28px 0 0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    background:
      radial-gradient(circle at top center, rgba(255,255,255,0.08), transparent 30%),
      linear-gradient(180deg, rgba(16,18,22,0.985), rgba(8,10,14,0.995)) !important;
    -webkit-backdrop-filter:blur(20px) saturate(138%) !important;
    backdrop-filter:blur(20px) saturate(138%) !important;
    box-shadow:0 -22px 70px rgba(0,0,0,0.36) !important;
    transform:translate3d(0,104%,0) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    overflow:hidden !important;
    z-index:3500 !important;
    transition:transform 240ms cubic-bezier(.2,.8,.2,1), opacity 200ms ease !important;
  }

  .chat-layout--immersive .chat-panel--rail::before,
  .chat-layout--immersive .chat-panel--inspector::before{
    content:"";
    position:absolute;
    top:10px;
    left:50%;
    width:54px;
    height:5px;
    transform:translateX(-50%);
    border-radius:999px;
    background:rgba(255,255,255,0.18);
    z-index:3;
  }

  [data-chat-root][data-mobile-panel="rooms"] .chat-panel--rail,
  [data-chat-root][data-mobile-panel="context"] .chat-panel--inspector{
    transform:translate3d(0,0,0) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .chat-panel__head{
    position:sticky !important;
    top:0 !important;
    z-index:6 !important;
    padding:24px 16px 14px !important;
    background:linear-gradient(180deg, rgba(10,12,16,0.98), rgba(10,12,16,0.82)) !important;
    -webkit-backdrop-filter:blur(14px) saturate(132%) !important;
    backdrop-filter:blur(14px) saturate(132%) !important;
  }

  .chat-panel__close{
    display:inline-flex !important;
    min-width:74px !important;
    justify-content:center !important;
  }

  .chat-panel--rail .chat-room-list,
  .chat-panel--inspector .chat-inspector{
    max-height:none !important;
    height:100% !important;
    overflow:auto !important;
    padding-bottom:22px !important;
  }

  .chat-mobile-backdrop,
  .chat-workspace::after,
  [data-chat-root].is-mobile-panel-open .chat-workspace::after{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    content:none !important;
  }
}

@media (max-width: 720px){
  .chat-page-shell{
    padding-top:74px !important;
  }

  .chat-layout--immersive{
    min-height:calc(100svh - 74px) !important;
  }

  .chat-layout--immersive .chat-workspace{
    min-height:calc(100svh - 74px) !important;
    border-radius:0 !important;
  }

  .chat-stage__head{
    padding:12px 12px 10px !important;
  }

  .chat-stage__control{
    min-height:44px !important;
    border-radius:14px !important;
    font-size:0.64rem !important;
  }

  .chat-stage__feed,
  .chat-stage__status,
  .chat-composer{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .chat-layout--immersive .chat-panel--rail,
  .chat-layout--immersive .chat-panel--inspector{
    top:calc(74px + env(safe-area-inset-top) + 6px) !important;
    border-radius:24px 24px 0 0 !important;
  }
}


/* --- 2026-04-09 premium chat finish: mobile app polish + restrained desktop lift --- */
.chat-app-shell--premium{
  --chat-glass-top: rgba(22,24,30,0.94);
  --chat-glass-bottom: rgba(8,10,14,0.985);
  --chat-soft-border: rgba(255,255,255,0.08);
  --chat-hot: rgba(245,5,56,0.22);
  --chat-hot-2: rgba(253,107,77,0.16);
}

.chat-app-shell--premium .chat-panel,
.chat-app-shell--premium .chat-workspace{
  background:
    radial-gradient(circle at top left, rgba(245,5,56,0.05), transparent 24%),
    radial-gradient(circle at top right, rgba(255,255,255,0.035), transparent 22%),
    linear-gradient(180deg, var(--chat-glass-top), var(--chat-glass-bottom));
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 22px 56px rgba(0,0,0,0.26);
}

.chat-app-shell--premium .chat-panel__head,
.chat-app-shell--premium .chat-stage__head{
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    linear-gradient(180deg, rgba(8,10,14,0.66), rgba(8,10,14,0.22));
}

.chat-app-shell--premium .chat-panel__head::after,
.chat-app-shell--premium .chat-stage__head::after{
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.chat-app-shell--premium .chat-stage__identity h2{
  letter-spacing: -0.05em;
}

.chat-app-shell--premium .chat-stage__avatar,
.chat-app-shell--premium .chat-room__thumb,
.chat-app-shell--premium .chat-message__avatar,
.chat-app-shell--premium .chat-member-chip__avatar,
.chat-app-shell--premium .chat-live-card__avatar,
.chat-app-shell--premium .chat-mention-option__avatar,
.chat-app-shell--premium .chat-presence-pill__avatar{
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 12px 28px rgba(0,0,0,0.24), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.chat-app-shell--premium .chat-stage__avatar{
  width: 60px;
  height: 60px;
}

.chat-app-shell--premium .chat-room__thumb{
  width: 48px;
  height: 48px;
  font-size: 0.88rem;
}

.chat-app-shell--premium .chat-avatar__status{
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-width: 2px;
  border-color: rgba(10,12,16,0.96);
}

.chat-app-shell--premium .chat-room-list{
  gap: 12px;
}

.chat-app-shell--premium .chat-room{
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.055), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.chat-app-shell--premium .chat-room::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(245,5,56,0.12), transparent 34%, transparent 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.chat-app-shell--premium .chat-room:hover,
.chat-app-shell--premium .chat-room:focus-visible{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.075), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.016));
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

.chat-app-shell--premium .chat-room:hover::before,
.chat-app-shell--premium .chat-room:focus-visible::before,
.chat-app-shell--premium .chat-room.is-active::before{
  opacity: 1;
}

.chat-app-shell--premium .chat-room.is-active{
  border-color: rgba(245,5,56,0.28);
  background:
    radial-gradient(circle at top left, rgba(245,5,56,0.12), transparent 42%),
    linear-gradient(180deg, rgba(245,5,56,0.11), rgba(255,255,255,0.02));
  box-shadow: 0 20px 40px rgba(245,5,56,0.1), inset 0 1px 0 rgba(255,255,255,0.04);
}

.chat-app-shell--premium .chat-room.has-unread:not(.is-active){
  border-color: rgba(253,107,77,0.18);
}

.chat-app-shell--premium .chat-room__copy{
  gap: 8px;
}

.chat-app-shell--premium .chat-room__chips,
.chat-app-shell--premium .chat-room__footer{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-app-shell--premium .chat-room__footer{
  justify-content: space-between;
}

.chat-app-shell--premium .chat-room__pill,
.chat-app-shell--premium .chat-room__meta-mini{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-app-shell--premium .chat-room__pill--scope{
  color: rgba(255,255,255,0.62);
}

.chat-app-shell--premium .chat-room__pill--live{
  border-color: rgba(56,201,150,0.22);
  background: rgba(56,201,150,0.1);
  color: #c9f6e4;
}

.chat-app-shell--premium .chat-room__pill.is-hot{
  border-color: rgba(245,5,56,0.24);
  background: rgba(245,5,56,0.12);
  color: #ffd0da;
}

.chat-app-shell--premium .chat-room__pill.is-steady{
  border-color: rgba(253,107,77,0.22);
  background: rgba(253,107,77,0.1);
  color: #ffd9d0;
}

.chat-app-shell--premium .chat-room__pill.is-quiet{
  color: rgba(255,255,255,0.68);
}

.chat-app-shell--premium .chat-room__status{
  position: relative;
  padding-left: 12px;
  color: rgba(244,245,247,0.64);
  font-size: 0.74rem;
}

.chat-app-shell--premium .chat-room__status::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(56,201,150,0.78);
  box-shadow: 0 0 0 6px rgba(56,201,150,0.08);
}

.chat-app-shell--premium .chat-room__unread{
  min-width: 1.7rem;
  background: linear-gradient(180deg, rgba(245,5,56,0.24), rgba(245,5,56,0.14));
  color: #fff;
  box-shadow: 0 8px 18px rgba(245,5,56,0.18);
}

.chat-app-shell--premium .chat-stage__chips{
  gap: 9px;
}

.chat-app-shell--premium .chat-chip,
.chat-app-shell--premium .chat-stage__control,
.chat-app-shell--premium .chat-panel__close,
.chat-app-shell--premium .chat-room-banner__action,
.chat-app-shell--premium .chat-quick-action,
.chat-app-shell--premium .chat-reply-draft__clear{
  backdrop-filter: blur(12px) saturate(130%);
}

.chat-app-shell--premium .chat-message{
  transition: transform 180ms ease;
}

.chat-app-shell--premium .chat-message:hover{
  transform: translateY(-1px);
}

.chat-app-shell--premium .chat-message__stack{
  gap: 7px;
}

.chat-app-shell--premium .chat-message__bubble{
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.055), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.09);
  box-shadow: 0 16px 28px rgba(0,0,0,0.12);
}

.chat-app-shell--premium .chat-message--self .chat-message__bubble{
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 42%),
    linear-gradient(135deg, rgba(245,5,56,0.32), rgba(253,107,77,0.16));
  box-shadow: 0 18px 32px rgba(245,5,56,0.14);
}

.chat-app-shell--premium .chat-message__quote{
  border-left-width: 3px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    rgba(10,12,16,0.56);
}

.chat-app-shell--premium .chat-message__reactions{
  gap: 10px;
}

.chat-app-shell--premium .chat-message__reaction{
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.chat-app-shell--premium .chat-message__actions{
  gap: 8px;
}

.chat-app-shell--premium .chat-message__action{
  min-height: 30px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: rgba(244,245,247,0.56);
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.chat-app-shell--premium .chat-message__action:hover{
  background: rgba(255,255,255,0.06);
  color: #fff;
  transform: translateY(-1px);
}

.chat-app-shell--premium .chat-composer{
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(10,12,16,0), rgba(10,12,16,0.54) 20%, rgba(10,12,16,0.96)),
    rgba(10,12,16,0.96);
  backdrop-filter: blur(16px) saturate(135%);
}

.chat-app-shell--premium .chat-composer textarea{
  min-height: 56px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 48%),
    rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 30px rgba(0,0,0,0.12);
}

.chat-app-shell--premium .chat-composer [data-chat-composer-submit]{
  min-width: 56px;
  min-height: 56px;
  border-radius: 18px !important;
  padding: 0 1rem !important;
  background: linear-gradient(180deg, rgba(245,5,56,1), rgba(213,4,49,1)) !important;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(245,5,56,0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.chat-app-shell--premium .chat-composer [data-chat-composer-submit]:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(245,5,56,0.28);
  filter: saturate(1.08);
}

.chat-app-shell--premium .chat-composer [data-chat-composer-submit]:disabled{
  box-shadow: none;
}

.chat-app-shell--premium .chat-quick-actions,
.chat-app-shell--premium .chat-reply-draft,
.chat-app-shell--premium .chat-inline-error,
.chat-app-shell--premium .chat-typing,
.chat-app-shell--premium .chat-detail-list > div,
.chat-app-shell--premium .chat-member-chip{
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

@media (min-width: 1025px){
  .chat-app-shell--premium .chat-layout{
    grid-template-columns: minmax(300px, 344px) minmax(0, 1fr) minmax(276px, 324px);
    gap: 20px;
  }

  .chat-app-shell--premium .chat-room-list,
  .chat-app-shell--premium .chat-inspector{
    padding-top: 18px;
  }

  .chat-app-shell--premium .chat-message__actions{
    opacity: 0.36;
  }

  .chat-app-shell--premium .chat-message:hover .chat-message__actions,
  .chat-app-shell--premium .chat-message:focus-within .chat-message__actions,
  .chat-app-shell--premium .chat-message--self .chat-message__actions{
    opacity: 1;
  }
}

@media (max-width: 1024px){
  .chat-app-shell--premium .chat-stage__head{
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  }

  .chat-app-shell--premium .chat-stage__control{
    position: relative;
    overflow: hidden;
  }

  .chat-app-shell--premium .chat-stage__control::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 42%);
    opacity: 0.75;
    pointer-events: none;
  }

  .chat-app-shell--premium .chat-panel__head::after,
  .chat-app-shell--premium .chat-stage__head::after{
    left: 14px;
    right: 14px;
  }

  .chat-app-shell--premium .chat-room{
    border-radius: 22px;
  }

  .chat-app-shell--premium .chat-room__chips,
  .chat-app-shell--premium .chat-room__footer{
    gap: 6px;
  }
}

@media (max-width: 720px){
  .chat-app-shell--premium .chat-stage__mobile-actions{
    gap: 7px !important;
  }

  .chat-app-shell--premium .chat-stage__control{
    min-height: 46px !important;
    padding: 0.74rem 0.7rem !important;
  }

  .chat-app-shell--premium .chat-room__thumb{
    width: 46px;
    height: 46px;
  }

  .chat-app-shell--premium .chat-message__avatar{
    width: 36px;
    height: 36px;
  }

  .chat-app-shell--premium .chat-message__stack{
    max-width: 90% !important;
  }

  .chat-app-shell--premium .chat-composer{
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: end !important;
  }

  .chat-app-shell--premium .chat-composer textarea{
    min-height: 52px !important;
  }

  .chat-app-shell--premium .chat-composer [data-chat-composer-submit]{
    width: auto !important;
    min-width: 56px !important;
    height: 52px !important;
    justify-content: center !important;
  }

  .chat-app-shell--premium .chat-room-list{
    gap: 10px;
  }
}


/* Mobile room chooser + centered premium controls */
.chat-stage__controls--centered{
  justify-content:center;
}

.chat-stage__identity--chooser{
  align-items:center;
}

.chat-stage__avatar--chooser{
  font-size:22px;
  letter-spacing:2px;
}

.chat-mobile-room-chooser{
  margin:0 auto 14px;
  width:100%;
  max-width:720px;
  padding:14px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow:0 24px 60px rgba(0,0,0,.28);
}

.chat-mobile-room-chooser__head{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:12px;
}

.chat-mobile-room-chooser__head strong{
  font-size:14px;
  line-height:1.2;
  color:#fff;
}

.chat-mobile-room-chooser__head span{
  font-size:12px;
  color:rgba(255,255,255,.62);
}

.chat-mobile-room-chooser__list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.chat-room--chooser{
  min-height:auto;
}

.chat-room--compact{
  padding:12px 12px;
  border-radius:18px;
}

@media (max-width: 1024px){
  .chat-stage__controls{
    justify-content:center;
    width:100%;
  }

  .chat-stage__mobile-actions{
    justify-content:center !important;
    width:100%;
    margin-inline:auto;
  }

  .chat-panel--rail .chat-room-list,
  .chat-mobile-room-chooser__list{
    display:flex !important;
    flex-direction:column !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    gap:10px !important;
    padding-right:2px;
  }

  .chat-panel--rail .chat-room-list .chat-room,
  .chat-mobile-room-chooser__list .chat-room{
    width:100% !important;
    min-width:0 !important;
  }
}

/* Chat rail tools + saved rooms */
.chat-rail-tools{
  display:grid;
  gap:12px;
  padding:14px 16px 8px;
}

.chat-rail-search{
  position:relative;
  display:flex;
  align-items:center;
}

.chat-rail-search__icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:rgba(255,255,255,.46);
  pointer-events:none;
}

.chat-rail-search input{
  width:100%;
  min-height:44px;
  padding:0.78rem 0.95rem 0.78rem 2.2rem;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.04);
  color:#fff;
  outline:none;
  transition:border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.chat-rail-search input::placeholder{
  color:rgba(255,255,255,.42);
}

.chat-rail-search input:focus{
  border-color:rgba(245,5,56,.28);
  background:rgba(255,255,255,.055);
  box-shadow:0 0 0 4px rgba(245,5,56,.08);
}

.chat-rail-filters,
.chat-rail-summary{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.chat-rail-filter,
.chat-rail-summary span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:.4rem .72rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:rgba(255,255,255,.68);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.chat-rail-filter{
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.chat-rail-filter:hover,
.chat-rail-filter:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.14);
  color:#fff;
}

.chat-rail-filter.is-active{
  border-color:rgba(245,5,56,.24);
  background:rgba(245,5,56,.12);
  color:#fff;
  box-shadow:0 10px 24px rgba(245,5,56,.14);
}

.chat-room-card{
  position:relative;
}

.chat-room-card__favorite{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(10,12,16,.72);
  color:rgba(255,255,255,.62);
  cursor:pointer;
  backdrop-filter:blur(10px) saturate(130%);
  transition:transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.chat-room-card__favorite:hover,
.chat-room-card__favorite:focus-visible{
  transform:translateY(-1px) scale(1.03);
  border-color:rgba(255,255,255,.16);
  color:#fff;
}

.chat-room-card__favorite.is-active{
  border-color:rgba(245,5,56,.22);
  background:rgba(245,5,56,.16);
  color:#ffd4dc;
  box-shadow:0 10px 24px rgba(245,5,56,.14);
}

.chat-room__pill--saved{
  border-color:rgba(184,132,255,.22);
  background:rgba(184,132,255,.1);
  color:#ead7ff;
}

.chat-room.is-saved:not(.is-active){
  border-color:rgba(184,132,255,.16);
}

.chat-app-shell--premium .chat-rail-tools{
  padding:16px 18px 10px;
}

.chat-app-shell--premium .chat-room-card__favorite{
  box-shadow:0 12px 28px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.04);
}

/* Keep three-column desktop layout alive longer */
@media (min-width: 1111px) and (max-width: 1335px){
  .chat-layout,
  .chat-app-shell--premium .chat-layout{
    grid-template-columns:minmax(248px,282px) minmax(0,1fr) minmax(230px,266px) !important;
    gap:16px !important;
  }

  .chat-panel--inspector{
    grid-column:auto !important;
    min-height:680px;
  }

  .chat-panel__head,
  .chat-stage__head{
    padding:18px 18px 16px;
  }

  .chat-app-shell--premium .chat-panel__head::after,
  .chat-app-shell--premium .chat-stage__head::after{
    left:18px;
    right:18px;
  }

  .chat-stage__identity h2,
  .chat-panel__head h2{
    font-size:.95rem;
  }

  .chat-app-shell--premium .chat-room__thumb{
    width:44px;
    height:44px;
  }

  .chat-app-shell--premium .chat-room__chips,
  .chat-app-shell--premium .chat-room__footer{
    gap:6px;
  }
}

@media (min-width: 1025px) and (max-width: 1110px){
  .chat-layout{
    grid-template-columns:minmax(250px,290px) minmax(0,1fr) !important;
  }

  .chat-panel--inspector{
    grid-column:1 / -1 !important;
    min-height:unset;
  }

  .chat-inspector{
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
    align-items:start;
  }
}

@media (max-width: 1024px){
  .chat-rail-tools{
    padding:12px 14px 6px;
  }

  .chat-room-card__favorite{
    top:8px;
    right:8px;
  }
}

/* Medium desktop rebalance: avoid cramped 3-column squeeze */
@media (min-width: 1025px) and (max-width: 1335px){
  .chat-layout,
  .chat-app-shell--premium .chat-layout{
    grid-template-columns:minmax(272px,300px) minmax(0,1fr) !important;
    grid-template-rows:auto minmax(0,1fr) !important;
    gap:18px !important;
    align-items:start !important;
  }

  .chat-panel--rail{
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    min-height:760px;
    align-self:stretch;
  }

  .chat-panel--inspector{
    grid-column:2 !important;
    grid-row:1 !important;
    min-height:auto !important;
    align-self:start;
  }

  .chat-workspace{
    grid-column:2 !important;
    grid-row:2 !important;
    min-height:580px;
  }

  .chat-panel__head,
  .chat-stage__head{
    padding:20px 22px 18px;
  }

  .chat-app-shell--premium .chat-panel__head::after,
  .chat-app-shell--premium .chat-stage__head::after{
    left:22px;
    right:22px;
  }

  .chat-stage__head{
    gap:14px;
    align-items:flex-start;
  }

  .chat-stage__identity h2,
  .chat-panel__head h2{
    font-size:1rem;
    line-height:1.14;
  }

  .chat-inspector{
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px;
    padding:16px;
  }

  .chat-detail-list{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
  }

  .chat-detail-list > div{
    padding:12px 14px;
  }

  .chat-detail-list dd{
    line-height:1.45;
  }

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

  .chat-member-chip{
    align-items:flex-start;
    min-height:72px;
  }

  .chat-member-chip strong,
  .chat-member-chip small,
  .chat-room__preview{
    overflow-wrap:anywhere;
  }

  .chat-message-list{
    max-height:calc(100vh - 380px);
  }
}

@media (min-width: 1025px) and (max-width: 1180px){
  .chat-layout,
  .chat-app-shell--premium .chat-layout{
    grid-template-columns:minmax(258px,286px) minmax(0,1fr) !important;
    gap:16px !important;
  }

  .chat-stage__head{
    flex-wrap:wrap;
  }

  .chat-detail-list{
    grid-template-columns:1fr;
  }

  .chat-member-preview{
    grid-template-columns:1fr;
  }

  .chat-panel__head,
  .chat-stage__head,
  .chat-stage__feed,
  .chat-inspector{
    padding-left:16px;
    padding-right:16px;
  }

  .chat-app-shell--premium .chat-panel__head::after,
  .chat-app-shell--premium .chat-stage__head::after{
    left:16px;
    right:16px;
  }
}


/* Medium desktop refinement: context above rail, with internal scroll only on this range */
@media (min-width: 1025px) and (max-width: 1335px){
  .chat-layout,
  .chat-app-shell--premium .chat-layout{
    grid-template-columns:minmax(292px,332px) minmax(0,1fr) !important;
    grid-template-rows:minmax(296px,372px) minmax(440px,1fr) !important;
    gap:20px !important;
    align-items:stretch !important;
  }

  .chat-panel--inspector{
    grid-column:1 !important;
    grid-row:1 !important;
    min-height:0 !important;
    height:100% !important;
    max-height:372px;
    overflow:hidden;
  }

  .chat-panel--rail{
    grid-column:1 !important;
    grid-row:2 !important;
    min-height:440px !important;
    height:100% !important;
    max-height:calc(100vh - 248px);
    overflow:hidden;
  }

  .chat-workspace{
    grid-column:2 !important;
    grid-row:1 / span 2 !important;
    min-height:760px;
  }

  .chat-panel--inspector .chat-inspector,
  .chat-panel--rail .chat-room-list{
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }

  .chat-panel--inspector .chat-inspector{
    max-height:calc(372px - 88px);
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px;
    padding-right:8px;
  }

  .chat-panel--rail .chat-room-list{
    max-height:calc(100vh - 360px);
    padding-right:8px;
  }

  .chat-detail-list,
  .chat-member-preview{
    grid-template-columns:1fr;
  }
}


/* Chat location deck */
.chat-location-shell{
  display:grid;
  gap:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  box-shadow:0 16px 40px rgba(0,0,0,.22);
}
.chat-location-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chat-location-map-wrap{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg, rgba(10,12,18,.95), rgba(17,20,28,.96));
  min-height:220px;
}
.chat-location-map{
  height:220px;
  width:100%;
}
.chat-location-map .leaflet-tile-pane{
  filter:saturate(1.05) contrast(1.02);
}
.chat-location-map .leaflet-control-container{display:none;}
.chat-location-map__fallback{
  min-height:220px;
  display:grid;
  place-items:center;
  color:#d6d8db;
  font-size:12px;
}
.chat-location-cards{
  display:grid;
  gap:10px;
}
.chat-location-card{
  display:grid;
  gap:10px;
  padding:12px 13px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.chat-location-card.is-live{
  border-color:rgba(245,5,56,.22);
  box-shadow:0 10px 24px rgba(245,5,56,.08);
}
.chat-location-card__identity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.chat-location-card__avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  overflow:hidden;
  flex:0 0 38px;
}
.chat-location-card__identity span{display:grid;min-width:0;}
.chat-location-card__identity strong{font-size:13px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.chat-location-card__identity small{font-size:11px; color:#aeb4bb;}
.chat-location-card__meta,.chat-location-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chat-location-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:5px 9px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#e8eaed;
  background:rgba(255,255,255,.06);
}
.chat-location-badge.is-live{background:rgba(245,5,56,.15); color:#ffd0da;}
.chat-location-badge.is-pin{background:rgba(253,107,77,.15); color:#ffd8cf;}
.chat-inline-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(245,5,56,.16);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  text-decoration:none;
  transition:all .18s ease;
}
.chat-inline-button:hover{transform:translateY(-1px); background:rgba(245,5,56,.24);}
.chat-inline-button--ghost{
  background:rgba(255,255,255,.03);
}
.chat-empty--location{
  padding:14px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.1);
}
.chat-rail-summary{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chat-rail-summary span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#c9ced5;
}
.chat-quick-action.is-live{
  border-color:rgba(245,5,56,.24);
  background:rgba(245,5,56,.12);
  color:#ffd5dd;
}


/* Inline location messages */
.chat-message--location .chat-message__bubble{
  padding:10px;
  background:transparent;
  border-color:rgba(255,255,255,.08);
}
.chat-message__bubble--location{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.026));
}
.chat-location-message{
  display:grid;
  gap:12px;
}

.chat-location-message__map{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg, rgba(10,12,18,.96), rgba(16,18,26,.98));
  box-shadow:0 18px 36px rgba(0,0,0,.24);
}
.chat-inline-location-map{
  width:100%;
  height:188px;
  min-height:188px;
}
.chat-inline-location-map .leaflet-control-container{display:none;}
.chat-inline-location-map .leaflet-tile-pane{filter:saturate(1.06) contrast(1.04) brightness(.94);}
.chat-inline-location-map .leaflet-popup-content-wrapper,
.chat-inline-location-map .leaflet-popup-tip{background:rgba(12,13,18,.96); color:#f4f6f8;}
@media (max-width: 767px){
  .chat-location-message__map{
    border-radius:16px;
  }
  .chat-inline-location-map{
    height:240px;
    min-height:240px;
  }
}
.chat-location-message__hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.chat-location-message__time{
  font-size:11px;
  color:#aeb4bb;
}
.chat-location-message__panel{display:grid; grid-template-columns:minmax(0,1fr); gap:12px; align-items:start;}
.chat-location-message__visual{
  position:relative;
  min-height:88px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,5,56,.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.chat-location-message.is-pin .chat-location-message__visual,
.chat-location-message.is-pin .chat-location-message__visual{
  background:
    radial-gradient(circle at 50% 50%, rgba(253,107,77,.20), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.chat-location-message__visual::before,
.chat-location-message__visual::after{
  content:"";
  position:absolute;
  inset:50%;
  background:rgba(255,255,255,.08);
}
.chat-location-message__visual::before{height:1px; width:100%; transform:translate(-50%,-50%);}
.chat-location-message__visual::after{width:1px; height:100%; transform:translate(-50%,-50%);}
.chat-location-message__visual-dot{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:999px;
}
.chat-location-message__visual-dot{
  width:10px;
  height:10px;
  background:#f50538;
  box-shadow:0 0 0 6px rgba(245,5,56,.18);
}
.chat-location-message.is-pin .chat-location-message__visual-dot{
  background:#fd6b4d;
  box-shadow:0 0 0 6px rgba(253,107,77,.18);
}
.chat-location-message.is-stop .chat-location-message__visual-dot{
  background:#c0c5cb;
  box-shadow:none;
}
.chat-location-message__copy{display:grid; gap:6px; min-width:0;}
.chat-location-message__copy strong{font-size:14px; color:#fff;}
.chat-location-message__copy p{margin:0; font-size:12px; color:#aeb4bb; line-height:1.45;}
.chat-location-message__stats{display:flex; flex-wrap:wrap; gap:8px;}
.chat-location-message__stats span{
  display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px;
  background:rgba(255,255,255,.06); color:#e8eaed; font-size:10px; font-weight:700; letter-spacing:.05em;
}
.chat-location-message__actions{display:flex; flex-wrap:wrap; gap:8px;}
@media (max-width: 640px){
  .chat-location-message__panel{grid-template-columns:1fr;}
  .chat-location-message__visual{min-height:112px;}
}


.chat-manual-location{
  display:grid;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(12,12,13,0.82);
  box-shadow:0 18px 38px rgba(0,0,0,0.18);
}
.chat-manual-location.is-open{display:grid;}
.chat-manual-location__head,
.chat-manual-location__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.chat-manual-location__head strong{font-size:13px; color:#fff;}
.chat-manual-location__close{
  appearance:none; border:none; background:rgba(255,255,255,0.06); color:#d6d9dd;
  border-radius:999px; padding:8px 12px; font-size:11px; font-weight:700; letter-spacing:.04em;
}
.chat-manual-location__grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px;}
.chat-manual-location__field{display:grid; gap:6px; min-width:0;}
.chat-manual-location__field--wide{grid-column:1/-1;}
.chat-manual-location__field span{font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#b6bcc3;}
.chat-manual-location__field input{
  width:100%; min-width:0; border-radius:12px; border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04); color:#fff; padding:12px 14px; font-size:13px;
}
.chat-manual-location__field input::placeholder{color:rgba(214,217,221,0.42);}
.chat-manual-location__field input:focus{outline:none; border-color:rgba(245,5,56,0.4); box-shadow:0 0 0 3px rgba(245,5,56,0.12);}
.chat-manual-location__foot small{color:#9ca3aa; font-size:11px; line-height:1.5;}
.chat-manual-location__actions{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
@media (max-width: 640px){
  .chat-manual-location__grid{grid-template-columns:1fr;}
}

.chat-location-message__visual,.chat-location-message__visual-ring,.chat-location-message__visual-dot{display:none !important;}
