:root {
  --ink-950: #102039;
  --ink-900: #172842;
  --ink-800: #243956;
  --ink-700: #40536d;
  --ink-600: #607087;
  --ink-500: #7e8b9d;
  --ink-300: #cbd3dc;
  --ink-200: #e0e6ec;
  --ink-100: #eef2f6;
  --ink-50: #f7f9fb;
  --brand-900: #084f49;
  --brand-800: #09645c;
  --brand-700: #0b776d;
  --brand-600: #109487;
  --brand-500: #19ab9b;
  --brand-200: #b9ece5;
  --brand-100: #dcf7f2;
  --brand-50: #f1fcfa;
  --lime-500: #b8df3a;
  --lime-300: #d8ef8b;
  --lime-100: #f2f9dc;
  --amber-600: #cb7800;
  --amber-500: #ed9300;
  --amber-100: #fff0cf;
  --red-700: #b3353d;
  --red-600: #d04750;
  --red-100: #ffe7e9;
  --blue-700: #2667b5;
  --blue-100: #e5f0ff;
  --purple-700: #6e52b5;
  --purple-100: #f0eaff;
  --surface: #ffffff;
  --page: #f4f7f8;
  --shadow-xs: 0 1px 2px rgba(16, 32, 57, 0.06);
  --shadow-sm: 0 5px 18px rgba(16, 32, 57, 0.08);
  --shadow-md: 0 16px 40px rgba(16, 32, 57, 0.13);
  --shadow-lg: 0 26px 70px rgba(16, 32, 57, 0.18);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--page);
  font-family: var(--font);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img,
svg {
  display: block;
}

button {
  border: 0;
}

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

.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 17px;
  height: 17px;
}

.icon-lg {
  width: 26px;
  height: 26px;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(83px + var(--safe-bottom));
}

.content-wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 16px;
}

.app-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(224, 230, 236, 0.82);
  backdrop-filter: blur(18px);
}

.app-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 8px 18px rgba(11, 119, 109, 0.24);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(216, 239, 139, 0.42);
  right: -5px;
  top: -6px;
}

.brand-mark__ball {
  position: relative;
  z-index: 1;
  font-size: 21px;
  line-height: 1;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  display: block;
  font-weight: 850;
  letter-spacing: -0.035em;
  font-size: 17px;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-tagline {
  display: none;
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.location-pill,
.icon-button,
.avatar-button,
.back-button {
  min-height: 42px;
  border-radius: 14px;
  background: var(--ink-50);
  color: var(--ink-800);
  border: 1px solid var(--ink-100);
  cursor: pointer;
}

.location-pill {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-weight: 750;
  font-size: 13px;
}

.icon-button,
.back-button {
  position: relative;
  width: 42px;
  display: grid;
  place-items: center;
}

.icon-button:hover,
.location-pill:hover,
.back-button:hover {
  background: var(--brand-50);
  color: var(--brand-800);
}

.notification-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red-600);
  border: 2px solid #fff;
  font-size: 9px;
  font-weight: 900;
}

.avatar-button {
  width: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  color: var(--brand-900);
  background: var(--brand-100);
  font-weight: 850;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(216, 239, 139, 0.32), transparent 28%),
    radial-gradient(circle at 3% 95%, rgba(25, 171, 155, 0.42), transparent 30%),
    linear-gradient(145deg, #082f3f 0%, #075d56 57%, #0d786c 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero::before {
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -115px;
}

.hero::after {
  width: 120px;
  height: 120px;
  right: 70px;
  bottom: -70px;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
  color: #eafbf7;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(31px, 8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 strong {
  color: var(--lime-300);
}

.hero-lead {
  max-width: 640px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.search-card {
  margin-top: 24px;
  padding: 13px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
}

.search-form {
  display: grid;
  gap: 10px;
}

.search-field {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border-radius: 16px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
}

.search-field:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(25, 171, 155, 0.13);
  background: #fff;
}

.search-field__icon {
  flex: 0 0 auto;
  color: var(--brand-700);
}

.search-field__body {
  min-width: 0;
  flex: 1;
}

