:root {
  --brand-bg: #3f8500;
  --brand-primary: #b8e6a0;
  --brand-danger: #e35d5b;
  --brand-warning: #e4b84b;
  --brand-info: #8fcfe6;
  --brand-text: #f3f7ed;
  --brand-surface: #0f120f;
  --brand-surface-contrast: #d9e4d0;
  --brand-panel: rgba(13, 17, 13, 0.88);
  --brand-border: rgba(217, 228, 208, 0.14);
  --brand-shadow: rgba(6, 10, 7, 0.28);
  --club-banner-progress: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.2), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-bg) 92%, #000 8%) 0%, var(--brand-bg) 100%);
  min-height: 100vh;
  color: var(--brand-text);
}

.public-shell {
  min-height: 100vh;
}

.public-navbar {
  position: sticky;
  top: 0;
  z-index: 1035;
  background: rgba(10, 12, 11, 0.88);
  border-bottom: 1px solid var(--brand-border);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.public-navbar .container {
  position: relative;
  z-index: 1;
}

.public-navbar .navbar-collapse > .d-flex {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.public-navbar .navbar-collapse > .d-flex:has(.member-nav-identity) {
  flex-wrap: nowrap;
  min-width: 0;
}

.public-navbar-cover {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: calc(var(--club-banner-progress) * 0.96);
  transform: scale(calc(1.04 - (var(--club-banner-progress) * 0.04)));
  transition: opacity 120ms linear, transform 160ms linear;
  pointer-events: none;
}

body.has-club-banner .public-navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 11, calc(0.66 - (var(--club-banner-progress) * 0.3))), rgba(10, 12, 11, calc(0.52 - (var(--club-banner-progress) * 0.16))));
  pointer-events: none;
}

.public-navbar .navbar-brand,
.public-navbar .nav-link,
.public-navbar .navbar-toggler {
  color: var(--brand-text);
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus {
  color: var(--brand-primary);
}

.public-brand-mark {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: min(8rem, 32vw);
  max-height: 3.5rem;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  object-fit: contain;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.08);
}

.public-brand-name {
  min-width: 0;
  max-width: min(22rem, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-brand-logo {
  display: block;
  height: 4.35rem;
  width: auto;
  max-width: min(19rem, 48vw);
  object-fit: contain;
}

@media (min-width: 1200px) and (max-width: 1500px) {
  .public-nav-secondary { display: none; }
}

.public-panel {
  background: rgba(11, 14, 12, 0.88);
  border: 1px solid var(--brand-border);
  border-radius: 1.4rem;
  box-shadow: 0 20px 50px var(--brand-shadow);
}

.session-security-modal {
  background: #ffffff;
  color: #17221b;
  border-color: rgba(16, 38, 23, 0.14);
  box-shadow: 0 1.5rem 4rem rgba(6, 10, 7, 0.3);
}

.session-security-modal .modal-header,
.session-security-modal .modal-footer {
  border-color: rgba(16, 38, 23, 0.12);
}

.session-security-modal .modal-title {
  color: #17221b;
  font-weight: 800;
}

.session-security-modal .modal-body {
  color: #3f4b43;
}

.session-security-modal .btn-outline-secondary {
  color: #2f3b34;
  border-color: #77877d;
  background: #ffffff;
}

.session-security-modal .btn-outline-secondary:hover,
.session-security-modal .btn-outline-secondary:focus {
  color: #ffffff;
  border-color: #2f3b34;
  background: #2f3b34;
}

.session-security-modal .btn-primary {
  color: #ffffff;
  border-color: #275d3a;
  background: #275d3a;
}

.session-security-modal .btn-primary:hover,
.session-security-modal .btn-primary:focus {
  border-color: #1f4b2e;
  background: #1f4b2e;
}

.public-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--brand-border);
  box-shadow: 0 20px 50px var(--brand-shadow);
  background:
    linear-gradient(135deg, rgba(10, 11, 10, 0.92), rgba(18, 24, 18, 0.78)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  min-height: 26rem;
}

.public-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 24%, rgba(184, 230, 160, 0.2), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(143, 207, 230, 0.12), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(135deg, rgba(22, 36, 20, 0.88), rgba(9, 12, 10, 0.34));
}

.public-hero-overlay {
  position: relative;
  z-index: 1;
}

.public-hero.is-club-cover {
  transition: opacity 180ms linear, transform 220ms ease-out;
  transform-origin: top center;
  opacity: calc(1 - (var(--club-banner-progress) * 0.18));
}

.public-hero-barrier {
  max-width: 78rem;
}

.public-kicker,
.public-section-title {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--brand-primary) 70%, white 30%);
}

.public-hero-content--centered {
  text-align: center;
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}

.public-hero-brand {
  display: flex;
  justify-content: center;
}

.public-hero-brand-logo {
  display: block;
  width: min(100%, 33rem);
  max-height: 9.75rem;
  object-fit: contain;
}

.public-hero-summary {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.public-hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: min(100%, 33rem);
  margin-left: auto;
  margin-right: auto;
}

.public-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.12);
  color: var(--brand-surface-contrast);
  font-size: 0.92rem;
  font-weight: 600;
}

.public-chip-link,
.public-chip-link:visited {
  color: var(--brand-surface-contrast);
  text-decoration: none;
}

.public-chip-link:hover,
.public-chip-link:focus {
  color: var(--brand-primary);
  background: rgba(184, 230, 160, 0.18);
}

.public-hero-links-edit {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
}

.brand-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #101510;
  text-align: center;
  min-height: 2.9rem;
  min-width: 2.9rem;
  line-height: 1.1;
}

.brand-btn-primary:hover,
.brand-btn-primary:focus {
  background: color-mix(in srgb, var(--brand-primary) 88%, black 12%);
  border-color: color-mix(in srgb, var(--brand-primary) 88%, black 12%);
  color: #101510;
}

.brand-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-color: var(--brand-surface-contrast);
  color: var(--brand-text);
  text-align: center;
  min-height: 2.9rem;
  min-width: 2.9rem;
  line-height: 1.1;
}

.brand-btn-ghost:hover,
.brand-btn-ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.public-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(16, 20, 17, 0.96);
  border: 1px solid var(--brand-border);
}

a.public-card-link,
a.public-card-link:visited,
a.public-card-link:hover,
a.public-card-link:focus {
  color: var(--brand-text);
  text-decoration: none;
}

a.public-card-link:hover,
a.public-card-link:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 52%, transparent);
  transform: translateY(-1px);
}

.public-card-media {
  aspect-ratio: 16 / 10;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.06);
}

.public-card-body {
  padding: 1rem;
}

.public-card-summary,
.public-footer-note,
.public-muted {
  color: rgba(243, 247, 237, 0.72);
}

.public-grid-tile {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--brand-border);
  color: var(--brand-text);
}

.public-role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(184, 230, 160, 0.45);
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.18);
  color: #e8ffd8;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.public-panel .text-secondary,
.public-panel .small.text-secondary,
.public-panel .public-grid-tile .text-secondary {
  color: rgba(243, 247, 237, 0.68) !important;
}

.public-panel .list-group-item {
  background: transparent;
  color: var(--brand-text);
  border-color: var(--brand-border);
}

.public-panel .btn-outline-secondary {
  border-color: var(--brand-surface-contrast);
  color: var(--brand-text);
}

.public-panel .btn-outline-secondary:hover,
.public-panel .btn-outline-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.public-blog-panel {
  overflow: hidden;
}

.public-blog-edit-link {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--brand-border);
  border-radius: 0.7rem;
  color: var(--brand-surface-contrast);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.public-blog-edit-link:hover,
.public-blog-edit-link:focus {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.08);
}

.public-blog-edit-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-faq-edit-link {
  flex: 0 0 auto;
  margin-right: 0.75rem;
}

.public-blog-list {
  display: grid;
  gap: 1rem;
}

.public-blog-card,
.public-blog-empty {
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(184, 230, 160, 0.08), rgba(143, 207, 230, 0.04)),
    rgba(15, 19, 16, 0.86);
}

.public-blog-card {
  padding: clamp(1.15rem, 2vw, 1.65rem);
}

a.public-blog-card-link,
a.public-blog-card-link:visited {
  display: block;
  color: var(--brand-text);
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

a.public-blog-card-link *,
a.public-blog-card-link:visited *,
a.public-blog-card-link:hover *,
a.public-blog-card-link:focus * {
  color: inherit;
  text-decoration: none !important;
}

a.public-blog-card-link:hover,
a.public-blog-card-link:focus {
  color: var(--brand-text);
  border-color: color-mix(in srgb, var(--brand-primary) 52%, transparent);
  background:
    linear-gradient(135deg, rgba(184, 230, 160, 0.12), rgba(143, 207, 230, 0.06)),
    rgba(18, 24, 19, 0.92);
  transform: translateY(-1px);
}

.public-blog-meta,
.public-blog-excerpt {
  color: rgba(243, 247, 237, 0.72);
}

.public-blog-meta {
  font-size: 0.9rem;
  font-weight: 700;
}

.public-blog-excerpt {
  line-height: 1.7;
}

.public-blog-featured-image {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.75rem;
  min-height: 5rem;
  width: 100%;
}

.public-blog-featured-image img {
  display: block;
  width: min(100%, 16rem);
  max-height: 7rem;
  object-fit: contain;
}

.public-blog-body {
  max-width: 72rem;
  color: #ffffff;
  font-size: 1.04rem;
  line-height: 1.8;
}

.public-blog-panel.blog-font-manrope {
  font-family: "Manrope", sans-serif;
}

.public-blog-panel.blog-font-roboto-condensed {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
}

.public-blog-panel.blog-font-poppins {
  font-family: "Poppins", sans-serif;
}

.public-blog-panel.blog-font-inter {
  font-family: "Inter", sans-serif;
}

.public-blog-panel.blog-font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.public-blog-panel.blog-font-open-sans {
  font-family: "Open Sans", sans-serif;
}

.public-blog-panel.blog-font-georgia {
  font-family: Georgia, "Times New Roman", serif;
}

.public-blog-panel.blog-font-lora {
  font-family: "Lora", Georgia, serif;
}

.public-blog-panel.blog-font-merriweather {
  font-family: "Merriweather", Georgia, serif;
}

.public-blog-panel.blog-font-playfair-display {
  font-family: "Playfair Display", Georgia, serif;
}

.public-blog-panel.blog-font-arial {
  font-family: Arial, Helvetica, sans-serif;
}

.public-blog-body h2,
.public-blog-body h3,
.public-blog-body h4 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.25;
  margin: 1.6rem 0 0.75rem;
}

.public-blog-body h2:first-child,
.public-blog-body h3:first-child,
.public-blog-body h4:first-child {
  margin-top: 0;
}

.public-blog-body a {
  color: var(--brand-primary);
  font-weight: 700;
}

.public-blog-body blockquote {
  border-left: 4px solid var(--brand-primary);
  margin: 1.4rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  color: #ffffff;
  background: rgba(184, 230, 160, 0.08);
}

.public-blog-body ul,
.public-blog-body ol {
  padding-left: 1.4rem;
}

.public-blog-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.85rem;
}

.public-blog-body figure.image {
  margin: 1.5rem auto;
  max-width: 100%;
}

.public-blog-body figure.image img,
.public-blog-body figure:has(> img) img {
  margin-inline: auto;
}

.public-blog-body figure.image figcaption,
.public-blog-body figure figcaption {
  margin-top: 0.45rem;
  color: rgba(243, 247, 237, 0.62);
  font-size: 0.9rem;
  text-align: center;
}

.public-blog-body .image-style-align-left,
.public-blog-body .blog-image-left {
  float: left;
  margin: 0.35rem 1.25rem 1rem 0;
  max-width: min(50%, 24rem);
}

.public-blog-body .image-style-align-right,
.public-blog-body .blog-image-right {
  float: right;
  margin: 0.35rem 0 1rem 1.25rem;
  max-width: min(50%, 24rem);
}

.public-blog-body .image-style-align-center,
.public-blog-body .image-style-block-align-center,
.public-blog-body .blog-image-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.public-blog-body .blog-image-full {
  width: 100%;
}

.public-blog-body .blog-image-rounded {
  border-radius: 0.85rem;
}

.public-blog-body::after {
  content: "";
  display: block;
  clear: both;
}

.public-blog-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .public-blog-body .image-style-align-left,
  .public-blog-body .image-style-align-right,
  .public-blog-body .blog-image-left,
  .public-blog-body .blog-image-right {
    float: none;
    margin: 1.25rem auto;
    max-width: 100%;
  }
}

.public-blog-empty {
  padding: 1.5rem;
  color: rgba(243, 247, 237, 0.68);
}

.member-education-card-link,
.member-education-card-link:visited,
.member-education-card-link:hover,
.member-education-card-link:focus {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--brand-text);
  text-decoration: none;
}

.member-education-card:hover,
.member-education-card:focus-within {
  border-color: color-mix(in srgb, var(--brand-primary) 52%, transparent);
  background: rgba(18, 24, 19, 0.96);
}

.member-education-edit-link {
  flex: 0 0 auto;
}

.public-contact-panel {
  overflow: hidden;
}

.public-contact-hero,
.public-contact-section {
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(184, 230, 160, 0.08), rgba(143, 207, 230, 0.04)),
    rgba(15, 19, 16, 0.86);
}

