:root {
  color-scheme: dark;
  --page: #030608;
  --page-soft: #070c0f;
  --surface: rgba(10, 17, 20, 0.88);
  --surface-strong: rgba(12, 20, 23, 0.97);
  --surface-raised: rgba(16, 25, 29, 0.96);
  --ink: #f4f7f8;
  --ink-soft: #dbe2e5;
  --muted: #94a3a9;
  --muted-strong: #b8c7cd;
  --line: rgba(154, 170, 177, 0.2);
  --line-strong: rgba(184, 199, 205, 0.4);
  --green: #8af59a;
  --green-rgb: 138, 245, 154;
  --green-soft: rgba(var(--green-rgb), 0.13);
  --green-hover: #a0f7ab;
  --cyan: #7cf6ff;
  --cyan-rgb: 124, 246, 255;
  --cyan-soft: rgba(var(--cyan-rgb), 0.1);
  --amber: #ffbd62;
  --amber-rgb: 255, 189, 98;
  --amber-soft: rgba(var(--amber-rgb), 0.12);
  --danger: #ff9999;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: min(1280px, calc(100vw - 48px));
  --home-visible-height: 100vh;
  --home-visible-top: 0px;
  --home-overlay-top: 72px;
  --home-overlay-height: calc(100vh - 88px);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

:root[data-home-palette="fluoro"] {
  --green: #00ffa5;
  --green-rgb: 0, 255, 165;
  --green-soft: rgba(0, 255, 165, 0.13);
  --green-hover: #00ffa5;
  --cyan: #00ddff;
  --cyan-rgb: 0, 221, 255;
  --cyan-soft: rgba(0, 221, 255, 0.1);
  --amber: #ffcc00;
  --amber-rgb: 255, 204, 0;
  --amber-soft: rgba(255, 204, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.ambient {
  display: none;
}

.ambient-one {
  top: 22vh;
  right: -280px;
  background: var(--green);
}

.ambient-two {
  bottom: 8vh;
  left: -310px;
  background: var(--cyan);
}

.section-shell,
.header-inner,
.preview-wrap {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(154, 170, 177, 0.14);
  background: rgba(3, 6, 8, 0.79);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px) saturate(125%);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  letter-spacing: -0.02em;
}

.wordmark-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
}

.wordmark-accent {
  color: var(--green);
}

.wordmark-divider {
  width: 1px;
  height: 17px;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  box-shadow: 0 0 10px rgba(var(--green-rgb), 0.5);
}

.wordmark-place {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button,
.account-button,
.text-button,
.dialog-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted-strong);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.bell-icon {
  position: relative;
  width: 15px;
  height: 16px;
  display: block;
  border: 1.5px solid currentColor;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  border-bottom: 0;
}

.bell-icon::before {
  position: absolute;
  right: -4px;
  bottom: -3px;
  left: -4px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.bell-icon::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}

.notification-badge {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding-inline: 4px;
  border: 2px solid var(--page);
  border-radius: 999px;
  background: var(--green);
  color: #041008;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.account-button {
  min-height: 38px;
  max-width: 210px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease;
}

.account-button:hover,
.account-button[aria-expanded="true"] {
  border-color: rgba(var(--green-rgb), 0.42);
  background: var(--green-soft);
}

.account-button > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: transparent;
}

.account-button.signed-in .account-dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 11px rgba(var(--green-rgb), 0.62);
}

.menu-button {
  gap: 5px;
}

.menu-button > span {
  width: 17px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-button[aria-expanded="true"] > span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] > span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.floating-panel {
  position: fixed;
  z-index: 100;
  top: var(--home-overlay-top);
  right: max(24px, calc((100vw - 1280px) / 2));
  width: min(390px, calc(100vw - 32px));
  max-height: var(--home-overlay-height);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(20, 31, 35, 0.98), rgba(8, 14, 17, 0.98)),
    var(--surface-strong);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.035);
  animation: panel-in 160ms ease both;
}

.notification-panel {
  width: min(480px, calc(100vw - 32px));
}

