:root {
  --bg: #080b0d;
  --surface: #111619;
  --surface-2: #171d21;
  --surface-3: #20282d;
  --line: #293237;
  --line-soft: rgba(255, 255, 255, .08);
  --text: #f5f7f8;
  --muted: #98a4aa;
  --muted-2: #6f7a80;
  --lime: #c8ff22;
  --lime-dark: #9fd000;
  --orange: #ff6b1a;
  --red: #ff4d55;
  --blue: #61b5ff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 55px rgba(0, 0, 0, .34);
  --shell: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(200, 255, 34, .08), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button {
  border: 0;
}

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

h1,
h2,
h3,
.eyebrow,
.brand,
.button,
.pill,
.stat strong,
.event-date,
.profile-metric strong {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  letter-spacing: .02em;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: .98;
  text-transform: uppercase;
}

h2 {
  line-height: 1.1;
}

::selection {
  background: var(--lime);
  color: #0a0d0f;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: #071000;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 11, 13, .87);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(215px, 1fr) auto minmax(215px, 1fr);
  align-items: center;
  min-height: 72px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  line-height: .83;
}

.brand img {
  filter: drop-shadow(0 0 13px rgba(200, 255, 34, .18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: .055em;
}

.brand small {
  margin-top: 7px;
  color: var(--lime);
  font-size: .63rem;
  letter-spacing: .18em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 24px 13px 22px;
  color: #c3cbcf;
  font-size: .86rem;
  font-weight: 650;
}

.main-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 16px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  content: "";
  opacity: 0;
  transform: scaleX(.25);
  transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.notification-open-form {
  display: flex;
  margin: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

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

.button--primary {
  background: var(--lime);
  color: #111700;
}

.button--primary:hover {
  background: #d7ff5e;
}

.button--secondary {
  border-color: rgba(200, 255, 34, .25);
  background: rgba(200, 255, 34, .08);
  color: var(--lime);
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button--danger {
  border-color: rgba(255, 77, 85, .25);
  background: rgba(255, 77, 85, .08);
  color: #ff8b91;
}

.button--compact {
  min-height: 38px;
  padding: 8px 14px;
  font-size: .77rem;
}

.button--full {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  position: relative;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.notification-button__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--lime);
}

.notification-button__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.notification-button b {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--bg);
  border-radius: 20px;
  background: var(--orange);
  color: white;
  font-size: .62rem;
}

.account-menu {
  position: relative;
}

.account-menu > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.account-menu > summary::-webkit-details-marker {
  display: none;
}

.account-menu__name {
  max-width: 110px;
  overflow: hidden;
  font-size: .84rem;
  font-weight: 700;
  text-overflow: ellipsis;
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 210px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #12171a;
  box-shadow: var(--shadow);
}

.account-menu__panel a,
.account-menu__panel button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border-radius: 7px;
  background: transparent;
  color: #d9dfe2;
  text-align: left;
}

.account-menu__panel a:hover,
.account-menu__panel button:hover {
  background: var(--surface-3);
}

.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(200, 255, 34, .28);
  border-radius: 50%;
  background: linear-gradient(135deg, #263018, #181f21);
  color: var(--lime);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--xs {
  width: 28px;
  height: 28px;
  font-size: .62rem;
}

.avatar--sm {
  width: 36px;
  height: 36px;
  font-size: .75rem;
}

.avatar--md {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.avatar--lg {
  width: 76px;
  height: 76px;
  font-size: 1.45rem;
}

.avatar--xl {
  width: 118px;
  height: 118px;
  border-width: 2px;
  font-size: 2.1rem;
}

.flash-stack {
  position: fixed;
  z-index: 130;
  top: 83px;
  right: 0;
  left: 0;
  pointer-events: none;
}

.flash {
  display: flex;
  width: min(100%, 580px);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto 8px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 10px;
  background: rgba(20, 26, 29, .97);
  box-shadow: var(--shadow);
  pointer-events: auto;
  transition: opacity .25s ease;
}

.flash.is-dismissing {
  opacity: 0;
}

.flash--error {
  border-left-color: var(--red);
}

.flash button {
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
}

.card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(17, 22, 25, .92);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
}

.card--padded {
  padding: 24px;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.card__header h2,
.card__header h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

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

.micro {
  color: var(--muted);
  font-size: .75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .03);
  color: #c6cfd3;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
}

.pill--lime {
  border-color: rgba(200, 255, 34, .22);
  background: rgba(200, 255, 34, .08);
  color: var(--lime);
}

.pill--orange {
  border-color: rgba(255, 107, 26, .22);
  background: rgba(255, 107, 26, .08);
  color: #ff9a63;
}

.page-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(130deg, rgba(200, 255, 34, .06), transparent 48%);
}

.page-hero__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.page-hero p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-section {
  padding: 32px 0 80px;
}

.community-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 650px) 280px;
  align-items: start;
  justify-content: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 76px;
}

.community-sidebar {
  display: grid;
  position: sticky;
  top: 96px;
  gap: 16px;
}

.mini-profile {
  padding: 20px;
  text-align: center;
}

.mini-profile .avatar {
  margin-bottom: 12px;
}

.mini-profile h2 {
  margin-bottom: 2px;
  font-size: 1.2rem;
}

.mini-profile > p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: .8rem;
}

.profile-progress {
  height: 5px;
  overflow: hidden;
  margin: 13px 0 7px;
  border-radius: 8px;
  background: var(--surface-3);
}

.profile-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.sidebar-menu {
  display: grid;
  padding: 8px;
}

.sidebar-menu a,
.sidebar-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  border-radius: 8px;
  background: transparent;
  color: #c2cbcf;
  font-size: .84rem;
  font-weight: 600;
  text-align: left;
}