.public-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.42fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.public-contact-section {
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.public-contact-callout {
  border: 1px solid rgba(184, 230, 160, 0.2);
  border-radius: 0.9rem;
  padding: 1rem;
  background: rgba(184, 230, 160, 0.08);
}

.public-contact-phone,
.public-contact-row-phone {
  color: var(--brand-primary);
  font-weight: 800;
  text-decoration: none;
}

.public-contact-phone {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1;
}

.public-contact-row-phone {
  font-size: 1.05rem;
}

.public-contact-phone:hover,
.public-contact-phone:focus,
.public-contact-row-phone:hover,
.public-contact-row-phone:focus,
.public-contact-small-link:hover,
.public-contact-small-link:focus {
  color: color-mix(in srgb, var(--brand-primary) 78%, white 22%);
}

.public-contact-meta {
  color: rgba(243, 247, 237, 0.8);
  font-weight: 700;
}

.public-contact-list {
  display: grid;
  gap: 0.85rem;
  max-height: min(30rem, 64vh);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-color: rgba(184, 230, 160, 0.55) rgba(255, 255, 255, 0.06);
}

.public-contact-row,
.public-contact-help-item {
  border: 1px solid rgba(217, 228, 208, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.public-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.public-contact-help-item {
  padding: 1rem;
}

.public-contact-small-link {
  color: var(--brand-surface-contrast);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.public-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.16);
  min-width: 3.25rem;
  min-height: 3.25rem;
}

.public-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.member-nav-quick-link {
  min-width: 5.5rem;
  padding-inline: 0.9rem;
}

.member-nav-identity {
  min-width: 0;
  max-width: min(22rem, 42vw);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--brand-text);
  line-height: 1.1;
  text-align: right;
}

.member-nav-identity-name,
.member-nav-identity-role {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-nav-identity-name {
  font-size: 0.95rem;
  font-weight: 800;
}

.member-nav-identity-role {
  color: var(--brand-surface-contrast);
  font-size: 0.78rem;
  font-weight: 700;
}

.member-nav-menu {
  position: relative;
  flex: 0 0 auto;
}

.member-nav-menu-toggle {
  gap: 0.5rem;
  min-width: 5rem;
}

.member-nav-menu-bars,
.member-nav-menu-bars::before,
.member-nav-menu-bars::after {
  display: block;
  width: 1.15rem;
  height: 0.13rem;
  border-radius: 999px;
  background: currentColor;
}

.member-nav-menu-bars {
  position: relative;
}

.member-nav-menu-bars::before,
.member-nav-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.member-nav-menu-bars::before {
  top: -0.38rem;
}

.member-nav-menu-bars::after {
  top: 0.38rem;
}

.member-nav-dropdown {
  min-width: 16rem;
  padding: 0.5rem;
  border: 1px solid var(--brand-border);
  background: rgba(10, 12, 11, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  z-index: 1045;
}

.member-nav-dropdown .dropdown-item,
.member-nav-dropdown .dropdown-header {
  color: var(--brand-text);
  border-radius: 0.55rem;
}

.member-nav-dropdown .dropdown-item {
  min-height: 2.85rem;
  display: flex;
  align-items: center;
}

.member-nav-dropdown .dropdown-item:hover,
.member-nav-dropdown .dropdown-item:focus {
  color: #101510;
  background: var(--brand-primary);
}

.member-nav-role-switch {
  display: grid;
  gap: 0.25rem;
  padding: 0.35rem 0 0.45rem;
}

.member-nav-section-label {
  color: var(--brand-surface-contrast);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 0.55rem;
  text-transform: uppercase;
}

.member-nav-dropdown .member-nav-role-option {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.1rem;
  min-height: 3.4rem;
  padding: 0.55rem;
  white-space: normal;
}

.member-nav-role-club,
.member-nav-role-name {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.member-nav-role-club {
  font-weight: 800;
  line-height: 1.2;
}

.member-nav-role-name {
  color: var(--brand-surface-contrast);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.member-nav-dropdown .member-nav-role-option:hover .member-nav-role-name,
.member-nav-dropdown .member-nav-role-option:focus .member-nav-role-name {
  color: #101510;
}

.member-nav-dropdown .member-nav-role-option.is-current {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-text);
}

.member-nav-role-current {
  color: var(--brand-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.member-nav-profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem 0.65rem;
  white-space: normal;
}

.member-nav-clock {
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.member-nav-clock-label {
  color: var(--brand-surface-contrast);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-nav-clock-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.member-nav-clock-toggle::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0.22rem;
  bottom: 0.22rem;
  left: 0.22rem;
  width: calc(50% - 0.345rem);
  border-radius: 999px;
  background: var(--brand-primary);
  transform: translateX(0);
  transition: transform 180ms ease;
}

.member-nav-clock-toggle.is-off::before {
  transform: translateX(calc(100% + 0.25rem));
}

.member-nav-clock-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.member-nav-clock-option.is-active {
  background: transparent;
  color: #101510;
}

.member-nav-clock-option:not(.is-active):hover,
.member-nav-clock-option:not(.is-active):focus {
  color: #101510;
  background: var(--brand-surface-contrast);
  outline: 0;
}

@media (max-width: 991.98px) {
  .public-navbar .navbar-collapse > .d-flex:has(.member-nav-identity) {
    align-items: stretch;
    flex-direction: column;
  }

  .public-navbar .member-nav-menu {
    width: 100%;
  }

  .public-navbar .member-nav-identity {
    align-self: flex-end;
  }

  .public-navbar .member-nav-menu-toggle {
    display: none;
  }

  .public-navbar .member-nav-dropdown {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 0.75rem;
    border-radius: 0.85rem;
    transform: none;
  }
}

.debug-email-status-popup {
  color: #2f2600;
  border-color: rgba(228, 184, 75, 0.7);
  background: #fff3cd;
}

.debug-email-status-popup--fixed {
  position: fixed;
  z-index: 1080;
  top: 1rem;
  right: 1rem;
  width: min(24rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(228, 184, 75, 0.7);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.24);
}

.crew-message-toasts {
  position: fixed;
  top: clamp(4.75rem, 9vh, 6rem);
  right: 1rem;
  z-index: 1090;
  display: grid;
  gap: 0.75rem;
  width: min(28rem, calc(100vw - 2rem));
  pointer-events: none;
}

.crew-message-toast {
  --crew-toast-tone: var(--brand-info);
  --crew-toast-ink: var(--brand-text);
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--crew-toast-tone) 64%, transparent);
  border-left-width: 0.28rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--crew-toast-tone) 18%, transparent), rgba(7, 9, 8, 0.94)),
    rgba(7, 9, 8, 0.96);
  color: var(--crew-toast-ink);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.42);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.crew-message-toast::before {
  content: "";
  display: block;
  width: 2.35rem;
  height: 0.22rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--crew-toast-tone);
  box-shadow: 0 0 1.1rem color-mix(in srgb, var(--crew-toast-tone) 42%, transparent);
}

.crew-message-toast--success {
  --crew-toast-tone: var(--brand-primary);
  --crew-toast-ink: color-mix(in srgb, var(--brand-text) 92%, white 8%);
}

.crew-message-toast--info {
  --crew-toast-tone: var(--brand-info);
}

.crew-message-toast--warning {
  --crew-toast-tone: var(--brand-warning);
  --crew-toast-ink: color-mix(in srgb, var(--brand-warning) 76%, white 24%);
}

.crew-message-toast--error,
.crew-message-toast--danger {
  --crew-toast-tone: var(--brand-danger);
  --crew-toast-ink: color-mix(in srgb, var(--brand-danger) 74%, white 26%);
}

.crew-message-toast.is-hiding {
  opacity: 0;
  transform: translateY(-0.6rem);
}

.public-carousel {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.public-carousel.is-dragging {
  cursor: grabbing;
}

.public-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  transition: transform 420ms ease;
  will-change: transform;
}

.public-content-carousel {
  min-height: 27rem;
  padding-block: 0.5rem;
}

.public-content-carousel-track {
  padding-inline: clamp(0.5rem, 3vw, 2rem);
}

.public-content-slide {
  flex: 0 0 clamp(17rem, 30vw, 24rem);
  opacity: 0.58;
  transform: scale(0.92);
  transition: transform 420ms ease, opacity 420ms ease;
}

.public-content-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.public-slide-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.public-slide-media {
  min-height: 15rem;
  background-position: center;
  background-size: cover;
}

.public-slide-copy {
  padding: 1.25rem;
}

.public-club-carousel {
  min-height: 22rem;
  padding-block: 0.5rem;
}

.public-club-carousel-track {
  padding-inline: clamp(0.5rem, 3vw, 2rem);
}

.public-club-slide {
  flex: 0 0 clamp(16rem, 27vw, 22rem);
  opacity: 0.55;
  transform: scale(0.9);
  transition: transform 420ms ease, opacity 420ms ease;
}

.public-club-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.public-club-slide-card {
  display: grid;
  grid-template-rows: minmax(14rem, 1fr) auto;
  border-radius: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(184, 230, 160, 0.1), rgba(143, 207, 230, 0.05)),
    rgba(16, 20, 17, 0.96);
  border: 1px solid var(--brand-border);
  min-height: 100%;
}

.public-club-slide-visual {
  position: relative;
  min-height: 14rem;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 205, 224, 0.58) 0,
      rgba(255, 205, 224, 0.58) 2px,
      rgba(184, 230, 160, 0.12) 2px,
      rgba(184, 230, 160, 0.12) 8px
    ),
    radial-gradient(circle at 30% 20%, rgba(255, 189, 220, 0.55), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(143, 207, 230, 0.35), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 12, 11, 0.12));
}

.public-club-slide-visual::before,
.public-club-slide-visual::after {
  content: "";
  position: absolute;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 214, 233, 0.5);
  background: rgba(255, 215, 232, 0.08);
}

.public-club-slide-visual::before {
  inset: 1rem auto 1rem 1rem;
  width: 34%;
}

.public-club-slide-visual::after {
  inset: 1.75rem 1rem 1.75rem auto;
  width: 42%;
}

.public-club-slide-visual span {
  position: relative;
  z-index: 1;
  width: 7rem;
  height: 7rem;
  display: inline-grid;
  place-items: center;
  border-radius: 2rem;
  background: rgba(255, 236, 245, 0.14);
  border: 1px solid rgba(255, 232, 242, 0.55);
  color: #fff1f8;
  font-size: 2.8rem;
  font-weight: 800;
}

.public-club-slide-logo {
  position: relative;
  z-index: 1;
  width: min(72%, 12rem);
  max-height: 8.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0.85rem 1.4rem rgba(0, 0, 0, 0.28));
}

.public-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.public-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
}

.public-carousel-dot.is-active {
  background: var(--brand-primary);
}

.public-cta-grid {
  display: grid;
  gap: 1rem;
}

.public-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  text-align: center;
  border-radius: 1rem;
  padding: 1rem;
  font-weight: 800;
  text-decoration: none;
  background: color-mix(in srgb, var(--brand-primary) 92%, white 8%);
  color: #101510;
  border: 1px solid rgba(16, 21, 16, 0.1);
}

.public-footer {
  border-top: 1px solid var(--brand-border);
  background: rgba(10, 12, 11, 0.96);
}

.public-footer a {
  color: var(--brand-surface-contrast);
  text-decoration: none;
}

.public-footer a:hover,
.public-footer a:focus {
  color: var(--brand-primary);
}