.floating-panel::before {
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--green-rgb), 0.52), transparent);
  content: "";
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.panel-kicker {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-button {
  padding: 3px 0;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.text-button:hover {
  color: var(--ink);
}

.notification-empty {
  display: grid;
  justify-items: center;
  padding: 34px 12px 20px;
  text-align: center;
}

.notification-empty strong {
  margin-top: 17px;
  font-size: 17px;
}

.notification-empty p {
  max-width: 270px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.notification-list {
  display: grid;
  gap: 10px;
  max-height: min(62vh, 520px);
  margin-top: 12px;
  overflow-y: auto;
}

.notification-item {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.notification-item.unread {
  border-color: rgba(var(--green-rgb), 0.34);
  background: rgba(var(--green-rgb), 0.055);
  box-shadow: inset 3px 0 0 var(--green);
}

.notification-item strong {
  font-size: 14px;
}

.notification-item p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.notification-meta,
.notification-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.notification-actions {
  justify-content: flex-start;
}

.notification-actions a,
.notification-actions button {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.inbox-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px 0 2px;
}

.inbox-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
  cursor: pointer;
  font-weight: 750;
}

.inbox-tabs button[aria-selected="true"] {
  border-color: rgba(var(--green-rgb), 0.42);
  background: var(--green-soft);
  color: var(--ink);
}

.inbox-tabs button span {
  min-width: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--green);
  color: #041008;
  font-size: 10px;
}

.message-panel {
  padding-top: 12px;
}

.message-toolbar,
.thread-heading,
.message-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.compact-button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 12px;
  white-space: nowrap;
}

.message-composer {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.message-composer label:not(.sr-only) {
  display: grid;
  gap: 5px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.message-composer :is(select, textarea) {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #081013;
  color: var(--ink);
  font: inherit;
}

.message-composer select {
  min-height: 43px;
  padding: 8px 10px;
}

.message-composer textarea {
  min-height: 78px;
  resize: vertical;
  padding: 10px;
  line-height: 1.4;
}

.message-status {
  min-height: 17px;
  margin: 0;
  color: var(--green);
  font-size: 11px;
}

.message-status.error {
  color: var(--danger);
}

.conversation-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.conversation-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
}

.conversation-card.unread {
  border-color: rgba(var(--green-rgb), 0.38);
  box-shadow: inset 3px 0 0 var(--green);
}

.conversation-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-card p {
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-card time,
.conversation-unread {
  color: var(--muted);
  font-size: 10px;
}

.conversation-unread {
  color: var(--green);
  font-weight: 800;
}

.thread-heading {
  padding: 2px 0 10px;
  border-bottom: 1px solid var(--line);
}

.message-thread {
  display: grid;
  gap: 8px;
  max-height: min(44vh, 390px);
  padding: 12px 2px;
  overflow-y: auto;
}

.message-bubble {
  max-width: 86%;
  justify-self: start;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 13px 13px 13px 4px;
  background: rgba(255, 255, 255, 0.035);
}

.message-bubble.sent {
  justify-self: end;
  border-color: rgba(var(--green-rgb), 0.3);
  border-radius: 13px 13px 4px 13px;
  background: rgba(var(--green-rgb), 0.08);
}

.message-bubble p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.42;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message-bubble time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.reply-form {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: 0;
}

.reply-form textarea {
  min-height: 64px;
}

.reply-form .message-status {
  grid-column: 1 / -1;
}

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

.empty-orbit {
  position: relative;
  width: 54px;
  height: 54px;
  display: block;
  border: 1px solid rgba(var(--cyan-rgb), 0.35);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(var(--cyan-rgb), 0.09);
}

.empty-orbit::before,
.empty-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.empty-orbit::before {
  inset: 11px;
  border: 1px solid rgba(var(--green-rgb), 0.38);
}

.empty-orbit::after {
  width: 5px;
  height: 5px;
  top: 2px;
  left: 24px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 14px;
}

.account-avatar {
  --avatar-bubble-border: rgba(var(--green-rgb), 0.44);
  --avatar-bubble-fill: var(--green-soft);
  --avatar-bubble-shadow: rgba(var(--green-rgb), 0.08);
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--avatar-bubble-border);
  border-radius: 50%;
  background: var(--avatar-bubble-fill);
  color: var(--green);
  font-weight: 850;
  box-shadow: 0 0 24px var(--avatar-bubble-shadow);
  overflow: hidden;
}

.account-avatar canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.account-identity div {
  min-width: 0;
  display: grid;
}

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

.account-identity span {
  color: var(--muted);
  font-size: 12px;
}

.account-note {
  margin: 0 0 18px;
  color: var(--muted-strong);
  font-size: 13px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navigation-menu {
  display: grid;
  gap: 0;
}

.navigation-menu .panel-heading {
  margin-bottom: 4px;
}

.navigation-menu > :is(a, button) {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  text-align: left;
  transition: color 150ms ease, padding-left 150ms ease;
}

.navigation-menu > :is(a, button):hover {
  padding-left: 8px;
  color: var(--green);
}

.navigation-menu > :is(a, button) span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.native-setting-row {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
}

.native-setting-row input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.preview-wrap {
  display: none;
  padding-top: 16px;
}

:root[data-home-preview="true"] .preview-wrap {
  display: block;
}

.preview-notice {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-radius: var(--radius-sm);
  background: rgba(var(--cyan-rgb), 0.035);
  color: var(--muted-strong);
  font-size: 12px;
}

.preview-notice p {
  margin: 0;
}

.preview-notice strong {
  color: var(--ink-soft);
}

.preview-signal {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(var(--cyan-rgb), 0.75);
}

main {
  padding-bottom: 90px;
}

.brand-banner {
  position: relative;
  height: auto;
  aspect-ratio: 1600 / 742;
  margin-top: 16px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--page);
}

.brand-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.hero {
  position: relative;
  min-height: clamp(520px, 70vh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  margin-top: 16px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 82px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #0a1114 0%, #081013 54%, #050b0d 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
  isolation: isolate;
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--green-rgb), 0.82), transparent);
  box-shadow: 0 0 18px rgba(var(--green-rgb), 0.34);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow-row .eyebrow {
  margin: 0;
}

.live-status,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.live-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
}