.search-field label {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  font-weight: 850;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink-900);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  appearance: none;
}

.search-field input::placeholder {
  color: var(--ink-500);
  font-weight: 600;
}

.primary-button,
.secondary-button,
.ghost-button,
.soft-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 17px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow: 0 9px 20px rgba(11, 119, 109, 0.23);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(11, 119, 109, 0.3);
}

.secondary-button {
  color: var(--brand-900);
  background: var(--brand-100);
}

.ghost-button {
  color: var(--ink-800);
  background: #fff;
  border: 1px solid var(--ink-200);
}

.soft-button {
  color: var(--brand-900);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}

.danger-button {
  color: var(--red-700);
  background: var(--red-100);
}

.button-sm {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
}

.button-full {
  width: 100%;
}

.quick-filters {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-filters::-webkit-scrollbar,
.category-strip::-webkit-scrollbar,
.day-tabs::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.chip:hover,
.chip.is-active {
  color: var(--brand-900);
  background: var(--lime-300);
  border-color: var(--lime-300);
}

.hero-side-card {
  display: none;
}

.section {
  padding: 27px 0 4px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.section-kicker {
  margin: 0 0 3px;
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title {
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(22px, 5.5vw, 31px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-copy {
  margin: 7px 0 0;
  color: var(--ink-600);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-700);
  font-weight: 850;
  font-size: 13px;
  white-space: nowrap;
}

.category-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(106px, 1fr);
  gap: 10px;
  padding: 2px 1px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.category-card {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-xs);
  scroll-snap-align: start;
  cursor: pointer;
}

.category-card:hover,
.category-card.is-selected {
  border-color: var(--brand-200);
  background: var(--brand-50);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 24px;
  background: var(--brand-100);
}

.category-card:nth-child(2) .category-icon {
  background: var(--blue-100);
}

.category-card:nth-child(3) .category-icon {
  background: var(--purple-100);
}

.category-card:nth-child(4) .category-icon {
  background: var(--amber-100);
}

.category-card:nth-child(5) .category-icon {
  background: var(--red-100);
}

.category-name {
  font-size: 13px;
  font-weight: 850;
}

.category-count {
  display: block;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 650;
}

.discovery-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 17px;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #183650, #315c70);
}

.discovery-banner::after {
  content: "?";
  position: absolute;
  right: 12px;
  bottom: -50px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 180px;
  font-weight: 950;
  line-height: 1;
}

.discovery-banner__content,
.discovery-banner__actions {
  position: relative;
  z-index: 1;
}

.discovery-banner h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.discovery-banner p {
  max-width: 600px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
}

.discovery-banner .primary-button {
  color: var(--brand-900);
  background: var(--lime-300);
  box-shadow: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.session-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 22px;
  box-shadow: var(--shadow-xs);
}

.session-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.session-card__visual {
  min-height: 156px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  background:
    linear-gradient(180deg, transparent 15%, rgba(12, 29, 46, 0.72) 100%),
    radial-gradient(circle at 82% 16%, rgba(216, 239, 139, 0.65), transparent 19%),
    linear-gradient(135deg, #2b6578, #0d8f7e);
}

.session-card--swim .session-card__visual {
  background:
    linear-gradient(180deg, transparent 15%, rgba(12, 29, 46, 0.72) 100%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.45), transparent 19%),
    linear-gradient(135deg, #3879b8, #33a5c4);
}

.session-card--gym .session-card__visual {
  background:
    linear-gradient(180deg, transparent 15%, rgba(12, 29, 46, 0.72) 100%),
    radial-gradient(circle at 82% 16%, rgba(255, 239, 176, 0.55), transparent 19%),
    linear-gradient(135deg, #7a5cb6, #ca7196);
}

.session-card__emoji {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 61px;
  filter: drop-shadow(0 8px 12px rgba(8, 36, 49, 0.2));
  transform: rotate(-7deg);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.badge-light {
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.9);
}

.badge-green {
  color: var(--brand-900);
  background: var(--lime-300);
}

.badge-amber {
  color: #7f4c00;
  background: #ffe8ae;
}

.badge-red {
  color: var(--red-700);
  background: var(--red-100);
}

.badge-blue {
  color: var(--blue-700);
  background: var(--blue-100);
}

.badge-purple {
  color: var(--purple-700);
  background: var(--purple-100);
}

.favorite-button {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.favorite-button.is-saved {
  color: var(--red-600);
  background: #fff;
}

.favorite-button.is-saved .icon {
  fill: currentColor;
}

.session-card__visual-copy {
  position: relative;
  z-index: 1;
  color: #fff;
}

.session-card__visual-copy small {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 750;
}

.session-card__visual-copy strong {
  display: block;
  margin-top: 2px;
  max-width: 78%;
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.session-card__body {
  padding: 16px;
}

.session-card__meta {
  display: grid;
  gap: 9px;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-700);
  font-size: 12px;
}

.meta-row .icon {
  flex: 0 0 auto;
  color: var(--brand-700);
  margin-top: 1px;
}

.session-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--ink-100);
}

.price strong {
  display: block;
  color: var(--ink-950);
  font-size: 17px;
}

.price span {
  display: block;
  margin-top: 1px;
  color: var(--ink-500);
  font-size: 10px;
}

.trust-grid {
  display: grid;
  gap: 11px;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border-radius: 18px;
  border: 1px solid var(--ink-100);
  background: #fff;
}

.trust-card__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-800);
  background: var(--brand-100);
}

.trust-card h3 {
  margin: 0;
  font-size: 14px;
}

.trust-card p {
  margin: 4px 0 0;
  color: var(--ink-600);
  font-size: 12px;
}

.city-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ink-100);
}

