:root {
  --color-page: #ffffff;
  --color-heading: #171a20;
  --color-body: #171a20;
  --color-body-secondary: #5c5e62;
  --color-footer: #5c5e62;
  --color-btn-bg: #3e6ae1;
  --color-btn-bg-hover: #2e51b3;
  --color-btn-text: #ffffff;
  --color-input-bg: #ffffff;
  --color-input-border: #d0d1d2;
  --color-border-subtle: #e8e8e8;
  --color-link-accent: #3e6ae1;
  --color-header-bg: rgba(255, 255, 255, 0.94);
  --color-gradient-blue: #3e6ae1;
  --color-gradient-black: #171a20;

  --bg: var(--color-page);
  --bg-muted: #f4f4f4;
  --surface: var(--color-input-bg);
  --text: var(--color-body);
  --text-muted: var(--color-body-secondary);
  --border: var(--color-input-border);
  --primary: var(--color-btn-bg);
  --primary-dark: var(--color-btn-bg-hover);
  --text-on-primary: var(--color-btn-text);
  --accent-soft: rgba(62, 106, 225, 0.12);
  --accent-text: var(--color-btn-bg);
  --radius: 14px;
  --shadow: none;
  --font: "Gotham SSm A", "Gotham SSm B", "Gotham SSm", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Gotham SSm A", "Gotham SSm B", "Gotham SSm", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
}

main {
  flex: 1 0 auto;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header-nav-shell > summary {
  list-style: none;
  cursor: pointer;
}

.header-nav-shell > summary::-webkit-details-marker {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a:not(.btn):not(.nav-top-link) {
  color: var(--color-heading);
  text-decoration: none;
  font-weight: 500;
}

.nav a:not(.btn):not(.nav-top-link):hover {
  color: var(--color-body-secondary);
}

.nav .btn-ghost,
.nav .btn-primary {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border-color: var(--color-btn-bg);
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary,
.btn-outline,
.btn-ghost,
button.btn {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border-color: var(--color-btn-bg);
  box-shadow: none;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-ghost:hover,
button.btn:hover {
  background: var(--color-btn-bg-hover);
  border-color: var(--color-btn-bg-hover);
  color: var(--color-btn-text);
}

.btn-lg {
  padding: 0.75rem 1.4rem;
}

.btn-block {
  width: 100%;
  display: flex;
  flex-shrink: 0;
}

.page-intro {
  padding-top: 2.5rem;
  padding-bottom: 0;
}

.page-intro h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0.5rem 0 1rem;
  max-width: 40rem;
}

.page-intro .lead {
  max-width: 42rem;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--color-heading);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.gradient-text {
  background: linear-gradient(
    90deg,
    var(--color-gradient-black) 0%,
    var(--color-gradient-black) 55%,
    var(--color-gradient-blue) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hero-video-wrap {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  background: #000;
  isolation: isolate;
  cursor: pointer;
  line-height: 0;
  font-size: 0;
}

.hero-video {
  position: absolute;
  inset: -1px;
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.hero-video-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.hero-video-wrap:hover .hero-video-hint,
.hero-video-wrap:focus-within .hero-video-hint {
  opacity: 1;
}

@media (min-width: 901px) {
  .hero-video-wrap {
    width: min(100%, 32rem);
  }
}

@media (max-width: 860px) {
  .hero-media {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero-video-wrap {
    width: min(100%, 24rem);
  }
}

.hero-card {
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: none;
}

.check-list {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.section {
  padding: 3.5rem 0;
}

.section-muted {
  background: var(--color-page);
}

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  max-width: 32rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

#services .service-card {
  min-width: 0;
}

#services .service-card p {
  font-size: 0.875rem;
  line-height: 1.45;
}

/* Even vertical rhythm: cards → coming soon → next section */
#services.section {
  padding-bottom: 2rem;
}

#services .services-coming-soon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 2rem 0;
  text-align: center;
}

#services .services-coming-soon {
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 1rem;
  text-align: center;
}

#how.section {
  padding-top: 2rem;
}

.service-card {
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.service-card h3 {
  margin-top: 0;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card .price-amount {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.price-card .price-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card .price-year-total {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  vertical-align: middle;
}

.price-card .muted {
  margin: 0;
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-box {
  text-align: center;
  background: transparent;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-footer);
  font-size: 0.9rem;
}

.auth-section {
  padding: 3rem 0 4rem;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(420px, 92vw);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: none;
}

.auth-section--feedback {
  justify-content: stretch;
}

.auth-section--feedback .container {
  width: min(52rem, 94vw);
}

.auth-card--feedback {
  width: 100%;
  max-width: none;
  border-radius: calc(var(--radius) + 2px);
}

.auth-card--feedback .form {
  width: 100%;
}

.auth-card-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.25rem;
}

.auth-card-actions .form {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.auth-card > a.btn.btn-block {
  margin-top: 1.5rem;
}

.auth-footer {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  text-align: center;
}

.auth-footer a,
.auth-footer a:visited {
  color: var(--color-body-secondary);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover,
.auth-footer a:active,
.auth-footer a:focus-visible {
  color: var(--color-link-accent);
  text-decoration: underline;
}

main a:not(.btn):not(.logo):not(.nav-top-link) {
  color: var(--color-link-accent);
}

main a:not(.btn):not(.logo):not(.nav-top-link):hover {
  color: var(--color-btn-bg-hover);
}

.form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-body-secondary);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  max-width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-input-border);
  border-radius: 12px;
  font: inherit;
  background: var(--color-input-bg);
  color: var(--color-body);
  box-sizing: border-box;
}

.form textarea {
  display: block;
  min-height: 16rem;
  padding: 0.85rem 1rem;
  line-height: 1.5;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-btn-bg);
}

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

.small {
  font-size: 0.85rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.feedback-submit-success {
  margin: 1rem 0 0.75rem;
  padding: 1rem 1.15rem;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #34d399;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.14);
  animation: feedback-submit-success-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feedback-submit-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.feedback-submit-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #065f46;
  letter-spacing: -0.02em;
}

.feedback-submit-success-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #047857;
  line-height: 1.35;
}

@keyframes feedback-submit-success-pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.configure-page a,
.configure-page a:visited {
  color: var(--color-link-accent);
}

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

.spot-card {
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.spot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: capitalize;
  background: #e8e8e8;
  color: var(--color-body);
}

.badge-active {
  background: #d1fae5;
  color: #065f46;
}

.badge-active_unconfigured {
  background: #dbeafe;
  color: #1e40af;
}

.badge-pending_payment {
  background: #fef3c7;
  color: #92400e;
}

.badge-failed {
  background: #fee2e2;
  color: #991b1b;
}

.spot-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}

.spot-meta dt {
  font-weight: 600;
  color: var(--text-muted);
}

.buy-row {
  margin-bottom: 1.5rem;
}

.account-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
  margin-top: 1.5rem;
}