.sidebar-menu a:hover,
.sidebar-menu button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.join-card {
  overflow: hidden;
}

.join-card__visual {
  height: 78px;
  background:
    linear-gradient(120deg, rgba(200, 255, 34, .08), rgba(255, 107, 26, .1)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, .025) 12px 13px);
}

.join-card__body {
  padding: 20px;
}

.join-card h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.join-card p {
  color: var(--muted);
  font-size: .83rem;
}

.feed-column {
  min-width: 0;
}

.composer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
}

.composer__prompt {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
  color: var(--muted);
  transition: border-color .2s;
}

.composer__prompt:hover {
  border-color: rgba(200, 255, 34, .35);
  color: var(--text);
}

.feed-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 14px 0;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(17, 22, 25, .8);
  scrollbar-width: none;
}

.feed-tabs a {
  min-width: 0;
  flex: 1 1 0;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.feed-tab__label--compact,
.post-action__label--compact {
  display: none;
}

.feed-tabs a:hover,
.feed-tabs a.is-active {
  background: var(--surface-3);
  color: var(--text);
}

.feed-tabs a.is-active {
  box-shadow: inset 0 -2px var(--lime);
}

.post-card {
  overflow: hidden;
  margin-bottom: 16px;
}

.post-card__header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 18px 12px;
}

.post-card__author {
  min-width: 0;
  flex: 1;
}

.post-card__author strong {
  display: block;
  overflow: hidden;
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card__meta {
  color: var(--muted);
  font-size: .72rem;
}

.post-card__menu {
  color: var(--muted);
  font-size: .75rem;
}

.post-card__context {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 18px 11px;
}

.post-card__body-shell {
  padding: 0 18px 16px;
}

.post-card__body {
  color: #e7ebed;
  font-size: .94rem;
  overflow-wrap: anywhere;
}

.post-card__body.is-collapsible {
  --post-preview-lines: 6;
}

.post-card__body.is-collapsible.is-collapsed {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--post-preview-lines);
  line-clamp: var(--post-preview-lines);
}

.post-card__body p:last-child {
  margin-bottom: 0;
}

.post-card__expand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 2px;
  padding: 7px 0;
  background: transparent;
  color: var(--lime);
  font-size: .78rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.post-card__expand:hover {
  color: var(--text);
}

.post-card__expand:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.post-card__expand[hidden] {
  display: none;
}

.mention {
  color: var(--lime);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(200, 255, 34, .35);
  text-underline-offset: 3px;
}

.mention:hover {
  text-decoration-color: currentColor;
}

.post-media-frame {
  position: relative;
  overflow: hidden;
  background: #050708;
}

.post-media {
  background: #050708;
}

.post-media--single {
  display: block;
  max-height: 580px;
  overflow: hidden;
}

.post-media > a {
  display: block;
  min-width: 0;
  overflow: hidden;
  cursor: zoom-in;
}

.post-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 580px;
  object-fit: cover;
}

.post-media--carousel {
  display: flex;
  width: 100%;
  max-height: 580px;
  aspect-ratio: 4 / 3;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.post-media--carousel::-webkit-scrollbar {
  display: none;
}

.post-media--carousel > a {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.post-media--carousel img {
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.post-carousel__control {
  display: grid;
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(5, 8, 9, .76);
  color: white;
  transform: translateY(-50%);
  transition: opacity .18s, background .18s;
}

.post-carousel__control:hover {
  background: rgba(5, 8, 9, .94);
}

.post-carousel__control:disabled {
  opacity: .22;
  cursor: default;
}

.post-carousel__control--previous {
  left: 12px;
}

.post-carousel__control--next {
  right: 12px;
}

.post-carousel__control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.post-carousel__status {
  display: flex;
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  left: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.post-carousel__status output {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(5, 8, 9, .74);
  color: white;
  font-size: .67rem;
  font-variant-numeric: tabular-nums;
}

.post-carousel__dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(5, 8, 9, .74);
  pointer-events: auto;
}

.post-carousel__dots button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.post-carousel__dots button::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .48);
  content: "";
}

.post-carousel__dots button[aria-current="true"]::after {
  background: var(--lime);
}

.video-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 18px 16px;
  padding: 15px;
  border: 1px solid rgba(255, 107, 26, .24);
  border-radius: 10px;
  background: rgba(255, 107, 26, .06);
}

.video-link span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
}

.video-link strong {
  flex: 1;
  font-size: .84rem;
}

.post-card__stats {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .74rem;
}

.post-card__reaction-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.reaction-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.reaction-stat > span:first-child {
  color: var(--lime-dark);
}

.reaction-stat strong {
  color: var(--text);
  font-weight: 800;
}

.post-card__stats > a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.post-card__actions {
  display: flex;
  gap: 4px;
  padding: 7px 10px;
  border-top: 1px solid var(--line-soft);
}

.post-card__actions form,
.post-card__actions > a {
  min-width: 0;
  flex: 1 1 0;
}

.post-card__actions button,
.post-card__actions > a {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  background: transparent;
  color: #b4bec3;
  font-size: .75rem;
  font-weight: 650;
  white-space: nowrap;
}

.post-card__actions button:hover,
.post-card__actions > a:hover,
.post-card__actions button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--lime);
}

.post-card__comments {
  padding: 0 18px 15px;
}

.comment-preview,
.comment {
  display: flex;
  gap: 9px;
  padding-top: 11px;
}

.comment-preview__bubble,
.comment__bubble {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 9px 11px;
  border-radius: 0 11px 11px;
  background: var(--surface-2);
  font-size: .78rem;
}

.comment-preview__bubble strong,
.comment__bubble strong {
  margin-right: 5px;
}