.city-card__map {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background:
    linear-gradient(45deg, rgba(255,255,255,.55) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(-45deg, rgba(255,255,255,.55) 25%, transparent 25%) 0 17px / 34px 34px,
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.55) 75%) 17px -17px / 34px 34px,
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.55) 75%) -17px 0 / 34px 34px,
    #e4f1ec;
}

.map-road {
  position: absolute;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(96, 112, 135, 0.08);
}

.map-road.r1 {
  width: 80%;
  top: 32%;
  left: -8%;
  transform: rotate(18deg);
}

.map-road.r2 {
  width: 75%;
  top: 65%;
  right: -12%;
  transform: rotate(-19deg);
}

.map-road.r3 {
  width: 60%;
  top: 15%;
  right: -15%;
  transform: rotate(66deg);
}

.map-pin {
  position: absolute;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 2px;
  transform: rotate(-45deg);
  color: #fff;
  background: var(--brand-700);
  box-shadow: var(--shadow-sm);
}

.map-pin span {
  transform: rotate(45deg);
  font-size: 13px;
  font-weight: 900;
}

.map-pin.p1 { left: 23%; top: 33%; }
.map-pin.p2 { left: 58%; top: 18%; background: var(--purple-700); }
.map-pin.p3 { left: 68%; top: 60%; background: var(--amber-600); }
.map-pin.p4 { left: 39%; top: 68%; background: var(--blue-700); }

.city-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-stat {
  padding: 12px 8px;
  text-align: center;
  border-radius: 14px;
  background: var(--ink-50);
}

.mini-stat strong {
  display: block;
  font-size: 18px;
  color: var(--ink-950);
}