.live-status.live {
  border-color: rgba(var(--green-rgb), 0.32);
  background: rgba(var(--green-rgb), 0.06);
  color: var(--green);
}

.live-status.live::before {
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-description {
  max-width: 630px;
  margin-bottom: 24px;
  color: var(--muted-strong);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-meta span {
  position: relative;
}

.hero-meta span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  opacity: 0.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

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

.native-role-actions .button {
  min-height: 39px;
  padding: 9px 14px;
  font-size: 12px;
}

.native-featured-actions {
  flex: 1 1 100%;
}

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  border-color: rgba(var(--green-rgb), 0.74);
  background: var(--green);
  box-shadow: 0 0 28px rgba(var(--green-rgb), 0.11);
  color: #041008;
}

.button-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 0 34px rgba(var(--green-rgb), 0.18);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink-soft);
}

.button-secondary:hover {
  border-color: rgba(var(--cyan-rgb), 0.44);
  background: var(--cyan-soft);
  color: var(--ink);
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--muted-strong);
}

.button-quiet:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-arrow {
  position: relative;
  width: 15px;
  height: 8px;
  display: inline-block;
  border-top: 1.5px solid currentColor;
  transform: translateY(3px);
}

.button-arrow::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 1px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.text-link::after {
  width: 18px;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(var(--green-rgb), 0.35);
  content: "";
  transition: width 160ms ease;
}

.text-link:hover {
  color: var(--green);
}

.text-link:hover::after {
  width: 25px;
}

.hero-scene {
  position: relative;
  min-height: 410px;
  align-self: stretch;
}

.scene-haze {
  position: absolute;
  top: 3%;
  right: 2%;
  bottom: 12%;
  left: 2%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 53% 48%, rgba(var(--green-rgb), 0.12), transparent 13%),
    radial-gradient(circle at 45% 55%, rgba(var(--cyan-rgb), 0.09), transparent 38%);
  filter: blur(17px);
}

.venue-plan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(360px, 88%);
  aspect-ratio: 0.76;
  border: 1px solid rgba(184, 199, 205, 0.22);
  border-radius: 46% 46% 31% 31% / 24% 24% 19% 19%;
  box-shadow:
    inset 0 0 42px rgba(var(--cyan-rgb), 0.035),
    0 0 80px rgba(var(--cyan-rgb), 0.035);
  transform: translate(-50%, -50%) perspective(600px) rotateX(55deg) rotateZ(-8deg);
}

.venue-plan::before,
.venue-plan::after {
  position: absolute;
  content: "";
}

.venue-plan::before {
  inset: 8%;
  border: 1px solid rgba(var(--green-rgb), 0.14);
  border-radius: inherit;
}

.venue-plan::after {
  right: 13%;
  bottom: 9%;
  left: 13%;
  height: 22%;
  border-bottom: 1px solid rgba(var(--cyan-rgb), 0.25);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--cyan-rgb), 0.1), transparent 67%);
  filter: blur(2px);
}

