:root {
  --as-bg: #17191c;
  --as-panel: #202020;
  --as-panel-soft: #282828;
  --as-border: #383838;
  --as-text: #ffffff;
  --as-muted: #b9c0c7;
  --as-cyan: #22dce8;
  --as-cyan-dark: #159ca7;
  --as-danger: #ff405c;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--as-bg);
  color: var(--as-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--as-cyan);
}

a:hover {
  color: #7ff7ff;
}

.navbar {
  background: #1f1f1f !important;
  border-bottom: 1px solid #050505;
  margin-bottom: 0 !important;
  min-height: 54px;
  position: relative;
  z-index: 20;
}

.navbar-brand {
  color: var(--as-text) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.45rem;
  font-weight: 400;
}

.navbar .nav-link {
  color: var(--as-text) !important;
  font-weight: 650;
}

.navbar .nav-link > i {
  display: inline-flex;
  justify-content: center;
  width: 1.15rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--as-cyan) !important;
}

.navbar .nav-link[href="/register"] {
  border: 1px solid var(--as-cyan);
  background: var(--as-cyan-dark);
  border-radius: 999px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: 0.5rem;
  text-transform: uppercase;
}

.navbar .dropdown-menu {
  background: var(--as-panel);
  border-color: var(--as-border);
  border-radius: 2px;
}

.navbar .dropdown-item {
  color: var(--as-text);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: #111;
  color: var(--as-cyan);
}

.maintenance-shell {
  background:
    linear-gradient(135deg, rgba(34, 220, 232, 0.14), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.16), transparent 28%),
    #090a0d;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.maintenance-nav {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 2rem;
}