.mini-stat span {
  display: block;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer {
  margin-top: 34px;
  padding: 28px 0 110px;
  color: var(--ink-600);
  background: #fff;
  border-top: 1px solid var(--ink-100);
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer h3 {
  margin: 0 0 8px;
  color: var(--ink-900);
  font-size: 14px;
}

.footer p,
.footer a {
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 8px calc(8px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--ink-100);
  backdrop-filter: blur(18px);
}

.bottom-nav__inner {
  width: min(100%, 540px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.bottom-nav__item {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 15px;
  color: var(--ink-500);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.bottom-nav__item .icon {
  width: 22px;
  height: 22px;
}

.bottom-nav__item.is-active {
  color: var(--brand-800);
  background: var(--brand-50);
}

/* Search results */
.results-top {
  position: sticky;
  z-index: 34;
  top: 68px;
  background: rgba(244, 247, 248, 0.95);
  border-bottom: 1px solid var(--ink-100);
  backdrop-filter: blur(15px);
}

.results-search {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
}

.compact-search {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-xs);
  min-width: 0;
}

.compact-search__copy {
  min-width: 0;
  flex: 1;
}

.compact-search strong,
.compact-search span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-search strong {
  font-size: 12px;
}

.compact-search span {
  color: var(--ink-500);
  font-size: 10px;
}

.results-summary {
  padding: 18px 0 9px;
}

.results-summary h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.results-summary p {
  margin: 6px 0 0;
  color: var(--ink-600);
  font-size: 13px;
}

.results-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.results-toolbar::-webkit-scrollbar {
  display: none;
}

.filter-button,
.sort-button,
.view-button {
  flex: 0 0 auto;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 13px;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid var(--ink-200);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active,
.view-button.is-active {
  color: var(--brand-900);
  border-color: var(--brand-200);
  background: var(--brand-100);
}

.active-filter-count {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-700);
  font-size: 9px;
}

.results-layout {
  display: grid;
  gap: 17px;
  padding: 15px 0 26px;
}

.results-list {
  display: grid;
  gap: 13px;
}

.result-card {
  position: relative;
  padding: 15px;
  border-radius: 21px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-xs);
}

.result-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.result-card__top {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
}

.result-card__thumb {
  min-height: 84px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-size: 36px;
  background: linear-gradient(145deg, var(--brand-100), var(--brand-200));
}

.result-card--swim .result-card__thumb {
  background: linear-gradient(145deg, var(--blue-100), #b7ddff);
}

.result-card--gym .result-card__thumb {
  background: linear-gradient(145deg, var(--purple-100), #d8c7ff);
}

.result-card--tennis .result-card__thumb {
  background: linear-gradient(145deg, var(--lime-100), var(--lime-300));
}

.result-card__title-wrap {
  min-width: 0;
  padding-right: 34px;
}

.result-card h2 {
  margin: 5px 0 3px;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.result-card__provider {
  color: var(--ink-600);
  font-size: 11px;
  font-weight: 700;
}

.rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  color: var(--ink-600);
  font-size: 10px;
}

.rating-stars {
  color: var(--amber-500);
  letter-spacing: -1px;
}

.result-card__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 13px;
}

.detail-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--ink-700);
  font-size: 11px;
}

.detail-pill .icon {
  color: var(--brand-700);
  flex: 0 0 auto;
}

.result-card__trust {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.result-card__trust::-webkit-scrollbar {
  display: none;
}

.trust-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--brand-900);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  font-size: 9px;
  font-weight: 850;
}

.result-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--ink-100);
}

.availability {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-800);
  font-size: 10px;
  font-weight: 850;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.results-map {
  display: none;
  position: sticky;
  top: 158px;
  height: calc(100vh - 185px);
  min-height: 550px;
  overflow: hidden;
  border-radius: 25px;
  border: 1px solid var(--ink-100);
  background:
    linear-gradient(45deg, rgba(255,255,255,.5) 25%, transparent 25%) 0 0 / 44px 44px,
    linear-gradient(-45deg, rgba(255,255,255,.5) 25%, transparent 25%) 0 22px / 44px 44px,
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.5) 75%) 22px -22px / 44px 44px,
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.5) 75%) -22px 0 / 44px 44px,
    #deeee8;
}

.results-map__label {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 850;
}

.map-price-pin {
  position: absolute;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 13px 13px 13px 3px;
  color: #fff;
  background: var(--brand-800);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 900;
}

.map-price-pin.mp1 { left: 18%; top: 30%; }
.map-price-pin.mp2 { left: 56%; top: 20%; background: var(--purple-700); }
.map-price-pin.mp3 { left: 69%; top: 55%; background: var(--amber-600); }
.map-price-pin.mp4 { left: 35%; top: 68%; background: var(--blue-700); }
.map-price-pin.mp5 { left: 21%; top: 53%; }

/* Drawers and sheets */
.overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(16, 32, 57, 0.45);
  backdrop-filter: blur(2px);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 390px);
  display: flex;
  flex-direction: column;
  transform: translateX(103%);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.24s ease;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--ink-100);
}

