/* NightScene Club Admin ? tokens from Figma AltLife Club portal (node 2048:6335) */
:root {
  --ns-bg: #1c1d24;
  --ns-bg-elevated: #31323d;
  --ns-surface: rgba(28, 29, 36, 0.92);
  --ns-text: #f6f5f9;
  --ns-muted: #b7b6c4;
  --ns-muted-2: #52556a;
  --ns-accent: #ff3d9a;
  --ns-accent-2: #8f7bff;
  --ns-accent-soft: #c9bdff;
  --ns-white: #ffffff;
  --ns-radius: 10px;
  --ns-radius-lg: 20px;
  --ns-font: "Roboto", system-ui, sans-serif;
  --ns-wrap: 1080px;
}

* { box-sizing: border-box; }

.ns-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ns-font);
  color: var(--ns-text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(143, 123, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(255, 61, 154, 0.12), transparent 55%),
    var(--ns-bg);
}

.ns-topbar {
  border-bottom: 1px solid rgba(183, 182, 196, 0.12);
  background: rgba(28, 29, 36, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ns-topbar-inner,
.ns-wrap {
  width: min(100% - 2rem, var(--ns-wrap));
  margin-inline: auto;
}

.ns-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 63px;
  padding: 0.75rem 0;
}

.ns-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ns-text);
}

.ns-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3d9a;
  flex-shrink: 0;
}

.ns-logo-text {
  font-weight: 700;
  font-size: 19px;
  line-height: 28.5px;
  letter-spacing: 0.02em;
}

.ns-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ns-modebadge {
  font-size: 11px;
  line-height: 17px;
  color: var(--ns-muted);
  background: transparent;
  border: 1px solid rgba(183, 182, 196, 0.22);
  border-radius: 999px;
  padding: 5px 11px;
}

.ns-theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(183, 182, 196, 0.22);
  background: transparent;
  color: var(--ns-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: default;
}

.ns-theme-toggle-icon {
  font-size: 12px;
  line-height: 1;
}

.ns-wrap {
  padding: 1.5rem 0 3rem;
}

.ns-wrap-landing {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: min(100% - 2rem, var(--ns-wrap));
  margin-inline: auto;
}

.ns-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.ns-hero-compact {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
}

.ns-trial-pill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 15px;
  min-height: 34px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(201, 189, 255, 0.35);
  color: var(--ns-accent-soft);
  font-size: 13px;
  line-height: 20px;
}

.ns-hero-title {
  font-size: clamp(1.9rem, 3.2vw, 38px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ns-white);
}

.ns-hero-sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ns-muted);
  line-height: 1.5;
  font-size: 16px;
}

.ns-hero-cta {
  margin-top: 20px;
}

.ns-hero-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 64px;
  text-align: center;
}

.ns-btn-register {
  min-width: 136px;
  min-height: 41px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  background: linear-gradient(90deg, #ff3d9a 0%, #8f7bff 100%);
  box-shadow: none;
}

.ns-btn-register:hover {
  filter: brightness(1.06);
  color: var(--ns-white);
}

/* Landing-only visual alignment to Figma node 2048:6335 */
.ns-body-landing {
  background: #1c1d24;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ns-body-landing .ns-topbar {
  background: #1c1d24;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(183, 182, 196, 0.12);
}

.ns-body-landing .ns-logo-dot {
  background: #ff3d9a;
  box-shadow: none;
}

.ns-footer-landing {
  border-top: 1px solid rgba(183, 182, 196, 0.12);
  padding: 27px 0;
  min-height: 78px;
}

.ns-footer-landing .ns-wrap {
  padding: 0;
}

/* Production Coming Soon home */
.ns-body-coming-soon {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(143, 123, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(255, 61, 154, 0.16), transparent 55%),
    #1c1d24;
}

.ns-coming-soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 64px;
  text-align: center;
  min-height: 60vh;
}

.ns-coming-soon-title {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ns-white);
  text-shadow: 0 0 48px rgba(255, 61, 154, 0.35);
}

.ns-card {
  background: rgba(49, 50, 61, 0.45);
  border: 1px solid rgba(183, 182, 196, 0.14);
  border-radius: var(--ns-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.ns-auth-card {
  margin-top: 0.5rem;
}

.ns-auth-card-narrow {
  max-width: 480px;
  margin-inline: auto;
}

.ns-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.ns-field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ns-muted);
  font-size: 0.9rem;
}

.ns-required {
  color: #f27107;
  margin-left: 0.15rem;
  font-weight: 700;
}

.ns-input,
.form-control.ns-input,
.form-select.ns-input {
  background: rgba(28, 29, 36, 0.85) !important;
  border: 1px solid rgba(183, 182, 196, 0.22) !important;
  color: var(--ns-text) !important;
  border-radius: var(--ns-radius) !important;
  min-height: 43px;
  padding: 0.65rem 0.85rem;
}

.ns-input:focus,
.form-control.ns-input:focus,
.form-select.ns-input:focus {
  border-color: var(--ns-accent-2) !important;
  box-shadow: 0 0 0 0.2rem rgba(143, 123, 255, 0.25) !important;
}

/* Date: keep native picker icon visible on dark inputs; no free typing. */
.ns-date-input,
input[type="date"].ns-input {
  cursor: pointer;
  caret-color: transparent;
  padding-right: 2.5rem;
}

.ns-date-input::-webkit-calendar-picker-indicator,
input[type="date"].ns-input::-webkit-calendar-picker-indicator {
  /* Let clicks hit the input so JS owns open/close toggle (icon alone always reopens). */
  pointer-events: none;
  cursor: pointer;
  opacity: 1;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  filter: invert(1) brightness(1.35);
}

.ns-time-input,
input[type="time"].ns-input {
  cursor: pointer;
}

.ns-time-input::-webkit-calendar-picker-indicator,
input[type="time"].ns-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: invert(1) brightness(1.35);
}

.ns-otp-input {
  letter-spacing: 0.35em;
  font-size: 1.25rem;
  text-align: center;
}

.ns-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ns-otp-actions {
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.ns-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--ns-radius);
  font-weight: 500;
  padding: 0.55rem 1.1rem;
}

.ns-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.ns-btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ns-spin 0.7s linear infinite;
  flex: 0 0 auto;
}

.ns-btn-ghost .ns-btn-spinner,
.ns-btn-upcoming .ns-btn-spinner {
  border-color: rgba(46, 224, 184, 0.25);
  border-top-color: #2ee0b8;
}

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

.ns-btn-primary {
  background: linear-gradient(135deg, var(--ns-accent), #ff6bb3 40%, var(--ns-accent-2));
  border: none;
  color: var(--ns-white);
}

.ns-btn-primary:hover {
  filter: brightness(1.08);
  color: var(--ns-white);
}

.ns-btn-ghost {
  background: transparent;
  border: 1px solid rgba(183, 182, 196, 0.3);
  color: var(--ns-muted);
}

.ns-btn-ghost:hover {
  color: var(--ns-text);
  border-color: var(--ns-accent-soft);
}

.ns-btn-ghost:disabled,
.ns-btn-ghost[aria-disabled="true"],
.ns-resend-btn:disabled,
.ns-resend-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  color: var(--ns-muted);
  border-color: rgba(183, 182, 196, 0.2);
}

