/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
@import url("https://esm.sh/cropperjs@1.6.1/dist/cropper.min.css");

/* Global Page Loader ------------------------------------------------------ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 180ms ease;
}

.page-loader--hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(12px);
}

.page-loader__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.25rem 2.5rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.85), rgba(2, 6, 23, 0.9));
  box-shadow: 0 40px 120px -60px rgba(56, 189, 248, 0.65);
}

.page-loader__spinner {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 3px solid rgba(56, 189, 248, 0.25);
  border-top-color: rgba(56, 189, 248, 0.95);
  animation: page-loader-spin 0.9s linear infinite;
}

.page-loader__message {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.85);
  text-align: center;
}

.page-loader__progress {
  position: relative;
  width: min(360px, 70vw);
  height: 4px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  overflow: hidden;
}

.page-loader__progress-bar {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.95), rgba(14, 165, 233, 0.9));
  transition: width 220ms ease-out;
}

@keyframes page-loader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Scrollbar styling ----------------------------------------------------- */

.tg-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) rgba(15, 23, 42, 0.6);
}

.tg-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.tg-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 9999px;
}

.tg-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.85), rgba(37, 99, 235, 0.75));
  border-radius: 9999px;
  border: 2px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.45);
}

.tg-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.9), rgba(37, 99, 235, 0.85));
}

/* Post Animations -------------------------------------------------------- */

@keyframes post-fade-out {
  0% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scaleY(0.95);
  }
}

.post-removing {
  animation: post-fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cropper-bg {
  background-color: rgba(15, 23, 42, 0.9);
}

/* Accordions ------------------------------------------------------------ */

.tg-accordion-panel {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 360ms ease, opacity 240ms ease;
}

.tg-accordion-panel--open {
  max-height: 1200px;
  opacity: 1;
}

.tg-accordion-panel--closed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Messaging ------------------------------------------------------------- */

.messaging-index {
  display: block;
  padding-block: clamp(4rem, 8vw, 6rem);
  background: radial-gradient(120% 120% at 10% 0%, rgba(14, 116, 144, 0.18), transparent 68%),
              linear-gradient(180deg, rgba(8, 15, 28, 0.96), rgba(6, 12, 24, 0.92));
  color: rgba(226, 232, 240, 0.92);
}

.messaging-index__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 4.25rem);
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.messaging-index__hero {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3rem);
  padding: clamp(2.25rem, 4vw, 3rem);
  border-radius: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: linear-gradient(145deg, rgba(12, 22, 44, 0.92), rgba(12, 25, 52, 0.88));
  box-shadow: 0 30px 80px -50px rgba(37, 99, 235, 0.55);
}

.messaging-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(148, 163, 184, 0.7);
}

.messaging-index__headline {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  font-weight: 800;
  color: rgba(241, 245, 249, 0.98);
}

.messaging-index__lede {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.78);
  max-width: 46ch;
}

.messaging-index__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.messaging-index__hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.9);
  transition: transform 0.18s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.messaging-index__hero-button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.55);
  color: #F0F9FF;
}

.messaging-index__hero-button--primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(37, 99, 235, 0.8));
  color: #0B1120;
  box-shadow: 0 24px 60px -32px rgba(37, 99, 235, 0.6);
}

.messaging-index__hero-button--ghost {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.38);
  color: rgba(203, 213, 225, 0.9);
}

.messaging-index__hero-button--ghost:hover {
  border-color: rgba(148, 163, 184, 0.6);
}

.messaging-index__metrics {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 1rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(71, 85, 105, 0.45);
}

.messaging-index__metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.messaging-index__metric dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
  margin: 0;
}

.messaging-index__metric dd {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: rgba(241, 245, 249, 0.96);
}

.messaging-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.8vw, 2.5rem);
}

.messaging-index__column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.messaging-index__card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.85rem, 3vw, 2.4rem);
  border-radius: clamp(1.6rem, 3.2vw, 2rem);
  border: 1px solid rgba(71, 85, 105, 0.45);
  background: rgba(10, 17, 34, 0.78);
  box-shadow: 0 26px 60px -40px rgba(15, 23, 42, 0.9);
}

.messaging-index__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem;
}

.messaging-index__card-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.95);
}

.messaging-index__card-header p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.76);
  line-height: 1.6;
}

.messaging-index__card-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1.1rem;
  background: rgba(37, 99, 235, 0.22);
  color: rgba(191, 219, 254, 0.95);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.messaging-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-height: clamp(640px, 78vh, 960px);
}

.messaging-layout__column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.messaging-layout__column--sidebar,
.messaging-layout__column--details {
  position: relative;
}

.messaging-panel {
  border-radius: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: linear-gradient(150deg, rgba(8, 16, 32, 0.96), rgba(8, 20, 42, 0.92));
  padding: clamp(1.85rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 30px 80px -48px rgba(37, 99, 235, 0.6);
}

.messaging-panel--sidebar {
  background: linear-gradient(150deg, rgba(10, 19, 38, 0.94), rgba(8, 16, 32, 0.9));
}

.messaging-panel--conversation {
  --messaging-conversation-padding-inline: clamp(1.75rem, 3vw, 2.5rem);
  --messaging-conversation-padding-block: clamp(1.85rem, 3vw, 2.4rem);
  padding: var(--messaging-conversation-padding-block) var(--messaging-conversation-padding-inline);
  background: linear-gradient(160deg, rgba(6, 16, 32, 0.96), rgba(8, 20, 42, 0.92));
}

.messaging-panel--details {
  background: linear-gradient(160deg, rgba(12, 23, 44, 0.92), rgba(10, 21, 40, 0.9));
}

.messaging-panel__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.messaging-panel__header--conversation {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
}

.messaging-panel__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.messaging-panel__footer {
  margin-top: auto;
}

@media (max-width: 1279px) {
  .messaging-layout {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }

  .messaging-layout__column--details {
    display: none;
  }
}

@media (max-width: 1023px) {
  .messaging-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .messaging-layout__column--sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .messaging-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .messaging-index__metrics {
    grid-auto-flow: row;
    padding-inline: 1.25rem;
  }

  .messaging-index__hero {
    padding: 2.25rem;
  }
}

@media (max-width: 640px) {
  .messaging-index__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .messaging-index__inner {
    padding-inline: 1.25rem;
  }

  .messaging-index__hero {
    padding: 2rem;
  }

  .messaging-index__metrics {
    gap: 1.25rem;
  }

  .messaging-index__hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1440px) {
  .messaging-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(280px, 340px);
  }

  .messaging-index__hero {
    padding: 3.25rem;
  }

  .messaging-index__metrics {
    padding: 1.25rem 1.75rem;
  }
}

.messaging-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.messaging-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.messaging-form__field--split {
  gap: 1rem;
}

.messaging-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.85);
}

.messaging-form__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
  font-weight: 600;
}

.messaging-form__label--subtle {
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.55);
  font-weight: 500;
}

.messaging-form__input {
  border-radius: 0.95rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.92);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.messaging-form__input::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.messaging-form__input:focus {
  outline: none;
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

.messaging-form__field--nested {
  gap: 0.45rem;
}

.messaging-form__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.messaging-form__hint {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.65);
}

.messaging-form__submit {
  align-self: flex-start;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(37, 99, 235, 0.88));
  color: #0B1120;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 34px -24px rgba(37, 99, 235, 0.55);
}

.messaging-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -26px rgba(14, 165, 233, 0.52);
}

.messaging-index__card--threads {
  gap: 1.25rem;
}

.messaging-index__card--activity {
  gap: 1.4rem;
}

.messaging-index__activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.25rem;
  background: rgba(37, 99, 235, 0.2);
  color: rgba(191, 219, 254, 0.95);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.28);
}

.messaging-index__card--activity h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.messaging-index__card--activity p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.75);
}

.messaging-index__activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.05rem;
}

.messaging-index__activity-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.messaging-index__activity-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
  margin-top: 0.35rem;
}

.messaging-index__activity-dot--alert {
  background: rgba(248, 113, 113, 0.9);
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.25);
}

.messaging-index__activity-dot--info {
  background: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.24);
}

.messaging-index__activity-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.messaging-index__activity-meta {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.62);
}

.messaging-index__activity-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: rgba(191, 219, 254, 0.94);
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.messaging-index__activity-link:hover {
  border-color: rgba(125, 211, 252, 0.6);
  color: #F0F9FF;
  transform: translateY(-1px);
}

.messaging-thread-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.messaging-thread-list__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.messaging-thread-list__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.messaging-thread-list__count {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.messaging-thread-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.35rem);
}

.messaging-thread-list__item {
  margin: 0;
}

.messaging-thread {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(10, 17, 34, 0.72);
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.messaging-thread:hover {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 20px 42px -32px rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
}

.messaging-thread--active {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 26px 48px -36px rgba(37, 99, 235, 0.55);
}

.messaging-thread__body {
  display: grid;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.messaging-thread__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.messaging-thread__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messaging-thread__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.18);
  color: rgba(191, 219, 254, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.messaging-thread__presence {
  display: inline-flex;
  align-items: center;
}

.messaging-header__presence {
  color: rgba(148, 163, 184, 0.72);
}

.messaging-thread__preview {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.messaging-thread__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.messaging-thread__timestamp {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.68);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.messaging-thread__time {
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.messaging-thread__manage {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.messaging-thread__manage:hover {
  border-color: rgba(125, 211, 252, 0.55);
  color: #F0F9FF;
  transform: translateY(-1px);
}

.messaging-thread-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 2.5rem;
  border-radius: clamp(1.2rem, 2.2vw, 1.6rem);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
}

.messaging-thread-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1.1rem;
  background: rgba(37, 99, 235, 0.18);
  color: rgba(191, 219, 254, 0.92);
}

.messaging-thread-empty h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.94);
}

.messaging-thread-empty p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.72);
}

@media (max-width: 1024px) {
  .messaging-index__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .messaging-thread {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .messaging-thread__aside {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .messaging-thread__manage {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .messaging-index {
    padding-block: 3rem;
  }

  .messaging-index__hero {
    padding: 2.25rem;
  }

  .messaging-index__card {
    padding: 1.65rem;
  }
}

.messaging-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.92);
}

.messaging-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.55), rgba(37, 99, 235, 0.52));
  color: rgba(240, 249, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.messaging-button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.6);
  color: #F0F9FF;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.65), rgba(37, 99, 235, 0.6));
}

.messaging-button--ghost {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(203, 213, 225, 0.9);
}

.messaging-button--ghost:hover {
  border-color: rgba(148, 163, 184, 0.55);
  color: rgba(226, 232, 240, 0.95);
}

.messaging-button--danger {
  border-color: rgba(248, 113, 113, 0.45);
  background: linear-gradient(140deg, rgba(248, 113, 113, 0.3), rgba(127, 29, 29, 0.4));
  color: rgba(254, 226, 226, 0.92);
}

.messaging-button--danger:hover {
  border-color: rgba(248, 113, 113, 0.65);
  background: linear-gradient(140deg, rgba(248, 113, 113, 0.4), rgba(127, 29, 29, 0.55));
  color: #FFE4E6;
}

.messaging-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .messaging-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.messaging-header__primary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.messaging-header__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.messaging-header__title {
  font-size: clamp(1.45rem, 1.3vw + 1rem, 1.95rem);
  font-weight: 700;
  color: rgba(240, 249, 255, 0.96);
  text-shadow: 0 8px 20px rgba(14, 165, 233, 0.18);
}

.messaging-header__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.6), rgba(37, 99, 235, 0.55));
  box-shadow: 0 12px 24px -14px rgba(56, 189, 248, 0.55);
  color: rgba(224, 242, 254, 0.95);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.messaging-header__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.78);
}