.account-card {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: none;
}

.account-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

@media (max-width: 720px) {
  .account-grid {
    flex-direction: column;
  }
}

.purchase-page {
  margin: 0;
}

.purchase-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-align: center;
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.purchase-plan-price {
  margin: 0.65rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.purchase-billing-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.plan-choice {
  display: block;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--text);
}

.plan-choice:hover {
  border-color: var(--color-btn-bg);
}

.plan-choice:has(input:checked) {
  border-color: var(--color-btn-bg);
  box-shadow: 0 0 0 1px var(--color-btn-bg);
}

.plan-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.purchase-choices {
  margin-bottom: 0.5rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.turnstile-wrap {
  margin: 0.5rem 0 1rem;
}

.verify-link-box {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-input-border);
  background: var(--color-input-bg);
}

.break-url {
  word-break: break-all;
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.account-card--wide {
  flex: 1 1 100%;
}

/* Settings: 2-column cards; vehicles full-width but compact */
.settings-page .account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: stretch;
}

.settings-page .account-card {
  flex: unset;
  min-width: 0;
  padding: 1.5rem 1.75rem;
}

.settings-page .account-card--wide {
  grid-column: 1 / -1;
  padding: 1.25rem 1.5rem 1.5rem;
}

.settings-page .vehicles-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.settings-page .vehicle-slot {
  margin: 0;
  padding: 0.65rem 0.85rem 0.85rem;
  min-width: 0;
}