.ns-link,
.ns-link-muted {
  color: var(--ns-accent-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.ns-link:hover,
.ns-link-muted:hover {
  color: var(--ns-white);
}

.ns-error {
  color: #f27107;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.ns-event-form .ns-input.is-invalid,
.ns-event-form .form-control.ns-input.is-invalid,
.ns-hours-form .ns-input.is-invalid,
.ns-hours-form .form-control.ns-input.is-invalid,
.ns-hours-editor .ns-input.is-invalid,
.ns-hours-editor .form-control.ns-input.is-invalid,
.ns-hours-list .ns-input.is-invalid,
.ns-hours-list .form-control.ns-input.is-invalid {
  border-color: #f27107 !important;
  box-shadow: 0 0 0 0.15rem rgba(242, 113, 7, 0.22) !important;
}

.ns-event-form .ns-input.is-invalid:focus,
.ns-event-form .form-control.ns-input.is-invalid:focus,
.ns-hours-form .ns-input.is-invalid:focus,
.ns-hours-form .form-control.ns-input.is-invalid:focus,
.ns-hours-editor .ns-input.is-invalid:focus,
.ns-hours-editor .form-control.ns-input.is-invalid:focus,
.ns-hours-list .ns-input.is-invalid:focus,
.ns-hours-list .form-control.ns-input.is-invalid:focus {
  border-color: #f27107 !important;
  box-shadow: 0 0 0 0.2rem rgba(242, 113, 7, 0.28) !important;
}

.ns-alert {
  border-radius: var(--ns-radius);
}

.ns-muted {
  color: var(--ns-muted);
}

.ns-resend {
  margin: 0;
  display: contents;
}

.ns-footer {
  border-top: 1px solid rgba(183, 182, 196, 0.1);
  padding: 1.5rem 0;
}

.ns-footer-note {
  margin: 0;
  text-align: center;
  color: var(--ns-muted-2);
  font-size: 0.8rem;
}

.ns-field-block {
  margin-bottom: 1.25rem;
}

.ns-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ns-radio-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 120px;
  min-height: 43px;
  padding: 0.55rem 1rem;
  border-radius: var(--ns-radius);
  border: 1px solid rgba(183, 182, 196, 0.22);
  background: rgba(28, 29, 36, 0.85);
  color: var(--ns-text);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ns-radio-card:hover {
  border-color: rgba(201, 189, 255, 0.45);
}

.ns-radio-card.is-selected,
.ns-radio-card:has(.ns-radio-input:checked) {
  border-color: var(--ns-accent-2);
  box-shadow: 0 0 0 0.15rem rgba(143, 123, 255, 0.22);
  background: rgba(143, 123, 255, 0.12);
}

.ns-radio-input {
  accent-color: var(--ns-accent);
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.ns-radio-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.ns-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.ns-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  background: rgba(143, 123, 255, 0.18);
  border: 1px solid rgba(201, 189, 255, 0.35);
  color: var(--ns-accent-soft);
  white-space: nowrap;
}

.ns-badge-upcoming {
  background: rgba(34, 211, 176, 0.15);
  border: 0;
  color: #2ee0b8;
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  padding: 3px 9px;
  border-radius: 20px;
}

.ns-badge-via-api {
  background: rgba(124, 92, 255, 0.15);
  border: 0;
  color: #b7a4ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  padding: 3px 9px;
  border-radius: 20px;
}

.ns-upcoming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.ns-btn-upcoming {
  background: rgba(34, 211, 176, 0.15);
  border: 0;
  color: #2ee0b8;
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  padding: 6px 12px;
  border-radius: 20px;
  min-height: auto;
}

.ns-btn-upcoming:hover,
.ns-btn-upcoming:focus {
  background: rgba(34, 211, 176, 0.24);
  color: #2ee0b8;
}

.ns-event-row-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Phase 2 onboarding */
.ns-onboarding-header {
  text-align: center;
  padding: 1.5rem 0 1rem;
}

.ns-onboarding-kicker {
  margin: 0 0 0.65rem;
  color: var(--ns-accent-soft);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ns-onboarding .ns-hero-title {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
}

.ns-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.ns-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 182, 196, 0.2);
  color: var(--ns-muted);
  text-decoration: none;
  font-size: 0.85rem;
  background: rgba(28, 29, 36, 0.55);
}

.ns-step.is-current {
  border-color: var(--ns-accent-2);
  color: var(--ns-text);
  box-shadow: 0 0 0 0.12rem rgba(143, 123, 255, 0.2);
}

.ns-step.is-complete {
  border-color: rgba(255, 61, 154, 0.45);
  color: var(--ns-accent-soft);
}

.ns-step.is-locked {
  opacity: 0.55;
  cursor: default;
}

.ns-step-index {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(143, 123, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 700;
}

.ns-onboarding-card {
  max-width: 760px;
  margin-inline: auto;
}

.ns-onboarding-actions {
  justify-content: space-between;
}

.ns-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ns-hours-row {
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  gap: 0.75rem;
  align-items: end;
  padding: 0.85rem;
  border-radius: var(--ns-radius);
  border: 1px solid rgba(183, 182, 196, 0.14);
  background: rgba(28, 29, 36, 0.45);
}

.ns-hours-day {
  font-weight: 600;
  padding-bottom: 0.55rem;
}

.ns-hours-closed {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ns-muted);
  font-size: 0.9rem;
  padding-bottom: 0.55rem;
}

.ns-hours-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.ns-hours-error {
  grid-column: 1 / -1;
}

.ns-plan-grid {
  display: grid;
  gap: 0.85rem;
}

.ns-plan-card {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: var(--ns-radius-lg);
  border: 1px solid rgba(183, 182, 196, 0.18);
  background: rgba(28, 29, 36, 0.55);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ns-plan-card:hover {
  border-color: rgba(201, 189, 255, 0.45);
}

.ns-plan-card.is-selected,
.ns-plan-card:has(.ns-radio-input:checked) {
  border-color: var(--ns-accent-2);
  box-shadow: 0 0 0 0.15rem rgba(143, 123, 255, 0.22);
  background: rgba(143, 123, 255, 0.1);
}

.ns-plan-card .ns-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ns-plan-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.ns-plan-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.ns-plan-price {
  margin: 0;
  color: var(--ns-accent-soft);
  font-weight: 600;
}

.ns-plan-trial {
  margin: 0.35rem 0 0;
  color: var(--ns-muted);
  font-size: 0.85rem;
}

.ns-plan-desc {
  margin: 0.55rem 0 0;
  color: var(--ns-muted);
  font-size: 0.95rem;
}

.ns-plan-features {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ns-text);
  font-size: 0.9rem;
}

.ns-review-grid {
  display: grid;
  gap: 1rem;
}

.ns-review-block {
  padding: 1rem;
  border-radius: var(--ns-radius);
  border: 1px solid rgba(183, 182, 196, 0.14);
  background: rgba(28, 29, 36, 0.4);
}

.ns-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.ns-review-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.ns-review-dl {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.ns-review-dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem;
}

.ns-review-dl dt {
  color: var(--ns-muted);
  font-weight: 500;
}

.ns-review-dl dd {
  margin: 0;
}

.ns-review-text {
  margin: 0;
  line-height: 1.5;
}

.ns-review-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ns-review-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.ns-review-form {
  margin-top: 1.25rem;
}

.ns-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ns-muted);
  margin-bottom: 0.5rem;
}

.ns-check {
  margin-top: 0.2rem;
  accent-color: var(--ns-accent);
}

/* Address onboarding ? Figma node 2110:10628 (address section) */
.ns-body-address .ns-logo-dot {
  background: linear-gradient(135deg, #ff3d9a 0%, #8f7bff 100%);
  border-radius: 5px;
}

.ns-body-address .ns-modebadge {
  background: #31323d;
  border-color: #52556a;
  color: #b7b6c4;
  font-size: 11px;
  line-height: 16.5px;
  padding: 5px 11px;
  border-radius: 20px;
}

.ns-body-address .ns-topbar {
  background: rgba(28, 29, 36, 0.92);
  backdrop-filter: blur(3px);
  border-bottom: 1px solid #52556a;
}

.ns-onboarding-address {
  max-width: 1080px;
  padding-top: 4px;
}

.ns-address-page {
  width: 100%;
  padding: 36px 0 24px;
}

.ns-address-title {
  margin: 0 0 10px;
  color: #f6f5f9;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.ns-address-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.ns-address-context-text {
  margin: 0;
  color: #b7b6c4;
  font-size: 12px;
  line-height: 18px;
}

.ns-address-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 8px;
  border: 1px solid #52556a;
  border-radius: 8px;
  color: #f6f5f9;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: underline;
  text-underline-position: from-font;
}

.ns-address-back:hover {
  color: #ffffff;
  border-color: #b7b6c4;
}

.ns-address-stepper {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.ns-address-card {
  width: 100%;
  max-width: 640px;
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 14px;
  padding: 21px;
}

.ns-address-form .ns-address-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  padding-top: 14px;
}

.ns-address-form .ns-address-field--lead,
.ns-address-form .ns-address-field:first-of-type:not(.ns-address-field--hidden) {
  padding-top: 0;
}

.ns-address-field--hidden,
.ns-setup-field--hidden,
.ns-onboarding-profile-hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.ns-address-label {
  display: block;
  margin: 0;
  color: #b7b6c4;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.ns-address-form .ns-input,
.ns-address-form .form-control.ns-input,
.ns-address-form .form-select.ns-input,
.ns-address-form .ns-select {
  background: #31323d !important;
  border: 1px solid #52556a !important;
  border-radius: 9px !important;
  color: #f6f5f9 !important;
  min-height: 43px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 21px;
  box-shadow: none !important;
}

.ns-address-form .ns-input:focus,
.ns-address-form .form-control.ns-input:focus,
.ns-address-form .form-select.ns-input:focus,
.ns-address-form .ns-select:focus {
  border-color: #8f7bff !important;
  box-shadow: 0 0 0 0.15rem rgba(143, 123, 255, 0.22) !important;
}

.ns-address-form .ns-input::placeholder {
  color: #b7b6c4;
  opacity: 0.7;
}

.ns-address-geo {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
}

.ns-select-wrap {
  position: relative;
  width: 100%;
}

.ns-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #b7b6c4;
  border-bottom: 1.5px solid #b7b6c4;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.ns-address-form .ns-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px !important;
  padding-left: 17px !important;
  cursor: pointer;
  background-image: none !important;
}