.public-mode-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(5, 8, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.public-mode-dialog {
  width: min(100%, 42rem);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .public-slide-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .public-slide-copy {
    padding: 1.5rem;
  }

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

@media (max-width: 767.98px) {
  .crew-message-toasts {
    top: 4.35rem;
    right: 0.75rem;
    width: min(25rem, calc(100vw - 1.5rem));
  }

  .crew-message-toast {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }

  .public-brand-logo {
    height: 3.35rem;
    max-width: min(15rem, 62vw);
  }

  .public-brand-name {
    max-width: min(14rem, 54vw);
  }

  .public-hero-actions {
    grid-template-columns: 1fr;
  }

  .public-contact-hero,
  .public-contact-row {
    grid-template-columns: 1fr;
  }

  .public-club-slide {
    flex-basis: calc(100% - 1rem);
    opacity: 0.8;
  }

  .public-club-slide-visual {
    min-height: 15rem;
  }

  .public-signup-club-crumb {
    width: 100%;
  }
}

.public-signup-hero {
  background:
    linear-gradient(135deg, rgba(184, 230, 160, 0.14), rgba(143, 207, 230, 0.06)),
    rgba(11, 16, 11, 0.96);
}

.public-signup-club-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.public-signup-club-search {
  max-width: 28rem;
}

.public-signup-club-search .form-control {
  background: rgba(14, 18, 15, 0.96);
}

.public-signup-club-carousel {
  min-height: 22rem;
  padding-block: 0.25rem 0.5rem;
}

.public-signup-club-carousel-track {
  padding-inline: 0.35rem;
}

.public-signup-club-empty {
  display: none;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(184, 230, 160, 0.22);
  color: var(--brand-surface-contrast);
}

.public-signup-club-card {
  cursor: pointer;
  user-select: none;
}

.public-signup-club-slide-card {
  min-height: 100%;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.public-signup-club-card:hover .public-signup-club-slide-card,
.public-signup-club-card.is-selected .public-signup-club-slide-card {
  border-color: var(--brand-primary);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.24);
}

.public-signup-club-slide-copy {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.public-signup-club-title {
  font-size: clamp(1.3rem, 1.1rem + 0.45vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-text);
}

.public-signup-club-meta {
  color: rgba(243, 247, 237, 0.74);
  font-size: 1rem;
  line-height: 1.45;
}

.public-signup-carousel-dots {
  margin-top: 0.35rem;
}

.public-signup-club-card .public-club-slide-visual span {
  width: 6rem;
  height: 6rem;
  font-size: 2.3rem;
}

.public-signup-club-card .public-club-slide-logo {
  width: min(70%, 10rem);
  max-height: 7rem;
}

.public-signup-club-card:focus-visible {
  outline: none;
}

.public-signup-club-card:focus-visible .public-signup-club-slide-card {
  border-color: rgba(184, 230, 160, 0.84);
  box-shadow:
    0 0 0 0.18rem rgba(184, 230, 160, 0.18),
    0 1rem 2rem rgba(0, 0, 0, 0.24);
}

.public-signup-fields {
  display: grid;
  gap: 2rem;
}

.public-signup-section + .public-signup-section {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.public-signup-form .form-label,
.public-signup-form .form-check-label {
  color: var(--brand-text);
}

.public-signup-form .form-control,
.public-signup-form .form-select {
  background: rgba(9, 13, 10, 0.92);
  border: 1px solid rgba(184, 230, 160, 0.18);
  color: var(--brand-text);
  border-radius: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.public-signup-form .form-control::placeholder,
.public-signup-form .form-select::placeholder {
  color: rgba(243, 247, 237, 0.46);
}

.public-signup-form .form-control:hover,
.public-signup-form .form-select:hover {
  border-color: rgba(184, 230, 160, 0.32);
}

.public-signup-form .form-control:focus,
.public-signup-form .form-select:focus,
.public-signup-form .form-check-input:focus {
  background: rgba(12, 16, 12, 0.98);
  color: var(--brand-text);
  border-color: rgba(184, 230, 160, 0.64);
  box-shadow:
    0 0 0 0.2rem rgba(184, 230, 160, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.public-signup-form .is-invalid-control {
  border-color: var(--brand-danger) !important;
  box-shadow: 0 0 0 0.18rem rgba(227, 93, 91, 0.16);
}

.public-signup-form .password-input-shell.is-invalid-control .form-control {
  border-color: var(--brand-danger) !important;
  box-shadow: 0 0 0 0.18rem rgba(227, 93, 91, 0.16);
}

.public-signup-control-error {
  color: var(--brand-danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.public-signup-password-match {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.public-signup-password-match.is-password-mismatch {
  color: var(--brand-danger);
}

.public-signup-password-match.is-password-match {
  color: var(--brand-primary);
}

.public-signup-upload-card.is-invalid-control {
  border-color: var(--brand-danger);
  box-shadow: 0 0 0 0.18rem rgba(227, 93, 91, 0.12);
}

.public-signup-camera-dialog {
  width: min(94vw, 46rem);
  max-width: 46rem;
  margin-right: auto;
  margin-left: auto;
}

.public-signup-camera-dialog .public-signup-camera-modal {
  background-color: rgba(15, 18, 15, 0.99);
  border: 1px solid rgba(184, 230, 160, 0.26);
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
  color: var(--brand-text);
  overflow: hidden;
}

.public-signup-camera-dialog .modal-header,
.public-signup-camera-dialog .modal-body,
.public-signup-camera-dialog .modal-footer {
  background-color: transparent;
  color: var(--brand-text);
}

.public-signup-camera-dialog .modal-footer {
  gap: 0.5rem;
  justify-content: flex-end;
}

.public-signup-camera-dialog .public-signup-camera-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(8, 11, 8, 0.96);
  border: 1px solid rgba(184, 230, 160, 0.18);
  border-radius: 0.5rem;
}

.public-signup-camera-dialog .public-signup-camera-video,
.public-signup-camera-dialog #signup-camera-canvas,
.public-signup-camera-dialog .public-signup-camera-preview {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-signup-camera-dialog .public-signup-camera-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  background-color: rgba(243, 247, 237, 0.08);
  border: 1px solid rgba(243, 247, 237, 0.42);
  color: var(--brand-text);
  line-height: 1.1;
  text-align: center;
}

.public-signup-camera-dialog .public-signup-camera-secondary:hover,
.public-signup-camera-dialog .public-signup-camera-secondary:focus {
  background-color: rgba(243, 247, 237, 0.14);
  border-color: rgba(184, 230, 160, 0.78);
  color: var(--brand-primary);
}

@media (max-width: 575.98px) {
  .public-signup-camera-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .public-signup-camera-dialog .public-signup-camera-modal {
    min-height: 100%;
    border-radius: 0;
  }

  .public-signup-camera-dialog .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .public-signup-camera-dialog .modal-footer {
    justify-content: stretch;
  }

  .public-signup-camera-dialog .modal-footer .btn {
    flex: 1 1 8rem;
  }
}

.public-signup-form .form-check-input {
  background-color: rgba(9, 13, 10, 0.92);
  border-color: rgba(184, 230, 160, 0.28);
}

.public-signup-form .form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.public-signup-dob-input,
.flatpickr-input[readonly] {
  cursor: pointer;
}

.public-signup-dob-quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.flatpickr-calendar {
  background: #101410;
  border: 1px solid rgba(184, 230, 160, 0.25);
  border-radius: 1rem;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35);
}

.flatpickr-months,
.flatpickr-weekdays {
  background: #151c15;
}

.flatpickr-calendar .flatpickr-innerContainer,
.flatpickr-calendar .flatpickr-rContainer,
.flatpickr-calendar .flatpickr-days,
.flatpickr-calendar .dayContainer {
  background: #101410;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: color-mix(in srgb, var(--brand-primary) 78%, white 22%);
  color: color-mix(in srgb, var(--brand-primary) 78%, white 22%);
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg,
.flatpickr-months .flatpickr-prev-month:focus svg,
.flatpickr-months .flatpickr-next-month:focus svg {
  fill: #ffffff;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
.flatpickr-weekday,
.flatpickr-day {
  color: #f3f7ed;
}

.flatpickr-current-month {
  color: #f3f7ed;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper input.cur-year {
  background: transparent;
  color: #f3f7ed;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month .numInputWrapper input.cur-year:hover,
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .numInputWrapper input.cur-year:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.flatpickr-current-month .numInputWrapper span.arrowUp::after {
  border-bottom-color: rgba(243, 247, 237, 0.8);
}

.flatpickr-current-month .numInputWrapper span.arrowDown::after {
  border-top-color: rgba(243, 247, 237, 0.8);
}

.flatpickr-day:hover,
.flatpickr-day:focus,
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #10210d;
}

.flatpickr-day.today {
  border-color: rgba(184, 230, 160, 0.65);
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
  color: #10210d;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(243, 247, 237, 0.28);
}

.public-signup-doc-card {
  height: 100%;
  padding: 1.25rem;
  border-radius: 1.2rem;
  border: 1px solid var(--brand-border);
  background:
    linear-gradient(135deg, rgba(184, 230, 160, 0.06), rgba(143, 207, 230, 0.04)),
    rgba(14, 18, 15, 0.96);
}

.public-signup-doc-frame {
  width: 100%;
  min-height: 23rem;
  border: 0;
  border-radius: 1rem;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(184, 230, 160, 0.28) 0,
      rgba(184, 230, 160, 0.28) 2px,
      rgba(255, 255, 255, 0.05) 2px,
      rgba(255, 255, 255, 0.05) 8px
    ),
    rgba(10, 12, 11, 0.94);
  display: none;
}

.public-signup-doc-frame.is-ready {
  display: block;
}

.public-signup-doc-empty {
  min-height: 23rem;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border: 1px dashed rgba(217, 228, 208, 0.28);
  border-radius: 1rem;
  color: rgba(243, 247, 237, 0.74);
  background: rgba(255, 255, 255, 0.035);
}

.public-signup-doc-empty.d-none {
  display: none !important;
}

.public-home-club-copy {
  align-items: center;
  text-align: center;
}

.public-home-club-hours {
  color: var(--brand-surface-contrast);
  font-size: 0.94rem;
  font-weight: 400;
}

.public-home-club-location {
  color: var(--brand-surface-contrast);
  font-size: 0.9rem;
  font-weight: 400;
}

.public-signup-upload-preview {
  display: block;
  width: min(100%, 18rem);
  max-height: 14rem;
  margin-top: 1rem;
  border-radius: 1rem;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.28);
}

.member-hub-welcome-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 55%, transparent);
}

.crew-station-card {
  display: block;
  color: var(--brand-text);
  transition: transform 160ms ease, border-color 160ms ease;
}

.crew-station-card:hover,
.crew-station-card:focus-visible {
  color: var(--brand-text);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.public-related-news-image,
.public-news-compact-image {
  width: 100%;
  height: 8rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  object-fit: contain;
}

.public-news-list-layout {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.public-news-list-layout .public-news-compact-image {
  height: 100%;
  min-height: 8rem;
  margin: 0;
}

.public-news-list-layout .public-news-compact-image--default,
.public-news-compact-card .public-news-compact-image--default {
  object-fit: contain;
  object-position: center;
}

.public-news-detail-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: var(--experience-reading-width);
  margin-inline: auto;
}

.public-news-detail-layout--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.public-news-detail-layout--text-only .public-blog-body {
  width: 100%;
}

.public-news-detail-layout--blog {
  display: block;
}

.public-news-detail-layout--blog .public-blog-featured-image {
  margin-bottom: 2rem;
}

.public-news-detail-layout--blog .public-blog-featured-image img {
  width: 100%;
  max-height: 30rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.public-news-detail-layout--blog .public-blog-featured-image--default img {
  width: min(100%, 36rem);
  max-height: 18rem;
  aspect-ratio: auto;
  object-fit: contain;
}

.public-related-news {
  width: 100%;
  max-width: var(--experience-reading-width);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--experience-line);
}

.public-related-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.public-related-news-grid .public-blog-card {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.public-related-news-grid .public-blog-card h3 {
  margin: 0;
}

.public-news-detail-layout .public-blog-featured-image {
  margin: 0;
}

.public-news-detail-layout .public-blog-featured-image img {
  width: 100%;
  max-height: 24rem;
}

@media (max-width: 767.98px) {
  .public-news-detail-layout,
  .public-news-list-layout { grid-template-columns: 1fr; }
}

.public-home-qr {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.public-home-qr-code {
  width: 6.25rem;
  height: 6.25rem;
  padding: 0.45rem;
  border-radius: 0.85rem;
  background: #ffffff;
}

.public-home-qr-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.58rem 1rem;
  border: 1px solid rgba(184, 230, 160, 0.44);
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.12);
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.public-home-qr-fallback:hover,
.public-home-qr-fallback:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #101510;
}

@media (max-width: 767.98px) {
  .public-signup-club-card {
    flex-basis: calc(100% - 2.5rem);
  }

  .public-signup-doc-frame {
    min-height: 18rem;
  }
}

.member-hub-shell {
  max-width: 88rem;
  margin: 0 auto;
}

.member-nav-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.08);
}

.member-nav-club-form {
  min-width: 11rem;
}

.member-nav-club-form .form-select {
  appearance: none;
  min-height: 2.9rem;
  padding: 0.55rem 2.75rem 0.55rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(184, 230, 160, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.25 7.75L10 12.5L14.75 7.75' stroke='%23D9E4D0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.95rem center / 1rem,
    rgba(14, 18, 15, 0.96);
  color: var(--brand-text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
  text-align-last: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.member-nav-club-form .form-select:hover,
.member-nav-club-form .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.18rem rgba(184, 230, 160, 0.18);
}

.member-nav-club-form .form-select option {
  color: #101510;
}

.member-shared-footer {
  border-top: 1px solid rgba(184, 230, 160, 0.18);
  background: #111816;
  width: 100%;
}

.member-shared-footer-inner {
  width: min(100% - 2rem, 88rem);
  margin: 0 auto;
  padding: 3.25rem 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(18rem, 1.6fr) minmax(22rem, 1fr);
  gap: 3rem;
}

.member-shared-footer-main {
  max-width: 42rem;
}

.member-shared-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--brand-text);
  font-size: 1.05rem;
  font-weight: 800;
}

.member-shared-footer-logo {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
}

.member-shared-footer-logo--wide {
  width: 7rem;
  height: auto;
}

.member-shared-footer-lede {
  margin: 1.7rem 0 0;
  color: color-mix(in srgb, var(--brand-surface-contrast) 82%, transparent);
  font-size: 1rem;
  line-height: 1.65;
}

.member-shared-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
  gap: 2.5rem;
}

.member-shared-footer-heading {
  margin: 0 0 1rem;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.member-shared-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.72rem;
}

.member-shared-footer a {
  color: color-mix(in srgb, var(--brand-surface-contrast) 92%, transparent);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.18s ease;
}

.member-shared-footer a:hover,
.member-shared-footer a:focus {
  color: var(--brand-primary);
}

.member-shared-footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(217, 228, 208, 0.12);
  margin-top: 0.5rem;
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  color: color-mix(in srgb, var(--brand-surface-contrast) 68%, transparent);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .public-navbar .navbar-collapse > .d-flex:has(.member-nav-identity) {
    width: 100%;
  }

  .member-nav-identity {
    max-width: calc(100% - 6rem);
  }

  .member-nav-identity-role {
    display: none;
  }

  .member-shared-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .member-shared-footer-nav {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

.member-hub-welcome-strip {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.member-hub-welcome-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
}

.member-hub-welcome-number {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: color-mix(in srgb, var(--brand-primary) 86%, white 14%);
}

.member-hub-welcome-copy {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 28rem;
  margin-left: auto;
}

.member-hub-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(184, 230, 160, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(143, 207, 230, 0.12), transparent 28%),
    rgba(11, 14, 12, 0.9);
  min-height: clamp(23rem, 46vw, 30rem);
}

.member-hub-hero .public-hero-overlay {
  z-index: 1;
}

.member-hub-note {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.05);
  color: color-mix(in srgb, var(--brand-text) 86%, white 14%);
}

.member-hub-status-wrap {
  display: flex;
  align-items: flex-end;
  min-height: clamp(18rem, 34vw, 24rem);
}

.member-hub-status-left,
.member-hub-status-right {
  height: 100%;
  padding: 1.75rem 2rem;
  border: 1px solid var(--brand-border);
  background: rgba(8, 10, 8, 0.8);
  backdrop-filter: blur(8px);
}

.member-hub-status-left {
  border-radius: 1.5rem 0 0 1.5rem;
}

.member-hub-status-right {
  border-left: 0;
  border-radius: 0 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  gap: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.member-hub-status-title {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.member-hub-status-stack {
  display: grid;
  gap: 1rem;
}

.member-hub-status-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(236, 129, 245, 0.98), rgba(233, 120, 225, 0.86));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.member-hub-status-pill--success {
  background: linear-gradient(135deg, rgba(134, 212, 130, 0.98), rgba(76, 169, 96, 0.9));
}

.member-hub-status-pill--pending {
  background: linear-gradient(135deg, rgba(236, 129, 245, 0.98), rgba(233, 120, 225, 0.86));
}

.member-hub-status-pill--banned {
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
  color: #fff;
}

.member-hub-status-caption {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(243, 247, 237, 0.86);
}

.member-hub-grid,
.member-hub-rail {
  display: grid;
  gap: 1.5rem;
}

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

.member-hub-middle {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.9fr);
  gap: 1.5rem;
}

.member-hub-support-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.member-hub-support-row > * {
  min-width: 0;
}

.member-hub-sharing-pane,
.member-hub-news-pane {
  min-height: 100%;
}

.member-hub-middle-title {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-hub-sharing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-height: 100%;
}

.member-hub-sharing-left {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.member-hub-helper-card {
  min-height: 0;
  display: flex;
  align-items: center;
  background: rgba(8, 10, 8, 0.88);
}

.member-hub-helper-card p {
  font-size: 0.98rem;
  line-height: 1.35;
}

.member-hub-dropdown-card {
  display: grid;
  gap: 0.65rem;
}

.member-hub-dropdown-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--brand-primary) 72%, white 28%);
}

.member-hub-story-select {
  appearance: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 4rem;
  padding: 0.9rem 3.15rem 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 32%, white 68%);
  background:
    linear-gradient(180deg, rgba(220, 245, 191, 0.98), rgba(195, 231, 161, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.25 7.75L10 12.5L14.75 7.75' stroke='%23162114' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem,
    #d8efbf;
  color: #162114;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  text-align-last: left;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.member-hub-story-select:focus {
  outline: 0;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.18rem rgba(184, 230, 160, 0.18);
}

.member-hub-story-select option {
  color: #162114;
}

.member-hub-sharing-story {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand-surface-contrast) 52%, white 48%);
  background:
    linear-gradient(135deg, rgba(17, 24, 16, 0.92), rgba(30, 43, 29, 0.82)),
    repeating-linear-gradient(
      135deg,
      rgba(217, 228, 208, 0.08) 0,
      rgba(217, 228, 208, 0.08) 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 8px
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.member-hub-empty-note {
  color: color-mix(in srgb, var(--brand-text) 72%, white 28%);
  font-size: 0.95rem;
  line-height: 1.35;
}

.member-hub-news-list {
  display: grid;
  gap: 1rem;
}

.member-hub-news-list.is-scrollable {
  max-height: 39rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.member-hub-news-card {
  min-height: 7.5rem;
}

.member-hub-meta-list {
  display: grid;
  gap: 0.9rem;
}

.member-hub-meta-list > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--brand-border);
}

.member-hub-meta-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.member-hub-meta-list span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--brand-primary) 72%, white 28%);
}