.comment__text {
  overflow-wrap: anywhere;
}

.comment__actions {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}

.comment__actions-spacer {
  flex: 1;
}

.comment-like-form {
  margin: 0;
}

.comment-like-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 3px 5px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
}

.comment-like-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.comment-like-button:hover,
.comment-like-button[aria-pressed="true"] {
  color: var(--lime);
}

.comment-like-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.comment-like-count {
  color: var(--muted);
  font-size: .69rem;
  font-variant-numeric: tabular-nums;
}

.comment__media {
  display: block;
  width: fit-content;
  max-width: min(100%, 360px);
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #050708;
  cursor: zoom-in;
}

.comment__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

.comment-preview__media {
  display: block;
  width: fit-content;
  max-width: 116px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 6px;
  background: #050708;
  cursor: zoom-in;
}

.comment-preview__media img {
  display: block;
  width: 116px;
  height: 82px;
  object-fit: cover;
}

.comment-list {
  padding: 0 20px 22px;
}

.comments-heading {
  margin: 0;
  padding: 20px 20px 5px;
  font-size: 1rem;
  text-transform: uppercase;
}

/* Visualizzatore foto interno: usa il file ottimizzato alla massima qualità. */
.media-lightbox {
  position: fixed;
  inset: 0;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 5, 4, .96);
  color: #fff;
  overflow: hidden;
}

.media-lightbox::backdrop {
  background: rgba(3, 5, 4, .88);
  backdrop-filter: blur(8px);
}

.media-lightbox[open] {
  display: block;
}

body.has-open-lightbox {
  overflow: hidden;
}

.media-lightbox__panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.media-lightbox__figure {
  display: grid;
  width: min(100%, 1680px);
  height: 100%;
  min-height: 0;
  max-height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0 auto;
  padding: max(66px, env(safe-area-inset-top)) 78px max(22px, env(safe-area-inset-bottom));
}

.media-lightbox__stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.media-lightbox__stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transition: opacity .16s ease;
}

.media-lightbox__stage.is-loading img,
.media-lightbox__stage.has-error img {
  opacity: 0;
}

.media-lightbox__loader {
  position: absolute;
  display: none;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, .22);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: lightbox-spin .8s linear infinite;
}

.media-lightbox__stage.is-loading .media-lightbox__loader {
  display: block;
}

.media-lightbox__status {
  position: absolute;
  top: calc(50% + 34px);
  max-width: min(90%, 520px);
  margin: 0;
  color: #d7ddda;
  font-size: .78rem;
  text-align: center;
}

.media-lightbox__caption {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  color: #d7ddda;
  font-size: .78rem;
}

.media-lightbox__caption [data-lightbox-counter] {
  flex: 0 0 auto;
  color: #9ba5a0;
  font-variant-numeric: tabular-nums;
}

.media-lightbox__close,
.media-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(11, 15, 13, .76);
  color: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.media-lightbox__close:hover,
.media-lightbox__nav:hover {
  border-color: var(--lime);
  background: rgba(11, 15, 13, .94);
  color: var(--lime);
}

.media-lightbox__close:focus-visible,
.media-lightbox__nav:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.media-lightbox__close svg,
.media-lightbox__nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.media-lightbox__close {
  top: max(14px, env(safe-area-inset-top));
  right: max(24px, calc(env(safe-area-inset-right) + 12px));
}

.media-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.media-lightbox__nav--previous {
  left: max(24px, calc(env(safe-area-inset-left) + 12px));
}

.media-lightbox__nav--next {
  right: max(24px, calc(env(safe-area-inset-right) + 12px));
}

.media-lightbox__nav[hidden] {
  display: none;
}

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

.comment-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--line-soft);
}

.comment-form .field,
.comment-form__composer {
  min-width: 0;
  flex: 1;
  margin: 0;
}

.comment-form .field > label,
.comment-form .field > small {
  display: none;
}

.comment-form textarea {
  min-height: 44px;
  max-height: 150px;
  resize: vertical;
}

.comment-form__media-button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 750;
}

.comment-form__media-button:hover,
.comment-form__media-button:focus-within {
  border-color: var(--lime);
  color: var(--ink);
  outline: 2px solid transparent;
}

.comment-form__media-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.comment-form__file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.comment-image-preview {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
}

.comment-image-preview img {
  display: block;
  width: auto;
  max-width: min(100%, 190px);
  height: auto;
  max-height: 140px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  object-fit: cover;
}