.messaging-header__dot {
  color: rgba(56, 189, 248, 0.55);
}

.messaging-header__aside {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .messaging-header__aside {
    width: 100%;
    justify-content: space-between;
  }
}

.messaging-header__avatars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.messaging-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 2px solid rgba(15, 23, 42, 0.9);
  background: rgba(30, 58, 138, 0.45);
  color: rgba(191, 219, 254, 0.95);
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  box-shadow: 0 12px 32px -20px rgba(56, 189, 248, 0.55);
}

.messaging-avatar__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.messaging-avatar__initials {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.messaging-avatar--more {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(30, 64, 175, 0.45);
  font-size: 0.8rem;
}

.messaging-avatar--small {
  width: 2.25rem;
  height: 2.25rem;
}

.messaging-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .messaging-header__actions {
    flex: 1 1 100%;
    justify-content: flex-end;
    margin-left: auto;
  }
}

.messaging-shell {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: 0;
}

.messaging-shell__log {
  min-height: 0;
}

.messaging-shell__composer {
  position: relative;
  z-index: 1;
}

.messaging-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.messaging-info__section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(71, 85, 105, 0.45);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08), 0 18px 32px -26px rgba(37, 99, 235, 0.35);
}

.messaging-info__title {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.75);
}

.messaging-info__stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.9);
}

.messaging-info__stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
  margin-bottom: 0.2rem;
}

.messaging-info__last-message {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.messaging-info__last-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(148, 163, 184, 0.75);
}

.messaging-info__last-meta strong {
  color: rgba(226, 232, 240, 0.9);
}

.messaging-info__last-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.9);
}

.messaging-info__last-body--empty {
  font-style: italic;
  color: rgba(148, 163, 184, 0.7);
}

.messaging-info__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.messaging-info__action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 1rem;
  padding: 0.65rem 0.95rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.55);
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.messaging-info__action:hover {
  border-color: rgba(125, 211, 252, 0.6);
  background: linear-gradient(140deg, rgba(30, 64, 175, 0.45), rgba(14, 165, 233, 0.28));
  color: rgba(241, 245, 249, 0.95);
}

.messaging-info__action--danger {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(51, 17, 26, 0.55);
  color: rgba(254, 226, 226, 0.92);
}

.messaging-info__action--danger:hover {
  border-color: rgba(248, 113, 113, 0.65);
  background: rgba(127, 29, 29, 0.5);
  color: #FFE4E6;
}

.messaging-details__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.messaging-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.messaging-details__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.92);
}

.messaging-details__manage {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.messaging-details__manage:hover {
  color: rgba(226, 232, 240, 0.92);
  border-color: rgba(125, 211, 252, 0.6);
}

.messaging-details__list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.messaging-details__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border-radius: 1.3rem;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(71, 85, 105, 0.5);
  box-shadow: 0 16px 32px -28px rgba(37, 99, 235, 0.35);
}

.messaging-details__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.messaging-details__name {
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.messaging-details__handle {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.58);
}

.messaging-details__presence {
  margin-top: 0.4rem;
}

.sidebar-panel {
  position: relative;
  isolation: isolate;
}

.sidebar-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(8, 13, 23, 0.0) 65%);
  transition: opacity 0.35s ease;
  opacity: 1;
  z-index: -1;
}

.sidebar-panel:hover::after {
  opacity: 0.75;
}

.presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(30, 41, 59, 0.7);
  color: rgba(148, 163, 184, 0.9);
}

.presence-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: currentColor;
}

.presence-badge--online {
  background: rgba(16, 185, 129, 0.16);
  color: rgba(52, 211, 153, 0.92);
}

.presence-badge--recently_active {
  background: rgba(251, 191, 36, 0.18);
  color: rgba(251, 191, 36, 0.92);
}

.presence-badge--offline {
  background: rgba(100, 116, 139, 0.18);
  color: rgba(148, 163, 184, 0.75);
}

.presence-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.78);
}

.simple-sidebar {
  position: relative;
  isolation: isolate;
}

.simple-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 16, 28, 0.88) 0%, rgba(12, 16, 28, 0));
  opacity: 0.9;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.simple-sidebar:hover::after {
  opacity: 1;
}

.follow-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}

.follow-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.85), rgba(15, 23, 42, 0.78));
  box-shadow: 0 40px 90px -60px rgba(56, 189, 248, 0.35);
}

.follow-header__main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.follow-header__avatar {
  flex: 0 0 auto;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.4rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(191, 219, 254, 0.9);
}

.follow-header__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.follow-header__avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.follow-header__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.follow-header__name {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 1.9rem);
  font-weight: 700;
  color: rgba(226, 232, 240, 0.98);
}

.follow-header__handle {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.7);
}

.follow-header__presence {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.75);
}

.follow-header__actions {
  display: flex;
  align-items: center;
}

.follow-tabs {
  display: inline-flex;
  gap: 0.75rem;
  border-radius: 9999px;
  padding: 0.35rem;
  border: 1px solid rgba(56, 189, 248, 0.16);
  background: rgba(15, 23, 42, 0.6);
}

.follow-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.follow-tab:hover {
  color: rgba(226, 232, 240, 0.92);
}

.follow-tab--active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.22));
  color: rgba(226, 232, 240, 0.95);
}

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

.follow-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(2, 6, 23, 0.82);
  box-shadow: 0 28px 60px -42px rgba(56, 189, 248, 0.35);
}

.follow-card__header {
  display: flex;
  gap: 1rem;
}

.follow-card__avatar {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(15, 23, 42, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(191, 219, 254, 0.9);
  overflow: hidden;
}

.follow-card__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.follow-card__identity {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.follow-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.follow-card__name a {
  color: rgba(226, 232, 240, 0.96);
  text-decoration: none;
}

.follow-card__name a:hover {
  color: rgba(191, 219, 254, 0.95);
}

.follow-card__handle {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.65);
}

.follow-card__presence {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.72);
}

.follow-card__location {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.65);
}

.follow-card__bio {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.78);
}

.follow-card__actions {
  margin-top: auto;
}

.follow-empty {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2.25rem;
  border-radius: 1.6rem;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.6);
  text-align: center;
}

.follow-empty__message {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(203, 213, 225, 0.8);
}

.follow-empty__link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.9);
}

.profile-stat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: rgba(226, 232, 240, 0.98);
  text-decoration: none;
}

.profile-stat-link:hover {
  color: rgba(125, 211, 252, 0.95);
}

.profile-stat-link__value {
  display: inline-block;
  width: 100%;
}

.messaging-details__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(17, 28, 48, 0.75);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.messaging-details__action:hover {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(127, 29, 29, 0.52);
  color: #FFE4E6;
}

@media (max-width: 639px) {
  .messaging-panel {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .messaging-panel--conversation {
    --messaging-conversation-padding-inline: 1.25rem;
    --messaging-conversation-padding-block: 1.5rem;
    padding: var(--messaging-conversation-padding-block) var(--messaging-conversation-padding-inline);
  }
}

.chat-log {
  display: flex;
  flex-direction: column;
  height: clamp(540px, 72vh, 980px);
  min-height: 460px;
  border-radius: 1.85rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: linear-gradient(180deg, rgba(6, 16, 32, 0.96) 0%, rgba(8, 20, 38, 0.94) 40%, rgba(10, 24, 44, 0.98) 100%);
  box-shadow: 0 28px 70px -45px rgba(37, 99, 235, 0.6),
              0 16px 40px -35px rgba(14, 165, 233, 0.45),
              inset 0 1px 0 rgba(148, 163, 184, 0.08);
  overflow: hidden;
  min-height: 0;
}

.chat-log turbo-frame {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

@media (max-width: 640px) {
  .chat-log {
    height: calc(100vh - 180px);
    max-height: none;
    border-radius: 1.5rem;
  }

  .chat-message {
    padding: 0 0.75rem;
  }

  .chat-message__avatar {
    height: 2.1rem;
    width: 2.1rem;
    font-size: 0.8rem;
  }

  .chat-message__avatar-spacer {
    width: 2.1rem;
  }

  .chat-bubble {
    max-width: min(30ch, 100%);
    font-size: 0.91rem;
    padding-inline: clamp(0.6rem, 1.3vw, 0.8rem);
    padding-block: clamp(0.5rem, 1.2vw, 0.65rem);
  }

  .chat-composer {
    border-radius: 1.15rem;
    padding: 0.75rem 0.9rem;
  }

  .chat-composer__textarea {
    min-height: 60px;
    font-size: 0.94rem;
  }

  .chat-composer__button {
    width: 100%;
    justify-content: center;
  }
}

.chat-log__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  position: relative;
  background: radial-gradient(110% 75% at 50% 0%, rgba(56, 189, 248, 0.1), transparent 65%),
              linear-gradient(180deg, rgba(8, 15, 28, 0.35) 0%, rgba(4, 10, 20, 0.5) 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.65) rgba(15, 23, 42, 0.4);
}

@media (min-width: 640px) {
  .chat-log__messages {
    padding: 2rem 1.75rem;
  }
}

.chat-log__messages::-webkit-scrollbar {
  width: 11px;
}

.chat-log__messages::-webkit-scrollbar-track {
  background: rgba(8, 15, 28, 0.7);
  border-radius: 9999px;
  margin-block: 8px;
  border: 1px solid rgba(15, 23, 42, 0.5);
}

.chat-log__messages::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.8), rgba(37, 99, 235, 0.75));
  box-shadow: inset 0 1px 0 rgba(186, 230, 253, 0.25),
              0 2px 8px -4px rgba(37, 99, 235, 0.4);
  border: 2px solid rgba(8, 15, 28, 0.7);
  transition: background 180ms ease;
}

[data-comment-form-target="menu"] {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.7) rgba(15, 23, 42, 0.85);
  overscroll-behavior: contain;
}

[data-comment-form-target="menu"]::-webkit-scrollbar {
  width: 9px;
}

[data-comment-form-target="menu"]::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  margin-block: 6px;
  border: 1px solid rgba(30, 41, 59, 0.6);
}

[data-comment-form-target="menu"]::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.72), rgba(100, 116, 139, 0.78));
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 180ms ease;
}

[data-comment-form-target="menu"]::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.85), rgba(148, 163, 184, 0.9));
}

[data-comment-form-target="menu"]::-webkit-scrollbar-corner {
  background: transparent;
}

.chat-log__messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.95), rgba(37, 99, 235, 0.9));
}

.chat-log__composer {
  padding: clamp(0.85rem, 1.9vw, 1.1rem) clamp(1rem, 2.1vw, 1.3rem) clamp(1rem, 2.2vw, 1.4rem);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(10, 22, 40, 0.96));
  backdrop-filter: blur(6px);
  box-shadow: 0 -4px 16px -8px rgba(0, 0, 0, 0.3);
}

.chat-divider {
  margin: 1.75rem auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.chat-divider::before,
.chat-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.25), transparent);
}

.chat-divider span {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.45), rgba(20, 40, 68, 0.55));
  color: rgba(186, 230, 253, 0.85);
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 12px -6px rgba(37, 99, 235, 0.4);
}

.chat-message {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-end;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0 1rem;
  opacity: 1;
  transition: opacity 200ms ease;
}