.member-hub-meta-list strong {
  text-align: right;
  font-size: 0.98rem;
  color: var(--brand-text);
}

.member-hub-sister-list {
  display: grid;
  gap: 0.75rem;
}

.member-hub-sister-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--brand-text);
  text-decoration: none;
}

.member-hub-sister-item:hover,
.member-hub-sister-item:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 50%, white 50%);
  color: var(--brand-primary);
}

.member-hub-sister-item img,
.member-hub-sister-fallback {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  object-fit: cover;
  border: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.06);
}

.member-hub-sister-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.member-hub-accordion .accordion-item,
.member-hub-accordion .accordion-button,
.member-hub-accordion .accordion-body {
  color: var(--brand-text);
  background: rgba(15, 18, 15, 0.92);
  border-color: var(--brand-border);
}

.member-hub-accordion .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: var(--brand-primary);
}

.member-hub-document-frame {
  width: 100%;
  min-height: 26rem;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.member-hub-modal {
  background: rgba(11, 14, 12, 0.98);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
}

.member-hub-modal .form-control {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--brand-border);
  color: var(--brand-text);
}

.member-hub-modal .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-text);
}

.crew-workspace {
  max-width: 92rem;
  margin: 0 auto;
}

body:has([data-crew-dashboard]) main.container {
  padding-top: clamp(0.65rem, 1.1vw, 1rem) !important;
}

.crew-dashboard-workspace {
  max-width: 92rem;
  margin: 0 auto;
}

.crew-work-hero {
  min-height: 12rem;
  overflow: hidden;
}

.crew-work-hero .public-hero-overlay {
  min-height: 100%;
}

.crew-work-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.04;
}

.crew-work-copy {
  max-width: 40rem;
}

.crew-hero {
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.4rem);
  min-height: 20rem;
  background: rgba(7, 9, 8, 0.96);
  border-color: rgba(184, 230, 160, 0.26);
}

.crew-hero .public-hero-media {
  opacity: 1;
}

.crew-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.crew-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 10rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.crew-hero-title {
  max-width: 42rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.02;
}

.crew-hero-copy {
  max-width: 46rem;
  color: color-mix(in srgb, var(--brand-text) 82%, white 18%);
}

.crew-status-card {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  min-height: 8.5rem;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  border: 1px solid rgba(217, 228, 208, 0.22);
  border-radius: 1.25rem;
  background: rgba(7, 9, 8, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.crew-status-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.crew-status-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(217, 228, 208, 0.14);
  color: color-mix(in srgb, var(--brand-text) 78%, white 22%);
}

.crew-status-row strong {
  color: var(--brand-text);
  text-align: right;
}

.crew-status-capability {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.12);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.crew-clock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.crew-clock-actions--compact {
  gap: 0.65rem;
}

.crew-touch-action {
  min-height: 3.1rem;
  min-width: 7.75rem;
  padding-inline: 1rem;
}

.crew-component-shell {
  padding: clamp(0.85rem, 2vw, 1.4rem);
  border: 1px solid rgba(217, 228, 208, 0.2);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(170, 188, 198, 0.92), rgba(126, 145, 154, 0.92)),
    color-mix(in srgb, var(--brand-bg) 26%, #9eb1bc 74%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 56px rgba(0, 0, 0, 0.18);
}

.crew-view-panel {
  width: 100%;
}

[data-crew-dashboard] .crew-view-panel {
  padding-top: 0;
}

[data-crew-dashboard] .crew-view-accordion {
  margin-top: 0;
}

.crew-quick-tabs {
  position: fixed;
  left: 0;
  top: min(14rem, 34vh);
  z-index: 1020;
  display: grid;
  gap: 0.45rem;
  width: 13rem;
  pointer-events: none;
}

body:has([data-crew-dashboard]) .crew-quick-tabs {
  top: clamp(5.2rem, 12vh, 7rem);
}

.crew-quick-tab {
  --crew-tab-accent: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 3.25rem;
  min-height: 2.75rem;
  max-width: 13rem;
  padding: 0.55rem 0.8rem 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--crew-tab-accent) 50%, white 10%);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: color-mix(in srgb, var(--brand-surface) 88%, var(--crew-tab-accent) 12%);
  color: var(--brand-text);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  pointer-events: auto;
  transition: width 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.crew-quick-tab:nth-child(2n) {
  --crew-tab-accent: var(--brand-info);
}

.crew-quick-tab:nth-child(3n) {
  --crew-tab-accent: var(--brand-warning);
}

.crew-quick-tab:nth-child(4n) {
  --crew-tab-accent: var(--brand-danger);
}

.crew-quick-tab:hover,
.crew-quick-tab:focus-visible {
  width: 13rem;
  color: var(--brand-text);
  border-color: var(--crew-tab-accent);
  background: color-mix(in srgb, var(--brand-surface) 76%, var(--crew-tab-accent) 24%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  outline: 0;
}

.crew-quick-tab.is-active,
.crew-quick-tab[aria-current="true"] {
  border-color: var(--crew-tab-accent);
  background: color-mix(in srgb, var(--brand-surface) 82%, var(--crew-tab-accent) 18%);
}

.crew-quick-tab-icon,
.crew-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.crew-quick-tab-icon .crew-svg-icon,
.crew-accordion-icon .crew-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.crew-quick-tab-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--crew-tab-accent) 24%, transparent);
  color: color-mix(in srgb, var(--crew-tab-accent) 86%, white 14%);
  font-size: 1.2rem;
}

.crew-quick-tab.is-active .crew-quick-tab-icon,
.crew-quick-tab[aria-current="true"] .crew-quick-tab-icon {
  background: color-mix(in srgb, var(--crew-tab-accent) 36%, transparent);
  color: color-mix(in srgb, var(--crew-tab-accent) 92%, white 8%);
}

.crew-quick-tab-label {
  min-width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 800;
  transition: max-width 0.16s ease, opacity 0.12s ease;
}

.crew-quick-tab:hover .crew-quick-tab-label,
.crew-quick-tab:focus-visible .crew-quick-tab-label {
  max-width: 8rem;
  opacity: 1;
}

.crew-view-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(217, 228, 208, 0.18);
  --bs-accordion-btn-bg: rgba(7, 9, 8, 0.86);
  --bs-accordion-btn-color: var(--brand-text);
  --bs-accordion-active-bg: rgba(184, 230, 160, 0.14);
  --bs-accordion-active-color: var(--brand-primary);
  --bs-accordion-btn-focus-border-color: rgba(184, 230, 160, 0.5);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.18rem rgba(184, 230, 160, 0.18);
  --bs-accordion-color: var(--brand-text);
}

.crew-view-accordion .accordion-item {
  scroll-margin-top: clamp(5.4rem, 12vh, 7.25rem);
  overflow: hidden;
  border-color: rgba(217, 228, 208, 0.18);
  background: rgba(7, 9, 8, 0.76);
}

.crew-view-accordion .accordion-header {
  scroll-margin-top: clamp(5.4rem, 12vh, 7.25rem);
}

.crew-view-accordion .accordion-button {
  font-weight: 700;
}

.crew-accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.crew-accordion-icon {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(184, 230, 160, 0.22);
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.1);
  color: var(--brand-primary);
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  body:has([data-crew-dashboard]) main.container {
    padding-bottom: 9.5rem;
  }

  body:has([data-crew-dashboard]) .crew-quick-tabs {
    top: auto;
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    left: max(0.65rem, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
    min-height: 3.85rem;
    gap: 0.45rem;
    padding: 0.45rem;
    border: 1px solid rgba(217, 228, 208, 0.2);
    border-radius: 999px;
    background: rgba(7, 9, 8, 0.96);
    box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.34);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    pointer-events: auto;
    scrollbar-width: none;
  }

  body:has([data-crew-dashboard]) .crew-quick-tabs::-webkit-scrollbar {
    display: none;
  }

  [data-crew-dashboard] .crew-quick-tab,
  [data-crew-dashboard] .crew-quick-tab:hover,
  [data-crew-dashboard] .crew-quick-tab:focus-visible {
    flex: 0 0 2.9rem;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
    padding: 0.45rem;
    border-left: 1px solid color-mix(in srgb, var(--crew-tab-accent) 50%, white 10%);
    border-radius: 999px;
    box-shadow: none;
  }

  [data-crew-dashboard] .crew-quick-tab-label {
    display: none;
  }

  [data-crew-dashboard] .crew-quick-tab-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.08rem;
  }

  [data-crew-dashboard] .crew-cart-shell {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(max(0.65rem, env(safe-area-inset-bottom)) + 5rem);
  }

  [data-crew-dashboard] .crew-cart-badge {
    min-height: 2.85rem;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  [data-crew-dashboard] .crew-cart-badge strong {
    min-width: 1.45rem;
    height: 1.45rem;
  }
}