.maintenance-brand {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.maintenance-brand:hover,
.maintenance-brand:focus {
  color: var(--as-cyan);
}

.maintenance-nav-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.maintenance-login-link {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(34, 220, 232, 0.72);
  border-radius: 6px;
  color: #eaffff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  text-decoration: none;
}

.maintenance-login-link:hover,
.maintenance-login-link:focus {
  background: rgba(34, 220, 232, 0.14);
  color: #fff;
}

.maintenance-panel {
  margin: auto;
  max-width: 760px;
  padding: 4rem 1.25rem 5rem;
  text-align: center;
}

.maintenance-status {
  align-items: center;
  color: var(--as-cyan);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  gap: 0.5rem;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.maintenance-panel h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 auto 1.25rem;
  max-width: 720px;
}

.maintenance-panel p {
  color: #c8d2dc;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 auto 1.5rem;
  max-width: 620px;
}

.maintenance-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.maintenance-meta span {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #edf7fa;
  display: inline-flex;
  font-size: 0.92rem;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
}

.maintenance-primary {
  align-items: center;
  background: var(--as-cyan-dark);
  border: 1px solid var(--as-cyan);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
}

.maintenance-primary:hover,
.maintenance-primary:focus {
  background: #18b8c4;
  color: #fff;
}

@media (max-width: 575.98px) {
  .maintenance-nav {
    padding: 0 1rem;
  }

  .maintenance-panel {
    padding-top: 3rem;
  }
}

.container,
.container-fluid {
  max-width: 1280px;
}

.bg-light,
.bg-white {
  background-color: var(--as-panel) !important;
  color: var(--as-text) !important;
}

.altspace-subnav {
  background: #000;
  border-bottom: 1px solid #111;
  display: flex;
  gap: 2rem;
  min-height: 38px;
  align-items: center;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}

.altspace-subnav::-webkit-scrollbar {
  display: none;
}

.altspace-subnav a,
.altspace-subnav .disabled {
  color: var(--as-text);
  text-decoration: none;
  font-weight: 650;
  padding: 0.55rem 0 0.45rem;
  border-bottom: 3px solid transparent;
}

.altspace-subnav .disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.altspace-subnav a.active,
.altspace-subnav a:hover {
  color: var(--as-text);
  border-color: var(--as-cyan);
}

.altspace-button-subnav a i,
.altspace-button-subnav .disabled i {
  display: none;
}

.altspace-button-subnav a span,
.altspace-button-subnav .disabled span {
  background: transparent;
  display: inline;
  height: auto;
  opacity: 1;
  width: auto;
}

.altspace-subnav-shell {
  background: #000;
  border-bottom: 1px solid #111;
  margin-bottom: 1.5rem;
}

.altspace-subnav-shell .altspace-subnav {
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 0;
  margin-bottom: 0;
  padding-left: var(--bs-gutter-x, 0.75rem);
  padding-right: var(--bs-gutter-x, 0.75rem);
}

.altspace-account-subnav-shell .altspace-account-subnav {
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 0;
  padding-left: var(--bs-gutter-x, 0.75rem);
  padding-right: var(--bs-gutter-x, 0.75rem);
}

.altspace-account-subnav {
  background: #000;
  border-bottom: 1px solid #111;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  min-height: 44px;
  overflow-x: auto;
  padding: 0 1rem;
  scrollbar-width: none;
  white-space: nowrap;
}

.altspace-account-subnav::-webkit-scrollbar {
  display: none;
}

.altspace-account-subnav a {
  align-items: center;
  color: var(--as-text);
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 44px;
  padding: 0.55rem 0 0.45rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.altspace-account-subnav a i {
  display: none;
}

.altspace-account-subnav a span {
  background: transparent;
  display: inline;
  height: auto;
  opacity: 1;
  width: auto;
}

.altspace-account-subnav a.active,
.altspace-account-subnav a:hover {
  border-color: var(--as-cyan);
}

.altspace-account-subnav > .account-subnav-divider {
  flex: 0 0 auto;
  width: 1px;
  height: 18px;
  background: #9bb2ff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--as-text);
  font-weight: 500;
}

.event-section-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.text-muted,
.text-secondary {
  color: var(--as-muted) !important;
}

.card,
.modal-content,
.list-group-item {
  background: var(--as-panel);
  border: 1px solid var(--as-border);
  border-radius: 2px;
  color: var(--as-text);
}

.list-group-item-action {
  color: var(--as-text);
}

.list-group-item-action:hover,
.list-group-item-action:focus {
  background: var(--as-panel-soft);
  color: var(--as-text);
}

.list-group-item-action.active,
.list-group-item-action:active {
  background: var(--as-cyan-dark);
  border-color: var(--as-cyan);
  color: #fff;
}

.card .card-text,
.card p,
.modal-content p {
  color: var(--as-text);
}

.card-header,
.modal-header,
.modal-footer {
  background: var(--as-panel-soft);
  border-color: var(--as-border);
  color: var(--as-text);
}

.card a.text-dark,
.card-title a,
a.text-dark {
  color: var(--as-text) !important;
}

.register-page .form-label,
.register-page .form-check-label {
  color: var(--as-text);
}

.register-page .form-text {
  color: var(--as-muted);
}

.register-account-types {
  background: var(--as-panel-soft);
  border: 1px solid var(--as-border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
}

.register-account-types .form-check {
  padding-left: 1.75rem;
}

.register-account-types .form-check-input {
  background-color: transparent;
  border-color: var(--as-muted);
}

.register-account-types .form-check-input:checked {
  background-color: var(--as-cyan-dark);
  border-color: var(--as-cyan);
}

.login-page {
  background: #000;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.event-card-altspace {
  background: var(--event-card-bg, var(--as-panel));
  color: var(--event-card-fg, var(--as-text));
  border: 1px solid #070707;
  box-shadow: none;
  height: 100%;
  overflow: hidden;
}

.event-card-altspace .card-title a,
.event-card-altspace .event-time,
.event-card-altspace .event-starts,
.event-card-altspace .event-host {
  color: var(--event-card-fg, inherit);
}

.event-card-info-overlay {
  background: rgba(7, 9, 12, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  display: flex;
  flex: 0 0 8.75rem;
  flex-direction: column;
  justify-content: center;
  margin: 0 -0.75rem 0.32rem;
  height: 8.75rem;
  min-height: 8.75rem;
  overflow: hidden;
  padding: 0.48rem 0.65rem 0.45rem;
}

.event-card-info-overlay .card-title,
.event-card-info-overlay .event-host {
  margin-bottom: 0;
}

.event-card-info-overlay .event-time,
.event-card-info-overlay .event-starts {
  margin-top: 0.32rem;
}

.event-card-altspace .event-starts {
  white-space: pre-line;
}

.event-live-left-danger {
  color: #ff4d4f;
}

.event-live-left-warning {
  color: #ff9f1c;
}

.event-live-left-ok {
  color: #3ddc97;
}

.channel-analytics-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.channel-analytics-metrics div {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.55rem;
}

.channel-analytics-metrics strong,
.channel-analytics-metrics span {
  display: block;
}

.channel-analytics-metrics strong {
  color: #fff;
  font-size: 1.05rem;
}

.channel-analytics-metrics span {
  color: var(--as-muted);
  font-size: 0.72rem;
}

.membership-status-panel,
.membership-tier-card {
  background: var(--as-panel);
  border: 1px solid rgba(139, 92, 246, 0.26);
  border-radius: 8px;
  padding: 1rem;
}

.membership-status-panel {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.membership-kicker {
  display: block;
  color: #22dce8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.membership-tier-card {
  height: 100%;
}

.membership-tier-card.is-current {
  border-color: rgba(61, 220, 151, 0.8);
}

.membership-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.membership-price span {
  color: #9aa4bd;
  font-size: 0.9rem;
}

.membership-tier-card ul {
  padding-left: 1.1rem;
}

.membership-perk-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.membership-perk-list span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #9aa4bd;
  padding: 0.35rem 0.65rem;
}

.membership-perk-list span.is-on {
  border-color: rgba(61, 220, 151, 0.65);
  color: #eafff6;
}

.event-card-altspace.border-warning {
  border-color: #d8c200 !important;
}

.card-img-top {
  background: #050505;
}

.event-card-altspace .event-thumb-wrap {
  background: #050505;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.event-card-altspace img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-card-altspace .event-thumb-wrap img[src*="placehold.co"] {
  object-fit: contain;
}

.event-card-altspace .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.65rem 0.75rem 0.85rem;
  text-align: center;
}

.event-card-altspace .card-title {
  display: -webkit-box;
  font-size: 1.05rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.25;
  margin-left: auto;
  margin-right: auto;
  min-height: 0;
  overflow: hidden;
  max-width: 100%;
}

.event-time {
  color: var(--as-text);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.event-starts {
  color: var(--as-cyan);
  font-size: 0.78rem;
  font-weight: 650;
}

.event-host {
  color: var(--as-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.event-card-host-badges {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.event-card-host-badges .channel-badge-icon {
  height: 1rem;
  width: 1rem;
}

.event-card-host-badges .channel-badge-icon i {
  font-size: 0.62rem;
}

.event-friends-slot {
  align-items: center;
  display: flex;
  height: 3.1rem;
  justify-content: center;
  margin-bottom: 0.18rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  min-height: 3.1rem;
  width: calc(100% + 1.5rem);
}

.event-friends-attending {
  align-items: center;
  background: rgba(7, 9, 12, 0.62);
  border: 1px solid rgba(34, 220, 232, 0.28);
  border-radius: 6px;
  color: var(--as-cyan);
  display: flex;
  font-weight: 650;
  justify-content: center;
  line-height: 1.3;
  overflow: hidden;
  padding: 0.35rem 0.5rem;
  text-align: center;
  width: 100%;
}

.event-friends-slot .event-friends-attending {
  min-height: 100%;
}

.event-card-badge-slot {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 1.28rem;
  margin-bottom: 0.12rem;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.event-detail-support-panel {
  border: 1px solid rgba(34, 220, 232, 0.22);
  background: rgba(11, 18, 32, 0.72);
  border-radius: 8px;
  padding: 1rem;
}

.event-supporter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.event-supporter-row a {
  grid-column: 1 / -1;
  color: #22dce8;
  text-decoration: none;
}

.event-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  margin-top: 0;
}

.event-card-actions .btn,
.channel-card-actions .btn,
.friend-card-altspace .btn {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 750;
  justify-content: center;
  line-height: 1.1;
  min-height: 1.7rem;
  padding: 0.2rem 0.45rem;
}

.event-card-actions .btn.mt-2,
.channel-card-actions .btn.mt-2,
.friend-card-altspace .btn.mt-2 {
  margin-top: 0 !important;
}

.event-card-actions form {
  margin: 0 !important;
}

.channel-card-actions form {
  margin: 0 !important;
  width: 100%;
}

.event-card-actions .alert {
  font-size: 0.74rem;
  line-height: 1.15;
  margin-bottom: 0 !important;
  padding: 0.28rem 0.42rem !important;
}

.event-card-actions .event-rsvp-feedback {
  margin-top: 0 !important;
}

.event-card-actions .btn-outline-success {
  background: #7c3aed;
  border-color: #c4b5fd;
  color: #fff;
}

.event-card-actions .btn-outline-success:hover,
.event-card-actions .btn-outline-success:focus {
  background: #8b5cf6;
  border-color: #ddd6fe;
  color: #fff;
}

.event-rsvp-btn {
  background: var(--as-cyan-dark);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.event-rsvp-btn:hover,
.event-rsvp-btn:focus,
.event-rsvp-btn.is-rsvped {
  background: #16a34a;
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

.event-rsvp-feedback {
  align-items: center;
  color: var(--as-cyan);
  display: flex;
  font-weight: 650;
  justify-content: center;
  line-height: 1.35;
  min-height: 0;
}

.event-card-altspace .social-btns {
  display: none;
}

.channel-card-altspace .card-body {
  position: relative;
  padding-top: 1rem;
}

.channel-card-altspace .channel-badge-list {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.channel-card-badge-slot {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 1.45rem;
}

.event-card-altspace img.channel-card-avatar {
  width: 56px;
  height: 56px;
  border: 3px solid var(--as-panel);
  border-radius: 2px;
  object-fit: cover;
  background: #050505;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.channel-card-description {
  color: var(--as-muted);
  display: -webkit-box;
  font-size: 0.82rem;
  line-height: 1.35;
  min-height: 3.35rem;
  margin: 0.65rem 0 0.9rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.channel-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  margin-top: auto;
  width: 100%;
}

.friend-card-altspace .friend-card-cover img {
  object-fit: cover;
}

.friend-online {
  border-color: #26f7a7 !important;
  color: #26f7a7 !important;
}

.friend-offline {
  border-color: #888 !important;
  color: #ddd !important;
}

.notification-nav-link {
  position: relative;
}

.notification-nav-control {
  align-items: center;
  display: inline-flex;
  min-height: 40px;
}

.notification-preview-toggle {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding-left: 0.55rem !important;
  padding-right: 0.45rem !important;
}

.notification-preview-toggle:hover,
.notification-preview-toggle:focus {
  color: #fff;
}

.notification-badge {
  align-items: center;
  background: #dc143c;
  border: 1px solid #ff6b86;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  height: 1.1rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.1rem;
  padding: 0 0.25rem;
  position: absolute;
  right: 0.05rem;
  top: 0.2rem;
}

.notification-preview-menu {
  background: #161616;
  border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.48);
  min-width: 24rem;
  padding: 0.6rem;
}

.notification-popup-menu.show {
  display: block;
  inset: 100% 0 auto auto;
  margin-top: 0.35rem;
  position: absolute;
  transform: none;
}

.notification-preview-header {
  align-items: center;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.55rem 0.7rem;
}

.notification-preview-subtitle {
  color: #aeb7bf;
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.notification-preview-settings {
  align-items: center;
  border-radius: 999px;
  color: #cfd8df;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  width: 2rem;
}

.notification-preview-settings:hover,
.notification-preview-settings:focus {
  background: #242424;
  color: var(--as-cyan);
}

.notification-preview-list {
  display: grid;
  gap: 0.35rem;
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-color: var(--as-cyan) #202226;
  scrollbar-width: thin;
}

.notification-preview-item {
  border-left: 3px solid transparent;
  border-radius: 8px;
  color: #e8e8e8;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 2.15rem minmax(0, 1fr) 2rem;
  margin-bottom: 0;
  padding: 0.65rem;
  white-space: normal;
}

.notification-preview-item:hover,
.notification-preview-item:focus {
  background: #242424;
  color: #fff;
}

.notification-preview-item.is-unread {
  background: rgba(34, 220, 232, 0.1);
  border-left-color: var(--as-cyan);
}

.notification-preview-icon {
  align-items: center;
  background: #25282c;
  border-radius: 999px;
  color: var(--as-cyan);
  display: inline-flex;
  height: 2.15rem;
  justify-content: center;
  width: 2.15rem;
}

.notification-preview-copy {
  min-width: 0;
}

.notification-preview-title,
.notification-preview-summary {
  display: block;
}

.notification-preview-title {
  font-weight: 700;
  line-height: 1.2;
}

.notification-preview-summary,
.notification-preview-time {
  color: #b8b8b8;
  font-size: 0.85rem;
}

.notification-preview-time {
  color: #7ff7ff;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.notification-preview-open {
  align-items: center;
  align-self: center;
  border-radius: 999px;
  color: #cfd8df;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  width: 2rem;
}

.notification-preview-open:hover,
.notification-preview-open:focus {
  background: #111;
  color: var(--as-cyan);
}

.notification-preview-empty {
  align-items: center;
  color: #b8b8b8;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  min-height: 7rem;
}

.notification-preview-all {
  color: #22dce8;
  display: block;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  text-align: center;
  text-decoration: none;
}

.notification-preview-all:hover,
.notification-preview-all:focus {
  background: #202020;
  color: #fff;
}

.notification-card-altspace .event-thumb-wrap img {
  object-fit: cover;
}

.event-rsvp-panel,
.event-invite-panel {
  background: #181818;
  border: 1px solid #333;
  padding: 1rem;
}

.event-rsvp-list {
  display: grid;
  gap: 0.65rem;
}

.event-rsvp-attendee {
  align-items: center;
  background: #202226;
  border: 1px solid #303236;
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.7rem;
}

.event-friend-rsvp-list {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  max-height: 150px;
  overflow-y: auto;
  padding: 0.05rem 0.2rem 0.05rem 0;
  scrollbar-color: var(--as-cyan) #202226;
  scrollbar-width: thin;
}

.event-friend-rsvp {
  align-items: center;
  background: #202226;
  border: 1px solid #303236;
  border-radius: 8px;
  color: #f5f7fb;
  display: grid;
  font-size: 0.78rem;
  gap: 0.35rem;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 30px;
  padding: 0.25rem 0.35rem;
  text-decoration: none;
}

.event-friend-rsvp:hover,
.event-friend-rsvp:focus {
  border-color: var(--as-cyan);
  color: var(--as-cyan);
}

.event-friend-rsvp img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
  height: 24px;
  max-height: 24px;
  max-width: 24px;
  object-fit: cover;
  overflow: hidden;
  width: 24px;
}

.event-friend-rsvp > i {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #303236;
  border-radius: 50%;
  color: var(--as-cyan);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.event-friend-rsvp span {
  display: block;
  font-weight: 650;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.altspace-action-card {
  min-height: 100%;
  background: #181818;
}

.altspace-action-card .card-body {
  min-height: 220px;
  padding: 1.25rem;
}

.altspace-action-card h3 {
  line-height: 1.35;
}

.platform-ribbon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid var(--as-cyan);
  color: var(--as-cyan);
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.35rem 0.45rem;
}

.featured-ribbon {
  border-color: #facc15;
  color: #facc15;
  left: 0.5rem;
  right: auto;
}

.btn {
  border-radius: 4px;
  font-weight: 650;
}

.btn-primary,
.btn-success,
.btn-info {
  background: var(--as-cyan-dark);
  border-color: var(--as-cyan);
  color: #fff;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
  background: #1bb8c3;
  border-color: #70f5ff;
}

.btn-warning,
.btn-danger {
  border-color: #cfcfcf;
  color: #fff;
}

.btn-warning {
  background: #4c4c4c;
}

.btn-warning:hover {
  background: var(--as-cyan);
  border-color: var(--as-cyan);
  color: #000;
}

.btn-admin-override {
  background: #681010;
  border-color: #681010;
  color: #fff;
}

.btn-admin-override:hover,
.btn-admin-override:focus {
  background: #861818;
  border-color: #861818;
  color: #fff;
}

.about-join-page {
  background:
    linear-gradient(180deg, rgba(23, 25, 28, 0) 0%, rgba(23, 25, 28, 1) 520px),
    var(--as-bg);
  color: var(--as-text);
}

.about-hero {
  min-height: clamp(580px, 78vh, 760px);
  overflow: hidden;
  position: relative;
}

.about-hero-media {
  inset: 0;
  position: absolute;
}

.about-hero-media::after {
  background:
    linear-gradient(90deg, rgba(10, 12, 15, 0.94) 0%, rgba(10, 12, 15, 0.78) 33%, rgba(10, 12, 15, 0.22) 68%, rgba(10, 12, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 12, 15, 0.1) 0%, rgba(23, 25, 28, 0.95) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.about-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.about-hero-content {
  align-items: center;
  display: flex;
  min-height: clamp(580px, 78vh, 760px);
  position: relative;
  z-index: 1;
}

.about-hero-copy {
  max-width: 720px;
  padding: 4.5rem 0;
}

.about-kicker {
  color: var(--as-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.6rem);
  font-weight: 850;
  line-height: 0.96;
  margin-bottom: 1.35rem;
  max-width: 920px;
}

.about-hero-lede {
  color: #dce4eb;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 1.7rem;
  max-width: 660px;
}

.about-hero-actions,
.about-join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.about-hero-actions .btn,
.about-join-actions .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1.1;
  min-height: 3rem;
}

.about-join-actions .btn {
  min-width: 12rem;
}

.about-band {
  padding: 4.5rem 0;
}

.about-band-alt {
  background: #111316;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-section-heading {
  margin-bottom: 2rem;
  max-width: 820px;
}

.about-section-heading h2,
.about-join-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

.about-section-heading p,
.about-join-panel p {
  color: var(--as-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.about-value-grid,
.about-feature-grid {
  display: grid;
  gap: 1rem;
}

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

.about-value-card,
.about-feature-card,
.about-join-panel {
  background: var(--as-panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.about-value-card {
  column-gap: 0.9rem;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  min-height: 100%;
  padding: 1.35rem;
}

.about-value-card i {
  align-items: center;
  background: rgba(34, 220, 232, 0.12);
  border: 1px solid rgba(34, 220, 232, 0.35);
  border-radius: 8px;
  color: var(--as-cyan);
  display: inline-flex;
  flex: 0 0 2.75rem;
  grid-row: 1 / span 2;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.about-value-card h3,
.about-value-card p {
  grid-column: 2;
}

.about-value-card h3,
.about-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.about-value-card p,
.about-feature-card p {
  color: var(--as-muted);
  line-height: 1.55;
  margin: 0;
}

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

.about-feature-card {
  display: flex;
  gap: 0.9rem;
  padding: 1rem;
}

.about-feature-icon {
  align-items: center;
  background: #0f2f34;
  border: 1px solid rgba(34, 220, 232, 0.35);
  border-radius: 8px;
  color: var(--as-cyan);
  display: inline-flex;
  flex: 0 0 2.4rem;
  height: 2.4rem;
  justify-content: center;
  width: 2.4rem;
}

.about-join-panel {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 2rem;
}

.about-join-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .about-hero,
  .about-hero-content {
    min-height: auto;
  }

  .about-hero-copy {
    padding: 4rem 0 3rem;
  }

  .about-value-grid,
  .about-feature-grid,
  .about-join-panel {
    grid-template-columns: 1fr;
  }

  .about-join-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .about-hero-copy {
    padding: 3rem 0 2.5rem;
  }

  .about-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-band {
    padding: 3rem 0;
  }

  .about-feature-card {
    align-items: flex-start;
  }
}

.btn-admin-impersonating {
  background: #f59e0b;
  border-color: #d97706;
  color: #17110a;
  font-weight: 700;
}

.btn-admin-impersonating:hover,
.btn-admin-impersonating:focus {
  background: #fbbf24;
  border-color: #f59e0b;
  color: #17110a;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-warning,
.btn-outline-danger {
  color: var(--as-text);
  border-color: #cfcfcf;
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
  color: #000;
  background: var(--as-cyan);
  border-color: var(--as-cyan);
}

.badge.bg-primary,
.badge.bg-secondary,
.badge.bg-success,
.badge.bg-info,
.badge.bg-warning {
  background: #101010 !important;
  border: 1px solid var(--as-cyan);
  color: var(--as-cyan) !important;
}

.form-control,
.form-select {
  background: #111;
  border-color: #444;
  color: var(--as-text);
}

.form-control::placeholder {
  color: #fff;
  opacity: 1;
}

.altspace-profile-editor {
  background: #050505;
  padding: 2rem;
}

.altspace-profile-editor .form-label {
  color: var(--as-muted);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.altspace-profile-editor .form-control,
.altspace-profile-editor .form-select {
  background: #3f3f3f;
  border: 2px solid #d4d4d4;
  border-radius: 999px;
  color: var(--as-text);
  min-height: 52px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1.05rem;
}

.altspace-profile-editor textarea.form-control {
  border-radius: 18px;
  padding-top: 1rem;
}

.altspace-profile-editor .form-text {
  color: var(--as-muted);
}

.altspace-profile-editor .form-check-input {
  width: 20px;
  height: 20px;
  border: 1px solid var(--as-text);
  background-color: transparent;
}

.altspace-profile-editor .form-check-input:checked {
  background-color: var(--as-cyan-dark);
  border-color: var(--as-cyan);
}

.altspace-profile-editor .platform-check {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-height: 42px;
  padding-left: 0.75rem !important;
}

.altspace-profile-editor .platform-check .form-check-input {
  flex: 0 0 20px;
  height: 20px;
  margin: 0;
  position: static;
  width: 20px;
}

.account-notification-preferences .form-switch,
.altspace-profile-editor .form-switch {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  min-height: 24px;
  padding-left: 0;
}

.account-notification-preferences .form-switch .form-check-input,
.altspace-profile-editor .form-switch .form-check-input {
  flex: 0 0 2rem;
  height: 1rem;
  margin: 0;
  position: static;
  width: 2rem;
}

.account-points-gift-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-data-export-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.account-data-export-summary div {
  background: rgba(11, 18, 32, 0.72);
  border: 1px solid rgba(34, 220, 232, 0.18);
  border-radius: 8px;
  padding: 0.85rem;
}

.account-data-export-summary span,
.account-data-export-summary strong {
  display: block;
}

.account-data-export-summary span {
  color: var(--as-cyan);
  font-size: 1.2rem;
  font-weight: 800;
}

.account-data-export-summary strong {
  color: #fff;
  font-size: 0.82rem;
}

.account-data-action-list {
  display: grid;
  gap: 0.65rem;
}

.account-data-action-row {
  align-items: center;
  background: rgba(11, 18, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.75rem;
}

.account-data-action-row strong,
.account-data-action-row small {
  display: block;
}

.account-data-action-row small {
  color: var(--as-muted);
}

.account-data-action-row span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.account-points-gift-summary div,
.account-points-gift-list {
  background: rgba(11, 18, 32, 0.72);
  border: 1px solid rgba(34, 220, 232, 0.18);
  border-radius: 8px;
  padding: 0.8rem;
}

.account-points-gift-summary span,
.account-points-gift-summary strong,
.account-points-gift-summary small {
  display: block;
}

.account-points-gift-summary span {
  color: var(--as-cyan);
  font-size: 1.25rem;
  font-weight: 700;
}

.account-points-gift-summary small,
.account-points-gift-row small {
  color: var(--as-muted);
}

.account-points-gift-list h3 {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.account-points-gift-row {
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.65rem 0;
}

.account-points-gift-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.account-points-gift-row:last-child {
  padding-bottom: 0;
}

.account-points-gift-row strong,
.account-points-gift-row a,
.account-points-gift-row small {
  display: block;
}

.account-points-gift-row a {
  color: var(--as-cyan);
  text-decoration: none;
}

.account-points-gift-row span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.altspace-profile-editor .platform-check .form-check-label {
  align-items: center;
  display: inline-flex;
  line-height: 1.2;
  min-width: 0;
}

.altspace-profile-page .card {
  border: 0;
}

.altspace-profile-page .border {
  border-color: var(--as-border) !important;
}

.profile-section-anchor {
  scroll-margin-top: 92px;
}

.profile-channel-list {
  display: grid;
  gap: 0.75rem;
}

.profile-channel-row {
  align-items: center;
  border: 1px solid var(--as-border);
  border-radius: 8px;
  color: var(--as-text);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 0.75rem;
  text-decoration: none;
}

.profile-channel-row:hover,
.profile-channel-row:focus {
  border-color: rgba(34, 220, 232, 0.65);
  color: var(--as-text);
}

.profile-channel-row img {
  aspect-ratio: 1;
  background: #0b0b0b;
  border-radius: 8px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.profile-channel-row-main,
.profile-channel-row-title {
  display: flex;
  min-width: 0;
}

.profile-channel-row-main {
  flex-direction: column;
  gap: 0.25rem;
}

.profile-channel-row-title {
  align-items: center;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 0.4rem;
}

.profile-channel-badges {
  margin-bottom: 0;
}

.profile-channel-row-meta,
.profile-channel-row-description {
  color: var(--as-muted);
  font-size: 0.88rem;
}

.profile-channel-row-description {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-event-card-grid .event-card-altspace {
  height: 100%;
}

.profile-event-card-grid .event-card-altspace .card-title {
  font-size: 0.98rem;
}

.profile-badge-list,
.channel-badge-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.channel-badge-list {
  margin-bottom: 0.45rem;
  vertical-align: middle;
}

.my-channel-badge-list {
  min-height: 24px;
}

.channel-edit-badge-list {
  margin-bottom: 0;
}

.event-detail-channel-badges {
  display: flex;
  justify-content: center;
  margin-bottom: 0.7rem;
  width: 100%;
}

.event-detail-subscribe-btn {
  display: inline-flex;
  margin-bottom: 1rem;
}

.channel-edit-badge-grid {
  display: grid;
  gap: 0.55rem;
}

.channel-edit-badge-row {
  align-items: center;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 24px minmax(0, 1fr) auto;
}

.channel-edit-badge-row strong,
.channel-edit-badge-row .text-muted {
  display: block;
}

.profile-badge-icon {
  align-items: center;
  background: color-mix(in srgb, var(--badge-color, #d8c200) 16%, #111);
  border: 1px solid color-mix(in srgb, var(--badge-color, #d8c200) 72%, #111);
  border-radius: 999px;
  color: var(--badge-color, #d8c200);
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 0.78rem;
  height: 24px;
  justify-content: center;
  line-height: 1;
  width: 24px;
}

.profile-badge-icon:focus,
.profile-badge-icon:hover {
  background: var(--badge-color, #d8c200);
  color: #050505;
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.profile-badge-panel {
  display: grid;
  gap: 0.65rem;
}

.profile-badge-row {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.profile-score-display {
  align-items: baseline;
  display: flex;
  gap: 0.5rem;
}

.profile-score-value {
  color: var(--as-cyan);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.profile-score-label {
  color: var(--as-muted);
  font-size: 0.9rem;
}

.profile-score-summary {
  align-items: center;
  background: rgba(96, 224, 255, 0.12);
  border: 1px solid rgba(96, 224, 255, 0.28);
  border-radius: 8px;
  display: inline-flex;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
}

.profile-score-summary-label {
  color: var(--as-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-score-summary-value {
  color: var(--as-cyan);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.form-control:focus,
.form-select:focus {
  background: #101010;
  border-color: var(--as-cyan);
  color: var(--as-text);
  box-shadow: 0 0 0 0.18rem rgba(34, 220, 232, 0.18);
}

.event-editor-page {
  max-width: 1180px;
}

.event-editor-panel {
  background: var(--as-panel);
  border: 1px solid #1f1f1f;
  padding: 1.35rem;
}

.event-editor-page .form-label {
  color: var(--as-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.event-editor-page .form-control,
.event-editor-page .form-select {
  background: #101010;
  border-color: #555;
}

.event-editor-page textarea.form-control {
  min-height: 220px;
}

.event-editor-media-panel {
  position: sticky;
  top: 1rem;
}

.event-editor-image-preview {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #050505;
  border: 1px solid #333;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.event-editor-image-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.event-editor-image-preview-cover {
  aspect-ratio: 3 / 1;
}

.event-editor-image-empty {
  color: var(--as-muted);
  font-weight: 700;
}

.event-editor-remove-check {
  color: var(--as-text);
}

.event-editor-actions {
  border-top: 1px solid #333;
  padding-top: 1rem;
}

.alert {
  background: var(--as-panel);
  border-color: var(--as-border);
  color: var(--as-text);
}

.page-link {
  background: var(--as-panel);
  border-color: var(--as-border);
  color: var(--as-text);
}

.page-link:hover,
.page-item.active .page-link {
  background: var(--as-cyan-dark);
  border-color: var(--as-cyan);
  color: #fff;
}

.page-item.disabled .page-link {
  background: #151515;
  border-color: #252525;
  color: #777;
}

.table {
  --bs-table-bg: var(--as-panel);
  --bs-table-color: var(--as-text);
  --bs-table-border-color: var(--as-border);
  --bs-table-striped-bg: #252525;
  --bs-table-striped-color: var(--as-text);
  color: var(--as-text);
}

.channel-banner-card {
  background: var(--as-panel) !important;
  border-color: var(--as-border) !important;
}

.altspace-channel-subnav {
  margin-bottom: 0;
}

.altspace-subnav-shell:has(.altspace-channel-subnav) {
  margin-bottom: 0;
}

.altspace-channel-banner {
  min-height: 300px;
  background-color: #151515;
  background-position: center;
  background-size: cover;
}

.altspace-channel-banner-placeholder {
  background-size: contain;
  background-repeat: no-repeat;
}

.altspace-channel-titlebar {
  background: #626262;
  color: var(--as-text);
}

.altspace-channel-titlebar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.altspace-channel-heading {
  align-items: center;
  display: inline-flex;
  min-width: 0;
  position: relative;
}

.altspace-channel-titlebar h1 {
  font-size: 1.45rem;
  margin: 0;
}

.altspace-channel-heading .channel-badge-list {
  flex-wrap: nowrap;
  left: calc(100% + 0.55rem);
  margin: 0;
  max-width: min(34vw, 360px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
}

.altspace-channel-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
}

.altspace-channel-stats div {
  min-width: 54px;
  text-align: center;
  line-height: 1.05;
}

.altspace-channel-stats strong,
.altspace-channel-stats span {
  display: block;
}

.altspace-channel-stats span {
  font-size: 0.72rem;
  font-weight: 700;
}

.altspace-channel-page {
  max-width: 1120px;
}

.altspace-channel-announcement-composer,
.altspace-channel-announcements {
  background: var(--as-panel);
  border: 1px solid var(--as-border);
  border-radius: 8px;
  padding: 1rem;
}

.altspace-channel-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--as-border);
}

.altspace-channel-announcement:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.altspace-channel-announcement:last-child {
  padding-bottom: 0;
}

.altspace-channel-announcement.is-featured {
  padding-bottom: 1.15rem;
}

.altspace-channel-announcement p,
.channel-announcement-full-body {
  color: var(--as-muted);
  white-space: pre-wrap;
}

.altspace-channel-announcement-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.altspace-channel-directory {
  max-width: 1180px;
}

.altspace-channel-directory-list {
  display: grid;
  gap: 2rem;
}

.altspace-channel-directory-card {
  background: #111;
  border: 1px solid #222;
}

.altspace-channel-directory-banner {
  min-height: 220px;
  display: block;
  background-color: #050505;
  background-position: center;
  background-size: cover;
}

.altspace-channel-directory-banner.altspace-channel-banner-placeholder {
  background-size: contain;
  background-repeat: no-repeat;
}

.altspace-channel-directory-card .altspace-channel-titlebar {
  border-top: 0;
}

.altspace-channel-directory-card .altspace-channel-titlebar h2 {
  font-size: 1.35rem;
  margin: 0;
}

.altspace-channel-directory-card .altspace-channel-titlebar h2 a {
  color: var(--as-text);
  text-decoration: none;
}

.altspace-channel-directory-body {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
}

.altspace-channel-directory-events h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.altspace-channel-directory-featured {
  min-height: 190px;
}

.altspace-channel-side-card,
.altspace-channel-share-card {
  background: var(--as-panel);
  border: 1px solid #1a1a1a;
  padding: 1.35rem;
  text-align: center;
}

.altspace-channel-side-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  background: #050505;
  margin-bottom: 1rem;
}

.altspace-channel-side-card p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
}

.altspace-channel-tools .form-text {
  color: #b9c6d6;
}

.altspace-channel-management-actions .btn-channel-action-send {
  background: var(--as-cyan-dark);
  border-color: var(--as-cyan);
  color: #fff;
}

.altspace-channel-management-actions .btn-channel-action-send:hover,
.altspace-channel-management-actions .btn-channel-action-send:focus {
  background: #1bb8c3;
  border-color: #70f5ff;
  color: #fff;
}

.altspace-channel-management-actions .btn-channel-action-edit {
  background: transparent;
  border-color: #cfcfcf;
  color: var(--as-text);
}

.altspace-channel-management-actions .btn-channel-action-edit:hover,
.altspace-channel-management-actions .btn-channel-action-edit:focus {
  background: var(--as-cyan);
  border-color: var(--as-cyan);
  color: #050505;
}

.altspace-channel-management-actions .btn-channel-action-delete,
.event-widget-modal .btn-channel-action-delete {
  background: #8f1212;
  border-color: #d35b5b;
  color: #fff;
}

.altspace-channel-management-actions .btn-channel-action-delete:hover,
.altspace-channel-management-actions .btn-channel-action-delete:focus,
.event-widget-modal .btn-channel-action-delete:hover,
.event-widget-modal .btn-channel-action-delete:focus {
  background: #b91c1c;
  border-color: #f87171;
  color: #fff;
}

.altspace-channel-share-card {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.altspace-channel-share-card a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--as-cyan-dark);
  color: #fff;
  text-decoration: none;
}

.altspace-channel-featured-event,
.altspace-channel-event-card {
  color: var(--as-text);
  text-decoration: none;
}

.altspace-channel-featured-event {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #050505;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  border: 1px solid #111;
}

.altspace-channel-featured-event:hover,
.altspace-channel-event-card:hover {
  color: var(--as-text);
  outline: 2px solid var(--as-cyan);
}

.altspace-channel-event-top {
  background: #202020;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.altspace-channel-event-title {
  background: rgba(0, 0, 0, 0.62);
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  text-align: center;
}

.altspace-channel-event-card {
  background: #151515;
  border: 1px solid #111;
  display: block;
  min-height: 160px;
  overflow: hidden;
}

.altspace-channel-event-date {
  background: #202020;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.altspace-channel-event-image {
  display: block;
  aspect-ratio: 16 / 9;
  background-color: #050505;
  background-position: center;
  background-size: cover;
}

.altspace-channel-event-name {
  display: block;
  padding: 0.45rem 0.55rem 0.65rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.altspace-channel-event-card-past {
  opacity: 0.82;
}

.channel-hero {
  border: 1px solid var(--as-border);
  border-radius: 2px !important;
  background-color: #050505;
}

.channel-hero-content {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.channel-avatar-lg {
  border-color: var(--as-text) !important;
  background: #050505 !important;
}

.channel-cover {
  background-color: #050505;
}

.channel-avatar {
  border-color: var(--as-panel) !important;
  background: #050505 !important;
}

.footer {
  background: #151515 !important;
  border-top: 1px solid var(--as-border);
}

.footer .text-muted {
  color: var(--as-muted) !important;
}

.event-detail-shell {
  margin-top: 1.75rem;
}

.event-hero-media {
  min-height: 308px;
  background-color: #080808;
  background-position: center;
  background-size: cover;
  position: relative;
}

.event-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));
}

.event-hero-enter {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--as-text);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 1rem;
}

.event-title-strip {
  background: #202020;
  border-bottom: 1px solid #151515;
}

.event-title-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 66px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.event-title-strip h1 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.05;
}

.event-detail-eyebrow,
.event-detail-kicker {
  color: var(--as-text);
  font-weight: 650;
}

.event-detail-eyebrow {
  color: var(--as-muted);
  font-size: 0.86rem;
}

.event-detail-quick-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: end;
}

.event-detail-quick-actions .btn {
  min-width: 128px;
  text-transform: uppercase;
}

.event-detail-interest {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.45rem;
  align-items: center;
  text-align: center;
  line-height: 1.1;
}

.event-detail-interest span {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 650;
}

.event-detail-panel {
  background: var(--as-panel);
  border: 1px solid var(--as-border);
  padding: 1.4rem;
}

.event-detail-sidebar {
  background: var(--as-panel);
  border: 1px solid var(--as-border);
  padding: 1.65rem;
  text-align: center;
}

.event-code-box {
  background: #111;
  border: 1px solid rgba(34, 220, 232, 0.35);
  border-radius: 8px;
  color: #fff;
  padding: 0.75rem 1rem 0.7rem;
  text-align: center;
}

.event-code-label {
  color: #22dce8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-code-value {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  gap: 0.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.8rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1.1;
  margin-top: 0.15rem;
  padding: 0.1rem 0.45rem;
}

.event-code-copy {
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.event-code-copy i {
  color: #22dce8;
  font-size: 1rem;
}

.event-code-copy:hover,
.event-code-copy:focus-visible {
  background: rgba(34, 220, 232, 0.12);
  box-shadow: 0 0 0 3px rgba(34, 220, 232, 0.18);
  outline: 0;
}

.event-code-copy:active {
  transform: translateY(1px);
}

.event-code-copy-copied {
  color: #3ddc97;
}

.event-code-copy-status {
  color: #3ddc97;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.event-code-copy-status:empty {
  display: none;
}

.event-code-box-disabled {
  background: #f4f4f4;
  border-color: var(--as-border);
  color: #555;
}

.event-code-box-disabled .event-code-label {
  color: #666;
}

.event-code-disabled {
  font-size: 1rem;
  font-weight: 800;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.docs-page {
  background: var(--as-bg);
  color: var(--as-text);
}

.docs-hero {
  background: #151515;
  border-bottom: 1px solid var(--as-border);
  padding: 2.5rem 0;
}

.docs-hero-inner {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.docs-eyebrow {
  color: var(--as-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.docs-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0.45rem 0 0.7rem;
}

.docs-hero p {
  color: var(--as-muted);
  font-size: 1.05rem;
  margin: 0;
  max-width: 760px;
}

.docs-quick-card {
  background: #202020;
  border: 1px solid var(--as-border);
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.docs-quick-card span {
  color: var(--as-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.docs-quick-card a {
  color: var(--as-text);
  text-decoration: none;
}

.docs-quick-card a:hover {
  color: var(--as-cyan);
}

.docs-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 260px minmax(0, 1fr);
  padding-bottom: 3rem;
  padding-top: 2rem;
}

.docs-nav {
  align-self: start;
  background: var(--as-panel);
  border: 1px solid var(--as-border);
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  position: sticky;
  top: 90px;
}

.docs-nav-heading {
  color: var(--as-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0.35rem 0 0.1rem;
  padding: 0.2rem 0.7rem;
  text-transform: uppercase;
}

.docs-nav-heading:first-child {
  margin-top: 0;
}

.docs-nav a {
  align-items: center;
  color: var(--as-text);
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 0.65rem 0.7rem;
  text-decoration: none;
}

.docs-nav a.active,
.docs-nav a:hover {
  background: #111;
  color: var(--as-cyan);
}

.docs-nav i {
  text-align: center;
}

.docs-content {
  display: grid;
  gap: 1rem;
}

.docs-section {
  background: var(--as-panel);
  border: 1px solid var(--as-border);
  padding: 1.4rem;
}

.docs-section h2 {
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
}

.docs-section p {
  color: var(--as-muted);
  margin-bottom: 1rem;
}

.docs-section ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.docs-section li::marker {
  color: var(--as-cyan);
}

.docs-cta {
  justify-self: start;
}

.event-detail-host-image {
  width: min(150px, 70%);
  aspect-ratio: 1;
  object-fit: cover;
  object-fit: cover;
  background: #050505;
}

.event-widget-modal .modal-body {
  background: var(--as-bg);
}

.event-widget-preview {
  min-height: 180px;
  display: flex;
  align-items: center;
}

.event-widget-preview-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  background: transparent;
}

.event-widget-code {
  min-height: 280px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.85rem;
}

.event-widget-jpg-panel {
  background: #080b10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  min-height: 260px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-widget-jpg-preview {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1200 / 630;
  object-fit: contain;
  border-radius: 8px;
  background: #10151f;
}

@media (max-width: 991.98px) {
  .docs-hero-inner,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
  }

  .navbar .navbar-nav {
    align-items: stretch;
    gap: 0.15rem;
  }

  .navbar .nav-item {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .navbar .nav-link,
  .navbar .nav-link.btn,
  .navbar .dropdown-toggle {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
  }

  .navbar .navbar-collapse {
    padding: 0.75rem 0 1rem;
  }

  .navbar .navbar-nav.ms-auto {
    align-items: stretch !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.55rem;
    padding-top: 0.55rem;
  }

  .navbar .dropdown {
    align-items: stretch;
    display: block;
    width: 100%;
  }

  .navbar .dropdown-menu {
    float: none;
    inset: auto !important;
    position: static !important;
    transform: none !important;
    width: 100%;
    min-width: 0;
    max-height: min(52vh, 440px);
    margin: 0.15rem 0 0.65rem;
    padding: 0.35rem;
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .navbar .dropdown-menu[data-bs-popper] {
    left: auto;
    right: auto;
    top: auto;
  }

  .navbar .dropdown-item,
  .navbar .dropdown-item-text {
    border-radius: 6px;
    min-height: 40px;
    white-space: normal;
  }

  .navbar .notification-nav-control {
    justify-content: flex-start;
    width: 100%;
  }

  .navbar .notification-preview-toggle {
    display: none;
  }

  .navbar .notification-preview-menu {
    min-width: 0;
    width: 100%;
  }

  .altspace-subnav {
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
  }

  .altspace-account-subnav {
    gap: 1.45rem;
    overflow-x: auto;
    padding: 0 1rem;
  }

  .altspace-profile-editor {
    padding: 1rem;
  }

  .altspace-channel-banner {
    min-height: 188px;
  }

  .altspace-channel-titlebar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .altspace-channel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .altspace-channel-heading .channel-badge-list {
    flex-wrap: wrap;
    left: auto;
    max-width: 100%;
    position: static;
    transform: none;
    width: auto;
  }

  .altspace-channel-stats {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .altspace-channel-main-column {
    display: flex;
    flex-direction: column;
    order: 1;
  }

  .altspace-channel-sidebar-column {
    order: 2;
  }

  .altspace-channel-upcoming-section {
    order: 1;
  }

  .altspace-channel-announcements-section {
    order: 2;
    margin-top: 1.5rem;
  }

  .altspace-channel-composer-section {
    order: 3;
  }

  .altspace-channel-review-section {
    order: 4;
  }

  .altspace-channel-past-section {
    order: 5;
  }

  .altspace-channel-announcement {
    grid-template-columns: 1fr;
  }

  .altspace-channel-announcement-actions {
    justify-content: flex-start;
  }

  .altspace-channel-directory-banner {
    min-height: 170px;
  }

  .altspace-channel-directory-body {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .altspace-channel-directory-card .altspace-channel-titlebar .btn,
  .altspace-channel-directory-card .altspace-channel-titlebar form {
    flex: 1 1 auto;
  }

  .event-hero-media {
    min-height: 210px;
  }

  .event-title-strip-inner {
    align-items: start;
    flex-direction: column;
    justify-content: end;
    gap: 1.25rem;
  }

  .event-detail-quick-actions {
    justify-content: start;
    gap: 0.75rem;
  }

  .event-detail-quick-actions .btn {
    min-width: 0;
  }

  .event-detail-main-column {
    order: 1;
  }

  .event-detail-sidebar-column {
    order: 2;
  }
}

@media (max-width: 575.98px) {
  body.frontend-theme-active {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar {
    min-height: 58px;
  }

  .navbar-brand {
    font-size: 1.2rem;
    max-width: calc(100vw - 88px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .navbar .nav-link,
  .navbar .nav-link.btn {
    border-radius: 6px;
    justify-content: flex-start;
    min-height: 44px;
    width: 100%;
  }

  .navbar .nav-link[href="/register"] {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
  }

  .altspace-subnav-shell .altspace-subnav,
  .altspace-account-subnav-shell .altspace-account-subnav {
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .altspace-subnav-shell .altspace-subnav::-webkit-scrollbar,
  .altspace-account-subnav-shell .altspace-account-subnav::-webkit-scrollbar {
    display: none;
  }

  .altspace-subnav a,
  .altspace-account-subnav a {
    min-height: 42px;
    white-space: nowrap;
  }

  .event-card-actions,
  .social-btns {
    gap: 0.24rem;
  }

  .event-card-actions .btn,
  .channel-card-actions .btn,
  .friend-card-altspace .btn {
    min-height: 28px;
  }

  .event-card-altspace {
    font-size: 0.78rem;
  }

  .event-card-altspace .event-thumb-wrap {
    aspect-ratio: 16 / 9;
  }

  .event-card-altspace .event-thumb-wrap img {
    object-fit: contain;
  }

  .event-card-altspace .card-body {
    padding: 0.55rem 0.5rem 0.6rem;
  }

  .event-card-altspace .card-title {
    font-size: 0.94rem;
    line-height: 1.18;
    margin-bottom: 0.32rem !important;
    min-height: 0;
  }

  .event-card-info-overlay {
    flex-basis: 8.1rem;
    height: 8.1rem;
    min-height: 8.1rem;
  }

  .event-card-altspace .event-time,
  .event-card-altspace .event-starts,
  .event-card-altspace .event-host {
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .event-card-altspace .event-meta {
    margin-bottom: 0.55rem !important;
  }

  .event-card-altspace .btn {
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.1;
    padding: 0.22rem 0.32rem;
  }

  .event-card-altspace .event-rsvp-feedback {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-top: 0 !important;
  }

  .event-card-altspace .platform-ribbon {
    font-size: 0.62rem;
    padding: 0.18rem 0.32rem;
    right: 0.35rem;
    top: 0.35rem;
  }

  .channel-card-altspace .card-body {
    padding-top: 0.65rem;
  }

  .channel-card-altspace .card-title {
    font-size: 0.92rem;
  }

  .channel-card-description {
    font-size: 0.72rem;
    line-height: 1.25;
    margin: 0.45rem 0 0.55rem;
    -webkit-line-clamp: 2;
  }

  .pagination {
    gap: 0.35rem;
  }

  .pagination .page-link {
    min-height: 40px;
    min-width: 40px;
  }

  .footer {
    margin-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

.pwa-bottom-nav {
  display: none;
}

@media (max-width: 767.98px) {
  body.frontend-theme-active {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-search-results-pending {
    display: none;
  }

  .pwa-bottom-nav {
    align-items: stretch;
    background: rgba(20, 20, 20, 0.98);
    border-top: 1px solid rgba(34, 220, 232, 0.25);
    bottom: 0;
    box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    left: 0;
    padding: 0.35rem 0.45rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    z-index: 1040;
  }

  .pwa-bottom-nav-link {
    align-items: center;
    border-radius: 8px;
    color: #d5dde5;
    display: inline-flex;
    flex-direction: column;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.2rem;
    justify-content: center;
    letter-spacing: 0;
    min-height: 54px;
    min-width: 0;
    padding: 0.35rem 0.2rem;
    position: relative;
    text-decoration: none;
  }

  .pwa-bottom-nav-link i {
    font-size: 1.12rem;
    line-height: 1;
  }

  .pwa-bottom-nav-link span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pwa-bottom-nav-link:hover,
  .pwa-bottom-nav-link:focus,
  .pwa-bottom-nav-link.is-active {
    background: rgba(34, 220, 232, 0.12);
    color: #fff;
  }

  .pwa-bottom-nav-link.is-active {
    outline: 1px solid rgba(34, 220, 232, 0.45);
  }

  .pwa-bottom-nav-icon-wrap {
    overflow: visible !important;
    position: relative;
  }

  .pwa-bottom-nav-badge {
    align-items: center;
    background: #dc3545;
    border: 2px solid #141414;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 1rem;
    min-width: 1rem;
    padding: 0.08rem 0.22rem;
    position: absolute;
    right: -0.75rem;
    top: -0.45rem;
  }

  .footer {
    margin-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 767.98px) {
  .altspace-account-subnav-shell {
    padding: 0.75rem 0.75rem 0;
  }

  .altspace-account-subnav-shell .altspace-account-subnav {
    background: transparent;
    border-bottom: 0;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
    overflow: visible;
    padding: 0;
  }

  .altspace-account-subnav .account-subnav-divider {
    display: none;
  }

  .altspace-account-subnav a {
    align-items: center;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    font-size: 0.76rem;
    gap: 0.32rem;
    justify-content: center;
    line-height: 1.1;
    min-height: 64px;
    min-width: 0;
    padding: 0.55rem 0.35rem;
    text-align: center;
    white-space: normal;
  }

  .altspace-account-subnav a i {
    color: var(--as-cyan);
    display: block;
    font-size: 1.05rem;
    line-height: 1;
  }

  .altspace-account-subnav a span {
    background: transparent;
    display: block;
    height: auto;
    max-width: 100%;
    opacity: 1;
    overflow-wrap: anywhere;
    width: auto;
  }

  .altspace-account-subnav a.active,
  .altspace-account-subnav a:hover,
  .altspace-account-subnav a:focus {
    background: rgba(34, 220, 232, 0.12);
    border-color: rgba(34, 220, 232, 0.85);
    box-shadow: inset 0 0 0 1px rgba(34, 220, 232, 0.18);
    color: #fff;
  }
}

@media (max-width: 380px) {
  .altspace-account-subnav-shell .altspace-account-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .altspace-subnav-shell .altspace-button-subnav {
    background: transparent;
    border-bottom: 0;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
    overflow: visible;
    padding: 0;
  }

  .altspace-button-subnav-shell {
    padding: 0.75rem 0.75rem 0;
  }

  .altspace-button-subnav a,
  .altspace-button-subnav .disabled {
    align-items: center;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 0.32rem;
    justify-content: center;
    line-height: 1.1;
    min-height: 64px;
    min-width: 0;
    padding: 0.55rem 0.35rem;
    text-align: center;
    white-space: normal;
  }

  .altspace-button-subnav a i,
  .altspace-button-subnav .disabled i {
    color: var(--as-cyan);
    display: block;
    font-size: 1.05rem;
    line-height: 1;
  }

  .altspace-button-subnav a span,
  .altspace-button-subnav .disabled span {
    background: transparent;
    display: block;
    height: auto;
    max-width: 100%;
    opacity: 1;
    overflow-wrap: anywhere;
    width: auto;
  }

  .altspace-button-subnav a.active,
  .altspace-button-subnav a:hover,
  .altspace-button-subnav a:focus {
    background: rgba(34, 220, 232, 0.12);
    border-color: rgba(34, 220, 232, 0.85);
    box-shadow: inset 0 0 0 1px rgba(34, 220, 232, 0.18);
    color: #fff;
  }

}

@media (max-width: 380px) {
  .altspace-subnav-shell .altspace-button-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.event-card-altspace .card-title a,
.event-card-altspace .event-time,
.event-card-altspace .event-starts,
.event-card-altspace .event-host {
  color: var(--event-card-fg, inherit);
}