.chat-message--animated {
  animation: chat-message-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes chat-message-pop {
  0% {
    transform: translateY(16px) scale(0.98);
    opacity: 0;
  }

  60% {
    transform: translateY(-2px) scale(1.01);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.chat-message--mine {
  direction: rtl;
}

.chat-message--mine > * {
  direction: ltr;
}

.chat-message--theirs {
  direction: ltr;
}

.chat-message--stacked {
  margin-top: -0.25rem;
}

@media (min-width: 640px) {
  .chat-message {
    padding: 0 2.25rem;
  }
}

.chat-message__avatar {
  display: flex;
  height: 2.4rem;
  width: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.75), rgba(20, 40, 68, 0.85));
  color: rgba(226, 232, 240, 0.95);
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 20px -12px rgba(37, 99, 235, 0.55),
              inset 0 1px 0 rgba(148, 163, 184, 0.15);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.chat-message:hover .chat-message__avatar {
  transform: scale(1.05);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 24px -14px rgba(37, 99, 235, 0.65),
              inset 0 1px 0 rgba(148, 163, 184, 0.2);
}

.chat-message__avatar-spacer {
  width: 2.4rem;
}
.chat-message__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: min(100%, 34rem);
}

.chat-message--mine .chat-message__body {
  align-items: flex-end;
}

.chat-message--theirs .chat-message__body {
  align-items: flex-start;
}

.chat-message__sender {
  margin: 0;
  margin-bottom: 0.15rem;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(186, 230, 253, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.chat-bubble {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: min(32ch, 100%);
  width: -moz-fit-content;
  width: fit-content;
  min-width: 0;
  padding-inline: clamp(0.65rem, 1.3vw, 0.85rem);
  padding-block: clamp(0.5rem, 1.2vw, 0.7rem);
  font-size: 0.92rem;
  line-height: 1.55;
  border-radius: 1.15rem;
  color: rgba(226, 232, 240, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(150deg, rgba(30, 45, 75, 0.88), rgba(18, 28, 48, 0.92));
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.65),
              0 2px 8px -4px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(8px);
  transition: border-color 180ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.18) 0%, transparent 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: soft-light;
}

.chat-message:hover .chat-bubble {
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.75),
              0 4px 12px -6px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(148, 163, 184, 0.12);
  transform: translateY(-1.5px);
}

.chat-message:hover .chat-bubble::before {
  opacity: 1;
}

.chat-message--stacked .chat-bubble {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  margin-top: 0.15rem;
}

.chat-message--stacked .chat-bubble::after {
  display: none;
}

.chat-bubble--mine {
  background: linear-gradient(135deg, rgba(56, 189, 248, 1), rgba(37, 99, 235, 0.95) 45%, rgba(30, 58, 138, 0.92));
  border-bottom-right-radius: 0.9rem;
  color: #FFFFFF;
  border: 1px solid rgba(186, 230, 253, 0.4);
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.65),
              0 2px 8px -4px rgba(37, 99, 235, 0.35),
              inset 0 1px 0 rgba(186, 230, 253, 0.25);
}

.chat-message:hover .chat-bubble--mine {
  box-shadow: 0 12px 32px -14px rgba(37, 99, 235, 0.8),
              0 4px 12px -6px rgba(37, 99, 235, 0.45),
              inset 0 1px 0 rgba(186, 230, 253, 0.3);
  border-color: rgba(186, 230, 253, 0.55);
}

.chat-bubble--mine::before {
  background: linear-gradient(135deg, rgba(186, 230, 253, 0.2) 0%, transparent 50%);
}

.chat-bubble--mine::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  bottom: 0.3rem;
  width: 0.8rem;
  height: 0.8rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 1), rgba(37, 99, 235, 0.95));
  border-bottom-left-radius: 0.85rem;
  transform: rotate(38deg);
  box-shadow: 0 2px 6px -2px rgba(37, 99, 235, 0.5);
}

.chat-bubble--theirs {
  background: linear-gradient(145deg, rgba(28, 38, 58, 0.85), rgba(20, 28, 45, 0.92) 50%, rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(100, 116, 139, 0.38);
  color: rgba(241, 245, 249, 0.96);
  border-bottom-left-radius: 0.9rem;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.7),
              0 2px 8px -4px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(148, 163, 184, 0.08);
}

.chat-message:hover .chat-bubble--theirs {
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.85),
              0 4px 12px -6px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(148, 163, 184, 0.12);
}

.chat-bubble--theirs::after {
  content: "";
  position: absolute;
  left: -0.4rem;
  bottom: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: linear-gradient(145deg, rgba(28, 38, 58, 0.88), rgba(20, 28, 45, 0.94));
  border-bottom-right-radius: 0.85rem;
  border: 1px solid rgba(100, 116, 139, 0.38);
  border-left: none;
  transform: rotate(-38deg);
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.35);
}

.chat-bubble__content {
  font-size: 0.92rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  word-wrap: break-word;
}

.chat-bubble__content p {
  margin: 0;
}

.chat-bubble__content p + p {
  margin-top: 0.5rem;
}

.chat-bubble__attachments {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.65rem;
}

.chat-bubble__attachment {
  max-height: 14rem;
  width: auto;
  border-radius: 1.15rem;
  border: 1px solid rgba(226, 232, 240, 0.08);
  box-shadow: 0 12px 32px -22px rgba(56, 189, 248, 0.55);
}

.chat-bubble__attachment--video {
  width: 100%;
}

.chat-bubble__file {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.12);
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
}

.chat-bubble__file:hover {
  border-color: rgba(125, 211, 252, 0.6);
  color: #BAE6FD;
}

.chat-message__meta {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  text-transform: none;
  opacity: 0.7;
  transition: opacity 180ms ease;
}

.chat-message:hover .chat-message__meta {
  opacity: 1;
}

.chat-message__meta time {
  font-variant-numeric: tabular-nums;
  color: inherit;
  font-weight: 500;
}

.chat-message__meta--mine {
  justify-content: flex-end;
}

.chat-message__meta--theirs {
  justify-content: flex-start;
}

.chat-message--stacked .chat-message__meta {
  margin-top: 0.05rem;
}

.chat-message__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.3rem 0.65rem;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 220ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 220ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 180ms ease,
              color 180ms ease,
              background-color 180ms ease;
}

.chat-message:hover .chat-message__copy {
  opacity: 1;
  transform: translateX(0);
}

.chat-message__copy:hover {
  border-color: rgba(125, 211, 252, 0.4);
  color: rgba(186, 230, 253, 0.95) !important;
  background-color: rgba(56, 189, 248, 0.2) !important;
}

.chat-message__status {
  margin-top: 0.15rem;
  font-size: 9.5px;
  text-transform: none;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.6);
  text-align: right;
  align-self: flex-end;
}

.chat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  text-align: center;
  color: rgba(148, 163, 184, 0.75);
}

.chat-empty-state__icon {
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(30, 64, 175, 0.25);
  color: rgba(148, 163, 184, 0.9);
}

.chat-empty-state__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}

.chat-empty-state__subtitle {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
}

.chat-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(12, 20, 38, 0.92);
  box-shadow: 0 24px 55px -48px rgba(56, 189, 248, 0.5);
}

@media (min-width: 640px) {
  .chat-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.chat-header__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chat-header__back {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.chat-header__back:hover {
  color: #BAE6FD;
}

.chat-header__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #E2E8F0;
}

.chat-header__subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(148, 163, 184, 0.75);
}

.chat-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chat-header__button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.05rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.chat-header__button:hover {
  border-color: rgba(125, 211, 252, 0.55);
  color: #F0F9FF;
}

.chat-header__button--danger {
  border-color: rgba(248, 113, 113, 0.5);
  color: #FECACA;
}

.chat-header__button--danger:hover {
  border-color: rgba(248, 113, 113, 0.7);
  color: #FFE4E6;
}

.chat-composer {
  display: flex;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: linear-gradient(140deg, rgba(12, 20, 38, 0.98), rgba(8, 14, 28, 0.96));
  box-shadow: 0 -4px 24px -8px rgba(15, 23, 42, 0.6),
              0 2px 12px -4px rgba(37, 99, 235, 0.15),
              inset 0 1px 0 rgba(148, 163, 184, 0.08);
  padding: clamp(0.85rem, 1.9vw, 1.2rem) clamp(1rem, 2.2vw, 1.5rem);
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-composer:focus-within {
  border-color: rgba(125, 211, 252, 0.65);
  box-shadow: 0 -6px 32px -10px rgba(37, 99, 235, 0.45),
              0 0 0 3px rgba(56, 189, 248, 0.12),
              0 4px 16px -6px rgba(37, 99, 235, 0.25),
              inset 0 1px 0 rgba(148, 163, 184, 0.12);
  transform: translateY(-1px);
}

.chat-composer__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
}

.chat-composer__field {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 0.95rem;
}

.chat-composer__field::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(125, 211, 252, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.chat-composer:focus-within .chat-composer__field::after {
  opacity: 1;
}

.chat-composer__textarea {
  width: 100%;
  min-height: 68px;
  padding: clamp(0.9rem, 1.7vw, 1.05rem) clamp(1.05rem, 2.3vw, 1.4rem);
  border-radius: 1rem;
  border: 1px solid rgba(71, 85, 105, 0.32);
  background: rgba(20, 40, 68, 0.75);
  color: rgba(241, 245, 249, 0.98);
  font-size: 0.96rem;
  line-height: 1.6;
  resize: vertical;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15),
              inset 0 -1px 0 rgba(148, 163, 184, 0.06);
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
              background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-composer__textarea::placeholder {
  color: rgba(148, 163, 184, 0.65);
  font-weight: 400;
}

.chat-composer__textarea:focus {
  outline: none;
  border-color: rgba(125, 211, 252, 0.6);
  background: rgba(24, 46, 78, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15),
              inset 0 1px 2px rgba(0, 0, 0, 0.12),
              inset 0 -1px 0 rgba(148, 163, 184, 0.08);
}

.feed-composer {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: min(100%, 760px);
  margin-inline: auto;
  align-self: center;
  padding: clamp(1.75rem, 4.5vw, 2.5rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(94, 234, 212, 0.28);
  background:
    radial-gradient(120% 140% at 5% -10%, rgba(59, 130, 246, 0.2), transparent 62%),
    linear-gradient(150deg, rgba(11, 23, 44, 0.94), rgba(9, 24, 38, 0.88));
  box-shadow: 0 28px 68px -30px rgba(56, 189, 248, 0.45);
}

.feed-composer__header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

@media (min-width: 640px) {
  .feed-composer__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.feed-composer__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feed-composer__avatar {
  flex-shrink: 0;
}

.feed-composer__avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(125, 211, 252, 0.3);
  background: rgba(12, 74, 110, 0.35);
  color: rgba(165, 243, 252, 0.9);
  font-weight: 600;
  font-size: 1.125rem;
}

.feed-composer__intro {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feed-composer__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

.feed-composer__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.feed-composer__title {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 700;
  color: rgba(241, 245, 249, 0.96);
}

.feed-composer__status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(22, 101, 52, 0.3);
  color: rgba(167, 243, 208, 0.95);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed-composer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feed-composer__meta-item {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(71, 85, 105, 0.4);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(191, 219, 254, 0.82);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feed-composer__meta-item--accent {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(8, 47, 73, 0.65);
  color: rgba(224, 242, 254, 0.96);
}

.feed-composer__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.feed-composer__main {
  flex: 2 1 22rem;
  min-width: min(26rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-composer__side {
  flex: 1 1 16rem;
  min-width: min(20rem, 100%);
  border-radius: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background:
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.18), transparent 60%),
    rgba(7, 11, 26, 0.85);
  padding: 1.25rem;
  box-shadow: 0 28px 60px -40px rgba(56, 189, 248, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .feed-composer__side {
    width: 100%;
  }
}

.feed-composer__side[hidden] {
  display: none !important;
}

.feed-composer__field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feed-composer__textarea-shell {
  border-radius: 1.1rem;
  border: 1px solid rgba(71, 85, 105, 0.35);
  background: rgba(15, 23, 42, 0.78);
  padding: 0.5rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feed-composer__helper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.68);
}

.feed-composer__helper-accent {
  color: rgba(165, 243, 252, 0.85);
}

.feed-composer__helper-count {
  margin-left: auto;
  font-weight: 600;
  color: rgba(191, 219, 254, 0.85);
  transition: color 0.2s ease;
}

.feed-composer__helper-count[data-state="warn"] {
  color: rgba(253, 224, 71, 0.9);
}

.feed-composer__helper-count[data-state="limit"] {
  color: rgba(248, 113, 113, 0.95);
}

.feed-composer__media {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  background: rgba(3, 6, 12, 0.65);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  min-height: 260px;
}

.feed-composer__upload-progress {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.feed-composer__upload-progress[hidden] {
  display: none;
}

.feed-composer__upload-track {
  position: relative;
  width: 100%;
  height: 0.6rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.feed-composer__upload-bar {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.9), rgba(59, 130, 246, 0.95));
  transition: width 0.2s ease;
}

.feed-composer__upload-progress.is-error .feed-composer__upload-bar {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.95), rgba(239, 68, 68, 0.9));
}

.feed-composer__upload-progress-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.85);
}