.crew-view-accordion .accordion-body {
  padding: clamp(1rem, 2vw, 1.5rem);
  background: rgba(7, 9, 8, 0.72);
}

.crew-inline-widget {
  scroll-margin-top: 6rem;
}

.crew-inline-widget + .crew-inline-widget {
  margin-top: 1rem;
}

.crew-inline-widget .crew-card:last-child {
  margin-bottom: 0 !important;
}

.crew-card {
  border: 1px solid rgba(217, 228, 208, 0.16);
  border-radius: 1.15rem;
  background: rgba(7, 9, 8, 0.97);
  color: var(--brand-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.crew-card-heading {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.12;
}

.crew-muted {
  color: color-mix(in srgb, var(--brand-text) 62%, white 38%);
  font-size: 0.92rem;
}

.daily-duties-role-filter {
  width: min(100%, 18rem);
  min-width: 0;
}

.daily-duty-group {
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  border-top: 1px solid rgba(217, 228, 208, 0.16);
}

.daily-duty-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.daily-duty-group:last-child {
  padding-bottom: 0;
}

.crew-form .form-label,
.crew-stock-form label {
  color: color-mix(in srgb, var(--brand-text) 82%, white 18%);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crew-form .form-control,
.crew-form .form-select {
  min-height: 2.75rem;
  border-color: rgba(217, 228, 208, 0.22);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--brand-text);
}

.crew-form .form-control:focus,
.crew-form .form-select:focus {
  border-color: var(--brand-primary);
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--brand-text);
  box-shadow: 0 0 0 0.18rem rgba(184, 230, 160, 0.16);
}

.crew-form .form-control::placeholder {
  color: rgba(217, 228, 208, 0.52);
}

.crew-form .form-select option {
  color: #101510;
}

.crew-inline-form .crew-transfer-endpoint-field {
  flex: 1 1 auto;
  max-width: 100%;
}

.crew-form .crew-transfer-endpoint-input {
  width: auto;
  min-width: min(100%, 12rem);
  max-width: 100%;
}

.crew-list {
  border-radius: 0.9rem;
  overflow: hidden;
}

.crew-scroll-panel {
  max-height: min(420px, 45vh);
  overflow-y: auto;
}

.crew-list .list-group-item {
  padding: 1rem;
  border-color: rgba(217, 228, 208, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--brand-text);
}

.crew-list a.list-group-item:hover,
.crew-list a.list-group-item:focus {
  background: rgba(184, 230, 160, 0.12);
  color: var(--brand-primary);
}

.crew-history-list {
  display: grid;
  gap: 0.85rem;
  padding-right: 0.35rem;
}

.crew-history-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.crew-history-card--activity {
  background: rgba(184, 230, 160, 0.055);
}

.crew-history-card-head,
.crew-history-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.crew-history-label {
  color: var(--brand-primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crew-history-summary,
.crew-history-product {
  color: var(--brand-text);
  font-weight: 800;
}

.crew-history-meta,
.crew-history-product-meta,
.crew-history-fallback {
  color: color-mix(in srgb, var(--brand-text) 62%, white 38%);
  font-size: 0.86rem;
}

.crew-history-meta {
  min-width: 10rem;
  text-align: right;
}

.crew-history-items {
  display: grid;
  gap: 0.6rem;
}

.crew-history-item {
  padding: 0.75rem;
  border: 1px solid rgba(217, 228, 208, 0.1);
  border-radius: 0.65rem;
  background: rgba(7, 9, 8, 0.62);
}

.crew-history-item-main {
  min-width: 0;
}

.crew-history-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.15rem;
}

.crew-history-qty {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
  min-width: 4.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(184, 230, 160, 0.22);
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.1);
  color: var(--brand-primary);
  font-weight: 800;
  text-align: center;
}

.crew-history-buy-now {
  min-height: 1.8rem;
  padding: 0.18rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 58%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-primary) 14%, transparent);
  color: var(--brand-primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.crew-history-buy-now:hover,
.crew-history-buy-now:focus {
  background: color-mix(in srgb, var(--brand-primary) 24%, transparent);
  color: var(--brand-text);
}

.crew-member-search-result {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.crew-member-search-result--banned {
  border-left: 4px solid #dc2626 !important;
}

.crew-member-search-result--banned .crew-member-search-name {
  color: #fecaca;
}

.crew-member-search-photo {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  max-height: 4rem;
  border: 1px solid rgba(217, 228, 208, 0.24);
  border-radius: 0.6rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.crew-member-search-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.crew-member-search-name {
  color: var(--brand-text);
  font-weight: 800;
}

.crew-member-search-meta {
  color: color-mix(in srgb, var(--brand-text) 60%, white 40%);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.crew-member-search-status {
  font-size: 0.86rem;
  font-weight: 900;
}

.crew-member-search-status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem;
}

.crew-banned-text {
  color: #ef4444 !important;
  font-weight: 900;
}

.public-banned-text {
  color: #ef4444 !important;
  font-weight: 900;
}

.crew-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.crew-action-tile {
  min-height: 7.5rem;
  border-color: rgba(184, 230, 160, 0.2);
  background: rgba(184, 230, 160, 0.1);
  color: var(--brand-text);
}

.crew-action-tile .small {
  color: color-mix(in srgb, var(--brand-text) 58%, white 42%);
}

.crew-status-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
}

.crew-status-pill,
.crew-stock-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(184, 230, 160, 0.24);
  border-radius: 999px;
  background: rgba(184, 230, 160, 0.12);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.crew-status-action {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.crew-status-pill--short {
  width: 9.75rem;
}

.crew-status-pill--long {
  width: 12.75rem;
}

.crew-status-pill--active {
  border-color: rgba(34, 197, 94, 0.72) !important;
  background: rgba(22, 101, 52, 0.34) !important;
  color: #bbf7d0 !important;
}

.crew-status-pill--inactive,
.crew-status-pill--suspended {
  border-color: rgba(239, 68, 68, 0.68) !important;
  background: rgba(127, 29, 29, 0.24) !important;
  color: #fecaca !important;
}

.crew-status-action:hover,
.crew-status-action:focus {
  border-color: rgba(184, 230, 160, 0.48);
  background: rgba(184, 230, 160, 0.18);
  color: var(--brand-text);
}

.crew-status-action--primary {
  border-color: rgba(248, 113, 113, 0.82) !important;
  background: linear-gradient(180deg, rgba(153, 27, 27, 0.96), rgba(127, 29, 29, 0.98)) !important;
  box-shadow: 0 0 0 1px rgba(254, 202, 202, 0.18), 0 14px 30px rgba(127, 29, 29, 0.32);
  color: #fee2e2 !important;
}

.crew-status-action--primary:hover,
.crew-status-action--primary:focus {
  transform: translateY(-2px);
  border-color: rgba(254, 202, 202, 0.92) !important;
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.98), rgba(153, 27, 27, 0.98)) !important;
  box-shadow: 0 0 0 1px rgba(254, 202, 202, 0.26), 0 18px 38px rgba(127, 29, 29, 0.42);
  color: #fff7f7 !important;
}

.crew-status-pill--banned {
  border-color: rgba(220, 38, 38, 0.78) !important;
  background: rgba(127, 29, 29, 0.45) !important;
  color: #fecaca !important;
}

.crew-alert-banned {
  border-color: rgba(220, 38, 38, 0.72) !important;
  background: rgba(127, 29, 29, 0.3) !important;
  color: #fecaca !important;
}

.public-modal-surface {
  border: 1px solid rgba(217, 228, 208, 0.16);
  background: var(--brand-surface);
  color: var(--brand-text);
}

.public-modal-surface .form-label,
.public-modal-surface .form-check-label {
  color: var(--brand-surface-contrast);
}

.crew-primary-action {
  min-width: 12rem;
}

.crew-signup-action {
  align-self: flex-start;
}

.crew-member-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.crew-member-profile-photo {
  flex: 0 0 auto;
  width: 6.25rem;
  height: 6.25rem;
  border: 1px solid rgba(217, 228, 208, 0.24);
  border-radius: 0.8rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.crew-member-action-row,
.crew-status-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.crew-manager-required {
  font-size: 0.86rem;
}

.crew-manager-action-helper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
}

.crew-manager-action-title {
  color: var(--brand-text);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.crew-manager-action-instruction {
  color: color-mix(in srgb, var(--brand-warning) 78%, white 22%);
  font-size: 0.88rem;
  margin-top: 0.45rem;
}

@media (max-width: 767.98px) {
  .crew-manager-action-helper {
    grid-template-columns: 1fr;
  }
}

.crew-payment-coverage-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  color: color-mix(in srgb, var(--brand-text) 70%, white 30%);
}

.crew-payment-annual-helper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 230, 160, 0.16);
  border-radius: 0.8rem;
  background: rgba(184, 230, 160, 0.055);
}

.crew-payment-annual-title {
  color: var(--brand-text);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.crew-payment-annual-total {
  text-align: right;
}

.crew-payment-annual-total span,
.crew-payment-annual-note {
  color: color-mix(in srgb, var(--brand-text) 62%, white 38%);
  font-size: 0.86rem;
}

.crew-payment-annual-total strong {
  display: block;
  color: var(--brand-text);
  font-size: 1.05rem;
}

.crew-payment-annual-note {
  grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
  .crew-payment-annual-helper {
    grid-template-columns: 1fr;
  }

  .crew-payment-annual-total {
    text-align: left;
  }
}

.crew-payment-coverage-summary strong {
  color: var(--brand-text);
}

.reception-kyc-photo-control {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.reception-kyc-photo-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
}

.reception-kyc-photo-actions .btn {
  min-height: 3rem;
  white-space: normal;
}

.reception-kyc-native-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.reception-kyc-photo-status,
.reception-kyc-camera-status {
  min-height: 1.35rem;
  color: color-mix(in srgb, var(--brand-text) 68%, white 32%);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.reception-kyc-camera-dialog {
  width: min(100% - 1rem, 48rem);
  max-width: 48rem;
  margin-inline: auto;
}

.reception-kyc-camera-stage {
  display: grid;
  place-items: center;
  min-height: min(58vh, 30rem);
  overflow: hidden;
  border: 1px solid rgba(217, 228, 208, 0.16);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.42);
}

.reception-kyc-camera-video,
.reception-kyc-camera-preview,
.reception-kyc-camera-stage canvas {
  display: block;
  width: auto;
  max-width: 50%;
  max-height: min(58vh, 30rem);
  object-fit: contain;
  background: #050605;
}

.crew-signin-confirmation {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 230, 160, 0.46);
  border-radius: 0.9rem;
  background: rgba(184, 230, 160, 0.18);
  color: var(--brand-primary);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 0 0 1px rgba(184, 230, 160, 0.08), 0 14px 36px rgba(0, 0, 0, 0.28);
}

.crew-alert {
  border-color: rgba(228, 184, 75, 0.34);
  background: rgba(228, 184, 75, 0.14);
  color: color-mix(in srgb, var(--brand-warning) 72%, white 28%);
}

.crew-empty {
  width: 100%;
  padding: 1rem;
  border: 1px dashed rgba(217, 228, 208, 0.22);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  color: color-mix(in srgb, var(--brand-text) 62%, white 38%);
}

.crew-stock-grid {
  display: grid;
  gap: 1rem;
}

.crew-stock-search {
  padding: 1rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
}

.crew-stock-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: end;
}

.crew-stock-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.75rem;
  background: rgba(3, 4, 4, 0.72);
}

.crew-stock-card:focus {
  outline: 0;
}

.crew-stock-card.is-buy-now-target {
  border-color: color-mix(in srgb, var(--brand-primary) 72%, white 28%);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--brand-primary) 24%, transparent);
}

.crew-stock-card--out {
  border-color: rgba(217, 228, 208, 0.08);
  background: rgba(22, 24, 23, 0.55);
  opacity: 0.66;
}

.crew-stock-card--out .crew-stock-title,
.crew-stock-card--out .crew-stock-metrics dd {
  color: color-mix(in srgb, var(--brand-text) 72%, #808880 28%);
}

.crew-stock-card--out .crew-stock-visual {
  filter: grayscale(1);
  opacity: 0.72;
}

.crew-stock-visual {
  display: grid;
  place-items: center;
  align-self: start;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(217, 228, 208, 0.28);
  border-radius: 0.65rem;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0.035) 75%, transparent 75%, transparent),
    linear-gradient(135deg, rgba(117, 141, 156, 0.88), rgba(62, 77, 86, 0.88));
  background-size: 0.45rem 0.45rem, auto;
  color: var(--brand-text);
  text-align: center;
}

.crew-stock-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crew-stock-status--out {
  border-color: rgba(217, 228, 208, 0.12);
  background: rgba(128, 136, 128, 0.18);
  color: color-mix(in srgb, var(--brand-surface-contrast) 68%, #808880 32%);
}

.crew-stock-visual-trade {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0.035) 75%, transparent 75%, transparent),
    linear-gradient(135deg, rgba(133, 84, 25, 0.9), rgba(66, 47, 27, 0.88));
  background-size: 0.45rem 0.45rem, auto;
}