.drawer-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

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

.notification-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 17px;
  background: var(--ink-50);
  border: 1px solid transparent;
}

.notification-item.is-unread {
  background: var(--brand-50);
  border-color: var(--brand-100);
}

.notification-item__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-800);
  background: #fff;
}

.notification-item strong {
  display: block;
  font-size: 12px;
}

.notification-item p {
  margin: 3px 0 0;
  color: var(--ink-600);
  font-size: 11px;
}

.notification-item time {
  display: block;
  margin-top: 6px;
  color: var(--ink-500);
  font-size: 9px;
}

.bottom-sheet {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translateY(103%);
  border-radius: 27px 27px 0 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.24s ease;
  padding-bottom: var(--safe-bottom);
}

.bottom-sheet.is-open {
  transform: translateY(0);
}

.sheet-handle {
  width: 44px;
  height: 5px;
  flex: 0 0 auto;
  margin: 8px auto 4px;
  border-radius: 999px;
  background: var(--ink-200);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 17px 13px;
  border-bottom: 1px solid var(--ink-100);
}

.sheet-head h2 {
  margin: 0;
  font-size: 18px;
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 17px 20px;
}

.sheet-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
  padding: 12px 17px;
  background: #fff;
  border-top: 1px solid var(--ink-100);
}

.filter-group + .filter-group {
  margin-top: 22px;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--ink-700);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.option-chip.is-selected {
  color: var(--brand-900);
  background: var(--brand-100);
  border-color: var(--brand-200);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.range-input {
  min-height: 46px;
  width: 100%;
  padding: 0 11px;
  border-radius: 13px;
  border: 1px solid var(--ink-200);
  outline: 0;
}

.range-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(25, 171, 155, 0.12);
}

.toast {
  position: fixed;
  z-index: 130;
  left: 50%;
  bottom: calc(91px + var(--safe-bottom));
  width: min(calc(100% - 28px), 420px);
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translate(-50%, 20px);
  visibility: hidden;
  opacity: 0;
  padding: 13px 15px;
  border-radius: 16px;
  color: #fff;
  background: var(--ink-950);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 750;
  transition: 0.22s ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Admin */
.admin-body {
  background: #eff3f5;
}

.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  display: none;
}

.admin-main {
  min-width: 0;
  padding-bottom: calc(86px + var(--safe-bottom));
}

.admin-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ink-100);
  backdrop-filter: blur(18px);
}

.admin-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
}

.admin-header__title {
  min-width: 0;
}

.admin-header__title h1 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.admin-header__title p {
  display: none;
  margin: 2px 0 0;
  color: var(--ink-500);
  font-size: 11px;
}

.admin-content {
  padding: 17px 14px 28px;
}

.admin-welcome {
  display: grid;
  gap: 14px;
  margin-bottom: 17px;
}

.admin-welcome h2 {
  margin: 0;
  font-size: clamp(24px, 6.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.admin-welcome p {
  margin: 6px 0 0;
  color: var(--ink-600);
  font-size: 13px;
}

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

.admin-actions::-webkit-scrollbar {
  display: none;
}

.admin-actions .primary-button,
.admin-actions .ghost-button {
  min-width: 0;
  white-space: nowrap;
}

.admin-actions .primary-button {
  grid-column: 1 / -1;
  grid-row: 1;
}

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

.kpi-card:nth-child(5) {
  grid-column: 1 / -1;
}

.kpi-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 15px;
  border-radius: 19px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-xs);
}

.kpi-card::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  right: -28px;
  top: -24px;
  border-radius: 50%;
  background: var(--brand-100);
}

.kpi-card:nth-child(2)::after { background: var(--blue-100); }
.kpi-card:nth-child(3)::after { background: var(--amber-100); }
.kpi-card:nth-child(4)::after { background: var(--red-100); }
.kpi-card:nth-child(5)::after { background: var(--purple-100); }

.kpi-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--brand-800);
  background: var(--brand-100);
}