.feed-composer__upload-progress.is-error .feed-composer__upload-progress-label {
  color: rgba(248, 113, 113, 0.95);
}

.feed-composer__media.is-visible {
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.25);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(56, 189, 248, 0.12), transparent 60%),
    rgba(3, 6, 12, 0.82);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12), 0 18px 34px -32px rgba(56, 189, 248, 0.7);
}

.feed-composer__media-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-composer__media-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08), 0 18px 40px -28px rgba(56, 189, 248, 0.45);
  overflow: hidden;
  width: 100%;
}

.feed-composer__media-thumb {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.5);
  min-height: 260px;
}

.feed-composer__media-image,
.feed-composer__media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-composer__media-video {
  background: rgba(15, 23, 42, 0.9);
}

.feed-composer__media-remove {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(248, 250, 252, 0.35);
  background: rgba(3, 7, 18, 0.65);
  color: rgba(248, 250, 252, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.feed-composer__media-remove svg {
  width: 1rem;
  height: 1rem;
}

.feed-composer__media-remove:hover {
  transform: scale(1.05);
  border-color: rgba(248, 113, 113, 0.75);
  background: rgba(127, 29, 29, 0.65);
}

.feed-composer__media-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(3, 6, 12, 0.92) 80%);
  pointer-events: none;
}

.feed-composer__media-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.95);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(94, 234, 212, 0.4);
  box-shadow: 0 10px 20px -12px rgba(15, 23, 42, 0.9);
}

.feed-composer__media-badge svg {
  width: 0.95rem;
  height: 0.95rem;
}

.feed-composer__media-generic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(148, 163, 184, 0.9);
}

.feed-composer__media-notice {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(12, 74, 110, 0.25);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(191, 219, 254, 0.85);
}

.feed-composer__media-notice span {
  font-weight: 600;
  color: rgba(125, 211, 252, 0.95);
}

.feed-composer__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feed-composer__hints li {
  flex: 1 1 8rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(71, 85, 105, 0.35);
  background: rgba(15, 23, 42, 0.65);
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.92);
}

.feed-composer__footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.feed-composer__tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(14, 116, 144, 0.24);
  color: rgba(191, 219, 254, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.feed-composer__tool:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.32);
  color: rgba(224, 242, 254, 0.95);
  transform: translateY(-2px);
}

.feed-composer__tool--ghost {
  border-color: rgba(125, 211, 252, 0.18);
  background: rgba(12, 20, 36, 0.65);
  color: rgba(148, 163, 184, 0.82);
}

.feed-composer__tool--ghost:hover {
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(5, 46, 52, 0.45);
  color: rgba(203, 213, 225, 0.92);
}

.feed-composer__tool-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.feed-composer__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.feed-composer__visibility {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 180px;
}

.feed-composer__select {
  height: 2.6rem;
}

.feed-composer__select-caption {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.feed-composer__submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 200px;
  text-align: right;
}

.feed-composer__footnote {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.8);
}

.feed-composer__submit {
  width: max-content;
  align-self: flex-end;
  padding-inline: 1.75rem;
}

.feed-composer__textarea {
  width: 100%;
  min-height: 68px;
  padding: clamp(0.9rem, 1.7vw, 1.05rem) clamp(1rem, 2vw, 1.25rem);
  border-radius: 0.9rem;
  border: none;
  background: transparent;
  color: rgba(241, 245, 249, 0.98);
  font-size: 0.96rem;
  line-height: 1.6;
  resize: vertical;
  box-shadow: none;
}

.feed-composer__textarea::placeholder {
  color: rgba(148, 163, 184, 0.65);
  font-weight: 400;
}

.feed-composer__textarea:focus {
  outline: none;
  box-shadow: none;
}

.feed-composer__select {
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(71, 85, 105, 0.32);
  background: rgba(20, 40, 68, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  padding-right: 2rem;
  color: rgba(241, 245, 249, 0.98);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
              background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-composer__select:hover {
  border-color: rgba(125, 211, 252, 0.4);
  background-color: rgba(24, 46, 78, 0.8);
}

.feed-composer__select:focus {
  outline: none;
  border-color: rgba(125, 211, 252, 0.6);
  background-color: rgba(24, 46, 78, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15),
              inset 0 1px 2px rgba(0, 0, 0, 0.12),
              inset 0 -1px 0 rgba(148, 163, 184, 0.08);
}

.feed-composer__select option {
  background-color: rgba(20, 30, 48, 0.95);
  color: rgba(241, 245, 249, 0.98);
  padding: 0.5rem;
}

.feed-composer__select option:hover {
  background-color: rgba(56, 189, 248, 0.2);
}

.chat-composer__footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .chat-composer__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.chat-composer__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .chat-composer__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.chat-composer__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: rgba(148, 163, 184, 0.82);
}

.chat-composer__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(13, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.chat-composer__action:hover {
  border-color: rgba(125, 211, 252, 0.6);
  background: rgba(15, 23, 42, 0.78);
  color: #F0F9FF;
}

.chat-composer__hint {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(148, 163, 184, 0.65);
}

.chat-composer__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.chat-composer__count {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(148, 163, 184, 0.7);
}

.chat-composer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(186, 230, 253, 0.4);
  background: linear-gradient(135deg, rgba(56, 189, 248, 1), rgba(37, 99, 235, 0.96) 45%, rgba(30, 58, 138, 0.94));
  color: #FFFFFF;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.65),
              0 2px 8px -4px rgba(37, 99, 235, 0.35),
              inset 0 1px 0 rgba(186, 230, 253, 0.2);
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-composer__button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px -14px rgba(37, 99, 235, 0.8),
              0 4px 12px -6px rgba(37, 99, 235, 0.45),
              inset 0 1px 0 rgba(186, 230, 253, 0.3);
  border-color: rgba(186, 230, 253, 0.6);
}

.chat-composer__button:active {
  transform: translateY(0) scale(0.98);
}

.flash-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 5;
}

.flash-stack--overlay {
  position: fixed;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vh, 3rem);
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
  z-index: 4000;
}

.flash-stack--overlay .flash-card {
  pointer-events: auto;
}

@media (max-width: 640px) {
  .flash-stack--overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }
}

.flash-card {
  --flash-bg: rgba(13, 27, 52, 0.88);
  --flash-border: rgba(59, 130, 246, 0.35);
  --flash-foreground: rgba(226, 232, 240, 0.95);
  --flash-title: rgba(226, 232, 240, 0.98);
  --flash-icon-bg: rgba(59, 130, 246, 0.22);
  --flash-icon-color: #7dd3fc;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid var(--flash-border);
  background: var(--flash-bg);
  color: var(--flash-foreground);
  box-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.6), 0 18px 40px -36px rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.flash-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.flash-card--leaving {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(1px);
}

.flash-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: var(--flash-icon-bg);
  color: var(--flash-icon-color);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.flash-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.flash-card__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--flash-title);
}

.flash-card__messages {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flash-card__message {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: inherit;
}

.flash-card__dismiss {
  margin-left: 0.75rem;
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.35);
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flash-card__dismiss:hover {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

.flash-card__dismiss:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}

.flash-card--info {
  --flash-bg: rgba(8, 23, 44, 0.92);
  --flash-border: rgba(96, 165, 250, 0.5);
  --flash-foreground: rgba(224, 242, 254, 0.9);
  --flash-title: rgba(224, 242, 254, 0.85);
  --flash-icon-bg: rgba(96, 165, 250, 0.2);
  --flash-icon-color: #bfdbfe;
}

.flash-card--success {
  --flash-bg: rgba(4, 31, 24, 0.92);
  --flash-border: rgba(16, 185, 129, 0.45);
  --flash-foreground: rgba(209, 250, 229, 0.92);
  --flash-title: rgba(167, 243, 208, 0.85);
  --flash-icon-bg: rgba(16, 185, 129, 0.25);
  --flash-icon-color: #6ee7b7;
}

.flash-card--alert {
  --flash-bg: rgba(45, 16, 21, 0.94);
  --flash-border: rgba(248, 113, 113, 0.5);
  --flash-foreground: rgba(254, 226, 226, 0.92);
  --flash-title: rgba(254, 215, 215, 0.85);
  --flash-icon-bg: rgba(248, 113, 113, 0.25);
  --flash-icon-color: #fecaca;
}

@media (max-width: 640px) {
  .flash-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .flash-card__dismiss {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flash-card {
    transition: none;
    opacity: 1 !important;
    transform: none !important;
  }

  .flash-card--leaving {
    filter: none;
  }
}

.places-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .places-page {
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.places-hero {
  position: relative;
  padding: 1.5rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.15);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(8, 16, 32, 0.96));
  box-shadow: 0 8px 32px -12px rgba(15, 23, 42, 0.75),
              inset 0 1px 0 rgba(148, 163, 184, 0.05);
  overflow: hidden;
}

.places-hero::before {
  content: "";
  position: absolute;
  inset: -80% -40% 40% 20%;
  background: radial-gradient(90% 90% at 30% 20%, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
              radial-gradient(120% 120% at 80% -10%, rgba(99, 102, 241, 0.28) 0%, transparent 68%);
  opacity: 0.9;
  pointer-events: none;
}

.places-hero::after {
  content: "";
  position: absolute;
  inset: 20% -60% -70% 55%;
  background: radial-gradient(75% 85% at 65% 35%, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

@media (min-width: 640px) {
  .places-hero {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .places-hero {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .places-hero {
    padding: 2rem 2.5rem;
    border-radius: 1.75rem;
  }
}

@media (min-width: 1280px) {
  .places-hero {
    padding: 2.25rem 3rem;
  }
}

.places-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: rgba(226, 232, 240, 0.95);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .places-hero__content {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .places-hero__content {
    gap: 1.75rem;
  }
}

.places-hero__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .places-hero__header {
    gap: 1rem;
  }
}

.places-hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
  font-weight: 600;
}

@media (min-width: 768px) {
  .places-hero__eyebrow {
    font-size: 0.75rem;
  }
}

.places-hero__title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.98);
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .places-hero__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .places-hero__title {
    font-size: 2.75rem;
    line-height: 1.15;
  }
}

@media (min-width: 1024px) {
  .places-hero__title {
    font-size: 3.25rem;
  }
}

.places-hero__subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.85);
  max-width: 100%;
}