.ns-address-form .ns-select option {
  background: #31323d;
  color: #f6f5f9;
}

.ns-address-actions {
  margin-top: 24px;
  justify-content: flex-start;
  gap: 12px;
}

.ns-address-submit {
  min-height: 41px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ff3d9a;
  background-image: none;
  font-weight: 700;
}

.ns-address-submit:hover {
  filter: brightness(1.06);
  color: #ffffff;
}

.ns-body-address .ns-footer {
  border-top-color: #52556a;
}

@media (max-width: 768px) {
  .ns-topbar-inner {
    gap: 0.75rem;
  }
  .ns-modebadge {
    display: none;
  }
  .ns-card {
    padding: 1.15rem;
  }
  .ns-radio-card {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }
  .ns-hours-row {
    grid-template-columns: 1fr;
  }
  .ns-step-label {
    display: none;
  }
  .ns-review-dl div {
    grid-template-columns: 1fr;
  }
  .ns-address-card {
    padding: 16px;
    border-radius: 12px;
  }
  .ns-address-geo {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ns-address-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .ns-address-submit,
  .ns-address-actions .ns-btn-ghost {
    width: 100%;
    text-align: center;
  }
}

/* Club Setup ? Figma node 2110:10628 */
.ns-body-setup .ns-logo-dot {
  background: linear-gradient(135deg, #ff3d9a 0%, #8f7bff 100%);
  border-radius: 5px;
}

.ns-body-setup .ns-modebadge {
  background: #31323d;
  border-color: #52556a;
  color: #b7b6c4;
  font-size: 11px;
  line-height: 16.5px;
  padding: 5px 11px;
  border-radius: 20px;
}

.ns-body-setup .ns-topbar {
  background: rgba(28, 29, 36, 0.92);
  backdrop-filter: blur(3px);
  border-bottom: 1px solid #52556a;
}

.ns-club-setup-wrap {
  max-width: 1080px;
  padding-top: 4px;
}

.ns-club-setup {
  width: 100%;
  padding: 36px 0 24px;
}

.ns-setup-title {
  margin: 0 0 10px;
  color: #f6f5f9;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.ns-setup-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.ns-setup-context-text {
  margin: 0;
  color: #b7b6c4;
  font-size: 12px;
  line-height: 18px;
}

.ns-setup-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 8px;
  border: 1px solid #52556a;
  border-radius: 8px;
  color: #f6f5f9;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: underline;
  text-underline-position: from-font;
}

.ns-setup-back:hover {
  color: #ffffff;
  border-color: #b7b6c4;
}

.ns-setup-card {
  width: 100%;
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 14px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ns-setup-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-top: 10px;
}

.ns-setup-col {
  flex: 1 1 0;
  min-width: 0;
}

.ns-setup-col-details {
  padding-top: 14px;
}

.ns-setup-col-media {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
}

.ns-setup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
}

.ns-setup-col-details > .ns-setup-field--lead,
.ns-setup-col-details > .ns-setup-field:first-child:not(.ns-setup-field--hidden) {
  padding-top: 0;
}

.ns-setup-geo > .ns-setup-field {
  padding-top: 14px;
}

.ns-setup-label {
  display: block;
  margin: 0;
  color: #b7b6c4;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.ns-setup-card .ns-input,
.ns-setup-card .form-control.ns-input,
.ns-setup-card .form-select.ns-input,
.ns-setup-card .ns-select {
  background: #31323d !important;
  border: 1px solid #52556a !important;
  border-radius: 9px !important;
  color: #f6f5f9 !important;
  min-height: 43px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 21px;
  box-shadow: none !important;
}

.ns-setup-card .ns-textarea {
  min-height: 70px;
  padding-top: 17px;
  padding-bottom: 17px;
  resize: vertical;
}

.ns-setup-card .ns-input:focus,
.ns-setup-card .form-control.ns-input:focus,
.ns-setup-card .form-select.ns-input:focus,
.ns-setup-card .ns-select:focus {
  border-color: #8f7bff !important;
  box-shadow: 0 0 0 0.15rem rgba(143, 123, 255, 0.22) !important;
}

.ns-setup-card .ns-input::placeholder,
.ns-setup-card .form-control.ns-input::placeholder,
.ns-setup-card .ns-textarea::placeholder,
.ns-body-setup .ns-input::placeholder,
.ns-body-setup .form-control.ns-input::placeholder,
.ns-body-setup .ns-textarea::placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.ns-setup-card .ns-input::-webkit-input-placeholder,
.ns-setup-card .form-control.ns-input::-webkit-input-placeholder,
.ns-body-setup .ns-input::-webkit-input-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.ns-setup-card .ns-input::-moz-placeholder,
.ns-setup-card .form-control.ns-input::-moz-placeholder,
.ns-body-setup .ns-input::-moz-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

.ns-setup-geo {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
}

/* Address insert ? Figma 2110:10628 field rhythm */
.ns-body-setup .ns-setup-col-details {
  padding-top: 0;
}

.ns-body-setup .ns-setup-field--lead {
  padding-top: 0;
}

.ns-body-setup .ns-select-wrap .ns-select,
.ns-body-address .ns-select-wrap .ns-select {
  width: 100%;
}

.ns-setup-card .ns-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px !important;
  padding-left: 17px !important;
  cursor: pointer;
  background-image: none !important;
}

.ns-setup-card .ns-select option {
  background: #31323d;
  color: #f6f5f9;
}

.ns-setup-food {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 21px;
  color: #b7b6c4;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  cursor: pointer;
}

.ns-setup-food input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #0075ff;
}

.ns-upload-block {
  width: 100%;
}

.ns-upload-block > .ns-setup-label {
  margin-bottom: 6px;
}

.ns-upload-block + .ns-upload-block {
  margin-top: 8px;
}

.ns-upload-box {
  border: 1px dashed #52556a;
  border-radius: 10px;
  padding: 16.5px 17px 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.ns-upload-overlay-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.ns-upload-box.has-preview .ns-upload-hint,
.ns-upload-box.has-preview .ns-upload-rec {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.ns-file-input {
  color: #b7b6c4;
  font-size: 13px;
  line-height: 19.5px;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.ns-upload-hint {
  margin: 2px 0 0;
  color: #b7b6c4;
  font-size: 13px;
  line-height: 19.5px;
}

.ns-upload-rec {
  margin: 0;
  color: #b7b6c4;
  font-size: 11px;
  line-height: 16.5px;
}

.ns-upload-preview {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.ns-upload-file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(28, 29, 36, 0.55);
  border: 1px solid #52556a;
  color: #f6f5f9;
  font-size: 12px;
  text-align: left;
}

.ns-upload-box-dash {
  overflow: auto;
}

.ns-upload-box-dash.has-preview {
  align-items: stretch;
  text-align: left;
}

.ns-upload-box-dash.is-dragover {
  border-color: #c9bdff;
  background: rgba(143, 123, 255, 0.08);
}

.ns-upload-box-dash.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.ns-dash-media-limit-msg {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 107, 129, 0.12);
  border: 1px solid rgba(255, 107, 129, 0.35);
  color: #ffb8c4;
  font-size: 13px;
}

.ns-upload-box-dash .ns-upload-preview-multi {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  overflow-x: auto;
  overflow-y: hidden;
}

.ns-upload-pick {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1d24;
  border: 1px solid #52556a;
}

.ns-upload-pick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-upload-pick-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #c9bdff;
  font-size: 10px;
  font-weight: 700;
}

.ns-upload-pick .ns-upload-file-state {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1px 3px;
  background: rgba(28, 29, 36, 0.78);
  color: #8dffc2;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.ns-upload-pick-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 29, 36, 0.88);
  color: #ff3d9a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ns-upload-pick-remove:hover {
  background: rgba(28, 29, 36, 1);
}

.ns-upload-pick.is-error {
  border-color: #ff3d9a;
}

.ns-upload-pick.is-error .ns-upload-file-state {
  color: #ff3d9a;
}

.ns-upload-box-dash.is-uploading .ns-upload-pick .ns-upload-file-state {
  color: #c9bdff;
}

.ns-upload-box-dash.is-uploading .ns-upload-pick-remove,
.ns-upload-pick-remove:disabled {
  pointer-events: none;
  opacity: 0.4;
  cursor: not-allowed;
}

.ns-upload-status {
  margin: 6px 0 0;
  width: 100%;
  color: #b7b6c4;
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

.ns-upload-status.is-error {
  color: #ff3d9a;
}

.ns-upload-status.is-uploading {
  color: #c9bdff;
}

.ns-upload-file-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ns-upload-file-meta {
  color: #b7b6c4;
}

.ns-upload-file-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  border-radius: 6px;
  background: #1c1d24;
  color: #c9bdff;
  font-size: 11px;
  font-weight: 700;
}

.ns-upload-thumb-lg {
  width: 96px;
  height: 96px;
  border-radius: 8px;
}

.ns-media-existing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #31323d;
  border: 1px solid #52556a;
  color: #f6f5f9;
  font-size: 12px;
}