.crew-stock-visual span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0.45rem;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: rgba(7, 9, 8, 0.96);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crew-stock-content {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.crew-stock-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.crew-stock-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
}

.crew-stock-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.crew-stock-metrics div {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(217, 228, 208, 0.12);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.035);
}

.crew-stock-metrics dt {
  margin-bottom: 0.25rem;
  color: color-mix(in srgb, var(--brand-text) 52%, white 48%);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crew-stock-metrics dd {
  margin: 0;
  color: var(--brand-text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.crew-stock-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: end;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(217, 228, 208, 0.14);
}

.crew-stock-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.crew-stock-submit {
  min-height: 2.4rem;
}

.crew-stock-cart-form {
  grid-template-columns: minmax(8rem, 12rem) minmax(10rem, 14rem);
}

.crew-cart-shell {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1050;
}

.crew-cart-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--brand-primary);
  border-radius: 999px;
  background: var(--brand-primary);
  color: #101510;
  font-weight: 800;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.32);
}

.crew-cart-badge strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #101510;
  color: var(--brand-primary);
}

.crew-cart-panel {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100vh - 6.5rem);
  width: min(44rem, calc(100vw - 2rem));
  border: 1px solid rgba(217, 228, 208, 0.22);
  border-radius: 1rem;
  background: rgba(7, 9, 8, 0.98);
  color: var(--brand-text);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
  transform: translateX(calc(100% + 2rem));
  transition: transform 180ms ease;
  overflow: hidden;
}

.crew-cart-shell.is-cart-open .crew-cart-panel {
  transform: translateX(0);
}

.crew-cart-toast {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 1060;
  width: min(26rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  border: 1px solid rgba(126, 217, 87, 0.68);
  border-radius: 0.75rem;
  background: rgba(7, 18, 10, 0.96);
  color: #f8fff4;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.42);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.75rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.crew-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.crew-cart-header,
.crew-cart-checkout {
  padding: 1rem;
  border-bottom: 1px solid rgba(217, 228, 208, 0.14);
}

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

.crew-cart-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  align-items: center;
}

.crew-cart-transaction {
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(217, 228, 208, 0.42);
  border-radius: 0.45rem;
  color: var(--brand-text);
  font-weight: 800;
  white-space: nowrap;
}

.crew-cart-close {
  min-width: 5.5rem;
}

.crew-cart-member,
.crew-cart-validation,
.crew-cart-success {
  color: color-mix(in srgb, var(--brand-text) 64%, white 36%);
  font-size: 0.9rem;
}

.crew-cart-scroll {
  display: block;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #7ed957 rgba(255, 255, 255, 0.12);
}

.crew-cart-scroll::-webkit-scrollbar {
  width: 0.85rem;
}

.crew-cart-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.crew-cart-scroll::-webkit-scrollbar-thumb {
  border: 0.18rem solid rgba(7, 9, 8, 0.98);
  border-radius: 999px;
  background: #7ed957;
}

.crew-cart-body {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 0;
  padding: 1rem;
}

.crew-cart-section {
  display: grid;
  gap: 0.75rem;
}

.crew-cart-section h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.crew-cart-line {
  display: grid;
  grid-template-columns: minmax(9rem, 1.35fr) minmax(10rem, 0.95fr) minmax(8rem, 0.7fr) 5rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
}

.crew-cart-line-product {
  min-width: 0;
}

.crew-cart-line span {
  display: block;
  color: color-mix(in srgb, var(--brand-text) 62%, white 38%);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.crew-cart-line-limit {
  margin-top: 0.25rem;
  color: #facc15;
  font-weight: 800;
}

.crew-cart-line-controls {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 0.45rem;
}

.crew-cart-line-controls button,
.crew-cart-line-controls input {
  min-height: 2.75rem;
  border: 1px solid rgba(217, 228, 208, 0.22);
  border-radius: 0.55rem;
  background: rgba(7, 9, 8, 0.95);
  color: var(--brand-text);
  text-align: center;
}

.crew-cart-remove {
  min-height: 2.75rem;
  border: 1px solid rgba(248, 113, 113, 0.68);
  border-radius: 0.55rem;
  background: rgba(127, 29, 29, 0.34);
  color: #fecaca;
  font-weight: 800;
}

.crew-cart-remove:hover,
.crew-cart-remove:focus {
  background: rgba(185, 28, 28, 0.62);
  color: #ffffff;
}

.crew-cart-line-money,
.crew-cart-payment-amounts,
.crew-cart-payment-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: center;
}

.crew-cart-line-money strong,
.crew-cart-total strong {
  text-align: right;
}

.crew-cart-line-money {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.crew-cart-checkout {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid rgba(217, 228, 208, 0.14);
  border-bottom: 0;
  background: rgba(15, 18, 15, 0.98);
}

.crew-cart-field {
  display: grid;
  gap: 0.35rem;
}

.crew-cart-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.crew-cart-field label,
.crew-cart-field > span,
.crew-cart-payment-method-row > span {
  font-weight: 800;
}

.crew-cart-payment-amounts label {
  display: grid;
  gap: 0.35rem;
}

.crew-cart-payment-toggles .is-active {
  background: var(--brand-primary);
  color: #101510;
}

.crew-cart-process {
  min-height: 4.2rem;
  border-color: #7ed957;
  background: #2f8f46;
  color: #f8fff4;
  font-size: 2rem;
  font-weight: 800;
}

.crew-cart-process:hover:not(:disabled),
.crew-cart-process:focus-visible:not(:disabled) {
  border-color: #9fff75;
  background: #39a851;
  color: #ffffff;
}

.crew-cart-process:disabled {
  border-color: rgba(217, 228, 208, 0.46);
  background: rgba(7, 9, 8, 0.72);
  color: color-mix(in srgb, var(--brand-text) 58%, black 42%);
  opacity: 1;
}

.crew-cart-total {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: center;
  min-height: 4.4rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(217, 228, 208, 0.36);
  border-radius: 0.75rem;
  background: rgba(7, 9, 8, 0.72);
  font-size: 1.4rem;
}

@media (max-width: 767.98px) {
  .crew-cart-panel {
    top: 4.75rem;
    right: 0.5rem;
    bottom: 0.5rem;
    height: calc(100vh - 5.25rem);
    width: calc(100vw - 1rem);
  }

  .crew-cart-toast {
    top: 4.75rem;
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
  }

  .crew-cart-header {
    align-items: stretch;
    flex-direction: column;
  }

  .crew-cart-header-actions {
    justify-content: space-between;
  }

  .crew-cart-transaction {
    flex: 1 1 12rem;
    white-space: normal;
  }

  .crew-cart-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .crew-cart-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .crew-cart-process {
    min-height: 3.4rem;
    font-size: 1.25rem;
  }
}

.crew-inline-form,
.crew-decision-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
}

.crew-inline-form label,
.crew-decision-row label {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 12rem);
}

.crew-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(217, 228, 208, 0.14);
  border-radius: 0.9rem;
}

.crew-table-wrap--older-stock {
  max-height: min(28rem, 62vh);
  overflow: auto;
}

.crew-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  color: var(--brand-text);
}

.crew-table th,
.crew-table td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(217, 228, 208, 0.1);
  text-align: left;
  vertical-align: top;
}

.crew-table th {
  color: color-mix(in srgb, var(--brand-text) 62%, white 38%);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.crew-table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.crew-table-sort::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.38;
  transform: rotate(45deg) translateY(-0.08rem);
}

.crew-table-sort.is-active {
  color: var(--brand-primary);
}

.crew-table-sort.is-active[aria-sort="ascending"]::after {
  opacity: 0.95;
  transform: rotate(225deg) translateY(-0.08rem);
}

.crew-table-sort.is-active[aria-sort="descending"]::after {
  opacity: 0.95;
}

.crew-table-sort:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 0.25rem;
}

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

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