@media (min-width: 640px) {
  .places-hero__subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .places-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 48rem;
  }
}

.places-hero__stats {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

@media (min-width: 640px) {
  .places-hero__stats {
    gap: 2rem;
    padding: 1.25rem 0;
  }
}

@media (min-width: 768px) {
  .places-hero__stats {
    gap: 3rem;
  }
}

.places-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.places-hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(125, 211, 252, 0.95);
  line-height: 1;
}

@media (min-width: 640px) {
  .places-hero__stat-value {
    font-size: 1.85rem;
  }
}

@media (min-width: 768px) {
  .places-hero__stat-value {
    font-size: 2.25rem;
  }
}

.places-hero__stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  font-weight: 600;
}

@media (min-width: 640px) {
  .places-hero__stat-label {
    font-size: 0.75rem;
  }
}

.places-hero__actions {
  display: flex;
  gap: 0.75rem;
}

.places-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 180ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .places-hero__button {
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
  }
}

.places-hero__button--primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 1), rgba(37, 99, 235, 0.96));
  color: #FFFFFF;
  border: 1px solid rgba(186, 230, 253, 0.4);
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.65),
              0 2px 8px -4px rgba(37, 99, 235, 0.35);
}

.places-hero__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -14px rgba(37, 99, 235, 0.8),
              0 4px 12px -6px rgba(37, 99, 235, 0.45);
  border-color: rgba(186, 230, 253, 0.55);
}

.places-hero__button--secondary {
  background: rgba(15, 23, 42, 0.5);
  color: rgba(226, 232, 240, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.places-hero__button--secondary:hover {
  background: rgba(20, 28, 48, 0.65);
  border-color: rgba(148, 163, 184, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.6);
}

.places-hero__chips {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .places-hero__chips {
    gap: 1rem;
  }
}

.places-hero__chips-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  font-weight: 600;
}

.places-hero__chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .places-hero__chips-list {
    gap: 0.65rem;
  }
}

.places-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  background: rgba(30, 58, 138, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: rgba(186, 230, 253, 0.95);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 180ms ease,
              background-color 180ms ease,
              transform 180ms ease,
              color 180ms ease;
}

@media (min-width: 640px) {
  .places-chip {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
}

.places-chip:hover {
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(30, 58, 138, 0.5);
  transform: translateY(-1px);
  color: rgba(224, 242, 254, 0.98);
}

.places-layout {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  grid-template-columns: clamp(260px, 24vw, 320px) minmax(0, 1fr);
  align-items: flex-start;
}

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

.places-filters-mobile {
  display: none;
  border-radius: 1.5rem;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: linear-gradient(155deg, rgba(8, 15, 28, 0.92), rgba(6, 12, 24, 0.88));
  box-shadow: 0 28px 70px -45px rgba(15, 23, 42, 0.8);
  padding: 1.25rem 1.35rem;
  color: rgba(226, 232, 240, 0.95);
}

.places-filters-mobile__summary {
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
}

/* Notifications ---------------------------------------------------------- */

.navbar-notifications-panel {
  width: 100%;
}

.navbar-notifications-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.65);
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.18), rgba(56, 189, 248, 0.12));
  border-radius: 1rem 1rem 0 0;
}

.navbar-notifications-panel__title-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.navbar-notifications-panel__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: rgba(56, 189, 248, 0.16);
  color: rgba(125, 211, 252, 0.95);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18);
}

.navbar-notifications-panel__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.96);
}

.navbar-notifications-panel__subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.75);
}

.navbar-notifications-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.5rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.95);
}

.navbar-notifications-panel__action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.78);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 210, 255, 0.9);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.navbar-notifications-panel__action-button:hover,
.navbar-notifications-panel__action-button:focus {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(37, 99, 235, 0.28);
  color: rgba(224, 242, 254, 0.98);
}

.navbar-notifications-panel__list {
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.navbar-notifications-panel__list::-webkit-scrollbar {
  width: 6px;
}

.navbar-notifications-panel__list::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.navbar-notifications-panel__list::-webkit-scrollbar-track {
  background-color: transparent;
}


.navbar-notifications-panel__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  white-space: nowrap;
}

.navbar-notifications-panel__group-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.78);
}

.navbar-notifications-panel__section {
  padding: 0.15rem 0.25rem;
}

.navbar-notifications-panel__empty {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  padding: 2.25rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  text-align: center;
}

.navbar-notifications-panel__empty-icon {
  font-size: 1.65rem;
}

.navbar-notifications-panel__empty-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.navbar-notifications-panel__empty-subtitle {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.75);
}

.navbar-notifications-panel__footer {
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
}

.navbar-notifications-panel__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(148, 210, 255, 0.85);
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: background 150ms ease, color 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.navbar-notifications-panel__footer-link:hover,
.navbar-notifications-panel__footer-link:focus {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(125, 211, 252, 0.45);
  color: rgba(224, 242, 254, 0.98);
}

.navbar-notifications-panel__footer-icon {
  font-size: 0.8rem;
}

.hashtag-page {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hashtag-layout {
  display: grid;
  gap: 1.5rem;
}

.hashtag-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hashtag-hero {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.82), rgba(8, 47, 73, 0.85));
  padding: 1.35rem;
  box-shadow: 0 18px 40px -32px rgba(8, 47, 73, 0.75);
}

.hashtag-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hashtag-hero__eyebrow {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.68);
}

.hashtag-hero__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(224, 242, 254, 0.96);
  letter-spacing: -0.01em;
}

.hashtag-hero__description {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.55;
}

.hashtag-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.hashtag-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(8, 47, 73, 0.5);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 210, 255, 0.94);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.hashtag-hero__cta:hover,
.hashtag-hero__cta:focus {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(14, 116, 144, 0.38);
  color: rgba(224, 242, 254, 1);
}

.hashtag-hero__footnote {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.72);
}

.hashtag-feed {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hashtag-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hashtag-feed__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  letter-spacing: -0.01em;
}

.hashtag-feed__count {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.62);
}

.hashtag-feed__stream {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hashtag-feed__item {
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 16px 40px -36px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.hashtag-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hashtag-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(30, 41, 59, 0.7);
  background: rgba(15, 23, 42, 0.7);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 55px -48px rgba(15, 23, 42, 0.9);
}

.hashtag-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
  letter-spacing: -0.01em;
}

.hashtag-stat-list {
  display: grid;
  gap: 0.75rem;
}

.hashtag-stat-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hashtag-stat-list__item dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.58);
}

.hashtag-stat-list__item dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(224, 242, 254, 0.9);
}

.hashtag-creators-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hashtag-creators-list__item {
  border-radius: 1rem;
  border: 1px solid rgba(30, 41, 59, 0.65);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.hashtag-creators-list__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.65rem;
  text-decoration: none;
}

.hashtag-creators-list__item:hover,
.hashtag-creators-list__item:focus-within {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.75);
}

.hashtag-creators-list__avatar {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(8, 47, 73, 0.5);
  overflow: hidden;
}

.hashtag-creators-list__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hashtag-creators-list__avatar-fallback {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(148, 210, 255, 0.9);
}

.hashtag-creators-list__meta {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.hashtag-creators-list__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.hashtag-creators-list__count {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.hashtag-creators-list__followers {
  font-size: 0.66rem;
  color: rgba(148, 163, 184, 0.6);
}

.hashtag-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(203, 213, 225, 0.85);
}

.hashtag-tips li {
  display: flex;
  gap: 0.5rem;
}

.hashtag-tips li::before {
  content: "•";
  color: rgba(125, 211, 252, 0.8);
}

.hashtag-empty {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.65);
}

.hashtag-empty__icon {
  font-size: 2rem;
}

.hashtag-empty__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(224, 242, 254, 0.96);
}

.hashtag-empty__body {
  margin: 0;
  max-width: 20rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.8);
}

.hashtag-empty__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(8, 47, 73, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 210, 255, 0.92);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
  text-decoration: none;
}

.hashtag-empty__cta:hover,
.hashtag-empty__cta:focus {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(14, 116, 144, 0.45);
  color: rgba(224, 242, 254, 0.98);
}

@media (min-width: 640px) {
  .hashtag-hero {
    padding: 1.5rem;
  }

  .hashtag-feed__stream {
    gap: 1.25rem;
  }

  .hashtag-feed__item {
    border-radius: 1.2rem;
  }
}

@media (min-width: 768px) {
  .hashtag-layout {
    gap: 1.75rem;
  }

  .hashtag-hero {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.75rem;
  }

  .hashtag-hero__title {
    font-size: clamp(1.9rem, 3vw, 2.35rem);
  }

  .hashtag-feed__stream {
    gap: 1.4rem;
  }

  .hashtag-feed__item {
    border-radius: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .hashtag-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }

  .hashtag-main {
    gap: 1.75rem;
  }

  .hashtag-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}


.places-filters-mobile__summary:focus {
  outline: none;
}

.places-filters-mobile__summary:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.65);
  outline-offset: 4px;
  border-radius: 1rem;
}

.places-filters-mobile__summary-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.places-filters-mobile__label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.places-filters-mobile__hint {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.places-filters-mobile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(148, 163, 184, 0.8);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.places-filters-mobile__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.places-filters-mobile--open .places-filters-mobile__icon {
  transform: rotate(180deg);
  background: rgba(37, 99, 235, 0.2);
  color: rgba(186, 230, 253, 0.85);
}

.places-filters-mobile__body {
  margin-top: 1.4rem;
  padding: 1.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 1.1rem;
  background: rgba(8, 15, 28, 0.6);
  box-shadow: inset 0 0 0 1px rgba(30, 64, 175, 0.18);
}

.places-filters-mobile__body.hidden {
  display: none !important;
}

.places-filters-mobile__body--open {
  display: block;
}

.places-layout__filters {
  position: sticky;
  top: 6.5rem;
}

@media (max-width: 1023px) {
  .places-layout__filters {
    position: static;
    display: none;
  }

  .places-filters-mobile {
    display: block;
  }

  .places-toolbar__description {
    max-width: none;
  }
}

.places-filters {
  border-radius: 1.5rem;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: linear-gradient(155deg, rgba(8, 15, 28, 0.92), rgba(6, 12, 24, 0.88));
  box-shadow: 0 28px 70px -45px rgba(15, 23, 42, 0.8);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.places-filters__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.places-filters__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.places-filters__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.places-filters__subtitle {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.72);
}

.places-filters__form {
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  padding: 1.1rem;
  border: 1px solid rgba(30, 64, 175, 0.22);
}

@media (min-width: 1024px) {
  .places-filters__form {
    padding: 1.35rem;
  }
}

.places-filters__form-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.places-filters__section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(8, 15, 28, 0.55);
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.35);
}

.places-filters__section--presets {
  background: rgba(12, 22, 40, 0.55);
  border-color: rgba(56, 189, 248, 0.2);
}

.places-filters__section--toggles {
  padding-bottom: 1rem;
}

.places-filters__section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.places-filters__section-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.85);
}

.places-filters__section-subtitle {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
}

.places-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.places-filters__chip {
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.places-filters__chip:hover {
  border-color: rgba(125, 211, 252, 0.6);
  background: rgba(30, 64, 175, 0.45);
  transform: translateY(-1px);
}

.places-filters__chip--active {
  border-color: rgba(56, 189, 248, 0.75);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(37, 99, 235, 0.28));
  color: rgba(224, 242, 254, 0.96);
  box-shadow: 0 10px 18px -14px rgba(56, 189, 248, 0.55);
}

.places-filters__chip--clear {
  border-color: rgba(251, 191, 36, 0.25);
  color: rgba(253, 230, 138, 0.92);
}