.venue-plan-wall,
.venue-stage-shape,
.venue-floor-shape,
.venue-door-shape,
.venue-pulse {
  position: absolute;
  display: block;
}

.venue-plan-wall {
  height: 1px;
  background: rgba(184, 199, 205, 0.28);
  box-shadow: 0 0 6px rgba(184, 199, 205, 0.11);
}

.wall-one {
  top: 31%;
  left: 7%;
  width: 30%;
  transform: rotate(21deg);
}

.wall-two {
  top: 22%;
  right: 9%;
  width: 34%;
  transform: rotate(-28deg);
}

.wall-three {
  top: 55%;
  right: 6%;
  width: 38%;
  transform: rotate(72deg);
}

.wall-four {
  bottom: 29%;
  left: 9%;
  width: 28%;
  transform: rotate(-61deg);
}

.venue-stage-shape {
  top: 10%;
  left: 31%;
  width: 38%;
  height: 13%;
  border: 1px solid rgba(var(--amber-rgb), 0.34);
  border-radius: 50%;
  background: rgba(var(--amber-rgb), 0.055);
}

.venue-floor-shape {
  top: 37%;
  left: 24%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--cyan-rgb), 0.29);
  background:
    linear-gradient(90deg, transparent 49%, rgba(var(--cyan-rgb), 0.07) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(var(--cyan-rgb), 0.07) 50%, transparent 51%);
  box-shadow: inset 0 0 24px rgba(var(--cyan-rgb), 0.035);
}

.venue-door-shape {
  right: 8%;
  bottom: 19%;
  width: 12%;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 9px rgba(var(--green-rgb), 0.45);
  transform: rotate(-36deg);
  transform-origin: left center;
}

.venue-pulse {
  width: 7px;
  height: 7px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: rgba(var(--green-rgb), 0.26);
  box-shadow: 0 0 13px rgba(var(--green-rgb), 0.65);
}

.pulse-one {
  top: 48%;
  left: 46%;
}

.pulse-two {
  top: 61%;
  left: 58%;
}

.pulse-three {
  top: 68%;
  left: 39%;
}

.scene-caption {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: rgba(184, 199, 205, 0.58);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.content-section {
  padding-top: clamp(76px, 10vw, 130px);
  scroll-margin-top: 74px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
}

.section-heading h2,
.personal-copy h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 670;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.event-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(var(--green-rgb), 0.35) transparent;
  scrollbar-width: thin;
}

.event-rail::-webkit-scrollbar {
  height: 5px;
}

.event-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--green-rgb), 0.28);
}

.event-card {
  position: relative;
  min-width: min(370px, 86vw);
  max-width: 420px;
  flex: 1 0 31%;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 8%, rgba(var(--green-rgb), 0.07), transparent 34%),
    linear-gradient(145deg, rgba(15, 24, 27, 0.93), rgba(7, 12, 15, 0.93));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  scroll-snap-align: start;
}

.event-card::before {
  position: absolute;
  top: 0;
  left: 20px;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
  box-shadow: 0 0 13px rgba(var(--green-rgb), 0.22);
  content: "";
}

.event-topline,
.event-stats,
.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.event-topline {
  margin-bottom: 40px;
}

.event-index {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.event-card h3 {
  margin-bottom: 9px;
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 660;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.event-program {
  min-height: 24px;
  margin-bottom: 22px;
  color: var(--muted-strong);
  font-size: 14px;
}

.event-stats {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
}

.event-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-stats span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
  opacity: 0.7;
}

.event-footer {
  min-height: 47px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.event-host {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-enter {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.event-enter:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.event-native-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(154, 170, 177, 0.12);
}

.event-native-actions .button {
  flex: 1 1 auto;
  min-width: 98px;
}

.rail-state {
  width: 100%;
  min-height: 174px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px dashed rgba(154, 170, 177, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.012);
}

.rail-state strong {
  font-size: 17px;
}

.rail-state p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.rail-state .button {
  margin-left: auto;
}

.loading-line {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--cyan-rgb), 0.24);
  border-radius: 50%;
}

.loading-line::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  content: "";
  animation: signal-scan 2s ease-in-out infinite;
  transform: translate(-50%, -50%) rotate(-18deg);
}

@keyframes signal-scan {
  0%,
  100% {
    opacity: 0.32;
    transform: translate(-50%, -50%) rotate(-18deg) scaleX(0.72);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) rotate(-18deg) scaleX(1);
  }
}