.comment-image-preview__remove {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: rgba(5, 7, 8, .82);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.comment-image-preview__remove:hover,
.comment-image-preview__remove:focus-visible {
  background: #050708;
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}

.sidebar-section {
  overflow: hidden;
}

.sidebar-section__body {
  padding: 6px 14px 14px;
}

.mini-event {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

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

.event-date {
  display: grid;
  width: 43px;
  height: 48px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  text-align: center;
}

.event-date strong {
  font-size: 1.08rem;
  line-height: 1;
}

.event-date span {
  color: var(--lime);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mini-event h3 {
  margin: 2px 0 3px;
  font-family: inherit;
  font-size: .78rem;
}

.mini-event p {
  margin: 0;
  color: var(--muted);
  font-size: .68rem;
}

.presence-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
}

.presence-item__copy {
  min-width: 0;
  flex: 1;
}

.presence-item__copy strong,
.presence-item__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presence-item__copy strong {
  font-size: .75rem;
}

.presence-item__copy small {
  color: var(--muted);
  font-size: .65rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 0;
}

.pagination span {
  color: var(--muted);
  font-size: .75rem;
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
}

.auth-visual {
  display: flex;
  position: relative;
  min-height: 680px;
  align-items: end;
  overflow: hidden;
  padding: clamp(40px, 7vw, 95px);
  background:
    linear-gradient(to top, rgba(5, 8, 9, .95), rgba(5, 8, 9, .2)),
    url("/assets/img/eifel-dawn.webp") center/cover;
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  content: "";
  pointer-events: none;
}

.auth-visual__copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.auth-visual h1 {
  max-width: 700px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.auth-visual p {
  max-width: 520px;
  color: #c2c9cc;
  font-size: 1.05rem;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 50px clamp(28px, 6vw, 72px);
  background: var(--surface);
}

.auth-panel__inner {
  width: 100%;
  max-width: 420px;
}

.auth-panel h2 {
  margin-bottom: 6px;
  font-size: 2rem;
  text-transform: uppercase;
}

.auth-panel__intro {
  margin-bottom: 28px;
  color: var(--muted);
}

.social-auth-options {
  display: grid;
  gap: 10px;
}

.social-auth-options form {
  margin: 0;
}

.social-auth-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 3px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .025em;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.social-auth-button:hover {
  border-color: var(--orange-dark);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.social-auth-button__mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
}

.social-provider-logo {
  width: 31px;
  height: 44px;
  flex: 0 0 31px;
  display: inline-grid;
  overflow: hidden;
  place-items: center;
  background: #fff;
  pointer-events: none;
}

.social-provider-logo__image {
  display: block;
  max-width: none;
  object-fit: contain;
}

.social-provider-logo__image--google {
  width: auto;
  height: 20px;
}

.social-provider-logo__image--apple {
  width: 31px;
  height: 44px;
}

.social-auth-button--google {
  color: #1f1f1f;
  border-color: #747775;
  background: #fff;
}

.social-auth-button--apple {
  color: #000;
  border-color: #000;
  background: #fff;
}

.social-auth-button--google:hover {
  border-color: #5f6368;
  background: #fff;
}

.social-auth-button--apple:hover {
  border-color: #000;
  background: #fff;
}

.social-auth-options--connections {
  max-width: 440px;
}

.account-access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}

.account-connections {
  margin-bottom: 18px;
}

.connection-list {
  display: grid;
  gap: 10px;
}

.connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.connection-row__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.connection-row__identity > span:last-child {
  display: grid;
  min-width: 0;
}

.connection-row__identity small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
}

.auth-switch {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: .83rem;
  text-align: center;
}

.auth-switch a {
  color: var(--lime);
  font-weight: 700;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted-2);
  font-size: .68rem;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.field {
  margin-bottom: 17px;
}

.field > label {
  display: block;
  margin-bottom: 6px;
  color: #d4dbde;
  font-size: .75rem;
  font-weight: 700;
}

.field > label span[aria-hidden] {
  color: var(--orange);
}

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #0d1113;
  color: var(--text);
  transition: border-color .18s, box-shadow .18s;
}

textarea.form-control {
  resize: vertical;
}

.avatar-field__current {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.avatar-field__current img {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-field__clear {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 12px;
}
.avatar-field__clear input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.avatar-field input[type=file]::file-selector-button {
  padding: 8px 12px;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

.form-control:focus {
  border-color: rgba(200, 255, 34, .62);
  box-shadow: 0 0 0 3px rgba(200, 255, 34, .08);
}

.form-control::placeholder {
  color: #626e74;
}

.mention-composer {
  position: relative;
  min-width: 0;
}

.mention-composer > textarea {
  width: 100%;
}

.mention-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.mention-suggestions[hidden] {
  display: none;
}

.comment-form .mention-suggestions {
  top: auto;
  bottom: calc(100% + 6px);
}

.mention-suggestion {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 6px 9px;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.mention-suggestion:hover,
.mention-suggestion.is-active {
  background: var(--surface-3);
}

.mention-suggestion__avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--lime);
  font-size: .75rem;
  font-weight: 800;
}

.mention-suggestion strong,
.mention-suggestion small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mention-suggestion small {
  color: var(--muted);
  font-size: .78rem;
}

.field small {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: .68rem;
}

.field--check > label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
}

.form-check-input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--lime);
}

.field__error,
.form-errors p {
  margin: 5px 0 0;
  color: #ff858b;
  font-size: .73rem;
}

.form-errors {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 77, 85, .26);
  border-radius: 9px;
  background: rgba(255, 77, 85, .06);
}

.form-errors p:last-child {
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: .62;
}

.avatar-upload-status {
  margin: 2px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}

.avatar-upload-status__heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--text);
  font-size: .72rem;
}

.avatar-upload-status__heading span {
  color: var(--muted);
  text-align: right;
}

.avatar-upload-status progress {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  appearance: none;
  background: var(--surface-3);
}

.avatar-upload-status progress::-webkit-progress-bar {
  background: var(--surface-3);
}

.avatar-upload-status progress::-webkit-progress-value,
.avatar-upload-status progress::-moz-progress-bar {
  border-radius: inherit;
  background: var(--lime);
}

.avatar-upload-status.is-error {
  border-color: rgba(255, 77, 85, .42);
  background: rgba(255, 77, 85, .07);
}

.avatar-upload-status.is-error .avatar-upload-status__heading strong {
  color: #ff858b;
}

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

.field--choice {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.field--choice fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field--choice legend {
  padding: 0 6px;
  color: var(--text);
  font-size: .85rem;
  font-weight: 800;
}

.choice-list {
  display: grid;
  gap: 9px;
  margin: 4px 0 10px;
}

.choice-list > div > label {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .82rem;
  line-height: 1.35;
}

.choice-list input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--lime);
}