.ns-media-remove {
  border: 0;
  background: transparent;
  color: #ff3d9a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.ns-setup-section {
  width: 100%;
  padding-top: 14px;
}

.ns-hours-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.ns-hours-row-setup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.ns-hours-day-setup {
  width: 90px;
  color: #f6f5f9;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.ns-hours-closed-setup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b7b6c4;
  font-size: 11px;
  line-height: 16.5px;
  cursor: pointer;
}

.ns-hours-closed-setup input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #0075ff;
}

.ns-hours-times-setup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ns-hours-times-setup .ns-time-input {
  width: auto;
  min-width: 132px;
  min-height: 43px;
}

.ns-hours-dash {
  color: #f6f5f9;
  font-size: 16px;
  line-height: 24px;
}

.ns-hours-row-error {
  flex-basis: 100%;
  margin-left: 100px;
}

.ns-setup-plan-sub {
  margin: 0 0 4px;
  color: #b7b6c4;
  font-size: 12px;
  line-height: 18px;
}

.ns-plan-grid-setup {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding-top: 4px;
}

.ns-plan-card-setup {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px;
  border-radius: 12px;
  border: 1px solid #52556a;
  background: #31323d;
  cursor: pointer;
  color: inherit;
}

.ns-plan-card-setup.is-selected,
.ns-plan-card-setup:has(.ns-radio-input:checked) {
  border-color: #ff3d9a;
  background: rgba(255, 61, 154, 0.08);
}

.ns-plan-card-setup .ns-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ns-plan-name-setup {
  color: #f6f5f9;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.ns-plan-price-setup {
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-height: 33px;
}

.ns-plan-amount {
  color: #f6f5f9;
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
}

.ns-plan-mo {
  color: #b7b6c4;
  font-size: 12px;
  line-height: 18px;
}

.ns-plan-trial-setup {
  color: #b7b6c4;
  font-size: 11px;
  line-height: 16px;
}

.ns-plan-desc-setup {
  color: #b7b6c4;
  font-size: 12px;
  line-height: 16.8px;
}

.ns-setup-actions {
  padding-top: 14px;
}

.ns-btn-create-club {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  cursor: pointer;
  background: linear-gradient(134deg, #ff3d9a 0%, #8f7bff 100%);
}

.ns-btn-create-club:hover {
  filter: brightness(1.06);
}

.ns-setup-footer {
  border-top: 1px solid #52556a;
  padding-top: 27px;
  padding-bottom: 34px;
}

@media (max-width: 900px) {
  .ns-setup-grid {
    flex-direction: column;
  }

  .ns-plan-grid-setup {
    flex-direction: column;
  }

  .ns-setup-geo {
    grid-template-columns: 1fr;
  }

  .ns-hours-row-error {
    margin-left: 0;
  }
}

/* Phase 3 ? Club dashboard (Figma 2049:7807 / section#club-dashboard) */
.ns-dashboard-wrap {
  width: min(100% - 2rem, 1080px);
}

.ns-dashboard {
  padding: 0.5rem 0 2.5rem;
}

.ns-dash-page-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.ns-dash-card {
  margin-bottom: 1.25rem;
  padding: 1.3rem;
}

.ns-dash-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.ns-dash-card-sub {
  margin: 0.35rem 0 0.85rem;
  color: var(--ns-muted);
  font-size: 0.95rem;
}

.ns-grid2 > .ns-dash-card.is-subscription-locked {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ns-subscription-lock-stage {
  position: relative;
}

.is-subscription-locked .ns-subscription-lock-stage {
  margin-top: 0.85rem;
  overflow: hidden;
  border-radius: 12px;
}

.ns-grid2 > .ns-dash-card.is-subscription-locked .ns-subscription-lock-stage {
  flex: 1 1 auto;
  min-height: 16rem;
}

.is-subscription-locked .ns-subscription-lock-content {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.ns-subscription-lock {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  background: transparent;
}

.ns-subscription-lock-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 22rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(28, 29, 36, 0.42);
  backdrop-filter: blur(4px);
}

.ns-subscription-lock-msg {
  margin: 0;
  color: var(--ns-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.ns-dash-note {
  margin: 0.75rem 0 0;
  color: var(--ns-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ns-badge-active {
  background: rgba(61, 214, 140, 0.16);
  border-color: rgba(61, 214, 140, 0.4);
  color: #8dffc2;
}

.ns-progressbar {
  margin-top: 0.85rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(183, 182, 196, 0.16);
  overflow: hidden;
}

.ns-progressbar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ns-accent), var(--ns-accent-2));
}

.ns-grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.ns-stat-card {
  background: var(--ns-bg-elevated);
  border: 1px solid rgba(183, 182, 196, 0.12);
  border-radius: var(--ns-radius);
  padding: 1rem;
}

.ns-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.ns-stat-lbl {
  margin-top: 0.35rem;
  color: var(--ns-muted);
  font-size: 0.95rem;
}

.ns-stat-delta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #8dffc2;
}

.ns-stat-delta.is-down {
  color: #ff8fb8;
}

.ns-plan-grid-readonly .ns-plan-card-setup {
  cursor: default;
  pointer-events: none;
  position: relative;
}

.ns-plan-selected-tag {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ns-accent-soft);
  font-weight: 600;
}

.ns-plan-card-setup.is-expired {
  border-color: #ff8fb8;
}

.ns-plan-expired-tag {
  color: #ff8fb8;
}

.ns-dash-actions {
  margin-top: 1rem;
}

.ns-dash-actions-inline {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.ns-page-header {
  margin-bottom: 1rem;
  align-items: center;
}

.ns-dash-media-count {
  margin: 0 0 0.75rem;
  color: var(--ns-muted);
}

.ns-upload-box-dash,
.ns-upload-box-compact {
  margin-top: 0.5rem;
}

.ns-media-slider {
  position: relative;
  margin-bottom: 0.85rem;
}

.ns-media-slider.has-overflow {
  padding: 0 2.25rem;
}

.ns-media-viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.ns-media-viewport.is-grabbing {
  cursor: grabbing;
}

.ns-media-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-bottom: 0;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
}

.ns-media-grid.is-dragging {
  transition: none;
}

.ns-media-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid #52556a;
  border-radius: 50%;
  background: #31323d;
  color: #f6f5f9;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.ns-media-slider-btn:hover:not(:disabled) {
  background: #3e3f4d;
  border-color: #6d7088;
  box-shadow: 0 0 0 4px rgba(246, 245, 249, 0.08);
  transform: translateY(-50%) scale(1.08);
}

.ns-media-slider-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.92);
  transition-duration: 0.08s;
}

.ns-media-slider-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-top: 2px solid #f6f5f9;
  border-right: 2px solid #f6f5f9;
}

.ns-media-slider-prev {
  left: 0;
}

.ns-media-slider-prev::before {
  transform: rotate(-135deg);
  margin-left: 11px;
}

.ns-media-slider-next {
  right: 0;
}

.ns-media-slider-next::before {
  transform: rotate(45deg);
  margin-left: 9px;
}

.ns-media-slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%) scale(1);
  box-shadow: none;
}

.ns-media-thumb {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 148px;
  flex: 0 0 148px;
  box-sizing: border-box;
  padding: 0.65rem;
  border-radius: var(--ns-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(183, 182, 196, 0.12);
  font-size: 0.8rem;
  min-height: 0;
  contain: layout paint;
}

.ns-media-thumb-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1d24;
  flex-shrink: 0;
}

.ns-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  pointer-events: none;
}

.ns-media-group-title {
  margin: 0.85rem 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f6f5f9;
}

.ns-media-group-title:first-of-type {
  margin-top: 0;
}

.ns-media-open-image {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.ns-media-video-dialog-panel img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #0f1016;
  border-radius: 8px;
  display: block;
}