.upcoming-placeholder {
  min-height: 210px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(26px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(15, 23, 26, 0.72), rgba(6, 11, 13, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(255, 255, 255, 0.02) 90px 91px);
}

.upcoming-placeholder h3 {
  margin-bottom: 7px;
  font-size: clamp(21px, 2.6vw, 32px);
  font-weight: 640;
  letter-spacing: -0.025em;
}

.upcoming-placeholder p {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.signal-lines {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-radius: 50%;
  background: rgba(var(--cyan-rgb), 0.025);
}

.signal-lines span {
  width: 1px;
  display: block;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.4);
  opacity: 0.62;
}

.signal-lines span:nth-child(1) {
  height: 16px;
}

.signal-lines span:nth-child(2) {
  height: 34px;
}

.signal-lines span:nth-child(3) {
  height: 22px;
}

.status-open {
  border-color: rgba(var(--green-rgb), 0.24);
  color: var(--green);
}

.status-soon {
  border-color: rgba(var(--amber-rgb), 0.27);
  background: var(--amber-soft);
  color: var(--amber);
}

.personal-section {
  position: relative;
  min-height: 450px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  align-items: center;
  gap: 48px;
  margin-top: clamp(76px, 10vw, 130px);
  overflow: hidden;
  padding: clamp(36px, 7vw, 86px);
  border: 1px solid rgba(var(--green-rgb), 0.17);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 45%, rgba(var(--green-rgb), 0.075), transparent 29%),
    linear-gradient(125deg, rgba(12, 21, 24, 0.96), rgba(5, 10, 12, 0.95));
  scroll-margin-top: 82px;
}

.personal-section::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--cyan-rgb), 0.38), transparent);
  content: "";
}

.personal-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.personal-copy h2 {
  margin-bottom: 18px;
}

.personal-copy > p:not(.eyebrow):not(.personal-detail) {
  max-width: 610px;
  margin-bottom: 14px;
  color: var(--muted-strong);
  font-size: clamp(16px, 1.8vw, 20px);
}

.personal-detail {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

.personal-orbit {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  justify-self: end;
}

.orbit-ring,
.orbit-core,
.orbit-node {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.orbit-ring {
  inset: 9%;
  border: 1px solid rgba(var(--cyan-rgb), 0.17);
  box-shadow: inset 0 0 44px rgba(var(--cyan-rgb), 0.025);
}

.ring-one {
  transform: rotate(-18deg) scaleY(0.72);
}

.ring-two {
  inset: 24%;
  border-color: rgba(var(--green-rgb), 0.22);
  transform: rotate(24deg) scaleX(0.76);
}

.orbit-core {
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--green-rgb), 0.42);
  background: rgba(var(--green-rgb), 0.07);
  box-shadow: 0 0 55px rgba(var(--green-rgb), 0.1);
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.06em;
  transform: translate(-50%, -50%);
}

.orbit-node {
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  background: rgba(var(--cyan-rgb), 0.31);
  box-shadow: 0 0 13px rgba(var(--cyan-rgb), 0.54);
}

.node-one {
  top: 16%;
  left: 47%;
}

.node-two {
  top: 60%;
  right: 11%;
}

.node-three {
  bottom: 15%;
  left: 22%;
}

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