.searchable-select-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 2.25rem 0.55rem 0.75rem;
  border: 1px solid var(--brand-border, rgba(255, 255, 255, 0.18));
  border-radius: 0.75rem;
  background: var(--brand-surface, #ffffff);
  color: var(--brand-surface-contrast, #1f2937);
  font: inherit;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.searchable-select-toggle::after {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
  content: "v";
}

.searchable-select-toggle:focus {
  border-color: var(--brand-primary, #6aa84f);
  outline: 0;
  box-shadow: 0 0 0 0.18rem rgba(184, 230, 160, 0.22);
}

.searchable-select.is-disabled .searchable-select-toggle,
.searchable-select-toggle:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.searchable-select-menu {
  position: absolute;
  z-index: 1060;
  top: calc(100% + 0.3rem);
  left: 0;
  display: none;
  width: min(100%, 28rem);
  min-width: 100%;
  max-height: min(20rem, 60vh);
  padding: 0.45rem;
  border: 1px solid var(--brand-border, rgba(255, 255, 255, 0.18));
  border-radius: 0.85rem;
  background: var(--brand-surface, #ffffff);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.searchable-select.is-open .searchable-select-menu {
  display: block;
}

.searchable-select-search {
  display: block;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--brand-border, rgba(255, 255, 255, 0.18));
  border-radius: 0.65rem;
  background: var(--brand-surface, #ffffff);
  color: var(--brand-surface-contrast, #1f2937);
  font: inherit;
}

.searchable-select-search:focus {
  border-color: var(--brand-primary, #6aa84f);
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(184, 230, 160, 0.2);
}

.searchable-select-options {
  max-height: 14rem;
  overflow-y: auto;
  background: var(--brand-surface, #ffffff);
}

.searchable-select-option {
  display: block;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--brand-surface, #ffffff);
  color: var(--brand-surface-contrast, #1f2937);
  text-align: left;
}

.searchable-select-option:hover,
.searchable-select-option:focus,
.searchable-select-option.is-selected {
  background: color-mix(in srgb, var(--brand-primary, #b8e6a0) 22%, transparent);
  outline: 0;
}

.searchable-select-empty {
  padding: 0.6rem;
  color: var(--brand-muted, #6b7280);
  font-size: 0.875rem;
}

.crew-transfer-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-height: min(26rem, 58vh);
  margin-bottom: 1rem;
  padding-right: 0.35rem;
  overflow: auto;
}

.crew-transfer-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 0.75rem;
  color: var(--brand-surface-contrast);
  font-weight: 700;
}

.crew-transfer-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(6rem, 8rem);
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(217, 228, 208, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
}

.crew-transfer-line--out {
  opacity: 0.62;
}

.crew-transfer-product-label {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.crew-transfer-product-name,
.crew-transfer-product-sku {
  overflow-wrap: anywhere;
}

.crew-transfer-product-name {
  color: var(--brand-text);
  font-weight: 700;
}

.crew-transfer-product-sku {
  color: color-mix(in srgb, var(--brand-text) 58%, white 42%);
  font-size: 0.82rem;
}

.password-input-shell {
  position: relative;
}

.password-input-shell .password-input,
.password-input-shell .form-control {
  padding-right: 3rem;
}

.password-toggle-button {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 21, 16, 0.04);
  color: rgba(16, 21, 16, 0.72);
  z-index: 2;
}

.password-toggle-button:hover,
.password-toggle-button:focus {
  background: rgba(16, 21, 16, 0.1);
  color: #101510;
}

.password-toggle-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.18rem rgba(16, 21, 16, 0.18);
}

.password-toggle-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.public-signup-form .password-toggle-button {
  border: 1px solid rgba(217, 228, 208, 0.55);
  background: rgba(217, 228, 208, 0.12);
  color: #d9e4d0 !important;
  opacity: 1;
}

.public-signup-form .password-toggle-button .password-toggle-icon,
.public-signup-form .password-toggle-button .password-toggle-icon svg {
  color: #d9e4d0 !important;
  stroke: #d9e4d0 !important;
  opacity: 1;
}

.public-signup-form .password-toggle-button:hover,
.public-signup-form .password-toggle-button:focus,
.public-signup-form .password-toggle-button:active {
  border-color: #d9e4d0;
  background: #d9e4d0;
  color: #101510 !important;
}

.public-signup-form .password-toggle-button:hover .password-toggle-icon,
.public-signup-form .password-toggle-button:hover .password-toggle-icon svg,
.public-signup-form .password-toggle-button:focus .password-toggle-icon,
.public-signup-form .password-toggle-button:focus .password-toggle-icon svg,
.public-signup-form .password-toggle-button:active .password-toggle-icon,
.public-signup-form .password-toggle-button:active .password-toggle-icon svg {
  color: #101510 !important;
  stroke: #101510 !important;
}

.public-signup-form .password-toggle-button:focus-visible {
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 0.24rem #101510;
}

@media (max-width: 767.98px) {
  .crew-history-card-head,
  .crew-history-item {
    flex-direction: column;
    gap: 0.65rem;
  }

  .crew-history-meta {
    min-width: 0;
    text-align: left;
  }

  .crew-history-qty {
    align-self: flex-start;
  }

  .member-nav-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .member-nav-club-form {
    min-width: 8.5rem;
  }

  .member-hub-meta-list > div {
    flex-direction: column;
  }

  .member-hub-meta-list strong {
    text-align: left;
  }

  .member-hub-welcome-copy {
    margin-left: 0;
  }

  .member-hub-status-left,
  .member-hub-status-right {
    border-radius: 1.2rem;
  }

  .member-hub-status-right {
    border-left: 1px solid var(--brand-border);
    text-align: left;
  }

  .member-hub-middle,
  .member-hub-support-row,
  .member-hub-sharing-layout {
    grid-template-columns: 1fr;
  }

  .crew-hero-layout,
  .crew-stock-search-row {
    grid-template-columns: 1fr;
  }

  .crew-stock-card {
    grid-template-columns: 4rem minmax(0, 1fr);
  }

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

  .crew-stock-visual span {
    width: 2.65rem;
    height: 2.65rem;
    padding: 0.35rem;
    font-size: 0.42rem;
  }

  .crew-stock-metrics,
  .crew-stock-form,
  .crew-transfer-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .searchable-select-menu {
    width: min(100vw - 2rem, 28rem);
    max-height: 50vh;
  }

  .crew-workspace {
    margin-inline: 0;
  }

  body:has([data-crew-dashboard]) main.container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    padding-bottom: 9.5rem;
  }

  [data-crew-dashboard] {
    padding-bottom: 1rem;
  }

  [data-crew-dashboard] .crew-view-accordion {
    margin-right: 0;
    margin-left: 0;
  }

  [data-crew-dashboard] .crew-view-accordion .accordion-button {
    min-height: 3.5rem;
    padding: 0.85rem 1rem;
  }

  [data-crew-dashboard] .crew-accordion-title {
    gap: 0.55rem;
    max-width: 100%;
  }

  [data-crew-dashboard] .crew-accordion-title > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  [data-crew-dashboard] .crew-accordion-icon {
    width: 1.65rem;
    height: 1.65rem;
  }

  [data-crew-dashboard] .crew-view-accordion .accordion-body {
    padding: 0.75rem;
  }

  [data-crew-dashboard] .crew-inline-widget + .crew-inline-widget {
    margin-top: 0.75rem;
  }

  [data-crew-dashboard] .crew-card.p-4,
  [data-crew-dashboard] .crew-card.p-lg-5 {
    padding: 1rem !important;
  }

  [data-crew-dashboard] .crew-card.mb-4,
  [data-crew-dashboard] .crew-inline-widget .crew-card.mb-4 {
    margin-bottom: 0.75rem !important;
  }

  [data-crew-dashboard] .crew-search-card > .d-flex {
    gap: 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  [data-crew-dashboard] .crew-search-card .crew-muted {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  [data-crew-dashboard] .crew-search-card .crew-form {
    --bs-gutter-y: 0.75rem;
  }

  [data-crew-dashboard] .crew-search-card .form-label {
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  [data-crew-dashboard] .crew-search-card .form-control {
    min-height: 2.85rem;
    font-size: 0.95rem;
  }

  [data-crew-dashboard] .crew-search-card .brand-btn-primary {
    min-height: 2.95rem;
  }

  [data-crew-dashboard] .crew-signup-action {
    width: 100%;
    min-height: 2.85rem;
    align-self: stretch;
  }

  .crew-component-shell {
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .crew-card,
  .crew-hero {
    border-radius: 1rem;
  }

  .crew-action-grid,
  .crew-stock-metrics,
  .crew-stock-form,
  .crew-transfer-lines,
  .crew-transfer-line {
    grid-template-columns: 1fr;
  }

  .crew-stock-head {
    flex-direction: column;
  }

  .crew-stock-submit,
  .crew-primary-action {
    width: 100%;
  }
}

body.public-age-gate-pending {
  overflow: hidden;
}

body.public-age-gate-pending .public-shell {
  visibility: hidden;
}

.public-age-gate {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--brand-primary) 22%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(6, 10, 7, 0.94), rgba(13, 17, 13, 0.96));
  color: var(--brand-text);
}

.public-age-gate[hidden] {
  display: none;
}

.public-age-gate__panel {
  width: min(100%, 31rem);
  padding: clamp(1.35rem, 5vw, 2.25rem);
  border: 1px solid rgba(217, 228, 208, 0.2);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--brand-surface) 92%, #000 8%);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.42);
  text-align: center;
}

.public-age-gate__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5rem;
  margin-bottom: 1.5rem;
}

.public-age-gate__logo {
  display: block;
  width: min(100%, 22rem);
  height: 5rem;
  object-fit: contain;
  object-position: center;
}

.public-age-gate__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.14;
}

.public-age-gate__message {
  min-height: 1.5rem;
  margin-bottom: 1.4rem;
  color: var(--brand-surface-contrast);
}

.public-age-gate__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.public-age-gate__button {
  min-height: 3rem;
}

.public-age-gate__remember {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--brand-surface-contrast);
  font-weight: 700;
  cursor: pointer;
}

.public-age-gate__remember input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand-primary);
}

.public-age-gate :focus-visible {
  outline: 0.18rem solid var(--brand-primary);
  outline-offset: 0.18rem;
}

@media (max-width: 420px) {
  .public-age-gate__actions {
    grid-template-columns: 1fr;
  }
}

body.page-loader-pending::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 1088;
  height: 0.18rem;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  opacity: 0.82;
  transform-origin: left center;
  animation: page-loader-bar 1s ease-in-out infinite;
  pointer-events: none;
}

.page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(9, 12, 10, 0.3);
  opacity: 0;
  transition: opacity 0.16s ease;
  pointer-events: none;
}

.page-loading-overlay[hidden] {
  display: none;
}

body.page-loader-visible .page-loading-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.page-loader-visible .public-shell {
  filter: blur(0.35rem);
  transform: scale(0.998);
  transition: filter 0.16s ease, transform 0.16s ease;
}

.page-loading-panel {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 9.5rem;
  justify-content: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(217, 228, 208, 0.2);
  border-radius: 0.75rem;
  background: rgba(13, 17, 13, 0.92);
  color: var(--brand-text);
  box-shadow: 0 1rem 3rem rgba(6, 10, 7, 0.32);
  font-weight: 800;
}

.page-loading-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 0.18rem solid rgba(184, 230, 160, 0.2);
  border-top-color: var(--brand-primary);
  border-radius: 999px;
  animation: page-loader-spin 0.8s linear infinite;
}

.page-loading-text {
  line-height: 1;
}

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

@keyframes page-loader-bar {
  0% {
    transform: scaleX(0.08) translateX(-15%);
  }

  50% {
    transform: scaleX(0.55) translateX(75%);
  }

  100% {
    transform: scaleX(0.08) translateX(1120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-loader-pending::before,
  .page-loading-spinner {
    animation: none;
  }
}

/*
 * Editorial experience layer
 *
 * Public, member, and crew pages share this flat, full-bleed visual language.
 * Bootstrap remains responsible for layout utilities and interactive behavior;
 * this layer owns presentation. The backoffice uses a separate base template.
 */
:root {
  --experience-ink: #0b0d0b;
  --experience-paper: #f4f1e9;
  --experience-white: #ffffff;
  --experience-line: color-mix(in srgb, var(--brand-surface-contrast) 38%, transparent);
  --experience-muted: color-mix(in srgb, var(--brand-text) 68%, transparent);
  --experience-section-pad: clamp(1.5rem, 4vw, 4.5rem);
  --experience-inline-pad: clamp(1rem, 4vw, 5rem);
  --experience-reading-width: 78rem;
}

html {
  scroll-padding-top: 6rem;
}

body.experience-surface {
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: "Manrope", sans-serif;
}

.experience-surface :is(h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6) {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.experience-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1200;
  padding: 0.7rem 1rem;
  background: var(--experience-white);
  color: var(--experience-ink);
  transform: translateY(-160%);
}

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

.experience-header {
  min-height: 4.6rem;
  background: color-mix(in srgb, var(--brand-bg) 72%, var(--brand-surface) 28%);
  border-bottom: 1px solid var(--experience-line);
  backdrop-filter: none;
}

.experience-header-inner {
  width: 100%;
  padding-inline: var(--experience-inline-pad);
}

.experience-header .navbar-brand,
.experience-header .nav-link {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.experience-header .nav-link {
  padding-inline: 1rem !important;
}

.experience-main {
  width: 100%;
  padding: 0;
  overflow: clip;
}

.experience-main:focus {
  outline: none;
}

.experience-main > :not(.crew-message-toasts):not(.experience-notifications) {
  width: 100%;
}

.experience-main > .row {
  margin-inline: 0;
  padding: var(--experience-section-pad) var(--experience-inline-pad);
}

.experience-notifications {
  width: min(100% - 2rem, var(--experience-reading-width));
  margin: 1rem auto;
}

.experience-footer {
  width: 100%;
  margin-top: 0;
  border-top: 1px solid var(--experience-line);
}

/* Flat section primitives: old component names remain stable for templates. */
.experience-surface .public-panel,
.experience-surface .public-grid-tile,
.experience-surface .public-card,
.experience-surface .public-blog-card,
.experience-surface .public-contact-section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.experience-surface .public-panel {
  padding: var(--experience-section-pad) var(--experience-inline-pad) !important;
  background: var(--brand-surface);
  border-top: 1px solid var(--experience-line);
}

.experience-surface .public-panel + .public-panel,
.experience-surface .public-panel.mb-4,
.experience-surface .public-hero.mb-4 {
  margin-bottom: 0 !important;
}

.experience-surface .public-grid-tile,
.experience-surface .public-card,
.experience-surface .public-blog-card {
  background: color-mix(in srgb, var(--brand-surface) 92%, var(--brand-text) 8%);
  border-top: 1px solid var(--experience-line);
}

.experience-surface .public-card--image-led,
.experience-surface .public-blog-card {
  border-top: 0;
}

.experience-surface .public-card-body,
.experience-surface .public-blog-card-body {
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
}

.experience-surface .public-hero {
  min-height: clamp(28rem, 70vh, 52rem);
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.experience-surface .public-hero-content--centered {
  min-height: inherit;
  align-content: center;
  padding: var(--experience-section-pad) var(--experience-inline-pad);
}

.experience-surface .public-hero h1,
.experience-surface .member-hub-welcome-title {
  font-size: clamp(3.25rem, 9vw, 8.5rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.experience-surface .public-kicker,
.experience-surface .public-section-title {
  color: var(--brand-primary);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.experience-surface :is(.brand-btn-primary, .brand-btn-ghost, .btn) {
  border-radius: 0;
  box-shadow: none;
  font-weight: 800;
}

.experience-surface .brand-btn-primary {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: color-mix(in srgb, var(--brand-surface) 90%, #000 10%);
}

.experience-surface .brand-btn-ghost {
  border-color: currentColor;
  background: transparent;
}

.experience-header .brand-btn-ghost {
  border-color: var(--brand-surface-contrast);
  background: var(--brand-surface-contrast);
  color: color-mix(in srgb, var(--brand-surface) 90%, #000 10%);
}

.experience-header .brand-btn-ghost:hover,
.experience-header .brand-btn-ghost:focus {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: color-mix(in srgb, var(--brand-surface) 90%, #000 10%);
}

.experience-surface :is(.brand-btn-primary, .brand-btn-ghost, .btn):focus-visible,
.experience-surface :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-info) 85%, white 15%);
  outline-offset: 3px;
  box-shadow: none;
}

.experience-surface :is(.form-control, .form-select, textarea, .searchable-select-toggle, .searchable-select-search) {
  border-radius: 0;
  box-shadow: none;
}

.experience-surface :is(.accordion-item, .accordion-button, .accordion-collapse, .modal-content, .alert) {
  border-radius: 0 !important;
  box-shadow: none;
}

.experience-surface .public-faq-accordion {
  --bs-accordion-bg: color-mix(in srgb, var(--brand-surface) 90%, var(--brand-bg) 10%);
  --bs-accordion-border-color: var(--experience-line);
  --bs-accordion-color: var(--brand-text);
  --bs-accordion-btn-bg: color-mix(in srgb, var(--brand-surface) 90%, var(--brand-bg) 10%);
  --bs-accordion-btn-color: var(--brand-text);
  --bs-accordion-active-bg: color-mix(in srgb, var(--brand-surface) 82%, var(--brand-primary) 18%);
  --bs-accordion-active-color: var(--brand-text);
  --bs-accordion-btn-focus-border-color: var(--brand-primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--brand-primary) 28%, transparent);
}

.experience-surface .public-faq-accordion :is(.accordion-item, .accordion-button, .accordion-body) {
  color: var(--brand-text);
  background-color: color-mix(in srgb, var(--brand-surface) 90%, var(--brand-bg) 10%);
}

.experience-surface .public-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-text);
  background-color: color-mix(in srgb, var(--brand-surface) 82%, var(--brand-primary) 18%);
}

.experience-surface .public-faq-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
}

.experience-surface .public-faq-accordion .accordion-body :is(p, li, a, strong) {
  color: inherit;
}

.experience-surface .public-card-media,
.experience-surface .public-blog-featured-image {
  border-radius: 0;
  filter: saturate(0.88) contrast(1.04);
}

.experience-surface .public-slide-card,
.experience-surface .public-club-slide-card {
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--brand-surface) 90%, var(--brand-bg) 10%);
  box-shadow: none;
}

.experience-surface .public-club-slide-card {
  grid-template-rows: auto auto;
  align-content: start;
}

.experience-surface .public-club-slide-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: color-mix(in srgb, var(--brand-primary) 22%, var(--brand-surface) 78%);
}