.settings-page .vehicle-slot legend,
.settings-page .vehicle-slot-legend {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.settings-page .vehicle-slot-remove {
  flex-shrink: 0;
  min-width: 2rem;
  padding: 0.15rem 0.4rem;
  font-size: 1.25rem;
  line-height: 1;
}

.settings-page .vehicles-add-btn {
  margin-bottom: 1rem;
}

.settings-page .vehicle-slot label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.settings-page .vehicle-slot label:last-child {
  margin-bottom: 0;
}

.settings-page .vehicles-featured-label {
  max-width: 28rem;
}

@media (max-width: 720px) {
  .settings-page .account-grid {
    grid-template-columns: 1fr;
  }

  .settings-page .vehicles-slots {
    grid-template-columns: 1fr;
  }
}

.settings-avatar-preview {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
}

.vehicle-slot {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
}

.vehicle-slot legend {
  font-weight: 600;
  padding: 0 0.35rem;
}

main:has(.community-feedback-page--chat) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

.community-feedback-page--chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  margin: 0;
}

.community-feedback-page--chat .community-feedback-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: min(920px, 92vw);
  height: calc(100dvh - 4.75rem);
  max-height: calc(100dvh - 4.75rem);
  padding: 0.75rem 0 0.5rem;
  box-sizing: border-box;
}

.community-feedback-header {
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.community-feedback-header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.community-feedback-intro {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.community-chat-error {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.community-feedback-page .community-chat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  background: var(--color-input-bg, rgba(0, 0, 0, 0.15));
}

.community-chat-composer {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 0.65rem 0 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid var(--color-border-subtle);
}

.community-chat-composer-field {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.community-chat-composer textarea {
  width: 100%;
  min-height: 2.75rem;
  max-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  resize: none;
  line-height: 1.35;
  box-sizing: border-box;
  border: 1px solid var(--color-input-border);
  border-radius: 1.25rem;
  background: var(--color-input-bg);
  color: var(--color-body);
  font: inherit;
}

.community-chat-composer textarea:focus {
  outline: none;
  border-color: var(--color-btn-bg);
}

.community-chat-send {
  flex-shrink: 0;
  margin-bottom: 0;
  min-height: 2.75rem;
}

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

.community-chat-empty {
  margin: 1.5rem 0;
  text-align: center;
}

.community-chat-item {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
}

.community-chat-item--mine {
  border-color: var(--color-border-subtle);
  background: rgba(255, 255, 255, 0.03);
}

.community-chat-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.community-chat-avatar--placeholder {
  display: inline-block;
  background: var(--color-border-subtle);
}

.community-chat-body-wrap {
  min-width: 0;
  flex: 1;
}

.community-chat-meta {
  margin: 0 0 0.1rem;
  font-size: 0.75rem;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
}

.community-chat-name {
  font-weight: 600;
}

.community-chat-sep {
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.85;
}

.community-chat-vehicle {
  font-size: inherit;
  color: var(--text-muted);
  font-weight: 500;
}

.community-chat-time {
  font-size: inherit;
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
}

.community-chat-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.community-chat-avatar-btn {
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
}

.community-chat-avatar-btn:focus-visible {
  outline: 2px solid var(--color-btn-bg);
  outline-offset: 2px;
}

.community-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.community-profile-modal[hidden] {
  display: none;
}

.community-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.community-profile-dialog {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  max-height: min(80vh, 28rem);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-page, #0f1115);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.community-profile-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
  font-size: 1.35rem;
  line-height: 1;
}

.community-profile-card {
  text-align: center;
}

.community-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.65rem;
  display: block;
}

.community-profile-avatar--placeholder {
  display: block;
  background: var(--color-border-subtle);
  margin: 0 auto 0.65rem;
}

.community-profile-name {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.community-profile-bio {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

.community-profile-vehicles-title {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: left;
}

.community-profile-vehicles {
  margin: 0;
  padding-left: 1.1rem;
  text-align: left;
  font-size: 0.875rem;
}

.settings-page .account-card textarea[name="profile_bio"] {
  min-height: 6rem;
  resize: vertical;
}