.kpi-card:nth-child(2) .kpi-icon { color: var(--blue-700); background: var(--blue-100); }
.kpi-card:nth-child(3) .kpi-icon { color: var(--amber-600); background: var(--amber-100); }
.kpi-card:nth-child(4) .kpi-icon { color: var(--red-700); background: var(--red-100); }
.kpi-card:nth-child(5) .kpi-icon { color: var(--purple-700); background: var(--purple-100); }

.kpi-value {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 13px;
  color: var(--ink-950);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.kpi-label {
  display: block;
  margin-top: 5px;
  color: var(--ink-600);
  font-size: 10px;
  font-weight: 800;
}

.kpi-change {
  display: block;
  margin-top: 4px;
  color: var(--brand-700);
  font-size: 9px;
  font-weight: 850;
}

.admin-grid {
  display: grid;
  gap: 13px;
  margin-top: 14px;
}

.panel {
  min-width: 0;
  overflow: hidden;
  border-radius: 21px;
  background: #fff;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-xs);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--ink-100);
}

.panel-head h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.panel-head p {
  margin: 4px 0 0;
  color: var(--ink-500);
  font-size: 10px;
}

.panel-body {
  padding: 14px;
}

.queue-list,
.activity-list,
.freshness-list {
  display: grid;
  gap: 9px;
}

.queue-item {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: var(--ink-50);
}

.queue-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-900);
  background: var(--brand-100);
  font-weight: 900;
}

.queue-item h3 {
  margin: 0;
  font-size: 12px;
}

.queue-item p {
  margin: 3px 0 0;
  color: var(--ink-600);
  font-size: 10px;
}

.queue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.queue-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 2px;
}

.progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px 0;
}

.progress-row + .progress-row {
  border-top: 1px solid var(--ink-100);
}

.progress-copy strong {
  display: block;
  font-size: 11px;
}

.progress-copy span {
  display: block;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 9px;
}

.progress-bar {
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink-100);
}

.progress-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
}

.progress-value {
  min-width: 45px;
  text-align: right;
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 900;
}

.search-insight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
}

.search-insight + .search-insight {
  border-top: 1px solid var(--ink-100);
}

.search-insight strong {
  display: block;
  font-size: 11px;
}

.search-insight span {
  display: block;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 9px;
}

.search-insight__count {
  min-width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-900);
  background: var(--brand-100);
  font-size: 10px;
  font-weight: 900;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.status-tile {
  padding: 13px;
  border-radius: 16px;
  background: var(--ink-50);
}

.status-tile strong {
  display: block;
  font-size: 19px;
}

.status-tile span {
  display: block;
  margin-top: 3px;
  color: var(--ink-500);
  font-size: 9px;
  font-weight: 800;
}

.status-tile.is-good { background: var(--brand-50); color: var(--brand-900); }
.status-tile.is-warning { background: var(--amber-100); color: #865000; }
.status-tile.is-danger { background: var(--red-100); color: var(--red-700); }
.status-tile.is-neutral { background: var(--blue-100); color: var(--blue-700); }

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  padding-bottom: 13px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--ink-100);
}

.timeline-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-800);
  background: var(--brand-100);
}

.timeline-item strong {
  display: block;
  font-size: 11px;
}

.timeline-item p {
  margin: 3px 0 0;
  color: var(--ink-600);
  font-size: 10px;
}

.timeline-item time {
  display: block;
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 9px;
}

.admin-bottom-nav {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 7px calc(7px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--ink-100);
  backdrop-filter: blur(18px);
}

.admin-bottom-nav button {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 14px;
  color: var(--ink-500);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.admin-bottom-nav button.is-active {
  color: var(--brand-800);
  background: var(--brand-50);
}

.admin-mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  width: min(88vw, 320px);
  transform: translateX(-103%);
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--ink-950);
  box-shadow: var(--shadow-lg);
  transition: transform 0.24s ease;
}

.admin-mobile-menu.is-open {
  transform: translateX(0);
}

.admin-mobile-menu .sidebar-brand,
.admin-sidebar .sidebar-brand {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand .brand-name {
  color: #fff;
}

.sidebar-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
  overflow-y: auto;
}