.places-filters__fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.places-filters__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.places-filters__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  font-weight: 600;
}

.places-filters__input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.95);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.places-filters__input:focus {
  outline: none;
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.places-filters__hint {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.6);
}

.places-filters__toggles {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.places-filters__toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.85);
  letter-spacing: 0.05em;
}

.places-filters__checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: rgba(56, 189, 248, 0.8);
  border-radius: 0.35rem;
}

.places-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.35rem;
}

.places-filters__submit {
  flex: 1 1 auto;
  min-width: 160px;
}

.places-filters__reset {
  flex: 1 1 auto;
  min-width: 120px;
}

@media (max-width: 640px) {
  .places-filters__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .places-filters__submit,
  .places-filters__reset {
    width: 100%;
  }
}

.places-layout__content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.places-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .places-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.places-toolbar__heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.places-toolbar__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.places-toolbar__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.places-toolbar__title-meta {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.7);
}

.places-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .places-toolbar__actions {
    justify-content: flex-start;
  }

  .places-toolbar__sort,
  .places-toolbar__toggles {
    width: 100%;
    justify-content: space-between;
  }

  .places-toolbar__toggles {
    justify-content: center;
  }
}

.places-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem 0.35rem 0.55rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(10px);
}

.places-toolbar__sort-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  font-weight: 600;
}

.places-toolbar__sort-select {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.85rem;
  font-weight: 600;
  padding-right: 1rem;
  cursor: pointer;
  position: relative;
}

.places-toolbar__sort-select:focus {
  outline: none;
}

.places-toolbar__toggles {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.55);
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(51, 65, 85, 0.45);
  box-shadow: 0 10px 22px -20px rgba(37, 99, 235, 0.45);
  justify-content: center;
}

.places-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.places-toggle.tg-button-secondary {
  background: transparent;
  border: none;
  color: rgba(148, 163, 184, 0.75);
}

.places-toggle.tg-button-primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.88), rgba(14, 165, 233, 0.85));
  color: #020617;
  box-shadow: 0 14px 28px -20px rgba(37, 99, 235, 0.55);
}

.places-toggle.tg-button-primary:hover {
  transform: translateY(-1px);
}

.places-toolbar__description {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.8);
  max-width: 70ch;
}

.places-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  margin: 0.9rem 0 0.5rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(14px);
}

.places-active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(30, 64, 175, 0.22);
  color: rgba(203, 213, 225, 0.92);
  font-size: 0.78rem;
  text-decoration: none;
  border: 1px solid rgba(59, 130, 246, 0.32);
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.places-active-filters__chip:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(125, 211, 252, 0.55);
  transform: translateY(-1px);
}

.places-active-filters__reset {
  margin-left: auto;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  background: rgba(251, 191, 36, 0.08);
  color: rgba(252, 211, 77, 0.95);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.places-active-filters__reset:hover {
  background: rgba(251, 191, 36, 0.15);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .places-active-filters__reset {
    width: 100%;
    text-align: center;
  }
}

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

.places-card {
  background: rgba(2, 6, 23, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 28px 54px -42px rgba(15, 23, 42, 0.8);
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.places-card:hover {
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 36px 72px -40px rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
}

.places-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 12rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35), rgba(15, 23, 42, 0.7));
}

.places-card__media-link {
  display: block;
  height: 100%;
}

.places-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.places-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(56, 189, 248, 0.25);
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.places-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.32) 55%, rgba(2, 6, 23, 0.78) 100%),
    radial-gradient(70% 90% at 30% 20%, rgba(56, 189, 248, 0.65) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

.places-card:hover .places-card__image {
  transform: scale(1.05);
}

.places-card:hover .places-card__media::after {
  opacity: 0.9;
}

.places-card__badges {
  position: absolute;
  inset: 0 auto auto 0;
  padding: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  z-index: 10;
  align-items: center;
}

.places-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: rgba(240, 249, 255, 0.94);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.places-card__overlay {
  display: grid;
  gap: 0.45rem;
}

.places-card__badge--featured {
  border-color: rgba(250, 204, 21, 0.7);
  background: rgba(250, 204, 21, 0.2);
  color: rgba(250, 204, 21, 1);
}

.places-card__badge--open {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.2);
  color: rgba(187, 247, 208, 1);
}

.places-card__badge--closed {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.15);
  color: rgba(254, 202, 202, 0.98);
}

.places-card__badge-muted {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.7);
}

.places-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.55) 0%, rgba(8, 13, 26, 0.92) 100%);
}

.places-card__category-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.9);
  margin-bottom: 0.2rem;
}

.places-card__headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.places-card__status-badge {
  font-size: 0.6rem !important;
  padding: 0.3rem 0.55rem !important;
  flex-shrink: 0;
}

.places-card__title-section {
  margin-top: 0.2rem;
}

.places-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.24;
  color: rgba(241, 245, 249, 0.98);
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: break-word;
}

.places-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.places-card__link:hover {
  color: rgba(125, 211, 252, 1);
}

.places-card__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.places-card__like {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.places-card__summary {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(203, 213, 225, 0.85);
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.places-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.8);
  margin-top: 0;
  padding-bottom: 0;
}

.places-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.places-card__detail--tags {
  color: rgba(125, 211, 252, 0.98);
  font-weight: 700;
}

.places-card__footer {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
}

.places-card__footer span:last-child {
  transition: transform 0.2s ease;
}

.places-card:hover .places-card__footer span:last-child {
  transform: translateX(3px);
}

.places-empty-state {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.places-empty-state__card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: 0 24px 80px -48px rgba(37, 99, 235, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(18px);
}

.places-empty-state__icon {
  font-size: 2rem;
  line-height: 1;
}

.places-empty-state__title {
  margin: 0;
  font-size: 1.35rem;
  color: rgba(226, 232, 240, 0.96);
  font-weight: 600;
}

.places-empty-state__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.82);
}

.places-empty-state__action {
  align-self: center;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(14, 165, 233, 0.28));
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.places-empty-state__action:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -28px rgba(56, 189, 248, 0.55);
}

/* Admin dashboard ------------------------------------------------------- */

.admin-dashboard {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
}

.admin-dashboard__hero {
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.6rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: radial-gradient(120% 120% at 10% 0%, rgba(56, 189, 248, 0.25) 0%, transparent 62%),
              radial-gradient(140% 120% at 95% 5%, rgba(80, 206, 255, 0.18) 0%, transparent 70%),
              linear-gradient(165deg, rgba(8, 15, 28, 0.96), rgba(3, 7, 18, 0.92));
  box-shadow: 0 36px 80px -60px rgba(37, 99, 235, 0.65);
}

@media (min-width: 1024px) {
  .admin-dashboard__hero {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items: stretch;
  }
}

.admin-dashboard__hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.admin-dashboard__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(13, 23, 45, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.85);
  font-weight: 600;
}

.admin-dashboard__badge-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12);
}

.admin-dashboard__hero-copy {
  display: grid;
  gap: 0.75rem;
}

.admin-dashboard__hero-title {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 700;
  color: rgba(241, 245, 249, 0.98);
  letter-spacing: -0.015em;
}

.admin-dashboard__hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.86);
}

.admin-dashboard__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-dashboard__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(8, 15, 28, 0.65);
  color: rgba(224, 242, 254, 0.95);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-dashboard__cta:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 18px 36px -28px rgba(56, 189, 248, 0.55);
}

.admin-dashboard__cta--primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.42), rgba(37, 99, 235, 0.38));
  border-color: rgba(37, 99, 235, 0.45);
  color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 18px 34px -24px rgba(37, 99, 235, 0.6);
}

.admin-dashboard__summary {
  border-radius: 1.35rem;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(8, 15, 28, 0.78);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.28);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-dashboard__summary-title {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.88);
  font-weight: 700;
}

.admin-dashboard__summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-dashboard__summary-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(11, 23, 38, 0.65);
}

.admin-dashboard__summary-count {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.98);
  letter-spacing: -0.03em;
}

.admin-dashboard__summary-label {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(224, 242, 254, 0.94);
}

.admin-dashboard__summary-note {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.admin-dashboard__summary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.9);
}

.admin-dashboard__summary-link:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

.admin-section__header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-section__title {
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(186, 230, 253, 0.88);
  font-weight: 700;
}

.admin-section__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: rgba(148, 163, 184, 0.78);
}

.admin-section__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-section__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(13, 23, 45, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.9);
}

.admin-metrics {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-metric-card {
  position: relative;
  border-radius: 1.35rem;
  padding: 1.15rem 1.3rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(51, 65, 85, 0.58);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.25);
  display: grid;
  gap: 0.4rem;
}

.admin-metric-card::after {
  content: "";
  position: absolute;
  inset: 12% 18% auto auto;
  width: 108px;
  height: 108px;
  border-radius: 9999px;
  opacity: 0.18;
  pointer-events: none;
}

.admin-metric-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: rgba(224, 242, 254, 0.96);
}

.admin-metric-card__label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
  font-weight: 600;
}

.admin-metric-card__value {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.98);
  letter-spacing: -0.02em;
}

.admin-metric-card__trend {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.78);
}

.admin-metric-card--sky {
  border-color: rgba(56, 189, 248, 0.3);
}

.admin-metric-card--sky::after {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.6), transparent 70%);
}

.admin-metric-card--amber {
  border-color: rgba(251, 191, 36, 0.24);
}

.admin-metric-card--amber::after {
  background: radial-gradient(circle at center, rgba(251, 191, 36, 0.55), transparent 70%);
}

.admin-metric-card--rose {
  border-color: rgba(244, 114, 182, 0.26);
}

.admin-metric-card--rose::after {
  background: radial-gradient(circle at center, rgba(244, 114, 182, 0.55), transparent 70%);
}

.admin-metric-card--emerald {
  border-color: rgba(52, 211, 153, 0.26);
}

.admin-metric-card--emerald::after {
  background: radial-gradient(circle at center, rgba(52, 211, 153, 0.55), transparent 70%);
}

.admin-queues {
  margin-top: 1.75rem;
  display: grid;
  gap: clamp(1.4rem, 3vw, 1.9rem);
}

@media (min-width: 980px) {
  .admin-queues {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-queue {
  border-radius: 1.4rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(8, 15, 28, 0.72);
  box-shadow: 0 32px 60px -48px rgba(15, 23, 42, 0.82);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.4rem, 3vw, 1.8rem);
}

.admin-queue--alert {
  border-color: rgba(248, 113, 113, 0.28);
  box-shadow: 0 32px 60px -52px rgba(248, 113, 113, 0.45);
}

.admin-queue__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.admin-queue__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.96);
}

.admin-queue__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.78);
}

.admin-queue__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.32);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.88);
}

.admin-queue__link--alert {
  border-color: rgba(248, 113, 113, 0.32);
  color: rgba(254, 226, 226, 0.9);
}

.admin-queue__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.admin-queue__item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(78, 92, 120, 0.42);
  background: rgba(11, 18, 32, 0.75);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.25);
}

@media (min-width: 640px) {
  .admin-queue__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.admin-queue__item-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.96);
}

.admin-queue__item-meta {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.75);
}

.admin-queue__item-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.admin-pill--pending {
  background: rgba(251, 191, 36, 0.16);
  color: rgba(253, 224, 71, 0.94);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.admin-pill--success {
  background: rgba(45, 212, 191, 0.18);
  color: rgba(167, 243, 208, 0.96);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.admin-pill--alert {
  background: rgba(248, 113, 113, 0.16);
  color: rgba(254, 202, 202, 0.95);
  border: 1px solid rgba(248, 113, 113, 0.38);
}

.admin-pill-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.32);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.9);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.admin-pill-button:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.55);
}