.form-section {
  padding: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.form-section:last-child {
  border-bottom: 0;
}

.form-section h2 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.form-section__intro {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .8rem;
}

.form-page {
  width: min(calc(100% - 40px), 760px);
  margin: 36px auto 80px;
}

.form-page__heading {
  margin-bottom: 22px;
}

.form-page__heading h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.safety-note {
  padding: 13px 15px;
  border: 1px solid rgba(255, 107, 26, .24);
  border-radius: 9px;
  background: rgba(255, 107, 26, .06);
  color: #e8c0a9;
  font-size: .77rem;
}

.profile-hero {
  padding: 44px 0 28px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(130deg, rgba(200, 255, 34, .07), transparent 50%);
}

.profile-hero__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.profile-hero h1 {
  margin-bottom: 3px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: none;
}

.profile-handle {
  margin-bottom: 12px;
  color: var(--muted);
}

.profile-bio {
  max-width: 660px;
  margin-bottom: 0;
  color: #c8d0d3;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 20px;
}

.profile-metric strong,
.profile-metric span {
  display: block;
}

.profile-metric strong {
  font-size: 1.35rem;
}

.profile-metric span {
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 650px);
  align-items: start;
  justify-content: center;
  gap: 20px;
}

.profile-details {
  position: sticky;
  top: 96px;
}

.detail-list {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
}

.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
}

.detail-row:last-child {
  border: 0;
  padding-bottom: 0;
}

.detail-row span {
  color: var(--muted);
  font-size: .73rem;
}

.detail-row strong {
  font-size: .8rem;
  text-align: right;
}

.vehicle-mini {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.vehicle-mini:last-child {
  border: 0;
}

.vehicle-mini__image {
  display: grid;
  width: 68px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: var(--surface-3);
  color: var(--muted);
}

.vehicle-mini__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-mini h3 {
  margin: 3px 0 2px;
  font-family: inherit;
  font-size: .78rem;
}

.vehicle-mini p {
  margin: 0;
  color: var(--muted);
  font-size: .67rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
}

.filters .field {
  min-width: 170px;
  flex: 1;
  margin: 0;
}

.filters .field label {
  margin-bottom: 4px;
}

.filters .form-control {
  min-height: 44px;
  padding-block: 7px;
}

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

.member-grid,
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.member-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 18px;
  text-align: center;
  transition: transform .2s, border-color .2s;
}

.member-card__privacy {
  align-self: stretch;
  justify-content: center;
  margin-bottom: 14px;
}

.member-card:hover,
.vehicle-card:hover {
  border-color: rgba(200, 255, 34, .25);
  transform: translateY(-2px);
}

.member-card h2 {
  max-width: 100%;
  overflow: hidden;
  margin: 12px 0 1px;
  font-size: 1.08rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-card__handle {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .72rem;
}

.member-card__vehicle {
  min-height: 35px;
  color: #cfd6d9;
  font-size: .75rem;
}

.member-card__stats {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 18px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.member-card__stats strong,
.member-card__stats span {
  display: block;
}

.member-card__stats strong {
  font-size: .9rem;
}

.member-card__stats span {
  color: var(--muted);
  font-size: .59rem;
  text-transform: uppercase;
}

.vehicle-card {
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}

.vehicle-card__image {
  display: grid;
  height: 180px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1c2326, #0e1214);
  color: var(--muted);
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-card__body {
  padding: 18px;
}

.vehicle-card h2 {
  margin-bottom: 3px;
  font-size: 1.08rem;
}

.vehicle-card__owner {
  color: var(--muted);
  font-size: .72rem;
}

.vehicle-card__stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .7rem;
}

.vehicle-hero {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
  overflow: hidden;
}

.vehicle-hero__image {
  display: grid;
  min-height: 390px;
  place-items: center;
  background: linear-gradient(145deg, #1c2326, #0d1012);
  color: var(--muted);
}

.vehicle-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-hero__copy {
  padding: clamp(28px, 5vw, 55px);
}

.vehicle-hero__copy h1 {
  text-transform: none;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.spec {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
}

.spec span,
.spec strong {
  display: block;
}

.spec span {
  color: var(--muted);
  font-size: .64rem;
  text-transform: uppercase;
}

.spec strong {
  margin-top: 2px;
  font-size: .9rem;
}

.setup-list {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.setup-item {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, .02);
}

.setup-item__category {
  color: var(--lime);
  font-size: .68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.setup-item strong {
  font-size: .82rem;
}

.setup-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .69rem;
}

.text-button {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: .7rem;
}

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

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

.event-list-more {
  margin-top: 12px;
}

.event-list-more > summary {
  list-style: none;
}

.event-list-more > summary::-webkit-details-marker {
  display: none;
}

.event-list-more__toggle {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s, background .2s;
}

.event-list-more__toggle:hover,
.event-list-more__toggle:focus-visible {
  border-color: rgba(200, 255, 34, .38);
  background: var(--surface-2);
}

.event-list-more__toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .2s;
}

.event-list-more__open {
  display: none;
}

.event-list-more[open] .event-list-more__closed {
  display: none;
}

.event-list-more[open] .event-list-more__open {
  display: inline;
}

.event-list-more[open] .event-list-more__toggle svg {
  transform: rotate(180deg);
}

.event-list-more > .event-list {
  margin-top: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px;
  transition: border-color .2s, transform .2s;
}

.event-row:hover {
  border-color: rgba(200, 255, 34, .24);
  transform: translateY(-1px);
}

.event-row__date {
  display: grid;
  height: 75px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  text-align: center;
}

.event-row__date strong {
  font-size: 1.8rem;
  line-height: 1;
}

.event-row__date span {
  color: var(--lime);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.event-row h2 {
  margin: 5px 0;
  font-size: 1.15rem;
}

.event-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: var(--muted);
  font-size: .72rem;
}

.event-row__people {
  min-width: 96px;
  text-align: right;
}

.event-row__people strong,
.event-row__people span {
  display: block;
}

.event-row__people strong {
  font-size: 1.25rem;
}

.event-row__people span {
  color: var(--muted);
  font-size: .63rem;
  text-transform: uppercase;
}

.event-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(120deg, rgba(200, 255, 34, .09), transparent 48%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, .016) 18px 19px);
}

.event-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: end;
  gap: 35px;
}