.venue-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.venue-art {
  position: relative;
  height: clamp(235px, 31vw, 390px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.club-art {
  background:
    radial-gradient(circle at 50% 56%, rgba(var(--cyan-rgb), 0.1), transparent 25%),
    linear-gradient(160deg, #0c171a, #05090b 74%);
}

.club-art::before {
  position: absolute;
  inset: 13% 17%;
  border: 1px solid rgba(184, 199, 205, 0.21);
  border-radius: 38% 38% 18% 18% / 24% 24% 14% 14%;
  content: "";
  transform: perspective(650px) rotateX(52deg) rotateZ(-7deg);
  box-shadow: inset 0 0 46px rgba(var(--cyan-rgb), 0.035);
}

.club-room,
.club-floor,
.club-stage,
.club-bar,
.club-light,
.beach-sun,
.beach-horizon,
.beach-wave,
.beach-deck {
  position: absolute;
  display: block;
}

.club-room {
  inset: 24% 29%;
  border: 1px solid rgba(var(--green-rgb), 0.18);
  border-radius: 40%;
  transform: perspective(600px) rotateX(55deg) rotateZ(-7deg);
}

.club-floor {
  top: 42%;
  left: 35%;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--cyan-rgb), 0.3);
  background:
    linear-gradient(90deg, transparent 49%, rgba(var(--cyan-rgb), 0.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(var(--cyan-rgb), 0.08) 50%, transparent 51%);
  transform: perspective(500px) rotateX(54deg) rotateZ(-7deg);
}

.club-stage {
  top: 24%;
  left: 39%;
  width: 23%;
  height: 9%;
  border: 1px solid rgba(var(--amber-rgb), 0.3);
  border-radius: 50%;
  background: rgba(var(--amber-rgb), 0.05);
}

.club-bar {
  right: 24%;
  bottom: 30%;
  width: 20%;
  height: 1px;
  background: rgba(var(--green-rgb), 0.45);
  box-shadow: 0 0 10px rgba(var(--green-rgb), 0.22);
  transform: rotate(-61deg);
}

.club-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(var(--green-rgb), 0.8);
}

.club-light.light-one {
  top: 49%;
  left: 47%;
}

.club-light.light-two {
  top: 62%;
  left: 57%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(var(--cyan-rgb), 0.75);
}

.beach-art {
  background:
    radial-gradient(circle at 72% 31%, rgba(var(--amber-rgb), 0.13), transparent 18%),
    linear-gradient(180deg, #10191b 0%, #0a1113 58%, #05090a 100%);
}

.beach-art::after {
  position: absolute;
  right: 0;
  bottom: -40%;
  left: 0;
  height: 72%;
  background: linear-gradient(180deg, rgba(var(--amber-rgb), 0.045), transparent);
  content: "";
  transform: perspective(400px) rotateX(62deg);
  transform-origin: top;
}

.beach-sun {
  top: 22%;
  right: 19%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(var(--amber-rgb), 0.42);
  border-radius: 50%;
  background: rgba(var(--amber-rgb), 0.045);
  box-shadow: 0 0 40px rgba(var(--amber-rgb), 0.08);
}

.beach-horizon {
  top: 53%;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--amber-rgb), 0.34), rgba(var(--cyan-rgb), 0.28), transparent);
}

.beach-wave {
  right: 10%;
  left: 10%;
  height: 24px;
  border-top: 1px solid rgba(var(--cyan-rgb), 0.2);
  border-radius: 50%;
}

.wave-one {
  top: 61%;
  transform: rotate(-2deg);
}

.wave-two {
  top: 69%;
  right: 19%;
  left: 4%;
  opacity: 0.6;
  transform: rotate(2deg);
}

.beach-deck {
  bottom: 12%;
  left: 14%;
  width: 46%;
  height: 26%;
  border-top: 1px solid rgba(184, 199, 205, 0.17);
  border-right: 1px solid rgba(184, 199, 205, 0.13);
  transform: skewX(-24deg) perspective(360px) rotateX(53deg);
}

.venue-card-copy {
  padding: clamp(22px, 4vw, 34px);
}

