:root {
  --bg: #0c0f0d;
  --surface: #141a17;
  --surface-2: #1c2420;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f5f3;
  --muted: #8a9a92;
  --accent: #2dd4a8;
  --accent-dim: rgba(45, 212, 168, 0.15);
  --warm: #f4a261;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: "DM Sans", system-ui, sans-serif;
  --z-map: 1;
  --z-sticky: 10;
  --z-header: 100;
  --z-mobile-nav: 280;
  --z-mobile-chat: 300;
  --z-toast: 400;
  --header-h: 3.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 212, 168, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(244, 162, 97, 0.08), transparent),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  backdrop-filter: blur(12px);
  background: rgba(12, 15, 13, 0.85);
  border-bottom: 1px solid var(--border);
  --header-h: 3.75rem;
}

.header.is-nav-open {
  z-index: calc(var(--z-mobile-nav) + 1);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  position: relative;
  z-index: 3;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}

.logo-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.logo strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.logo span {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
  background: var(--surface-2);
}

.nav-link-featured {
  color: var(--warm);
}

.nav-link-featured:hover,
.nav-link-featured.active {
  color: var(--warm);
  background: rgba(244, 162, 97, 0.12);
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.profile-chip:hover {
  border-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-nav);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  pointer-events: none;
}

.mobile-menu:not(.hidden) {
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.mobile-menu-panel {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: rgba(12, 15, 13, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-title {
  margin: 0 0 0.5rem;
  padding: 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-nav .nav-link {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  white-space: normal;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.section-desc {
  margin: -0.5rem 0 1.5rem;
  color: var(--muted);
}

.page-header {
  margin-bottom: 1.25rem;
}

.page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-desc {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42rem;
}

#create-view .page-header {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#register-hostel-view .page-header {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Filters */
.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
}

#feed-view .feed-filters-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: stretch;
}

#feed-view .feed-filters-panel {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#feed-view .filter-group {
  margin-bottom: 0;
}

.feed-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  background:
    linear-gradient(135deg, rgba(45, 212, 168, 0.12) 0%, rgba(45, 212, 168, 0.04) 100%),
    var(--surface);
  border: 1px solid rgba(45, 212, 168, 0.28);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0;
}

.feed-cta-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.feed-cta-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.feed-cta-btn {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.7rem 1rem;
}

.filter-group {
  margin-bottom: 0.75rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-row .filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-tab,
.spot-filter-tab,
.hostel-type-tab,
.property-type-tab,
.spot-region-tab,
.place-region-tab,
.place-type-tab {
  background: var(--surface-2);
  border: 1px solid transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-tab:hover,
.spot-filter-tab:hover,
.hostel-type-tab:hover,
.property-type-tab:hover,
.spot-region-tab:hover,
.place-region-tab:hover,
.place-type-tab:hover {
  color: var(--text);
  border-color: var(--border);
}

.filter-tabs-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.filter-tabs-scroll .filter-tab,
.filter-tabs-scroll .spot-filter-tab,
.filter-tabs-scroll .hostel-type-tab,
.filter-tabs-scroll .property-type-tab,
.filter-tabs-scroll .spot-region-tab,
.filter-tabs-scroll .place-region-tab,
.filter-tabs-scroll .place-type-tab {
  flex-shrink: 0;
}

.filter-tab.active,
.spot-filter-tab.active,
.hostel-type-tab.active,
.property-type-tab.active,
.spot-region-tab.active,
.place-region-tab.active,
.place-type-tab.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 1.6rem;
}

.filter-status {
  font-size: 0.78rem;
  color: var(--muted);
}

.filter-clear-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-clear-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-clear-btn[hidden] {
  display: none;
}

/* Feed layout with map */
.feed-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feed-toolbar .section-title {
  margin: 0;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.map-panel {
  position: sticky;
  top: 5rem;
  z-index: var(--z-sticky);
}

.map-header,
.visible-list-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.visible-list-header .section-title {
  margin: 0;
}

.map-count {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.map-container {
  height: min(520px, calc(100vh - 12rem));
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  z-index: var(--z-map);
  isolation: isolate;
}

.visible-list-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  position: sticky;
  top: 5rem;
  z-index: var(--z-sticky);
  max-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
}

.visible-plans-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.visible-plan-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.visible-plan-item:hover,
.visible-plan-item.active {
  border-color: rgba(45, 212, 168, 0.45);
  background: var(--accent-dim);
}

.visible-plan-emoji {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.visible-plan-body {
  flex: 1;
  min-width: 0;
}

.visible-plan-body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visible-plan-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.visible-plan-going {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* Leaflet overrides */
.leaflet-container {
  font-family: var(--font);
  background: #e9e6e0;
  z-index: 0;
}

.leaflet-container .gm-style {
  font-family: var(--font);
}

.visible-plan-item--weekly {
  border-color: rgba(147, 197, 253, 0.28);
}

.visible-plan-item--weekly:hover,
.visible-plan-item--weekly.active {
  border-color: rgba(147, 197, 253, 0.55);
  background: rgba(147, 197, 253, 0.08);
}

.map-marker {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s;
}

.map-marker--weekly {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.35), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.places-list .place-list-item {
  align-items: flex-start;
}

.place-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.place-category-tag {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
}

.map-marker.place-marker {
  background: rgba(244, 162, 97, 0.2);
  border-color: rgba(244, 162, 97, 0.45);
}
  margin: 0 0 1.25rem;
}

.map-marker.spot-marker {
  border-color: var(--warm);
  font-size: 1rem;
}

.spot-category-tag {
  background: rgba(244, 162, 97, 0.15);
  color: var(--warm);
}

.spot-vibe {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.btn-spot-plan {
  margin-top: 1rem;
}

.leaflet-popup-content-wrapper {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.leaflet-popup-tip {
  background: var(--surface);
}

.leaflet-popup-content {
  margin: 0.75rem 0.85rem;
  line-height: 1.4;
}

.map-popup-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.map-popup-meta {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.map-popup-maps {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.map-popup-maps:hover {
  text-decoration: underline;
}

.map-popup-btn {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(45, 212, 168, 0.3);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
}

.map-popup-btn:hover {
  background: rgba(45, 212, 168, 0.25);
}

.leaflet-control-zoom a {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.leaflet-control-attribution {
  background: rgba(12, 15, 13, 0.85) !important;
  color: var(--muted) !important;
}

.leaflet-control-attribution a {
  color: var(--accent) !important;
}

/* Activity cards */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.activity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.activity-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 168, 0.35);
  box-shadow: var(--shadow);
}

.activity-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.activity-emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.activity-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
}

.tag {
  background: var(--surface-2);
  color: var(--muted);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.tag.hot {
  background: rgba(244, 162, 97, 0.15);
  color: var(--warm);
}

.activity-spot {
  font-size: 0.85rem;
  color: var(--muted);
}

.activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.activity-host {
  font-size: 0.82rem;
  color: var(--muted);
}

.activity-going {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* Create form */
.create-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

#create-view .create-form {
  max-width: none;
  margin: 0;
}

.create-location {
  margin-bottom: 1rem;
}

.create-location-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.create-location-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.coords-input {
  width: 9.5rem;
  max-width: 50%;
  padding: 0.2rem 0.45rem;
  font: inherit;
  font-size: 0.74rem;
  text-align: right;
  color: var(--accent);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.coords-input::placeholder {
  color: var(--muted);
}

.create-pin-status {
  font-size: 0.78rem;
  color: var(--muted);
}

.create-pin-status.has-pin {
  color: var(--accent);
  font-weight: 600;
}

.create-map {
  height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.create-spots-picker {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.create-spots-picker summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.create-spot-search {
  width: 100%;
  margin: 0.65rem 0 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
}

.create-spot-search:focus {
  outline: none;
  border-color: var(--accent);
}

.create-spots-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.create-spot-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  transition: border-color 0.15s, background 0.15s;
}

.create-spot-option:hover {
  border-color: var(--accent);
}

.create-spot-option.active {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.create-spot-option-emoji {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.create-spot-option-body {
  min-width: 0;
}

.create-spot-option-body strong {
  display: block;
  font-size: 0.85rem;
}

.create-spot-option-body span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.create-spots-empty {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.5rem 0;
}

.create-location-mode {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.location-mode-btn {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.location-mode-btn:hover {
  color: var(--text);
}

.location-mode-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.create-location-panel.hidden {
  display: none;
}

.create-map-hint {
  margin: 0 0 0.5rem;
}

.form-row-capacity {
  align-items: center;
  margin-bottom: 0.25rem;
}

.field-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.field-toggle input {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
}

.field-capacity {
  max-width: 7rem;
}

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.field-optional-tag {
  font-weight: 500;
  color: var(--muted);
}

.emoji-field {
  min-width: 5.5rem;
}

.emoji-picker {
  position: relative;
}

.emoji-picker-trigger {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  width: 3.25rem;
  transition: border-color 0.15s;
}

.emoji-picker-trigger:hover,
.emoji-picker-trigger[aria-expanded="true"] {
  border-color: var(--accent);
}

.emoji-picker-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  width: 14rem;
}

.emoji-picker-panel.hidden {
  display: none;
}

.emoji-picker-option {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.35rem;
  transition: background 0.12s, border-color 0.12s;
}

.emoji-picker-option:hover,
.emoji-picker-option.active {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.form-row-emoji {
  align-items: flex-start;
}

.link-inline {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}

.hostel-success {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 212, 168, 0.35);
  background: var(--surface-2);
}

.hostel-success.hidden {
  display: none;
}

.hostel-success-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.hostel-success-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hostel-success-links {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hostel-success-links input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
}

.hostel-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hostel-success-actions .btn-primary,
.hostel-success-actions .btn-secondary {
  flex: 1;
  min-width: 140px;
}

.hostel-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hostel-contact-link {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
}

.hostel-contact-link:hover {
  border-color: rgba(45, 212, 168, 0.4);
}

.map-marker.create-pin-marker {
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  flex: 1;
  min-width: 120px;
}

.field-grow {
  flex: 3;
}

.field span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.field-hint {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
}

.field input,
.field select,
.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field-emoji {
  width: 4rem;
  text-align: center;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s, transform 0.1s;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-maps {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 0.65rem;
  background: var(--surface-2);
  color: var(--accent);
  border: 1px solid rgba(45, 212, 168, 0.35);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-maps:hover {
  background: var(--accent-dim);
}

.btn-join {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(45, 212, 168, 0.3);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  transition: background 0.15s;
}

.btn-join:hover {
  background: rgba(45, 212, 168, 0.25);
}

.btn-join:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--text);
  max-width: 440px;
  width: calc(100% - 2rem);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 1.5rem;
  position: relative;
}

.modal-content h3 {
  color: var(--text);
  margin: 0 0 0.35rem;
}

.modal-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.profile-modal-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.profile-modal-actions-main {
  display: flex;
  gap: 0.75rem;
}

.profile-auth-email {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-modal .auth-submit {
  width: 100%;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.auth-password-hint {
  margin: -0.35rem 0 0.75rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.btn-google {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  cursor: pointer;
}

.btn-google:hover {
  background: #f3f4f6;
}

.auth-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--accent);
}

.auth-status.is-error {
  color: #f87171;
}

.auth-status.is-success {
  color: var(--accent);
}

.auth-submit:disabled,
.btn-google:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-logout {
  font-size: 0.85rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--text);
}

.detail-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.detail-title {
  color: var(--text);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.detail-desc {
  color: var(--text);
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.detail-desc--empty {
  color: var(--muted);
  font-style: italic;
}

.detail-info {
  color: var(--text);
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.detail-info div {
  color: var(--text);
  display: flex;
  gap: 0.5rem;
}

.detail-label {
  color: var(--muted);
  min-width: 4.5rem;
}

.attendees {
  margin-top: 0.75rem;
}

.attendees h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.attendee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.attendee {
  background: var(--surface-2);
  color: var(--text);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: var(--z-toast);
  box-shadow: var(--shadow);
  animation: toast-in 0.25s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Footer */
.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(45, 212, 168, 0.06) 0%, transparent 40%),
    rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}

.footer-logo:hover {
  text-decoration: none;
}

.footer-logo-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.footer-logo strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.footer-logo span {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 22rem;
}

.footer-nav,
.footer-cta {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.footer-nav-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav-links {
  display: grid;
  gap: 0.35rem;
}

.footer-nav-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  width: fit-content;
  transition: color 0.15s ease;
}

.footer-nav-link:hover {
  color: var(--accent);
}

.footer-cta-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 18rem;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(45, 212, 168, 0.35);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.footer-cta-btn:hover {
  background: rgba(45, 212, 168, 0.22);
  border-color: rgba(45, 212, 168, 0.55);
  text-decoration: none;
  transform: translateY(-1px);
}

.footer-external-link {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-external-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  max-width: 1100px;
  margin-inline: auto;
  padding: 1rem 1.25rem 1.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.6;
}

.footer-copy .footer-external-link {
  font-size: inherit;
  color: var(--muted);
}

.footer-copy .footer-external-link:hover {
  color: var(--accent);
}

.profile-chip-hostel {
  background: var(--surface-2);
  border-color: rgba(45, 212, 168, 0.25);
}

.profile-chip-admin {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.35);
}

.spot-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0.25rem;
}

.spot-highlight-chip {
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 168, 0.25);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
}

.hostel-hub-back {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0;
}

.hostel-hub-back:hover {
  color: var(--text);
}

.hostel-hub-loading,
.hostel-hub-error {
  color: var(--muted);
  padding: 2rem 0;
  text-align: center;
}

.hostel-hub-hero {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hostel-hub-emoji {
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hostel-hub-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.hostel-hub-tagline {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.hostel-hub-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.hostel-hub-section {
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.hostel-hub-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hostel-hub-section-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin: -0.35rem 0 0.75rem;
  line-height: 1.45;
}

.hostel-hub-vibe {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.hostel-hub-description {
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  white-space: pre-wrap;
}

.hostel-hub-address {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.hostel-hub-activities {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hostel-hub-recurring-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recurring-schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recurring-schedule-emoji {
  font-size: 1.35rem;
  line-height: 1.2;
}

.recurring-schedule-body strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.recurring-schedule-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.recurring-plans-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.recurring-plan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recurring-plan-item-main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.recurring-plan-item-actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.recurring-plan-form {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recurring-plan-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recurring-plan-item-actions .btn-secondary {
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

.hostel-hub-highlights {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hostel-hub-highlight {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.hostel-offers-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hostel-offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hostel-offer-item--public {
  display: block;
}

.hostel-offer-item-main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.hostel-offer-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.hostel-offer-item-body strong {
  font-size: 0.95rem;
}

.hostel-offer-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.hostel-offer-item-actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.hostel-offer-form {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hostel-offer-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hostel-offer-item-actions .btn-secondary {
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

.panel-card-full {
  width: 100%;
}

.activity-source-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.activity-source-badge--weekly {
  color: #93c5fd;
}

.detail-title .activity-source-badge {
  vertical-align: 0.15em;
}

.map-popup-title .activity-source-badge {
  font-size: 0.62rem;
}

.hostel-hub-empty {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.hostel-hub-section-cta {
  margin-top: 1rem;
  width: 100%;
}

.hostel-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding-bottom: 2rem;
}

.hostel-hub-actions .btn-primary,
.hostel-hub-actions .btn-secondary {
  flex: 1 1 calc(50% - 0.35rem);
  min-width: 8.5rem;
}

@media (max-width: 480px) {
  .hostel-hub-actions .btn-primary,
  .hostel-hub-actions .btn-secondary {
    flex: 1 1 100%;
  }
}

.admin-hostels-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 70vh;
  overflow: auto;
}

.admin-hostel-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.admin-hostel-item-meta,
.admin-hostel-item-url {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0.25rem 0 0;
  word-break: break-all;
}

.admin-hostel-manage-btn {
  margin-top: 0.6rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}

.spots-search-field {
  margin-bottom: 1rem;
}

.spots-search-field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  padding: 0.65rem 0.85rem;
}

.spot-fav-btn {
  flex-shrink: 0;
  align-self: center;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem;
}

.spot-fav-btn.is-fav {
  color: #f472b6;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.panel-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.panel-card-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-grid {
  display: grid;
  gap: 1.25rem;
}

.hostel-profile-owner-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hostel-profile-preview-label {
  margin: 0;
  flex: 1;
  min-width: 12rem;
}

.hostel-hub--panel-preview {
  text-align: left;
}

.hostel-hub--panel-preview .hostel-hub-hero {
  text-align: center;
  margin-bottom: 1rem;
}

.hostel-hub--panel-preview .hostel-hub-emoji {
  font-size: 2.25rem;
}

.hostel-hub--panel-preview .hostel-hub-title {
  font-size: 1.35rem;
}

.hostel-panel-tabs {
  margin-bottom: 1.25rem;
}

.hostel-panel-pane {
  margin-top: 0;
}

.hostel-panel-profile-hero {
  margin-bottom: 1rem;
}

.hostel-panel-profile-hero .hostel-hub-emoji {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.hostel-panel-tagline {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.hostel-panel-section {
  margin: 1rem 0;
}

.hostel-panel-section-title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.hostel-panel-address {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.hostel-panel-offers-desc {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
}

.hostel-panel-offers-desc--empty {
  color: var(--muted);
  font-style: italic;
}

.hostel-panel-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.panel-qr-card {
  text-align: center;
}

.hostel-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  padding: 0.75rem;
  background: #fff;
  border-radius: var(--radius-sm);
}

.hostel-qr-img {
  display: block;
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
}

.hostel-qr-url {
  font-size: 0.75rem;
  color: var(--muted);
  word-break: break-all;
  margin: 0 0 1rem;
}

.hostel-stats {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hostel-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.hostel-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.detail-host-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.activity-detail-tabs {
  display: flex;
  gap: 0.25rem;
  margin: 0.75rem 0 1rem;
  padding: 0.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.activity-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.72;
  padding: 0.5rem 0.75rem;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}

.activity-tab:hover {
  color: var(--text);
  opacity: 1;
}

.activity-tab.active {
  background: var(--accent-dim);
  color: var(--accent);
  opacity: 1;
}

.activity-tab-panel.hidden {
  display: none;
}

/* ── Chat panel ── */
.activity-chat-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 280px;
}

.activity-chat-header {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.7rem 0.9rem 0.45rem;
}

.activity-chat-header-title {
  align-items: center;
  color: var(--text);
  display: flex;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 0.55rem;
  min-width: 0;
}

.activity-chat-title-emoji {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.05rem;
  justify-content: center;
  line-height: 1;
  padding: 0.1rem 0.15rem 0.1rem 0.05rem;
}

.activity-chat-title-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-chat-back-btn {
  display: none;
}

.activity-chat-live-dot {
  background: var(--muted);
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  margin: 0 0.3rem 0 0.2rem;
  width: 8px;
}

.activity-chat-live-dot.is-online {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(45, 212, 168, 0.6);
}

.activity-chat-live-dot.is-reconnecting {
  animation: chat-pulse 1.2s ease-in-out infinite;
  background: var(--warm);
  box-shadow: none;
}

@keyframes chat-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.activity-chat-status {
  color: var(--warm);
  font-size: 0.72rem;
  font-weight: 500;
}

.activity-chat-pinned {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(244, 162, 97, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.activity-chat-pinned-inner {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
}

.activity-chat-pinned-icon {
  align-items: center;
  background: rgba(251, 191, 36, 0.18);
  border-radius: 8px;
  display: flex;
  flex-shrink: 0;
  font-size: 0.95rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.activity-chat-pinned-content {
  flex: 1;
  min-width: 0;
}

.activity-chat-pinned-label {
  color: #fcd34d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.activity-chat-pinned-body {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.activity-chat-unpin-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  margin-top: 0.4rem;
  padding: 0;
  text-decoration: underline;
}

.activity-chat-unpin-btn:hover {
  color: var(--text);
}

.activity-chat-messages {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  max-height: min(42vh, 320px);
  min-height: 180px;
  overflow-y: auto;
  padding: 0.75rem;
  scroll-behavior: smooth;
}

.activity-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.activity-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.activity-chat-message {
  align-items: flex-end;
  display: flex;
  gap: 0.45rem;
  max-width: 92%;
}

.activity-chat-message.is-own {
  align-self: flex-end;
  flex-direction: row-reverse;
  margin-left: auto;
}

.activity-chat-avatar {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  font-size: 1rem;
  height: 1.85rem;
  justify-content: center;
  width: 1.85rem;
}

.activity-chat-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  max-width: 100%;
  padding: 0.45rem 0.65rem 0.35rem;
  position: relative;
}

.activity-chat-message.is-own .activity-chat-bubble {
  background: linear-gradient(145deg, rgba(45, 212, 168, 0.22), rgba(45, 212, 168, 0.1));
  border-color: rgba(45, 212, 168, 0.28);
  border-radius: 14px 14px 4px 14px;
}

.activity-chat-author {
  color: var(--accent);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.activity-chat-message-body {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.activity-chat-bubble-footer {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  margin-top: 0.2rem;
}

.activity-chat-time {
  color: var(--muted);
  font-size: 0.65rem;
}

.activity-chat-pin-btn {
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0;
  padding: 0.1rem 0.25rem;
  transition: opacity 0.15s, color 0.15s;
}

.activity-chat-message:hover .activity-chat-pin-btn,
.activity-chat-pin-btn:focus-visible {
  opacity: 1;
}

.activity-chat-pin-btn:hover {
  color: #fcd34d;
}

.activity-chat-composer {
  align-items: flex-end;
  display: flex;
  gap: 0.5rem;
}

.activity-chat-input-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.55rem 0.85rem 0.35rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.activity-chat-input-wrap:focus-within {
  border-color: rgba(45, 212, 168, 0.45);
  box-shadow: 0 0 0 3px rgba(45, 212, 168, 0.1);
}

.activity-chat-input-wrap input {
  background: transparent;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  padding: 0;
  width: 100%;
}

.activity-chat-input-wrap input::placeholder {
  color: var(--muted);
}

.activity-chat-char-count {
  align-self: flex-end;
  color: rgba(242, 245, 243, 0.55);
  font-size: 0.62rem;
}

.activity-chat-char-count.is-low {
  color: var(--warm);
  opacity: 1;
}

.activity-chat-send-btn {
  align-items: center;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: #0c0f0d;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  font-size: 1rem;
  height: 2.65rem;
  justify-content: center;
  transition: transform 0.12s, filter 0.12s;
  width: 2.65rem;
}

.activity-chat-send-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
}

.activity-chat-send-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.activity-chat-send-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.55;
  transform: none;
}

.activity-chat-empty,
.activity-chat-locked {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
  margin: auto;
  min-height: 140px;
  padding: 1rem;
  text-align: center;
}

.activity-chat-empty-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  opacity: 0.85;
}

.activity-chat-empty-title {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.activity-chat-empty-sub {
  font-size: 0.82rem;
  margin: 0;
  max-width: 16rem;
}

.activity-chat-empty--error .activity-chat-empty-title {
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 500;
}

.activity-chat-hint {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.75rem 0 0;
}

.visible-plan-chat-badge {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 1rem;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.profile-history {
  margin-top: 0.5rem;
}

.profile-history-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.profile-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  max-height: 140px;
  overflow-y: auto;
}

.profile-history-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.65rem;
  text-align: left;
  width: 100%;
}

.profile-history-item:hover {
  border-color: var(--accent);
}

.profile-language-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.profile-language-option {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.82rem;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  text-align: left;
}

.profile-language-option.is-selected {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent);
}

.chats-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.35);
}

.chats-empty-icon {
  font-size: 2rem;
  line-height: 1;
}

.chats-empty-title {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.chats-empty-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 28rem;
}

.chats-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1rem;
  min-height: min(70vh, 640px);
}

.chats-rooms-panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.45);
  padding: 1rem;
  overflow: auto;
}

.chats-panel-title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chats-panel-title--spaced {
  margin-top: 1.25rem;
}

.chats-section-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.chats-room-meta {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.chats-room-label {
  font-weight: 500;
  font-size: 0.9375rem;
  min-width: 0;
}

.chats-room-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.chats-room-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.chats-room-item:hover {
  background: rgba(56, 189, 248, 0.08);
}

.chats-room-item.is-active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

.chats-room-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.chats-room-empty {
  color: var(--muted);
  font-size: 0.875rem;
  padding: 0.5rem;
}

.chats-thread-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chats-thread-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  color: var(--muted);
}

.chats-thread-panel .activity-chat-panel {
  flex: 1;
  min-height: min(70vh, 640px);
  border: none;
  border-radius: 0;
  background: transparent;
}

.profile-history-item:hover {
  border-color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 900px) {
  .panel-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

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

  .map-panel,
  .visible-list-panel {
    position: static;
    max-height: none;
  }

  .map-container {
    height: 320px;
    min-height: 280px;
  }

  .visible-list-panel {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .nav--desktop {
    display: none;
  }

  .header-inner {
    gap: 0.65rem;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  #profile-name,
  #mi-hostal-label {
    display: none;
  }

  .profile-chip {
    padding: 0.4rem 0.55rem;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .filter-row {
    flex-direction: column;
  }

  #feed-view .feed-filters-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .chats-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .chats-rooms-panel {
    max-height: 220px;
  }

  body.mobile-chat-scroll-lock {
    overflow: hidden;
  }

  .activity-chat-back-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.1rem;
    height: 2.25rem;
    justify-content: center;
    line-height: 1;
    width: 2.25rem;
  }

  .activity-chat-back-btn:active {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Chats tab: hilo a pantalla completa */
  #chats-view.is-mobile-chat-open {
    padding: 0;
  }

  #chats-view.is-mobile-chat-open .page-header {
    display: none;
  }

  #chats-view.is-mobile-chat-open #chats-layout {
    position: fixed;
    inset: 0;
    z-index: var(--z-mobile-chat);
    margin: 0;
    min-height: 0;
    grid-template-columns: 1fr;
    background: var(--bg);
    padding: 0;
    padding-top: env(safe-area-inset-top);
  }

  #chats-view.is-mobile-chat-open .chats-rooms-panel {
    display: none;
  }

  #chats-view.is-mobile-chat-open .chats-thread-panel {
    border: none;
    border-radius: 0;
    min-height: 100dvh;
    height: 100%;
  }

  #chats-view.is-mobile-chat-open #chats-thread-active {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  #chats-view.is-mobile-chat-open #chats-zone-panel,
  #chats-view.is-mobile-chat-open #chats-activity-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  #chats-view.is-mobile-chat-open #chats-zone-panel.hidden,
  #chats-view.is-mobile-chat-open #chats-activity-panel.hidden {
    display: none;
  }

  #chats-view.is-mobile-chat-open .chats-thread-panel .activity-chat-panel {
    min-height: 0;
    height: 100%;
    flex: 1;
    padding-bottom: env(safe-area-inset-bottom);
  }

  #chats-view.is-mobile-chat-open .activity-chat-messages {
    flex: 1;
    max-height: none;
    min-height: 0;
  }

  /* Modal actividad: chat a pantalla completa */
  #activity-modal.is-chat-fullscreen {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
  }

  #activity-modal.is-chat-fullscreen::backdrop {
    background: var(--bg);
  }

  #activity-modal.is-chat-fullscreen .modal-content {
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    padding: calc(0.75rem + env(safe-area-inset-top)) 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  }

  #activity-modal.is-chat-fullscreen .modal-close {
    top: calc(0.5rem + env(safe-area-inset-top));
  }

  #activity-modal.is-chat-fullscreen .detail-emoji,
  #activity-modal.is-chat-fullscreen .detail-title {
    display: none;
  }

  #activity-modal.is-chat-fullscreen #activity-tab-chat:not(.hidden) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  #activity-modal.is-chat-fullscreen #activity-tab-chat .activity-chat-panel {
    flex: 1;
    min-height: 0;
  }

  #activity-modal.is-chat-fullscreen .activity-chat-messages {
    flex: 1;
    max-height: none;
    min-height: 0;
  }

  .chats-thread-panel .activity-chat-panel {
    min-height: 420px;
  }
}

/* Legal pages */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(12, 15, 13, 0.85);
}

.legal-back {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.legal-back:hover {
  color: var(--accent);
  text-decoration: none;
}

.legal-page {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  width: 100%;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.legal-meta {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-intro {
  margin: 0 0 2rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.legal-page h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-page p {
  margin: 0 0 0.75rem;
}

.legal-page ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-page strong {
  color: var(--text);
  font-weight: 600;
}

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
}

.legal-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-legal {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.auth-legal input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.auth-legal span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.auth-legal-notice {
  margin: 0.75rem 0 0;
  text-align: center;
  line-height: 1.45;
}