.admin-pill-button--alert {
  border-color: rgba(248, 113, 113, 0.32);
  color: rgba(254, 226, 226, 0.92);
}

.admin-queue__empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(78, 92, 120, 0.45);
  background: rgba(11, 18, 32, 0.62);
  font-size: 0.86rem;
  color: rgba(148, 163, 184, 0.8);
  line-height: 1.6;
}

.places-map {
  border-radius: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(8, 15, 28, 0.75);
  overflow: hidden;
}

.places-map__viewport {
  height: clamp(420px, 55vh, 640px);
  width: 100%;
  border-radius: 1.35rem;
}

.places-pagination {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .places-hero__button,
  .places-chip,
  .places-toggle {
    transition: none;
  }
}

/* Authentication */

.auth-page {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
  isolation: isolate;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: -120px -80px -160px;
  background: radial-gradient(120% 120% at 15% 0%, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
              radial-gradient(100% 120% at 85% 5%, rgba(59, 130, 246, 0.12) 0%, transparent 62%),
              radial-gradient(160% 140% at 50% 110%, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}

.auth-page__info,
.auth-page__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.auth-page__info {
  max-width: 32rem;
}

.auth-page__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 20px 40px -28px rgba(14, 165, 233, 0.4);
  text-decoration: none;
}

.auth-page__brand:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.auth-page__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(14, 165, 233, 0.75));
  color: #020617;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.auth-page__brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.85);
}

.auth-page__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.auth-page__title {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  color: rgba(226, 232, 240, 0.95);
}

.auth-page__description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.82);
}

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

.auth-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(37, 99, 235, 0.26);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 22px 38px -35px rgba(37, 99, 235, 0.55);
}

.auth-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.85rem;
  background: rgba(37, 99, 235, 0.18);
  font-size: 1.1rem;
}

.auth-feature__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.auth-feature__body {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
}

.auth-page__switch {
  font-size: 0.92rem;
  color: rgba(148, 163, 184, 0.78);
}

.auth-link {
  font-weight: 600;
  color: #38BDF8;
  text-decoration: none;
  transition: color 0.18s ease;
}

.auth-link:hover {
  color: #60A5FA;
}

.auth-link--muted {
  color: rgba(148, 163, 184, 0.75);
}

.auth-link--muted:hover {
  color: rgba(190, 242, 255, 0.85);
}

.auth-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
}

.auth-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.auth-card__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.95);
}

.auth-card__subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.78);
}

.auth-card__switch {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.78);
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-field__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.auth-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.7);
}

.auth-input-group {
  position: relative;
}

.auth-input-group__icon {
  position: absolute;
  inset: 50% auto auto 0.9rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 0.55);
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(71, 85, 105, 0.45);
  background: rgba(8, 15, 28, 0.78);
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-input::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.auth-input:focus {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
  background: rgba(8, 15, 28, 0.9);
  outline: none;
}

.auth-input--with-icon {
  padding-left: 2.75rem;
}

.auth-input--with-action {
  padding-right: 3.5rem;
}

.auth-input-group__action {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.78);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.auth-input-group__action:hover {
  color: rgba(190, 242, 255, 0.9);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.9);
}

.auth-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
}

.auth-note--error {
  color: rgba(248, 113, 113, 0.82);
}

.auth-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.auth-checkbox__input {
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(71, 85, 105, 0.5);
  background: rgba(8, 15, 28, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-checkbox__input:checked {
  border-color: rgba(56, 189, 248, 0.8);
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.95) 0%, rgba(56, 189, 248, 0.8) 55%, rgba(56, 189, 248, 0) 65%);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.auth-checkbox__input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

.auth-checkbox__label {
  color: rgba(226, 232, 240, 0.85);
}

.auth-hint {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.65);
}

.auth-form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.auth-button--primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.85));
  color: #020617;
  box-shadow: 0 16px 45px -30px rgba(56, 189, 248, 0.75);
}

.auth-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px -28px rgba(56, 189, 248, 0.85);
}

.auth-button--secondary {
  border-color: rgba(59, 130, 246, 0.45);
  color: rgba(190, 242, 255, 0.85);
  background: rgba(15, 23, 42, 0.65);
}

.auth-button--secondary:hover {
  border-color: rgba(56, 189, 248, 0.6);
  color: rgba(226, 232, 240, 0.92);
}

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

.auth-support-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.auth-support-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.auth-support-card__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
}

.auth-inline-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-inline-form__controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.auth-input--compact {
  min-width: 220px;
  padding-block: 0.6rem;
}

.auth-alert {
  border-radius: 1.15rem;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.auth-alert--error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.12);
  color: rgba(254, 226, 226, 0.9);
  box-shadow: 0 18px 38px -32px rgba(248, 113, 113, 0.5);
}

.auth-alert__title {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.auth-alert__list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.auth-form__grid {
  display: grid;
  gap: 1rem;
}

.auth-form__grid--two {
  grid-template-columns: 1fr;
}

.auth-form__grid--full {
  grid-column: 1 / -1;
}

.auth-plan-options {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.auth-plan-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: rgba(8, 15, 28, 0.78);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.auth-plan-option:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(8, 15, 28, 0.88);
  transform: translateY(-1px);
}

.auth-plan-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  background: rgba(56, 189, 248, 0.15);
  font-size: 1.25rem;
}

.auth-plan-option__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.auth-plan-option__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}

.auth-plan-option__description {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.7);
}

.auth-plan-option__radio {
  margin-left: auto;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #38BDF8;
}

.auth-legal {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(148, 163, 184, 0.65);
}

@media (min-width: 640px) {
  .auth-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-plan-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-inline-form__controls {
    flex-wrap: nowrap;
  }
}

@media (min-width: 768px) {
  .auth-page__info {
    max-width: 34rem;
  }
}

@media (min-width: 1024px) {
  .auth-page {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  }

  .auth-form__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .auth-page__panel {
    order: -1;
  }

  .auth-page__info {
    order: 0;
    text-align: center;
    align-items: center;
  }

  .auth-feature {
    text-align: left;
  }

  .auth-field__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .auth-form__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-inline-form__controls {
    width: 100%;
  }

  .auth-inline-form__controls .auth-input--compact {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-button,
  .auth-plan-option,
  .auth-input,
  .auth-input-group__action {
    transition: none;
  }
}

/* Home onboarding CTA */

.join-banner {
  position: relative;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  width: 100%;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.join-banner__shell {
  position: relative;
  margin: 0 auto;
  max-width: 1120px;
  border-radius: 2.5rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: linear-gradient(130deg, rgba(2, 10, 24, 0.95) 0%, rgba(7, 24, 46, 0.9) 55%, rgba(8, 18, 38, 0.92) 100%);
  box-shadow: 0 35px 90px -55px rgba(14, 165, 233, 0.75), 0 24px 55px -40px rgba(2, 8, 23, 0.85);
  padding: clamp(2.75rem, 4vw, 4rem);
  overflow: hidden;
  color: rgba(226, 232, 240, 0.95);
}

.join-banner__halo {
  position: absolute;
  z-index: 0;
  width: clamp(220px, 34vw, 380px);
  height: clamp(220px, 34vw, 380px);
  filter: blur(100px);
  opacity: 0.9;
  pointer-events: none;
}

.join-banner__halo--left {
  top: -120px;
  left: clamp(-180px, -10vw, -90px);
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.38), transparent 70%);
}

.join-banner__halo--right {
  bottom: -160px;
  right: clamp(-140px, -8vw, -60px);
  background: radial-gradient(circle at center, rgba(248, 113, 113, 0.32), transparent 72%);
}

.join-banner__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 6vw, 3.75rem);
}

.join-banner__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.join-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(249, 115, 22, 0.45);
  background: rgba(8, 15, 28, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(251, 191, 36, 0.82);
  box-shadow: 0 18px 35px -28px rgba(249, 115, 22, 0.65);
}

.join-title {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: rgba(226, 232, 240, 0.98);
}

.join-lede {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(148, 163, 184, 0.82);
}

.join-metrics {
  display: grid;
  gap: 1rem;
}

.join-metric {
  border-radius: 1.35rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(135deg, rgba(12, 24, 46, 0.9), rgba(9, 20, 41, 0.9));
  padding: 1.1rem 1.3rem;
  box-shadow: 0 25px 45px -45px rgba(56, 189, 248, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.join-metric__value {
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  font-weight: 700;
  color: rgba(125, 211, 252, 0.95);
}

.join-metric__label {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.78);
}

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

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.65rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.join-button--primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.92), rgba(14, 165, 233, 0.88));
  color: #020617;
  box-shadow: 0 20px 60px -30px rgba(56, 189, 248, 0.85);
}

.join-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 65px -28px rgba(56, 189, 248, 0.95);
}

.join-button--ghost {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(56, 189, 248, 0.35);
  color: rgba(190, 242, 255, 0.85);
}

.join-button--ghost:hover {
  border-color: rgba(56, 189, 248, 0.55);
  color: rgba(226, 232, 240, 0.95);
  background: rgba(15, 23, 42, 0.72);
}

.join-guarantee {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.join-panel {
  display: grid;
  gap: 1.35rem;
}

.join-panel__card {
  position: relative;
  border-radius: 1.65rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(8, 15, 28, 0.78);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  box-shadow: 0 24px 44px -40px rgba(59, 130, 246, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.join-panel__card--steps {
  background: linear-gradient(140deg, rgba(15, 52, 96, 0.82), rgba(9, 24, 46, 0.85));
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 28px 55px -42px rgba(56, 189, 248, 0.75);
}

.join-panel__card--quote {
  border-color: rgba(248, 113, 113, 0.3);
  background: linear-gradient(150deg, rgba(32, 19, 52, 0.85), rgba(15, 23, 42, 0.9));
  box-shadow: 0 26px 50px -45px rgba(244, 114, 182, 0.65);
}

.join-panel__card--perks {
  border-color: rgba(16, 185, 129, 0.22);
  background: linear-gradient(145deg, rgba(7, 30, 32, 0.85), rgba(8, 23, 28, 0.9));
  box-shadow: 0 24px 48px -42px rgba(45, 212, 191, 0.55);
}

.join-panel__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.7);
}

.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.join-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.join-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.4);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(165, 243, 252, 0.95);
  box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.2);
}

.join-step__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.join-step__body {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.78);
}

.join-quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
}

.join-quote cite {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 189, 255, 0.7);
}

.join-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.join-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: rgba(167, 243, 208, 0.85);
}

.join-perks {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.75);
}

.join-banner__dismiss {
  position: absolute;
  top: clamp(1.5rem, 3.5vw, 2.5rem);
  right: clamp(1.5rem, 4vw, 2.75rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.8);
  color: rgba(148, 163, 184, 0.75);
  font-size: 1.2rem;
  line-height: 0;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.join-banner__dismiss:hover {
  border-color: rgba(251, 191, 36, 0.75);
  color: rgba(253, 230, 138, 0.9);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .join-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .join-panel__card--quote,
  .join-panel__card--perks {
    min-height: 100%;
  }
}

@media (min-width: 1024px) {
  .join-banner__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .join-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .join-banner__dismiss {
    right: clamp(1rem, 6vw, 1.5rem);
  }

  .join-panel__card {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-button,
  .join-banner__dismiss,
  .join-panel__card,
  .join-metric,
  .join-pill {
    transition: none;
  }
}

/* Home onboarding CTA — immersive layout */

.join-banner {
  position: relative;
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
  width: 100%;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.join-banner__container {
  position: relative;
  margin: 0 auto;
  max-width: 1180px;
  border-radius: 3rem;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: linear-gradient(135deg, rgba(5, 15, 32, 0.92), rgba(9, 26, 44, 0.9), rgba(4, 13, 26, 0.94));
  box-shadow: 0 45px 120px -65px rgba(14, 165, 233, 0.78), 0 32px 85px -60px rgba(2, 6, 23, 0.9);
  overflow: hidden;
  color: rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(6px);
}

.join-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.25rem, 6vw, 4rem);
  align-items: stretch;
  padding: clamp(2.85rem, 5vw, 4.75rem);
}

.join-banner__glow {
  position: absolute;
  z-index: 0;
  width: clamp(240px, 38vw, 420px);
  height: clamp(240px, 38vw, 420px);
  filter: blur(120px);
  opacity: 0.9;
  pointer-events: none;
}

.join-banner__glow--sky {
  top: -12%;
  left: 16%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.35), transparent 72%);
}