.venue-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.venue-card-topline > span:last-child {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.venue-card h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.venue-card p {
  max-width: 560px;
  min-height: 50px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.venue-muted-action {
  display: inline-block;
  padding: 8px 1px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-mark {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 760;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a:hover {
  color: var(--green);
}

.auth-dialog {
  position: fixed;
  inset: calc(var(--home-visible-top) + 14px) auto auto 50%;
  width: min(520px, calc(100vw - 28px));
  max-height: min(760px, calc(var(--home-visible-height) - 28px));
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--ink);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.75);
  transform: translateX(-50%);
}

.auth-dialog::backdrop {
  background: rgba(1, 3, 4, 0.78);
  backdrop-filter: blur(11px);
}

.dialog-shell {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  background:
    radial-gradient(circle at 85% 8%, rgba(var(--green-rgb), 0.075), transparent 28%),
    linear-gradient(145deg, rgba(16, 26, 29, 0.99), rgba(7, 12, 15, 0.995));
}

.dialog-shell::before {
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  content: "";
  opacity: 0.55;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dialog-heading h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 39px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.dialog-close {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.dialog-close:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.dialog-close span {
  position: absolute;
  top: 18px;
  left: 11px;
  width: 15px;
  height: 1px;
  background: var(--ink-soft);
}

.dialog-close span:first-child {
  transform: rotate(45deg);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  padding: 11px 8px 13px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.auth-tabs button[aria-selected="true"] {
  border-bottom-color: var(--green);
  color: var(--green);
  box-shadow: 0 9px 20px -15px rgba(var(--green-rgb), 0.8);
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form label {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 730;
}

.auth-form input,
.auth-form select {
  width: 100%;
  height: 47px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(2, 7, 8, 0.68);
  color: var(--ink);
  caret-color: var(--green);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-form select {
  appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted-strong) 50%),
    linear-gradient(135deg, var(--muted-strong) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.auth-form select option {
  background: var(--surface-strong);
  color: var(--ink);
}

.auth-form input:hover,
.auth-form select:hover {
  border-color: rgba(184, 199, 205, 0.57);
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: rgba(var(--green-rgb), 0.68);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.07);
}

.create-session-dialog {
  width: min(500px, calc(100vw - 28px));
}

.avatar-dialog {
  width: min(1040px, calc(100vw - 28px));
  max-height: min(880px, calc(var(--home-visible-height) - 28px));
}

.avatar-dialog-shell {
  min-height: min(760px, calc(var(--home-visible-height) - 30px));
}

.avatar-dialog-heading {
  margin-bottom: 20px;
}

.avatar-dialog-heading > div > p:last-child {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
}

.avatar-editor {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.7fr);
  gap: clamp(22px, 4vw, 48px);
}

.avatar-preview-panel {
  align-self: start;
  display: grid;
  gap: 15px;
  position: sticky;
  top: 0;
}

.avatar-preview-orbit {
  --avatar-bubble-border: rgba(124, 246, 255, 0.42);
  --avatar-bubble-fill: rgba(124, 246, 255, 0.30);
  --avatar-bubble-shadow: rgba(124, 246, 255, 0.12);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--avatar-bubble-border);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, var(--avatar-bubble-fill), transparent 70%),
    #050A0D;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.72),
    0 0 44px var(--avatar-bubble-shadow);
}

.avatar-preview-orbit canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-expression {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.avatar-expression button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(2, 7, 8, 0.68);
  color: var(--muted-strong);
  cursor: pointer;
  font-weight: 760;
}

.avatar-expression button[aria-pressed="true"] {
  border-color: rgba(var(--green-rgb), 0.72);
  background: rgba(var(--green-rgb), 0.11);
  color: var(--green);
  box-shadow: 0 0 24px rgba(var(--green-rgb), 0.07);
}

.avatar-controls-panel {
  min-width: 0;
}

.avatar-presets {
  display: grid;
  gap: 10px;
  margin-bottom: 17px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.avatar-presets-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.avatar-presets-heading strong {
  color: var(--ink-soft);
  font-size: 12px;
}

.avatar-presets-heading span {
  color: var(--muted);
  font-size: 11px;
}

.avatar-preset-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.avatar-preset-buttons button {
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(2, 7, 8, 0.68);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
}

.avatar-preset-buttons button[aria-pressed="true"] {
  border-color: rgba(var(--green-rgb), 0.72);
  background: rgba(var(--green-rgb), 0.11);
  color: var(--green);
  box-shadow: 0 0 24px rgba(var(--green-rgb), 0.07);
}

.avatar-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 15px;
}

.avatar-control {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.avatar-control label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.03em;
}

.avatar-control select {
  width: 100%;
  height: 43px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted-strong) 50%) calc(100% - 17px) 18px / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted-strong) 50%, transparent 50%) calc(100% - 12px) 18px / 5px 5px no-repeat,
    rgba(2, 7, 8, 0.68);
  color: var(--ink);
  cursor: pointer;
}

.avatar-control select:focus-visible {
  border-color: rgba(var(--green-rgb), 0.68);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.07);
}