.event-hero h1 {
  max-width: 820px;
}

.event-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #c5cdd0;
}

.event-hero__meta span {
  font-size: .8rem;
}

.event-cta {
  padding: 22px;
}

.event-cta h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) 340px;
  align-items: start;
  justify-content: center;
  gap: 20px;
}

.event-sidebar {
  display: grid;
  position: sticky;
  top: 96px;
  gap: 16px;
}

.attendee-list {
  display: grid;
  gap: 6px;
  padding: 10px 16px 16px;
}

.attendee {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
}

.attendee__copy {
  min-width: 0;
  flex: 1;
}

.attendee__copy strong,
.attendee__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attendee__copy strong {
  font-size: .75rem;
}

.attendee__copy small {
  color: var(--muted);
  font-size: .64rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.status-dot--live {
  background: #4bda6b;
  box-shadow: 0 0 0 4px rgba(75, 218, 107, .08);
}

.trip-panel {
  padding: 18px;
  border-color: rgba(75, 218, 107, .2);
}

.trip-panel h3 {
  margin-bottom: 6px;
  font-size: .95rem;
  text-transform: uppercase;
}

.trip-panel p {
  color: var(--muted);
  font-size: .74rem;
}

.empty-state {
  padding: 55px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--lime);
  font-size: 1.5rem;
}

.empty-state h2 {
  margin-bottom: 7px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.empty-state p {
  max-width: 440px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: .82rem;
}

.notification-list {
  display: grid;
  gap: 8px;
}

.notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

.notification--unread {
  border-color: rgba(200, 255, 34, .22);
  background: rgba(200, 255, 34, .035);
}

.notification__copy {
  min-width: 0;
  flex: 1;
}

.notification__copy p {
  margin: 0;
  font-size: .8rem;
}

.notification__copy time {
  color: var(--muted);
  font-size: .67rem;
}

.community-footer {
  border-top: 1px solid var(--line-soft);
  background: #07090a;
}

.community-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 26px 50px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.brand--footer {
  margin-bottom: 13px;
}

.community-footer p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
}

.community-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 9px 20px;
  color: #bcc5c9;
  font-size: .74rem;
}

.community-footer__note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.legal-copy h2 {
  margin: 32px 0 9px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.legal-copy p {
  color: #c4cdd1;
}

.legal-copy a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-draft {
  padding: 13px 15px;
  border: 1px solid rgba(255, 107, 26, .28);
  border-radius: 9px;
  background: rgba(255, 107, 26, .07);
  color: #ffd0b6 !important;
  font-size: .78rem;
}


.content--narrow {
  max-width: 680px;
}

.content--medium {
  max-width: 760px;
}

.content--wide {
  max-width: 960px;
}

.section-heading {
  padding-inline: 0;
  border: 0;
}

.context--event {
  padding: 0 0 14px;
}

.context--vehicle {
  padding: 0 0 9px;
}

.compact-section-title {
  font-size: .95rem;
  text-transform: uppercase;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 4px;
}

.mb-16 {
  margin-bottom: 16px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-12 {
  padding-top: 12px;
}

.pt-14 {
  padding-top: 14px;
}

.profile-progress progress {
  display: block;
  width: 100%;
  height: 100%;
  appearance: none;
  border: 0;
  background: transparent;
}

.profile-progress progress::-webkit-progress-bar {
  background: var(--surface-3);
}

.profile-progress progress::-webkit-progress-value,
.profile-progress progress::-moz-progress-bar {
  border-radius: inherit;
  background: var(--lime);
}


.mobile-dock {
  display: none;
}

.presence-hero {
  background:
    radial-gradient(circle at 82% 35%, rgba(200, 255, 34, .09), transparent 24%),
    linear-gradient(130deg, rgba(200, 255, 34, .06), transparent 48%);
}

.presence-count {
  display: grid;
  min-width: 180px;
  justify-items: end;
  text-align: right;
}

.presence-count strong {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 2.6rem;
  line-height: 1;
}

.presence-count span {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.presence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 20px;
}

.presence-main {
  min-width: 0;
}

.presence-filter {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(280px, 1.25fr) auto;
  align-items: end;
  gap: 18px;
  padding: 20px;
}

.presence-filter > *,
.presence-filter__fields,
.presence-filter__fields > .form-field {
  min-width: 0;
}

.presence-filter h2 {
  margin: 3px 0 0;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.presence-quick-ranges {
  display: flex;
  min-width: 0;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
}

.presence-quick-range {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  white-space: nowrap;
}

.presence-quick-range:hover,
.presence-quick-range.is-active {
  border-color: var(--lime);
  background: rgba(200, 255, 34, .09);
  color: var(--text);
}

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

.presence-filter input[type="date"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  inline-size: 100%;
  min-inline-size: 0;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: #d4dbde;
  font-size: .72rem;
  font-weight: 700;
}

.form-field--error .form-control {
  border-color: rgba(255, 77, 85, .6);
}

.field-error {
  display: block;
  margin-top: 5px;
  color: #ff8b91;
  font-size: .68rem;
}

.presence-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 14px;
}

.presence-heading h2 {
  margin: 3px 0 0;
  text-transform: uppercase;
}

.presence-roster {
  display: grid;
  gap: 12px;
}

.presence-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 18px;
}

.presence-person__profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.presence-person__profile > span {
  min-width: 0;
}

.presence-person__profile strong,
.presence-person__profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presence-person__profile strong {
  font-size: .9rem;
}

.presence-person__profile small {
  color: var(--muted);
  font-size: .69rem;
}

.presence-person__dates {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: .7rem;
}

.presence-person__dates strong {
  color: var(--text);
}

.presence-person__vehicle,
.presence-person > .muted {
  grid-column: 1 / -1;
  margin: 0;
}

.presence-person__vehicle {
  color: var(--lime);
  font-size: .73rem;
  font-weight: 700;
}

.presence-person > .muted {
  font-size: .75rem;
}

.presence-person__actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
}