.ns-media-play {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: #1c1d24;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-media-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #f6f5f9;
  margin-left: 4px;
}

.ns-media-thumb-name {
  min-height: 2.4em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ns-media-delete-form {
  margin-top: auto;
}

.ns-media-thumb .ns-media-remove {
  display: inline-block;
  padding: 0;
}

.ns-media-featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: auto;
}

.ns-media-change-form,
.ns-media-slot-form {
  margin: 0;
}

.ns-media-change {
  color: var(--ns-accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.ns-media-change:hover {
  text-decoration: underline;
}

.ns-media-file-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ns-media-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px dashed rgba(183, 182, 196, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #f6f5f9;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ns-media-upload-placeholder:hover,
.ns-media-upload-placeholder:focus-within {
  border-color: var(--ns-accent);
  background: rgba(255, 255, 255, 0.06);
}

.ns-media-upload-placeholder-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ns-accent-soft);
  font-weight: 600;
}

.ns-media-slot-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 0;
  flex: 1 1 auto;
}

.ns-media-thumb-featured .ns-media-role {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns-media-slot-form .ns-media-thumb-name,
.ns-media-upload-cta {
  min-height: 0;
  margin: 0;
  color: var(--ns-accent);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns-media-upload-cta:hover {
  text-decoration: underline;
}

.ns-media-video-dialog {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}

.ns-media-video-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ns-media-video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.ns-media-video-dialog-panel {
  width: min(720px, 94vw);
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ns-media-video-close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: #b7b6c4;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ns-media-video-close:hover {
  color: #f6f5f9;
}

.ns-media-video-dialog-panel video {
  width: 100%;
  max-height: 70vh;
  background: #0f1016;
  border-radius: 8px;
  display: block;
}

.ns-media-role {
  color: var(--ns-accent-soft);
  font-weight: 600;
}

.ns-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.ns-event-form .ns-field-label,
.ns-event-form-card .ns-field-label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  color: var(--ns-muted);
  font-size: 0.9rem;
}

.ns-event-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ns-btn-block {
  width: 100%;
  margin-top: 1rem;
}

.ns-btn-danger {
  background: transparent;
  border: 1px solid rgba(255, 95, 130, 0.55);
  color: #ff8fb8;
}

.ns-event-list {
  display: flex;
  flex-direction: column;
}

.ns-event-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(183, 182, 196, 0.12);
}

.ns-event-row:last-child {
  border-bottom: 0;
}

.ns-event-name {
  color: var(--ns-text);
  font-weight: 600;
  text-decoration: none;
}

.ns-event-name:hover {
  color: var(--ns-accent-soft);
}

.ns-event-meta {
  color: var(--ns-muted);
  font-size: 0.9rem;
}

.ns-event-desc {
  margin-top: 0.15rem;
  max-width: 36rem;
}

.ns-event-row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.ns-event-page-card {
  width: 100%;
  max-width: calc((var(--ns-wrap) - 1.25rem) / 2);
}

.ns-event-cover {
  width: 100%;
}

.ns-event-cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--ns-radius);
  object-fit: contain;
  background: #1c1d24;
}

.ns-dash-link-row {
  margin: 0.85rem 0 0;
}

/* Instagram sync card (Figma 2049:8498) */
.ns-instagram-card .ns-dash-card-sub {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #b7b6c4;
}

.ns-instagram-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 400px;
  margin-top: 0.875rem;
}

.ns-instagram-input {
  flex: 1 1 auto;
  min-width: 0;
  background: #31323d !important;
  border: 1px solid #52556a !important;
  border-radius: 9px !important;
  color: #f6f5f9 !important;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  padding: 0.6875rem 0.8125rem;
}

.ns-btn-instagram {
  flex: 0 0 auto;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.125rem;
  padding: 0.75rem 0.75rem;
  white-space: nowrap;
  background-image: linear-gradient(134deg, #ff3d9a 0%, #8f7bff 100%) !important;
  background-color: #ff3d9a !important;
}

.ns-btn-instagram:hover,
.ns-btn-instagram:focus {
  filter: brightness(1.05);
  color: #fff !important;
}

/* Events API card (Figma 2049:8472) */
.ns-events-api-card .ns-dash-card-sub {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #b7b6c4;
}

.ns-events-api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.875rem;
}

.ns-events-api-col .ns-field-label {
  display: block;
  margin: 0 0 0.375rem;
  color: #b7b6c4;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.125rem;
}

.ns-api-key-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.ns-api-key-input {
  flex: 1 1 auto;
  min-width: 0;
  background: #31323d !important;
  border: 1px solid #52556a !important;
  border-radius: 9px !important;
  color: #f6f5f9 !important;
  font-size: 0.875rem;
  line-height: 1.3125rem;
  padding: 0.6875rem 0.8125rem;
}

.ns-api-btn {
  flex: 0 0 auto;
  background: #31323d !important;
  border: 1px solid #52556a !important;
  border-radius: 8px !important;
  color: #f6f5f9 !important;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.125rem;
  padding: 0.75rem 0.8125rem;
  white-space: nowrap;
}

.ns-api-inline-form {
  display: inline;
  margin: 0;
}

.ns-api-key-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.55rem;
  font-size: 0.85rem;
}