.join-banner__glow--sunset {
  top: 18%;
  right: 6%;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.3), transparent 68%);
}

.join-banner__glow--emerald {
  bottom: -18%;
  left: 45%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.35), transparent 70%);
}

.join-banner__left {
  display: flex;
  flex-direction: column;
  gap: clamp(1.45rem, 4vw, 2.75rem);
  max-width: 36rem;
}

.join-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.88);
  background: rgba(8, 18, 38, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  padding: 0.5rem 1.35rem;
  box-shadow: 0 18px 38px -30px rgba(56, 189, 248, 0.75);
}

.join-eyebrow strong {
  font-weight: 800;
  color: rgba(226, 232, 240, 0.98);
}

.join-heading {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.1;
  font-weight: 800;
  color: rgba(226, 232, 240, 0.98);
}

.join-description {
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  line-height: 1.9;
  color: rgba(148, 163, 184, 0.82);
}

.join-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.join-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: linear-gradient(140deg, rgba(9, 20, 38, 0.9), rgba(8, 15, 30, 0.88));
  box-shadow: 0 22px 44px -42px rgba(56, 189, 248, 0.65);
}

.join-highlight__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(125, 211, 252, 0.35);
  font-size: 1.15rem;
  box-shadow: inset 0 0 18px rgba(56, 189, 248, 0.25);
  transition: transform 0.3s ease;
}

.join-highlight__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.96);
}

.join-highlight__body {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.8);
}

.join-highlight:hover .join-highlight__icon {
  transform: rotate(-6deg) scale(1.05);
}

.join-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.join-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.8rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.join-cta__button--primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(14, 165, 233, 0.85));
  color: #020617;
  box-shadow: 0 24px 65px -32px rgba(56, 189, 248, 0.9);
}

.join-cta__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 70px -30px rgba(56, 189, 248, 0.95);
}

.join-cta__button--secondary {
  background: rgba(8, 20, 38, 0.7);
  border-color: rgba(56, 189, 248, 0.35);
  color: rgba(190, 242, 255, 0.85);
}

.join-cta__button--secondary:hover {
  border-color: rgba(56, 189, 248, 0.55);
  color: rgba(226, 232, 240, 0.95);
  background: rgba(8, 20, 38, 0.82);
}

.join-proof {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.join-proof__avatars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  border-radius: 9999px;
  background: rgba(8, 18, 38, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 18px 40px -36px rgba(59, 130, 246, 0.65);
}

.join-proof__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f172a;
  border: 2px solid #020617;
  box-shadow: 0 6px 12px -6px rgba(15, 118, 110, 0.55);
  position: relative;
  background: rgba(226, 232, 240, 0.95);
  margin-left: -0.55rem;
}

.join-proof__avatar:first-child {
  margin-left: 0;
}

.join-proof__avatar--sky {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0f172a;
}

.join-proof__avatar--sun {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #0b1120;
}

.join-proof__avatar--violet {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #f8fafc;
}

.join-proof__avatar--emerald {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #022c22;
}

.join-proof__avatar--ghost {
  background: rgba(15, 23, 42, 0.85);
  color: rgba(203, 213, 225, 0.85);
  border-color: rgba(15, 23, 42, 0.85);
}

.join-proof__caption {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
}

.join-banner__right {
  display: grid;
  gap: 1.2rem;
  align-content: start;
  position: relative;
}

.join-card {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(10, 18, 36, 0.84);
  padding: clamp(1.5rem, 3vw, 1.85rem);
  box-shadow: 0 28px 60px -46px rgba(59, 130, 246, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(226, 232, 240, 0.95);
  overflow: hidden;
}

.join-card--itinerary {
  background: linear-gradient(160deg, rgba(15, 52, 96, 0.86), rgba(7, 18, 36, 0.9));
  border-color: rgba(56, 189, 248, 0.3);
}

.join-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.8);
}

.join-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: rgba(224, 242, 254, 0.85);
}

.join-card__stops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.join-card__stops li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  color: rgba(226, 232, 240, 0.92);
}

.join-card__stops em {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.join-card__dot {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  border: 2px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 6px 14px -8px rgba(14, 165, 233, 0.6);
}

.join-card__dot--sky {
  background: radial-gradient(circle at center, #38bdf8, #0284c7);
}

.join-card__dot--orange {
  background: radial-gradient(circle at center, #fb923c, #f97316);
}

.join-card__dot--violet {
  background: radial-gradient(circle at center, #c084fc, #7c3aed);
}

.join-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
}

.join-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(45, 212, 191, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: rgba(167, 243, 208, 0.9);
}

.join-card__meta {
  color: rgba(148, 163, 184, 0.85);
}

.join-card--stats {
  border-color: rgba(125, 211, 252, 0.25);
  background: linear-gradient(165deg, rgba(11, 36, 60, 0.92), rgba(6, 16, 32, 0.94));
  gap: 1.1rem;
}

.join-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.join-card__stat-value {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 700;
  color: rgba(125, 211, 252, 0.95);
}

.join-card__stat-label {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.78);
}

.join-card--invite {
  border-color: rgba(244, 114, 182, 0.26);
  background: linear-gradient(155deg, rgba(46, 15, 46, 0.88), rgba(76, 29, 149, 0.82));
  box-shadow: 0 26px 58px -46px rgba(168, 85, 247, 0.55);
  gap: 1.25rem;
}

.join-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.join-card__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.82);
}

.join-card__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.55rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(190, 242, 255, 0.45);
  color: rgba(224, 242, 254, 0.95);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.join-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px -36px rgba(190, 242, 255, 0.6);
  border-color: rgba(224, 242, 254, 0.75);
}

.join-banner__dismiss {
  position: absolute;
  top: clamp(1.6rem, 3.5vw, 2.6rem);
  right: clamp(1.6rem, 4vw, 2.8rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 9999px;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.82);
  color: rgba(148, 163, 184, 0.75);
  font-size: 1.25rem;
  line-height: 0;
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.join-banner__dismiss:hover {
  border-color: rgba(251, 191, 36, 0.75);
  color: rgba(253, 230, 138, 0.92);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .join-banner__inner {
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

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

  .join-highlight {
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .join-banner__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

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

@media (max-width: 767px) {
  .join-banner__inner {
    padding: clamp(2.35rem, 6vw, 3rem);
  }

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

  .join-card {
    border-radius: 1.5rem;
  }

  .join-banner__dismiss {
    right: clamp(1.1rem, 6vw, 1.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-cta__button,
  .join-card,
  .join-card__cta,
  .join-banner__dismiss,
  .join-highlight__icon {
    transition: none;
  }

  .join-highlight:hover .join-highlight__icon,
  .join-card__cta:hover {
    transform: none;
  }
}

/* Comment Emoji Picker Scrollbars -------------------------------------- */

.emoji-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) rgba(15, 23, 42, 0.6);
}

.emoji-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.emoji-scrollbar::-webkit-scrollbar-track {
  background-color: rgba(15, 23, 42, 0.6);
  border-radius: 9999px;
}

.emoji-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(56, 189, 248, 0.45);
  border-radius: 9999px;
}

.emoji-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(56, 189, 248, 0.7);
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Trail Builder -------------------------------------------------------- */

.trail-builder-mood {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 12px 28px -22px rgba(37, 99, 235, 0.65);
}

.trail-builder-mood--compact {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}

.trail-builder-mood__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.18);
  color: #7DD3FC;
  font-size: 0.95rem;
}

.trail-builder-dropzone {
  border-radius: 1.5rem;
  transition: background 0.18s ease, box-shadow 0.22s ease;
}

.trail-builder-dropzone--active {
  background: rgba(56, 189, 248, 0.08);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.trail-search__state {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.78);
}

.trail-search__results {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trail-search__group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: linear-gradient(160deg, rgba(10, 21, 36, 0.85), rgba(4, 19, 33, 0.78));
  box-shadow: 0 32px 54px -36px rgba(8, 47, 73, 0.7);
}

.trail-search__group-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.62);
}

.trail-search__group-meta-primary {
  color: rgba(191, 219, 254, 0.85);
}

.trail-search__group-meta-count {
  color: rgba(148, 163, 184, 0.58);
}

.trail-search__group-bullet {
  color: rgba(59, 130, 246, 0.35);
}

.trail-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trail-search__list-item {
  margin: 0;
  padding: 0;
}

.trail-search__result {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(12, 23, 42, 0.68);
  color: rgba(226, 232, 240, 0.92);
  text-align: left;
  cursor: grab;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
}

.trail-search__result-thumb {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.95rem;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.18);
}

.trail-search__result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trail-search__result-thumb--fallback {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.9);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.08));
}

.trail-search__result:hover,
.trail-search__result:focus {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 22px 40px -28px rgba(56, 189, 248, 0.65);
  transform: translateY(-1px);
  outline: none;
}

.trail-search__result:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 2px;
}

.trail-search__result:active {
  cursor: grabbing;
}

.trail-search__result-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.trail-search__result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.trail-search__result-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.98);
}

.trail-search__result-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(8, 47, 73, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.9);
}

.trail-search__result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.75);
}

.trail-search__result-location,
.trail-search__result-address {
  margin: 0;
}

.trail-search__result-dot {
  color: rgba(148, 163, 184, 0.55);
}

.trail-search__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.trail-search__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.45rem;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.18);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.82);
}

.trail-search__result-hint {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.7);
  white-space: nowrap;
}

.trail-search__loading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.trail-search__spinner {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 9999px;
  border: 2px solid rgba(125, 211, 252, 0.35);
  border-top-color: rgba(56, 189, 248, 0.95);
  animation: trail-search-spin 0.9s linear infinite;
}

@keyframes trail-search-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .trail-search__group {
    padding: 0.95rem 1rem;
    border-radius: 1.1rem;
    gap: 0.75rem;
  }

  .trail-search__group-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    line-height: 1.4;
    letter-spacing: 0.12em;
  }

  .trail-search__result {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .trail-search__result-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
  }

  .trail-search__result-body {
    gap: 0.4rem;
  }

  .trail-search__result-header {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .trail-search__result-meta {
    font-size: 0.7rem;
    gap: 0.35rem;
  }

  .trail-search__tags {
    gap: 0.2rem;
  }

  .trail-search__tag {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    padding: 0.14rem 0.4rem;
  }

  .trail-search__result-hint {
    align-self: flex-start;
    margin-left: 0;
    letter-spacing: 0.18em;
    font-size: 0.62rem;
  }
}

.grid-backdrop {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.65) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 45%),
    radial-gradient(circle at bottom, rgba(16, 185, 129, 0.12), transparent 45%);
  background-size:
    60px 60px,
    60px 60px,
    100% 100%,
    100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
}