.sidebar-section-label {
  padding: 14px 11px 7px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.sidebar-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 750;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  color: #fff;
  background: rgba(25, 171, 155, 0.18);
}

.sidebar-link__badge {
  margin-left: auto;
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--ink-950);
  background: var(--lime-300);
  font-size: 9px;
  font-weight: 900;
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-user__avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-900);
  background: var(--lime-300);
  font-weight: 900;
}

.sidebar-user strong,
.sidebar-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user strong { color: #fff; font-size: 11px; }
.sidebar-user span { color: rgba(255,255,255,.47); font-size: 9px; margin-top: 2px; }

/* Responsive */
@media (min-width: 560px) {
  .content-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }

  .brand-tagline {
    display: block;
  }

  .location-pill {
    display: inline-flex;
  }

  .search-form {
    grid-template-columns: 1.35fr 0.85fr;
  }

  .search-form .primary-button {
    grid-column: 1 / -1;
  }

  .category-strip {
    grid-auto-columns: minmax(125px, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

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

  .kpi-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (min-width: 760px) {
  .app-shell {
    padding-bottom: 0;
  }

  .app-header__inner {
    min-height: 76px;
  }

  .hero {
    padding: 48px 0 46px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 38px;
    align-items: center;
  }

  .hero-side-card {
    display: block;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(12px);
  }

  .hero-side-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
  }

  .hero-side-card h3 {
    margin: 0;
    font-size: 14px;
  }

  .hero-side-card p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 10px;
  }

  .hero-side-card__list {
    display: grid;
    gap: 8px;
  }

  .hero-side-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-side-row__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 20px;
  }

  .hero-side-row strong,
  .hero-side-row span {
    display: block;
  }

  .hero-side-row strong { font-size: 11px; }
  .hero-side-row span { margin-top: 2px; color: rgba(255,255,255,.6); font-size: 9px; }

  .hero-side-row__places {
    color: var(--lime-300);
    font-size: 10px;
    font-weight: 900;
  }

  .search-form {
    grid-template-columns: 1.35fr 0.8fr 0.65fr auto;
  }

  .search-form .primary-button {
    grid-column: auto;
    min-width: 132px;
  }

  .section {
    padding-top: 42px;
  }

  .category-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    overflow: visible;
  }

  .discovery-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 28px;
  }

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

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

  .city-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 24px;
  }

  .bottom-nav {
    display: none;
  }

  .footer {
    padding-bottom: 34px;
  }

  .results-top {
    top: 76px;
  }

  .results-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: start;
  }

  .results-map {
    display: block;
  }

  .bottom-sheet {
    left: 50%;
    right: auto;
    width: min(620px, calc(100% - 32px));
    transform: translate(-50%, 103%);
  }

  .bottom-sheet.is-open {
    transform: translate(-50%, 0);
  }

  .toast {
    bottom: 24px;
  }

  .admin-header__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .admin-header__title p {
    display: block;
  }

  .admin-content {
    padding: 22px 24px 36px;
  }

  .admin-welcome {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .admin-actions {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-actions .primary-button {
    grid-column: auto;
    grid-row: auto;
  }

  .kpi-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .panel-span-2 {
    grid-column: 1 / -1;
  }

  .queue-item {
    grid-template-columns: 43px minmax(0, 1fr) auto;
    align-items: center;
  }

  .queue-actions {
    grid-column: auto;
    grid-template-columns: auto auto;
    margin-top: 0;
  }
}

@media (min-width: 1040px) {
  .admin-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: var(--ink-950);
  }

  .admin-main {
    padding-bottom: 0;
  }

  .admin-header__inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .admin-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px 30px 44px;
  }

  .admin-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  }

  .panel-span-2 {
    grid-column: auto;
  }

  .panel-wide {
    grid-column: 1 / -1;
  }

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

  .admin-mobile-menu {
    display: none;
  }
}

@media (min-width: 1200px) {
  .brand-name {
    font-size: 18px;
  }

  .hero h1 {
    max-width: 780px;
  }

  .results-layout {
    grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  }

  .result-card__top {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .result-card__thumb {
    min-height: 97px;
  }

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

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