.ns-api-reveal,
.ns-api-revoke {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.ns-api-revoke {
  color: #ff8fb8;
}

.ns-api-endpoint-box {
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 8px;
  padding: 0.6875rem 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ns-api-endpoint-box code {
  color: #f6f5f9;
  font-size: 0.75rem;
  line-height: 1.125rem;
  word-break: break-all;
}

.ns-api-payload {
  margin: 0.35rem 0 0;
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 8px;
  color: #f6f5f9;
  font-family: Menlo, Consolas, "Courier New", monospace;
  font-size: 0.75rem;
  line-height: 1.125rem;
  padding: 1.1875rem 0.8125rem 0.8125rem;
  overflow: auto;
  white-space: pre;
}

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

  .ns-grid2 {
    grid-template-columns: 1fr;
  }

  .ns-event-page-card {
    max-width: 100%;
  }

  .ns-events-api-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ns-grid4 {
    grid-template-columns: 1fr;
  }

  .ns-event-times {
    grid-template-columns: 1fr;
  }

  .ns-api-key-row {
    flex-wrap: wrap;
  }

  .ns-api-key-input {
    flex: 1 1 100%;
  }
}

/* Toast notifications ? bottom-right common toaster */
.ns-toast-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  top: auto;
  z-index: 1080;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.55rem;
  max-width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.ns-toast {
  pointer-events: auto;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  line-height: 1.35;
  animation: ns-toast-in 0.22s ease-out;
}

.ns-toast-success {
  background: #1f9d55;
  border: 1px solid #178a45;
}

.ns-toast-error,
.ns-toast-danger {
  background: #f27107;
  border: 1px solid #d46306;
  color: #000000;
}

.ns-toast-info,
.ns-toast-warning {
  background: #31323d;
  border: 1px solid #52556a;
  color: #f6f5f9;
}

.ns-toast.is-leaving {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes ns-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ??? Common Owner login (Figma 2048:6282) ??? */
.ns-body-login .ns-wrap.ns-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.ns-owner-login-card {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 20px;
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 14px;
  box-shadow: none;
}

.ns-owner-login-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 0.85rem;
}

.ns-owner-login-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.ns-btn-signin {
  width: 100%;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  background: linear-gradient(135deg, #ff3d9a 0%, #8f7bff 100%);
}

.ns-btn-signin:hover {
  filter: brightness(1.06);
  color: #fff;
}

.ns-login-register-link {
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
  color: #b7b6c4;
  text-align: left;
}

.ns-owner-login-card .ns-client-error {
  margin-top: 0.35rem;
}

.ns-owner-login-card .ns-input.is-invalid,
.ns-owner-login-card .form-control.ns-input.is-invalid,
.ns-owner-login-card .ns-login-field.has-client-error .ns-input,
.ns-owner-login-card .ns-login-field.has-client-error .form-control.ns-input {
  border-color: #f27107 !important;
  box-shadow: 0 0 0 0.15rem rgba(242, 113, 7, 0.22) !important;
}

.ns-owner-login-card .ns-input.is-invalid:focus,
.ns-owner-login-card .form-control.ns-input.is-invalid:focus,
.ns-owner-login-card .ns-login-field.has-client-error .ns-input:focus,
.ns-owner-login-card .ns-login-field.has-client-error .form-control.ns-input:focus {
  border-color: #f27107 !important;
  box-shadow: 0 0 0 0.2rem rgba(242, 113, 7, 0.28) !important;
}

.ns-footer-login {
  border-top: 1px solid #52556a;
  min-height: 2rem;
}

/* ??? Club Admin register (Figma 2049:7093) ??? */
.ns-body-register {
  background: #1c1d24;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ns-body-register .ns-topbar {
  background: rgba(28, 29, 36, 0.92);
  backdrop-filter: blur(3px);
  border-bottom: 1px solid #52556a;
}

.ns-body-register .ns-logo-dot {
  background: linear-gradient(135deg, #ff3d9a 0%, #8f7bff 100%);
  border-radius: 5px;
}

.ns-body-register .ns-theme-toggle {
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 17px;
}

.ns-wrap.ns-register-wrap {
  width: min(100% - 2rem, var(--ns-wrap));
  margin-inline: auto;
  padding: 40px 0 36px;
  flex: 1;
}

.ns-register-section {
  width: 100%;
}

.ns-register-title {
  margin: 0 0 0;
  padding: 0 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #f6f5f9;
}

.ns-register-card {
  margin-top: 0;
  padding: 21px;
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 14px;
  box-shadow: none;
}

.ns-register-section .ns-register-title {
  margin-bottom: 0;
  padding-bottom: 0;
}

.ns-register-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 36px;
  padding-bottom: 36px;
}

.ns-register-section > .ns-register-title {
  margin-bottom: 16px;
}

.ns-register-col {
  width: 100%;
  max-width: 479px;
}

.ns-register-field {
  margin-bottom: 0;
}

.ns-register-field + .ns-register-field,
.ns-register-field + .ns-register-actions {
  margin-top: 14px;
}

.ns-register-field.ns-field-block {
  margin-bottom: 0;
}

.ns-register-label,
.ns-register-form .ns-register-label {
  display: block;
  margin: 0 0 6px;
  color: #b7b6c4;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.ns-register-form .ns-input,
.ns-register-form .form-control.ns-input {
  background: #31323d !important;
  border: 1px solid #52556a !important;
  border-radius: 9px !important;
  color: #f6f5f9 !important;
  min-height: 43px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 21px;
  box-shadow: none !important;
}

.ns-register-form .ns-input:focus,
.ns-register-form .form-control.ns-input:focus {
  border-color: #8f7bff !important;
  box-shadow: 0 0 0 0.15rem rgba(143, 123, 255, 0.22) !important;
}

.ns-register-form .ns-input::placeholder {
  color: rgba(246, 245, 249, 0.55);
}

.ns-register-mobile-hint {
  margin: 6px 0 0;
  color: #b7b6c4;
  font-size: 10.6px;
  font-weight: 400;
  line-height: 16px;
}

.ns-register-form .ns-client-error {
  margin-top: 0.35rem;
}

.ns-register-form .ns-input.is-invalid,
.ns-register-form .form-control.ns-input.is-invalid,
.ns-register-form .ns-register-field.has-client-error .ns-input,
.ns-register-form .ns-register-field.has-client-error .form-control.ns-input,
.ns-register-mobile-field .ns-register-mobile-input.is-invalid,
.ns-register-mobile-field:has(.ns-error:not([hidden])) .ns-register-mobile-input,
.ns-register-mobile-field .ns-register-mobile-input:user-invalid {
  border-color: #f27107 !important;
  box-shadow: 0 0 0 0.15rem rgba(242, 113, 7, 0.22) !important;
}

.ns-register-form .ns-input.is-invalid:focus,
.ns-register-form .form-control.ns-input.is-invalid:focus,
.ns-register-form .ns-register-field.has-client-error .ns-input:focus,
.ns-register-mobile-field .ns-register-mobile-input:user-invalid:focus,
.ns-register-mobile-field .ns-register-mobile-input.is-invalid:focus,
.ns-register-mobile-field:has(.ns-error:not([hidden])) .ns-register-mobile-input:focus {
  border-color: #f27107 !important;
  box-shadow: 0 0 0 0.2rem rgba(242, 113, 7, 0.28) !important;
}

.ns-register-form .iti:has(.ns-register-mobile-input:user-invalid) .iti__selected-country,
.ns-register-form .iti:has(.ns-register-mobile-input.is-invalid) .iti__selected-country,
.ns-register-form .ns-register-mobile-field.has-client-error .iti__selected-country,
.ns-register-form .ns-register-mobile-field:has(.ns-error:not([hidden])) .iti__selected-country {
  color: #f27107;
}

.ns-register-venue-type {
  gap: 20px;
  flex-wrap: nowrap;
}

.ns-register-type-btn {
  position: relative;
  min-width: 0;
  min-height: 0;
  gap: 0;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  justify-content: center;
}

.ns-register-type-btn .ns-radio-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.ns-register-type-btn .ns-radio-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  color: #f6f5f9;
}

.ns-register-type-btn:not(:has(.ns-radio-input:checked)) {
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid #52556a;
  background: #31323d;
}

.ns-register-type-btn:not(:has(.ns-radio-input:checked)) .ns-radio-text {
  font-weight: 400;
}

.ns-register-type-btn:has(.ns-radio-input:checked) {
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(110deg, #ff3d9a 0%, #8f7bff 100%);
  box-shadow: none;
}

.ns-register-type-btn:has(.ns-radio-input:checked) .ns-radio-text {
  color: #ffffff;
  font-weight: 700;
}

.ns-register-type-btn:not(:has(.ns-radio-input:checked)):hover {
  border-color: #8f7bff;
}

.ns-register-type-btn:has(.ns-radio-input:checked):hover {
  border: none;
  filter: brightness(1.04);
}

.ns-password-field {
  position: relative;
}

.ns-password-field .ns-input,
.ns-password-field .form-control.ns-input {
  padding-right: 2.75rem !important;
}

.ns-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: transparent;
  color: #b7b6c4;
  padding: 0.15rem;
  line-height: 0;
  cursor: pointer;
}

.ns-password-toggle:hover {
  color: #f6f5f9;
}

.ns-password-toggle .ns-password-icon,
.ns-sa-eye-toggle .ns-sa-eye-icon {
  display: block;
  pointer-events: none;
}

.ns-password-toggle .ns-password-icon-open,
.ns-sa-eye-toggle .ns-sa-eye-open {
  display: none;
}

.ns-password-toggle.is-password-visible .ns-password-icon-closed,
.ns-sa-eye-toggle.is-password-visible .ns-sa-eye-closed {
  display: none;
}

.ns-password-toggle.is-password-visible .ns-password-icon-open,
.ns-sa-eye-toggle.is-password-visible .ns-sa-eye-open {
  display: block;
}

/* Club register + login only: hide Edge native reveal/clear so the custom toggle is the only eye. */
.ns-body-register .ns-password-field input::-ms-reveal,
.ns-body-register .ns-password-field input::-ms-clear,
.ns-body-login .ns-password-field input::-ms-reveal,
.ns-body-login .ns-password-field input::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.ns-body-register .ns-password-field input::-webkit-credentials-auto-fill-button,
.ns-body-register .ns-password-field input::-webkit-contacts-auto-fill-button,
.ns-body-login .ns-password-field input::-webkit-credentials-auto-fill-button,
.ns-body-login .ns-password-field input::-webkit-contacts-auto-fill-button {
  margin-inline-end: 2.25rem;
}

.ns-password-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ns-muted);
}