.presence-sidebar {
  display: grid;
  position: sticky;
  top: 92px;
  gap: 16px;
}

.presence-own {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.presence-own:last-child {
  border-bottom: 0;
}

.presence-own strong,
.presence-own small {
  display: block;
}

.presence-own strong {
  font-size: .78rem;
}

.presence-own small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .presence-layout {
    display: block;
  }

  .presence-filter {
    grid-template-columns: 1fr;
  }

  .presence-sidebar {
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .presence-count {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .presence-filter__fields {
    grid-template-columns: 1fr;
  }

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

  .presence-person {
    grid-template-columns: 1fr;
  }

  .presence-person__dates {
    justify-content: space-between;
  }
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 2;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 20px;
    width: 240px;
    align-items: stretch;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #101518;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 11px 12px;
    border-radius: 8px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: var(--surface-3);
  }

  .header-actions {
    order: 3;
  }

  .community-grid {
    grid-template-columns: minmax(0, 650px) 280px;
  }

  .community-grid > .community-sidebar:first-child {
    display: none;
  }

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

@media (max-width: 820px) {
  body {
    padding-bottom: 65px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: .92rem;
  }

  .brand small {
    font-size: .54rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: none !important;
  }

  .account-menu__name,
  .header-actions > .button {
    display: none;
  }

  .flash-stack {
    top: 72px;
  }

  .community-grid {
    display: block;
    width: min(100% - 22px, 650px);
    padding-top: 12px;
  }

  .community-grid > .community-sidebar {
    display: none;
  }

  .mobile-dock {
    display: grid;
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    height: 65px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(10, 13, 15, .96);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a {
    display: grid;
    grid-template-rows: 34px auto;
    align-content: center;
    justify-items: center;
    gap: 2px;
    color: var(--muted);
    font-size: .58rem;
    font-weight: 650;
  }

  .mobile-dock a > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    line-height: 1;
  }

  .mobile-dock__icon svg {
    display: block;
    width: 23px;
    height: 23px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    shape-rendering: geometricPrecision;
  }

  .mobile-dock__icon--helmet svg {
    width: 27px;
    height: 27px;
  }

  .mobile-dock__create > .mobile-dock__icon {
    border-radius: 50%;
    background: var(--lime);
    color: #101600;
  }

  .mobile-dock__create .mobile-dock__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.1;
  }

  .page-hero {
    padding: 38px 0 28px;
  }

  .page-hero__inner {
    align-items: start;
    flex-direction: column;
  }

  .auth-page {
    display: block;
    min-height: 0;
  }

  .auth-visual {
    min-height: 290px;
    padding: 42px 28px;
  }

  .auth-visual h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .auth-panel {
    padding: 42px 24px 70px;
  }

  .profile-hero__grid {
    grid-template-columns: auto 1fr;
  }

  .profile-hero__grid > .profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .profile-layout,
  .event-layout {
    display: block;
  }

  .profile-details,
  .event-sidebar {
    position: static;
    margin-bottom: 16px;
  }

  .event-hero__grid {
    display: block;
  }

  .event-cta {
    margin-top: 24px;
  }

  .vehicle-hero {
    display: block;
  }

  .vehicle-hero__image {
    min-height: 280px;
  }

  .community-footer {
    display: none;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.35rem;
  }

  .hide-small {
    display: none !important;
  }

  .header-actions {
    gap: 6px;
  }

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

  .avatar--xl {
    width: 86px;
    height: 86px;
  }

  .composer {
    padding: 13px;
  }

  .composer .button {
    display: none;
  }

  .post-card {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .post-card__actions button,
  .post-card__actions > a {
    font-size: .68rem;
  }

  .post-card__stats {
    align-items: flex-start;
  }

  .post-media img {
    min-height: 180px;
  }

  .comment-form {
    gap: 8px;
    padding: 13px 12px;
  }

  .comment-form__media-button {
    width: 44px;
    flex: 0 0 44px;
    padding: 0;
  }

  .comment-form__media-label {
    display: none;
  }

  .comment__media {
    max-width: 100%;
  }

  .comment__media img {
    max-height: 260px;
  }

  .media-lightbox__figure {
    padding: max(64px, env(safe-area-inset-top)) 10px max(18px, env(safe-area-inset-bottom));
  }

  .media-lightbox__caption {
    min-height: 42px;
    padding: 8px 4px 0;
    font-size: .7rem;
  }

  .media-lightbox__nav {
    top: auto;
    bottom: max(62px, calc(env(safe-area-inset-bottom) + 44px));
    width: 44px;
    height: 44px;
    transform: none;
  }

  .media-lightbox__close {
    right: max(14px, calc(env(safe-area-inset-right) + 8px));
  }

  .media-lightbox__nav--previous {
    left: max(14px, calc(env(safe-area-inset-left) + 8px));
  }

  .media-lightbox__nav--next {
    right: max(14px, calc(env(safe-area-inset-right) + 8px));
  }

  .form-page {
    width: min(calc(100% - 24px), 760px);
    margin-top: 24px;
  }

  .form-grid {
    display: block;
  }

  .form-section,
  .card--padded {
    padding: 18px;
  }

  .account-access-card,
  .connection-row {
    align-items: stretch;
    flex-direction: column;
  }

  .connection-row form,
  .connection-row .button {
    width: 100%;
  }

  .profile-hero {
    padding-top: 30px;
  }

  .profile-hero__grid {
    gap: 14px;
  }

  .profile-hero h1 {
    font-size: 2rem;
  }

  .profile-bio {
    grid-column: 1 / -1;
  }

  .member-grid,
  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .event-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 13px;
    padding: 13px;
  }

  .event-row__date {
    height: 65px;
  }

  .event-row__people {
    display: none;
  }

  .event-row h2 {
    font-size: .98rem;
  }

  .setup-item {
    grid-template-columns: 1fr auto;
  }

  .setup-item__category {
    grid-column: 1 / -1;
  }

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

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

  .filters .field {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .feed-tab__label--wide,
  .post-action__label--wide {
    display: none;
  }

  .feed-tab__label--compact,
  .post-action__label--compact {
    display: inline;
  }
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-summary-card {
  min-width: 0;
  padding: 22px;
}

.admin-summary-card strong,
.admin-summary-card span {
  display: block;
}

.admin-summary-card strong {
  color: var(--lime);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.admin-summary-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.moderation-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.moderation-list {
  display: grid;
  padding: 8px 18px 16px;
}

.moderation-list > .muted {
  margin: 10px 0;
}

.moderation-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.moderation-item:last-child {
  border-bottom: 0;
}

.moderation-item > span:first-child {
  min-width: 0;
}

.moderation-item strong,
.moderation-item small {
  display: block;
  overflow-wrap: anywhere;
}

.moderation-item strong {
  font-size: .8rem;
}

.moderation-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .67rem;
}

.staff-notice {
  padding: 15px;
  border: 1px solid rgba(255, 107, 26, .28);
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 26, .07);
  color: #ffd0b6;
  overflow-wrap: anywhere;
}

.staff-notice p {
  margin: 7px 0;
}

.staff-notice small {
  color: var(--muted);
}

.post-card__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 9px;
}

@media (max-width: 820px) {
  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moderation-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .moderation-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Dashboard campagne: esclusivamente conteggi UTM aggregati. */

.campaign-dashboard {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.campaign-periods {
  display: flex;
  max-width: 100%;
  gap: 6px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  scrollbar-width: thin;
}

.campaign-periods a {
  display: inline-flex;
  min-width: max-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.campaign-periods a:hover,
.campaign-periods a.is-active {
  background: var(--ink);
  color: var(--white);
}

.campaign-range {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.campaign-range p {
  margin: 0;
  font-size: .78rem;
}

.campaign-range strong {
  color: var(--text);
}

.campaign-summary-grid .admin-summary-card strong {
  color: var(--orange-dark);
}

.campaign-summary-grid .admin-summary-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .68rem;
}

.campaign-privacy-note {
  padding: 18px 20px;
  border: 1px solid rgba(99, 117, 31, .28);
  background: rgba(216, 245, 106, .15);
}

.campaign-privacy-note strong,
.campaign-privacy-note p {
  display: inline;
}

.campaign-privacy-note p {
  color: var(--muted-2);
  font-size: .78rem;
}

.campaign-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  align-items: start;
  gap: 16px;
}

.campaign-card {
  min-width: 0;
}

.campaign-card .card__header > div {
  min-width: 0;
}

.campaign-daily-list {
  display: grid;
  padding: 8px 20px 20px;
}

.campaign-day {
  display: grid;
  min-width: 0;
  grid-template-columns: 62px minmax(80px, 1fr) 86px 160px;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .72rem;
}

.campaign-day:last-child {
  border-bottom: 0;
}

.campaign-day time {
  font-weight: 800;
  text-transform: uppercase;
}

.campaign-day meter {
  width: 100%;
  height: 10px;
  border: 0;
  background: var(--paper-deep);
}

.campaign-day meter::-webkit-meter-bar {
  border: 0;
  border-radius: 0;
  background: var(--paper-deep);
}

.campaign-day meter::-webkit-meter-optimum-value {
  background: var(--orange);
}

.campaign-day meter::-moz-meter-bar {
  background: var(--orange);
}

.campaign-day > span {
  text-align: right;
}

.campaign-day small {
  color: var(--muted);
  text-align: right;
}

.campaign-definitions {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 20px 12px;
}

.campaign-definitions > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.campaign-definitions > div:last-child {
  border-bottom: 0;
}

.campaign-definitions dt {
  font-size: .78rem;
  font-weight: 800;
}

.campaign-definitions dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .72rem;
}

.campaign-instagram-note {
  margin: 0;
  padding: 0 20px 20px;
}

.campaign-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.campaign-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: .74rem;
}

.campaign-table th,
.campaign-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.campaign-table th {
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.campaign-table tbody tr:last-child td {
  border-bottom: 0;
}

.campaign-table code {
  overflow-wrap: anywhere;
  color: var(--text);
}

.campaign-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.campaign-empty {
  padding: 34px 20px;
  text-align: center;
}

.campaign-empty p {
  max-width: 620px;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: .78rem;
}

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

@media (max-width: 680px) {
  .campaign-range {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .campaign-day {
    grid-template-columns: 54px minmax(60px, 1fr) 72px;
    gap: 9px;
  }

  .campaign-day small {
    grid-column: 1 / -1;
    padding-bottom: 8px;
  }
}