.experience-surface .public-club-slide-visual::before,
.experience-surface .public-club-slide-visual::after {
  display: none;
}

.experience-surface .public-club-slide-visual span {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: var(--brand-surface);
}

.experience-surface .public-club-slide-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.experience-surface .public-carousel-dot {
  width: 1.7rem;
  height: 0.22rem;
  border-radius: 0;
}

/* Member pages use readable full-width bands with asymmetric content columns. */
.surface-member .member-hub-shell,
.surface-member .member-hub-grid,
.surface-member .member-mode-shell {
  width: 100%;
  max-width: none;
}

.surface-member .member-hub-welcome-strip {
  background: color-mix(in srgb, var(--brand-bg) 82%, var(--brand-surface) 18%);
}

.surface-member .member-hub-hero {
  min-height: clamp(25rem, 56vh, 42rem);
}

.surface-member .member-hub-grid {
  display: grid;
  gap: 0;
}

.surface-member .member-hub-grid > * {
  margin: 0 !important;
}

/* Member content is one continuous editorial surface, not a card mosaic. */
.surface-member .member-hub-shell {
  margin: 0;
}

.surface-member .member-hub-middle,
.surface-member .member-hub-support-row,
.surface-member .member-hub-sharing-layout,
.surface-member .member-hub-sharing-left,
.surface-member .member-hub-news-list,
.surface-member .member-hub-sister-list {
  gap: 0;
}

.surface-member .member-hub-middle > .public-panel + .public-panel,
.surface-member .member-hub-support-row > .public-panel + .public-panel {
  border-left: 1px solid var(--experience-line);
}

.experience-surface.surface-member .public-panel > .member-hub-sharing-layout,
.experience-surface.surface-member .public-panel > .member-hub-news-list {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.surface-member .member-hub-sharing-layout > * + *,
.surface-member .member-hub-news-list > * + *,
.surface-member .member-hub-sister-list > * + * {
  border-top: 1px solid var(--experience-line);
}

.surface-member :is(
  .member-hub-helper-card,
  .member-hub-dropdown-card,
  .member-hub-story-select,
  .member-hub-sharing-story,
  .member-hub-empty-note,
  .member-hub-news-card,
  .member-hub-sister-item,
  .member-education-card,
  .member-hub-accordion .accordion-item,
  .member-hub-accordion .accordion-button,
  .member-hub-accordion .accordion-body,
  .member-hub-document-frame
) {
  border-radius: 0;
  box-shadow: none;
}

.surface-member .member-hub-helper-card,
.surface-member .member-hub-sharing-story {
  background: rgba(8, 10, 8, 0.88);
}

.surface-member .member-hub-sharing-story {
  border: 1px solid var(--experience-line);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.surface-member .member-hub-dropdown-card {
  padding-block: 1rem;
}

.surface-member .member-hub-story-select {
  min-height: 3rem;
  border: 1px solid var(--experience-line);
  background-color: color-mix(in srgb, var(--brand-surface) 90%, var(--brand-bg) 10%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.25 7.75L10 12.5L14.75 7.75' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  color: var(--brand-text);
}

.surface-member .member-hub-story-select option {
  color: var(--brand-text);
  background: var(--brand-surface);
}

.surface-member .member-hub-story-select:focus {
  outline: 3px solid color-mix(in srgb, var(--brand-primary) 65%, white 35%);
  outline-offset: 2px;
  box-shadow: none;
}

.surface-member .member-hub-grid > .public-panel .row.g-3 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.surface-member .member-hub-grid > .public-panel .row.g-3 > [class*="col-"] + [class*="col-"] {
  border-left: 1px solid var(--experience-line);
}

.surface-member .member-hub-status-pill,
.surface-member .public-chip {
  box-shadow: none;
}

@media (min-width: 992px) {
  .experience-surface .public-panel > .row,
  .experience-surface .public-panel > :is(.public-section-title, h1, h2, h3, p, form),
  .experience-surface .public-panel > .d-flex,
  .experience-surface .public-panel > .public-cta-grid,
  .experience-surface .public-panel > .public-carousel,
  .experience-surface .public-panel > .public-carousel-dots,
  .experience-surface .public-panel > .accordion,
  .experience-surface .public-panel > .member-hub-sharing-layout,
  .experience-surface .public-panel > .member-hub-news-list {
    max-width: var(--experience-reading-width);
    margin-inline: auto;
  }

  .experience-surface .public-card:nth-child(even),
  .experience-surface .public-grid-tile:nth-child(even) {
    background: color-mix(in srgb, var(--brand-surface) 86%, var(--brand-bg) 14%);
  }
}

@media (max-width: 991.98px) {
  .experience-header .navbar-collapse {
    margin-inline: calc(var(--experience-inline-pad) * -1);
    margin-top: 0.75rem;
    padding: 1rem var(--experience-inline-pad) 1.25rem;
    border-top: 1px solid var(--experience-line);
    background: var(--brand-surface);
  }

  .experience-header .navbar-collapse > .d-flex {
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  :root {
    --experience-section-pad: 1.5rem;
  }

  .experience-surface .public-hero {
    min-height: 32rem;
  }

  .experience-surface .public-panel,
  .experience-surface .public-grid-tile,
  .experience-surface .public-card {
    width: 100%;
  }

  .experience-surface .public-panel .row {
    --bs-gutter-x: 0;
  }

  .experience-surface .public-panel .row > [class*="col-"] {
    padding-inline: 0;
  }

  .surface-member .member-hub-middle > .public-panel + .public-panel,
  .surface-member .member-hub-support-row > .public-panel + .public-panel,
  .surface-member .member-hub-grid > .public-panel .row.g-3 > [class*="col-"] + [class*="col-"] {
    border-left: 0;
    border-top: 1px solid var(--experience-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-surface *,
  .experience-surface *::before,
  .experience-surface *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.content-preview-target:target {
  outline: 4px solid var(--brand-warning, #e4b84b);
  outline-offset: 4px;
  animation: content-preview-pulse 1.2s ease-in-out 2;
  scroll-margin-top: 1.5rem;
}

@keyframes content-preview-pulse {
  50% { outline-width: 8px; }
}

/* Editor-controlled featured-image presentation. */
.image-fit-cover,
.image-fit-contain {
  background-color: transparent;
}

img.image-fit-cover,
.image-fit-cover img,
.public-blog-featured-image img.image-fit-cover { object-fit: cover; }
img.image-fit-contain,
.image-fit-contain img,
.public-blog-featured-image img.image-fit-contain { object-fit: contain; }
.public-news-detail-layout--blog .public-blog-featured-image:not(.public-blog-featured-image--default) img.image-fit-contain {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}
.public-card-media.image-fit-cover { background-size: cover; }
.public-card-media.image-fit-contain { background-size: contain; background-repeat: no-repeat; }

img.image-position-top-left,
.image-position-top-left img { object-position: left top; }
img.image-position-top-center,
.image-position-top-center img { object-position: center top; }
img.image-position-top-right,
.image-position-top-right img { object-position: right top; }
img.image-position-center-left,
.image-position-center-left img { object-position: left center; }
img.image-position-center,
.image-position-center img { object-position: center center; }
img.image-position-center-right,
.image-position-center-right img { object-position: right center; }
img.image-position-bottom-left,
.image-position-bottom-left img { object-position: left bottom; }
img.image-position-bottom-center,
.image-position-bottom-center img { object-position: center bottom; }
img.image-position-bottom-right,
.image-position-bottom-right img { object-position: right bottom; }

.public-card-media.image-position-top-left { background-position: left top; }
.public-card-media.image-position-top-center { background-position: center top; }
.public-card-media.image-position-top-right { background-position: right top; }
.public-card-media.image-position-center-left { background-position: left center; }
.public-card-media.image-position-center { background-position: center center; }
.public-card-media.image-position-center-right { background-position: right center; }
.public-card-media.image-position-bottom-left { background-position: left bottom; }
.public-card-media.image-position-bottom-center { background-position: center bottom; }
.public-card-media.image-position-bottom-right { background-position: right bottom; }

.member-icon-crop {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(12rem, 1fr);
  gap: 1rem;
  align-items: center;
}

.member-icon-crop-preview {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 65%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-surface) 80%, black);
}

.member-icon-crop-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.member-icon-crop-controls {
  display: grid;
  gap: .5rem;
}

@media (max-width: 575.98px) {
  .member-icon-crop {
    grid-template-columns: 1fr;
  }

  .member-icon-crop-preview {
    width: min(12rem, 70vw);
    margin-inline: auto;
  }
}

/* Mobile-first member hub: flat sections, compact identity, and viewport-safe content. */
.surface-member {
  max-width: 100vw;
  overflow-x: hidden;
}

.surface-member,
.surface-member .public-shell,
.surface-member .member-hub-shell,
.surface-member .member-hub-shell * {
  min-width: 0;
}

.surface-member .member-hub-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.surface-member .member-hub-welcome-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0 !important;
  padding: clamp(1rem, 4vw, 1.5rem) var(--experience-inline-pad);
  border: 0;
  border-bottom: 1px solid var(--experience-line);
  border-radius: 0;
  background: color-mix(in srgb, var(--brand-bg) 82%, var(--brand-surface) 18%);
  box-shadow: none;
}

.surface-member .member-hub-welcome-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.surface-member .member-hub-welcome-icon {
  flex: 0 0 auto;
  width: clamp(4.5rem, 20vw, 5.5rem);
  height: clamp(4.5rem, 20vw, 5.5rem);
  border: 1px solid var(--experience-line);
  border-radius: 0;
  object-fit: cover;
  background: var(--brand-surface);
}

.experience-surface.surface-member .member-hub-welcome-title {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
}

.surface-member .member-hub-welcome-number {
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  line-height: 1.25;
}

.surface-member .member-hub-welcome-copy {
  max-width: 38rem;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
}

.surface-member .member-hub-status-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--experience-line);
  background: color-mix(in srgb, var(--brand-surface) 88%, var(--brand-bg) 12%);
}

.surface-member .member-hub-status-left,
.surface-member .member-hub-status-right {
  height: auto;
  padding: clamp(1.25rem, 5vw, 2rem) var(--experience-inline-pad);
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  text-align: left;
}

.surface-member .member-hub-status-right {
  gap: 0;
  border-top: 1px solid var(--experience-line);
  font-size: 0.95rem;
  line-height: 1.5;
}

.surface-member .member-hub-status-right p {
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}

.surface-member .member-hub-status-right p:last-child {
  margin-bottom: 0;
}

.surface-member .member-hub-status-title {
  margin: 0 0 1rem;
  font-size: 0.82rem;
}

.surface-member .member-hub-status-pill {
  width: 100%;
  min-height: 3rem;
  border-radius: 0;
  background: color-mix(in srgb, var(--brand-primary) 72%, #172017 28%);
  box-shadow: none;
}

.surface-member .member-hub-status-pill--pending {
  background: #91568f;
}

.surface-member .member-hub-status-pill--banned {
  background: #8f2424;
}

.surface-member .member-hub-status-facts {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
}

.surface-member .member-hub-status-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--experience-line);
}

.surface-member .member-hub-status-facts > div:last-child {
  border-bottom: 0;
}

.surface-member .member-hub-status-facts dt {
  overflow-wrap: anywhere;
  color: color-mix(in srgb, var(--brand-surface-contrast) 78%, transparent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.surface-member .member-hub-status-facts dd {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.surface-member :is(
  .member-hub-helper-card,
  .member-hub-dropdown-card,
  .member-hub-story-select,
  .member-hub-sharing-story,
  .member-hub-empty-note,
  .member-hub-news-card,
  .member-hub-sister-item,
  .member-education-card,
  .member-hub-accordion .accordion-item,
  .member-hub-accordion .accordion-button,
  .member-hub-accordion .accordion-body,
  .member-hub-document-frame,
  .member-hub-modal,
  .member-hub-modal :is(.form-control, .form-select, .btn),
  .member-hub-grid .btn
) {
  border-radius: 0;
  box-shadow: none;
}

.surface-member .member-hub-middle,
.surface-member .member-hub-support-row {
  grid-template-columns: minmax(0, 1fr);
}

.surface-member .member-hub-middle-title {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 6vw, 1.8rem);
}

.surface-member .member-hub-story-select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.surface-member .member-hub-news-card,
.surface-member .member-education-card,
.surface-member .member-hub-sharing-story,
.surface-member .member-hub-empty-note,
.surface-member .member-hub-accordion,
.surface-member .member-hub-accordion * {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.surface-member .member-hub-document-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: min(32rem, 70vh);
}

@media (max-width: 575.98px) {
  .surface-member .member-hub-grid > .public-panel,
  .surface-member .member-hub-middle > .public-panel,
  .surface-member .member-hub-support-row > .public-panel {
    padding: 1.25rem !important;
  }

  .surface-member .member-hub-status-facts > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .surface-member .member-hub-status-facts dd {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .surface-member .member-hub-welcome-strip {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.8fr);
    align-items: center;
  }

  .surface-member .member-hub-welcome-copy {
    justify-self: end;
    text-align: right;
  }

  .surface-member .member-hub-support-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .surface-member .member-hub-status-section {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  }

  .surface-member .member-hub-status-right {
    border-top: 0;
    border-left: 1px solid var(--experience-line);
  }

  .surface-member .member-hub-middle {
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.85fr);
  }
}