.ns-register-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.ns-btn-register-continue {
  min-width: 0;
  min-height: 41px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  background: linear-gradient(118deg, #ff3d9a 0%, #8f7bff 100%);
  box-shadow: none;
}

.ns-btn-register-continue:hover {
  filter: brightness(1.06);
  color: #ffffff;
}

.ns-register-signin-link {
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  color: #b7b6c4;
}

.ns-footer-register {
  border-top: 1px solid #52556a;
  padding: 27px 0 34px;
  min-height: 78px;
}

.ns-footer-register .ns-wrap {
  padding: 0;
}

/* intl-tel-input — match register field chrome */
.ns-register-form .iti {
  width: 100%;
  display: block;
}

.ns-register-form .iti__country-container {
  left: 1px;
  top: 1px;
  bottom: 1px;
}

.ns-register-form .iti__selected-country {
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px 0 0 8px;
  padding-left: 8px;
}

.ns-register-form .iti__selected-country:hover,
.ns-register-form .iti__selected-country[aria-expanded="true"] {
  background: rgba(28, 29, 36, 0.45) !important;
}

.ns-register-form .iti__selected-dial-code {
  color: #f6f5f9;
  font-size: 14px;
}

.ns-register-form .iti__arrow {
  border-top-color: #b7b6c4;
}

.ns-register-form .iti__arrow--up {
  border-bottom-color: #b7b6c4;
}

.ns-register-form .iti__dropdown-content {
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 9px;
  color: #f6f5f9;
  z-index: 30;
}

.ns-register-form .iti__search-input {
  background: #31323d !important;
  border: 1px solid #52556a !important;
  color: #f6f5f9 !important;
}

.ns-register-form .iti__country {
  color: #f6f5f9;
}

.ns-register-form .iti__country:hover,
.ns-register-form .iti__country.iti__highlight {
  background: #31323d !important;
}

.ns-register-form .iti__divider {
  border-bottom-color: #52556a;
}

.ns-register-form .iti--separate-dial-code .iti__selected-dial-code {
  margin-left: 4px;
}

.ns-register-form .iti input.ns-input,
.ns-register-form .iti input.form-control.ns-input {
  width: 100%;
}

@media (max-width: 640px) {
  .ns-wrap.ns-register-wrap {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .ns-register-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .ns-register-venue-type {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ??? Super Admin dashboard (Figma 2045:6957) ??? */
.ns-superadmin {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.ns-sa-top-grid {
  align-items: stretch;
}

.ns-sa-trial-card {
  min-height: 231px;
}

.ns-sa-trial-form .ns-field-label {
  display: block;
  margin: 0.5rem 0 0.5rem;
  color: #b7b6c4;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.ns-sa-trial-form .ns-input {
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 9px;
  color: #f6f5f9;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 21px;
}

.ns-sa-actions {
  margin-top: 1rem;
}

.ns-sa-payouts-card .ns-dash-card-title {
  margin-bottom: 0.25rem;
}

.ns-btn-compact {
  padding: 7px 13px;
  font-size: 12px;
  line-height: 18px;
  min-height: 32px;
  font-weight: 700;
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 8px;
  color: #f6f5f9;
}

.ns-btn-compact:hover:not(:disabled) {
  background: #3a3b48;
  color: #f6f5f9;
}

.ns-btn-compact:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ns-sa-ref-row {
  display: grid;
  /* Fixed action column so the empty header cell, Mark paid button, and paid dash share one width. */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) 7.25rem;
  gap: 0.75rem;
  align-items: center;
  padding: 8px 0 9px;
  border-bottom: 1px solid #52556a;
  font-size: 12px;
  line-height: 18px;
  color: #f6f5f9;
}

.ns-sa-paid-cell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ns-sa-ref-head {
  color: #b7b6c4;
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  text-transform: uppercase;
  border-bottom-color: #52556a;
}

.ns-sa-table-wrap {
  margin-top: 0.15rem;
}

.ns-sa-table-scroll {
  position: relative;
  overflow-x: auto;
  margin-top: 0.75rem;
}

.ns-sa-table-scroll[aria-busy="true"] {
  pointer-events: none;
  min-height: 4.5rem;
}

.ns-sa-table-scroll[aria-busy="true"] > .ns-sa-table {
  opacity: 0.45;
}

.ns-sa-table-scroll[aria-busy="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 18, 28, 0.35);
  border-radius: 0.35rem;
}

.ns-sa-table-scroll[aria-busy="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  margin: -0.875rem 0 0 -0.875rem;
  border: 2px solid rgba(46, 224, 184, 0.25);
  border-top-color: #2ee0b8;
  border-radius: 50%;
  animation: ns-spin 0.7s linear infinite;
}

.ns-sa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ns-sa-table th {
  text-align: left;
  color: var(--ns-muted);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(82, 85, 106, 0.8);
  white-space: nowrap;
}

.ns-sa-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(82, 85, 106, 0.45);
  vertical-align: middle;
}

.ns-sa-trial-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.ns-sa-trial-controls .ns-sa-extend,
.ns-sa-trial-controls .ns-sa-days-input {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.ns-sa-days-input {
  width: 4.5rem !important;
  min-height: 32px !important;
  padding: 0.35rem 0.5rem !important;
}

.ns-sa-badge-trial {
  background: rgba(124, 92, 255, 0.18);
  border: 0;
  color: #b7a4ff;
}

.ns-sa-badge-active {
  background: rgba(61, 214, 140, 0.16);
  border: 0;
  color: #8dffc2;
}

.ns-sa-badge-expired {
  background: rgba(255, 95, 130, 0.16);
  border: 0;
  color: #ff8fb8;
}

.ns-sa-badge-pending {
  background: rgba(183, 182, 196, 0.14);
  border: 0;
  color: #b7b6c4;
}

.ns-sa-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-top: 0.5rem;
}

.ns-sa-form-grid > div:last-child {
  grid-column: 1 / -1;
  max-width: 20rem;
}

@media (max-width: 900px) {
  .ns-sa-form-grid {
    grid-template-columns: 1fr;
  }
  .ns-sa-form-grid > div:last-child {
    max-width: none;
  }
  .ns-sa-ref-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ns-sa-top-grid {
    grid-template-columns: 1fr;
  }
}

.ns-sa-paid-note {
  font-size: 12px;
  line-height: 18px;
  color: #b7b6c4;
}

.ns-sa-clubs-card .ns-dash-card-sub {
  margin: 0.35rem 0 0.75rem;
  color: #b7b6c4;
  font-size: 11.8px;
  line-height: 18px;
}

.ns-sa-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.ns-sa-search {
  flex: 1 1 16rem;
  max-width: 24rem;
  min-height: 40px !important;
}

.ns-sa-sort {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.ns-sa-sort[aria-sort="ascending"]::after,
.ns-sa-sort[aria-sort="descending"]::after {
  content: " ▲";
  font-size: 0.65em;
  opacity: 0.85;
}

.ns-sa-sort[aria-sort="descending"]::after {
  content: " ▼";
}

.ns-sa-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ns-sa-page-status {
  color: #b7b6c4;
  font-size: 0.8rem;
}

.ns-sa-page-size-label {
  margin-left: auto;
}

.ns-sa-page-size {
  width: auto;
  min-height: 32px !important;
  padding: 0.25rem 1.75rem 0.25rem 0.5rem !important;
  font-size: 0.85rem;
}

.ns-sa-club-name {
  font-weight: 500;
  color: #f6f5f9;
}

.ns-sa-table thead th {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ns-sa-reports-card {
  margin-top: 1rem;
}

.ns-sa-report-bulk {
  margin-top: 1rem;
}

.ns-sa-no-report {
  font-size: 12px;
}

.ns-sa-email-preview {
  border: 1px solid #52556a;
  border-radius: 12px;
  padding: 0;
  background: #1a1b24;
  color: #f6f5f9;
  width: min(720px, 94vw);
  max-height: 90vh;
}

.ns-sa-email-preview::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.ns-sa-email-preview-inner {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.ns-sa-email-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #52556a;
}

.ns-sa-email-preview iframe {
  width: 100%;
  min-height: 420px;
  height: 65vh;
  border: 0;
  background: #0f1016;
}

.ns-sa-sightengine-card {
  margin-top: 1rem;
}

.ns-sa-sightengine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin-top: 0.35rem;
  align-items: start;
}

.ns-sa-sightengine-creds .ns-field-label,
.ns-sa-sightengine-threshold .ns-field-label {
  display: block;
  margin: 0.65rem 0 0.35rem;
}

.ns-sa-sightengine-creds .ns-field-label:first-child,
.ns-sa-sightengine-threshold .ns-field-label:first-child {
  margin-top: 0.15rem;
}

.ns-sa-sightengine-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ns-sa-sightengine-hint {
  margin: 0.55rem 0 0;
  font-size: 12px;
  line-height: 17px;
}

@media (max-width: 900px) {
  .ns-sa-sightengine-grid {
    grid-template-columns: 1fr;
  }
}

.ns-sa-stripe-card,
.ns-sa-flagged-card {
  margin-top: 1rem;
}

.ns-sa-stripe-form .ns-field-label {
  display: block;
  margin: 0.15rem 0 0.35rem;
}

.ns-sa-stripe-form .ns-sa-actions {
  margin-top: 0.85rem;
}

.ns-sa-stripe-card.is-locked .ns-input:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.ns-sa-flagged-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid #52556a;
}

.ns-sa-flagged-item:first-child {
  border-top: 0;
  padding-top: 0.35rem;
}

.ns-sa-flagged-author {
  display: inline-block;
  margin-right: 0.45rem;
  color: #f6f5f9;
}

.ns-sa-flag-source {
  margin-left: 0.45rem;
  background: rgba(183, 182, 196, 0.14);
  color: #b7b6c4;
  border: 0;
}

.ns-sa-flagged-body {
  margin: 0.35rem 0 0;
  color: #d8d7e2;
  font-size: 13px;
  line-height: 18px;
  word-break: break-word;
}

.ns-sa-flagged-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.ns-sa-secret-field {
  position: relative;
}

.ns-sa-secret-field .ns-input {
  padding-right: 2.5rem;
}

.ns-sa-eye-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: transparent;
  color: #b7b6c4;
  padding: 0.15rem;
  line-height: 0;
  cursor: pointer;
}

.ns-sa-eye-toggle:hover {
  color: #f6f5f9;
}

.ns-sa-check-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: #d8d7e2;
  font-size: 13px;
}

.ns-sa-flagged-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.ns-sa-flagged-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid #52556a;
  border-radius: 8px;
  overflow: hidden;
  background: #12131a;
  cursor: pointer;
}