.avatar-profile-conflict {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(255, 189, 98, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(255, 189, 98, 0.055);
}

.avatar-profile-conflict strong {
  color: #ffcf88;
}

.avatar-profile-conflict p {
  margin: 7px 0 14px;
  color: var(--muted-strong);
  font-size: 12px;
}

.avatar-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.avatar-footer-actions > span {
  color: var(--muted);
  font-size: 11px;
}

.avatar-footer-actions .button {
  min-width: 132px;
}

.field-hint {
  margin: -1px 0 2px;
  color: var(--muted);
  font-size: 11px;
}

.form-submit {
  width: 100%;
  margin-top: 15px;
}

.form-message {
  min-height: 22px;
  margin: 17px 0 0;
  color: var(--green);
  font-size: 12px;
}

.form-message.error {
  color: var(--danger);
}

.dialog-footnote {
  margin: 10px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 760px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 48px clamp(24px, 7vw, 58px) 28px;
  }

  .hero-scene {
    min-height: 280px;
  }

  .venue-plan {
    width: min(285px, 78%);
  }

  .scene-caption {
    bottom: 0;
  }

  .personal-section {
    grid-template-columns: 1fr;
  }

  .personal-orbit {
    width: min(280px, 70vw);
    justify-self: center;
  }

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

  .venue-art {
    height: min(390px, 58vw);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
    --radius-lg: 22px;
  }

  .header-inner {
    min-height: 58px;
  }

  .wordmark {
    gap: 8px;
  }

  .wordmark-name {
    font-size: 17px;
  }

  .wordmark-divider {
    height: 14px;
  }

  .wordmark-place {
    font-size: 10px;
  }

  .account-button {
    max-width: 104px;
    padding-inline: 10px;
  }

  .header-actions {
    gap: 2px;
  }

  .icon-button {
    width: 37px;
    height: 37px;
  }

  .floating-panel {
    right: 12px;
  }

  .preview-wrap {
    padding-top: 10px;
  }

  .preview-notice {
    align-items: flex-start;
    padding: 10px 12px;
  }

  .preview-signal {
    margin-top: 6px;
  }

  .hero {
    margin-top: 10px;
    padding: 38px 22px 20px;
  }

  .brand-banner {
    margin-top: 10px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-meta {
    display: grid;
    gap: 5px;
  }

  .hero-meta span::after {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button-primary,
  .hero-actions .button-secondary {
    flex: 1 1 100%;
  }

  .native-role-actions {
    width: 100%;
  }

  .hero-scene {
    min-height: 220px;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .section-heading > p {
    max-width: none;
    text-align: left;
  }

  .event-card {
    min-width: calc(100vw - 42px);
  }

  .event-topline {
    margin-bottom: 30px;
  }

  .rail-state {
    min-height: 210px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 22px;
  }

  .rail-state .button {
    width: 100%;
    margin-left: 0;
  }

  .upcoming-placeholder {
    grid-template-columns: 1fr;
  }

  .signal-lines {
    width: 62px;
    height: 62px;
  }

  .upcoming-placeholder .status-chip {
    justify-self: start;
  }

  .personal-section {
    min-height: auto;
    gap: 34px;
    padding: 38px 22px 24px;
  }

  .personal-orbit {
    width: min(230px, 73vw);
  }

  .venue-art {
    height: 250px;
  }

  .venue-card p {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer > span:last-child {
    grid-column: auto;
  }

  .auth-dialog {
    width: calc(100vw - 16px);
    inset-block-start: calc(var(--home-visible-top) + 8px);
    max-height: calc(var(--home-visible-height) - 16px);
    border-radius: 18px;
  }

  .avatar-editor {
    grid-template-columns: 1fr;
  }

  .avatar-preview-panel {
    position: static;
    grid-template-columns: minmax(150px, 0.7fr) minmax(150px, 1fr);
    align-items: center;
  }

  .avatar-preview-orbit {
    grid-row: span 2;
  }

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

/*
  Phones should not fall into a tiny desktop-like control scale merely because
  a browser reports an unusually wide CSS viewport or a saved page zoom. Keep
  touch targets physical-size friendly, and avoid the two largest continuously
  composited blur layers on older mobile GPUs such as the Galaxy S10e.
*/
@media (hover: none) and (pointer: coarse) {
  .ambient {
    display: none;
  }

  .site-header {
    background: rgba(3, 6, 8, 0.96);
    backdrop-filter: none;
  }

  .auth-dialog::backdrop {
    background: rgba(1, 3, 4, 0.9);
    backdrop-filter: none;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }

  .account-button {
    min-height: 44px;
  }

  .navigation-menu > :is(a, button) {
    min-height: 48px;
  }
}

:root[data-native-home="true"] .auth-dialog::backdrop {
  background: rgba(1, 3, 4, 0.9);
  backdrop-filter: none;
}

@media (max-width: 380px) {
  .wordmark-place,
  .wordmark-divider {
    display: none;
  }

  .account-button {
    max-width: 86px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .avatar-preview-panel,
  .avatar-control-grid {
    grid-template-columns: 1fr;
  }

  .avatar-preview-orbit {
    width: min(220px, 100%);
    grid-row: auto;
    justify-self: center;
  }

  .avatar-footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .avatar-presets-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .preview-signal,
  .account-dot,
  .live-status::before,
  .event-stats span::before {
    forced-color-adjust: none;
  }
}