.ns-sa-flagged-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-sa-flagged-blurred {
  filter: blur(6px);
}

.ns-sa-flagged-empty {
  padding: 0.35rem 0 0.15rem;
}

.ns-sa-flagged-dialog {
  border: 1px solid #52556a;
  border-radius: 12px;
  padding: 0;
  background: #1a1b24;
  color: #f6f5f9;
  width: min(560px, 94vw);
}

.ns-sa-flagged-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.ns-sa-flagged-dialog-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
}

.ns-sa-flagged-dialog-media {
  width: 100%;
  min-height: 240px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1016;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-sa-flagged-dialog-media img {
  max-width: 100%;
  max-height: 60vh;
  display: block;
}

.ns-sa-flagged-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 700px) {
  .ns-sa-flagged-item {
    grid-template-columns: 1fr;
  }

  .ns-sa-flagged-thumbs {
    justify-content: flex-start;
  }
}

/* ??? Club Admin billing (Figma 2049:8509) ??? */
.ns-billing-card .ns-dash-card-title {
  margin-bottom: 0;
}

.ns-billing-summary {
  margin: 0;
  color: #b7b6c4;
  font-size: 12px;
  line-height: 18px;
}

.ns-billing-summary .ns-billing-date,
.ns-billing-date {
  color: #f6f5f9;
  font-weight: 700;
}

.ns-billing-card-row {
  margin-top: 12px;
}

.ns-billing-card-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 10px 12px;
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 9px;
  color: #f6f5f9;
  font-size: 13px;
  line-height: 18px;
}

.ns-billing-card-brand {
  font-weight: 700;
  text-transform: capitalize;
}

.ns-billing-card-chip[data-brand="visa"] .ns-billing-card-brand { color: #7aa7ff; }
.ns-billing-card-chip[data-brand="mastercard"] .ns-billing-card-brand { color: #ffb347; }
.ns-billing-card-chip[data-brand="amex"] .ns-billing-card-brand,
.ns-billing-card-chip[data-brand="american_express"] .ns-billing-card-brand { color: #6fd3c7; }
.ns-billing-card-chip[data-brand="discover"] .ns-billing-card-brand { color: #ff9b7a; }

.ns-billing-active-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(111, 211, 199, 0.45);
  color: #6fd3c7;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.ns-billing-actions {
  margin-top: 14px;
}

.ns-btn-billing {
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 8px;
  color: #f6f5f9;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  padding: 7px 13px;
  min-height: 32px;
}

.ns-btn-billing:hover,
.ns-btn-billing:focus {
  background: #3a3b48;
  color: #ffffff;
  border-color: #52556a;
}

.ns-billing-modal[hidden] {
  display: none !important;
}

.ns-billing-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ns-billing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.ns-billing-modal-dialog {
  position: relative;
  width: min(100%, 440px);
  background: #26272f;
  border: 1px solid #52556a;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ns-billing-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.ns-billing-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #f6f5f9;
}

.ns-billing-modal-close {
  border: 0;
  background: transparent;
  color: #b7b6c4;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.ns-billing-card-element {
  margin-top: 0.85rem;
  padding: 12px 13px;
  background: #31323d;
  border: 1px solid #52556a;
  border-radius: 9px;
}

.ns-billing-pay-amount {
  margin: 0.65rem 0 0;
  color: #f6f5f9;
  font-size: 14px;
  font-weight: 700;
}

.ns-billing-save-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.85rem;
  color: #b7b6c4;
  font-size: 13px;
  line-height: 1.4;
}

.ns-billing-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* Site-wide confirm dialog (nsConfirm) */
.ns-confirm-dialog {
  border: 1px solid #52556a;
  border-radius: 14px;
  padding: 0;
  background: #26272f;
  color: #f6f5f9;
  width: min(420px, 94vw);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ns-confirm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  pointer-events: auto;
}

.ns-confirm-dialog-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 1.1rem;
}

.ns-confirm-dialog-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: #f6f5f9;
}

.ns-confirm-dialog-message {
  margin: 0;
  color: #b7b6c4;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-line;
}

.ns-confirm-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.ns-confirm-dialog .ns-btn-danger {
  background: rgba(255, 61, 154, 0.16);
  border-color: rgba(255, 95, 130, 0.7);
  color: #ffb3d0;
}

.ns-confirm-dialog .ns-btn-danger:hover,
.ns-confirm-dialog .ns-btn-danger:focus {
  background: rgba(255, 61, 154, 0.28);
  color: #ffffff;
}

.ns-event-cover-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.ns-event-cover-box .ns-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  max-width: none;
}

.ns-event-cover-box .ns-upload-hint {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ns-event-cover-box .ns-upload-overlay-img {
  opacity: 1;
  z-index: 1;
  object-fit: contain;
  background: #1c1d24;
}

.ns-event-cover-box.has-preview .ns-upload-hint {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.ns-event-cover-box .ns-upload-preview {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.ns-event-crop-dialog {
  border: 1px solid #52556a;
  border-radius: 14px;
  padding: 0;
  background: #26272f;
  color: #f6f5f9;
  width: min(640px, 96vw);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ns-event-crop-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.ns-event-crop-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1.2rem 1.1rem;
}

.ns-event-crop-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.ns-event-crop-sub {
  margin: 0;
  color: #b7b6c4;
  font-size: 13px;
}

.ns-event-crop-stage {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(70vh, 540px);
  background: #1c1d24;
  border-radius: 10px;
  overflow: hidden;
}

.ns-event-crop-stage[style*="aspect-ratio"] {
  max-height: min(70vh, 420px);
}

.ns-event-crop-stage img {
  display: block;
  max-width: 100%;
}

.ns-event-crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

/* —— Public legal documents (Terms / Privacy) —— */
.ns-body-legal .ns-topbar {
  background: rgba(28, 29, 36, 0.92);
}

.ns-wrap-legal {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
  padding: 1.5rem 0 3rem;
}

.ns-legal-doc {
  background: var(--ns-surface);
  border: 1px solid rgba(183, 182, 196, 0.14);
  border-radius: var(--ns-radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.ns-legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(183, 182, 196, 0.14);
}

.ns-legal-nav .ns-link.is-active {
  color: var(--ns-white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ns-legal-nav-sep {
  color: var(--ns-muted-2);
}

.ns-legal-body {
  color: var(--ns-text);
  font-size: 1rem;
  line-height: 1.7;
}

.ns-legal-body > h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ns-white);
  letter-spacing: 0.01em;
}

.ns-legal-body > h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ns-white);
}

.ns-legal-body > h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ns-accent-soft);
}

.ns-legal-body > p {
  margin: 0 0 0.9rem;
  color: var(--ns-text);
}

.ns-legal-body > ul,
.ns-legal-body > ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.ns-legal-body li {
  margin: 0.35rem 0;
  padding-left: 0.2rem;
}

.ns-legal-body li::marker {
  color: var(--ns-accent-soft);
}

.ns-legal-body a {
  color: var(--ns-accent-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  word-break: break-word;
}

.ns-legal-body a:hover,
.ns-legal-body a:focus-visible {
  color: var(--ns-white);
}

.ns-legal-body strong {
  font-weight: 700;
  color: var(--ns-white);
}

.ns-legal-body em {
  font-style: italic;
}

.ns-legal-body u {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.ns-legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.ns-legal-body th,
.ns-legal-body td {
  border: 1px solid rgba(183, 182, 196, 0.2);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.ns-legal-body th {
  background: rgba(49, 50, 61, 0.85);
  color: var(--ns-white);
}

.ns-footer-legal {
  border-top: 1px solid rgba(183, 182, 196, 0.12);
  padding: 1rem 0 1.5rem;
}

.ns-footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .ns-wrap-legal {
    padding: 1rem 0 2.25rem;
  }

  .ns-legal-doc {
    padding: 1.1rem 1rem 1.35rem;
    border-radius: var(--ns-radius);
  }

  .ns-legal-body {
    font-size: 0.975rem;
    line-height: 1.65;
  }

  .ns-legal-body > ul,
  .ns-legal-body > ol {
    padding-left: 1.15rem;
  }
}
