@font-face {
  font-family: Onest;
  src: url("/prototype/assets/Onest-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url("/prototype/assets/GolosText-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --font-heading: Onest, Arial, sans-serif;
  --font-ui: Golos, Arial, sans-serif;
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #fff;
  --raised: #f0f3f6;
  --ink: #17191c;
  --muted: #606b78;
  --line: #e1e6ed;
  --accent: #ff5a00;
  --choice-size: 20px;
  --choice-radius: 50%;
  --choice-border: #84909e;
  --soft: #ffebdd;
  --green: #276339;
  --green-bg: #e7f3e9;
  --error: #ac2828;
  --error-bg: #fff0ef;
  --shadow: 0 12px 44px #0b0b0b0b;
}
:root[data-color-scheme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #191c21;
  --raised: #272c34;
  --ink: #f2f5f8;
  --muted: #b6bfcc;
  --choice-border: #8993a0;
  --line: #3a424e;
  --soft: #3a241a;
  --green: #bce4c1;
  --green-bg: #203926;
  --error: #ffc2ba;
  --error-bg: #3e2423;
  --shadow: 0 12px 44px #0004;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--ink);
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.5 Golos,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-ui);
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
}
/* Headings carry the brand; emphasis and controls stay in the interface family. */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}
strong,
b {
  font-weight: 700;
}
.primary {
  font-family: var(--font-ui);
  font-weight: 700;
}
h1 {
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 0 0 18px;
}
h2 {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 20px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
p {
  margin: 0 0 16px;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 13px;
}
.wrap {
  max-width: 1320px;
  margin: auto;
  padding-inline: 32px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--line);
}
.header::before {
  content: "";
  position: absolute;
  inset: calc(-1 * env(safe-area-inset-top, 0px) - 1px) 0 100%;
  background: var(--bg);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 84px;
}
.logo img {
  width: 142px;
  display: block;
}
.logo small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.header nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}
.header nav a.active {
  color: var(--accent);
}
.header-right {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 22px;
}
.primary,
.secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.primary {
  background: var(--accent);
  color: #0b0b0b;
}
.secondary {
  background: var(--surface);
  border-color: var(--line);
}
.wide {
  width: 100%;
}
.header .primary {
  min-height: 44px;
  font-size: 14px;
}
.avatar {
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0b;
  display: grid;
  place-items: center;
  font: 700 14px Golos;
}
.test-pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  background: var(--surface);
}
.test-pill {
  background: var(--soft);
  border: 0;
  color: var(--ink);
}
.hero {
  padding: 48px 0 28px;
}
.hero-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.chip {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 99px;
  font-size: 14px;
}
.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.sports-chips .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
}
.sports-chips .ui-icon {
  width: 22px;
  height: 22px;
}
.pack-icon {
  fill: currentColor;
  stroke: none;
}
.search-history {
  min-width: 0;
  margin: 8px 0 24px;
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.history-heading p {
  margin: 0;
  font-size: 13px;
}
.history-heading .text-button {
  min-height: 44px;
  padding: 8px 0 8px 12px;
  font-size: 13px;
  color: var(--muted);
}
.recent-searches {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px;
  margin: -4px;
  scrollbar-width: thin;
  scroll-padding-inline: 4px;
}
.recent-search {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(330px, calc(100vw - 48px));
  min-height: 68px;
  padding: 12px 14px;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.recent-search > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.recent-title {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-detail {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.recent-search > .ui-icon:last-child {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: end;
  gap: 12px;
  background: var(--surface);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
label.field {
  display: block;
  min-width: 0;
}
.field > span {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--muted);
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--ink);
}
input::placeholder {
  color: var(--muted);
}
input[type="date"] {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  max-width: 100%;
  height: var(--control-height, 50px);
  text-align: left;
}
input[type="date"]::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: left;
}
input[type="checkbox"] {
  width: var(--choice-size);
  height: var(--choice-size);
  min-height: var(--choice-size);
  flex: 0 0 var(--choice-size);
  accent-color: var(--accent);
  margin: 0;
  padding: 0;
}
.duration {
  display: grid;
  grid-template-columns: 44px minmax(75px, 1fr) 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  min-height: 50px;
}
.duration button {
  background: transparent;
  color: var(--ink);
  border: 0;
  min-height: 48px;
  font-size: 24px;
}
.duration output {
  text-align: center;
  font: 700 16px Golos;
  white-space: nowrap;
}
.duration-short {
  display: none;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
}
.results-bar h2 {
  margin: 0;
  font-size: 24px;
}
.view-switch {
  display: flex;
  gap: 6px;
}
.view-switch .secondary {
  min-height: 44px;
  padding: 8px 15px;
  font-size: 14px;
}
.view-switch .active {
  border-color: var(--ink);
}
.view-switch .ui-icon {
  width: 20px;
  height: 20px;
}
.mobile-catalog-tools {
  display: none;
}
.quick-filter-options {
  margin: 0;
  padding: 18px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow);
}
.quick-filter-options h3 {
  margin: 0 0 16px;
  font-size: 18px;
}
.quick-filter-options form {
  margin: 0;
}
.quick-metro-list,
.quick-surface-list {
  max-height: min(260px, calc(var(--quick-filter-max-height, 440px) - 150px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.quick-metro-list {
  margin-top: 12px;
}
.quick-option {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
}
.quick-option[aria-pressed="true"] {
  background: var(--raised);
  font-weight: 700;
}
.quick-option[hidden],
.quick-filter-empty[hidden] {
  display: none;
}
.quick-filter-empty {
  margin: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.quick-surface-list .check {
  min-height: 44px;
  padding: 10px 4px;
}
.quick-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.quick-filter-actions .primary {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}
.quick-filter-actions .text-button {
  min-height: 44px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 24px;
}
.catalog-layout > section {
  min-width: 0;
}
.filters {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 108px;
}
.filters .field {
  margin-bottom: 20px;
}
.filters h3 {
  margin-bottom: 22px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.filters .check {
  margin: 18px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  min-width: 0;
  position: relative;
  transition: border-color 150ms ease;
}
.card-media {
  display: block;
  height: 184px;
  position: relative;
  background: var(--raised);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.media-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 11px;
  background: var(--surface);
  padding: 4px 8px;
  border-radius: 5px;
}
.favorite {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 23px;
}
.favorite.active {
  color: var(--accent);
}
.card-body {
  padding: 18px;
}
.card-body h3 {
  font-size: 19px;
  line-height: 1.25;
}
.card-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}
.card .tags {
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tag {
  font-size: 11px;
  padding: 3px 7px;
  background: var(--raised);
  border: 0;
}
.card-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  gap: 10px;
}
.card-bottom strong {
  font-size: 19px;
}
.card-bottom small {
  font-size: 11px;
}
.arrow {
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 9px;
  color: #0b0b0b;
  font-size: 21px;
}
.free {
  color: var(--green);
  font-size: 12px;
}
.object-note {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 50px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  grid-column: 1/-1;
}
.map-area {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.map-area iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 460px;
}
.map-caption {
  padding: 16px;
  font-size: 14px;
}
.map-picker {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.map-picker button {
  white-space: nowrap;
}
.page {
  padding-block: 32px 64px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 26px;
}
.venue-heading h1 {
  font-size: 44px;
  margin-bottom: 12px;
}
.venue-heading .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.venue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: start;
}
.venue-photo {
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--raised);
  position: relative;
  margin-bottom: 28px;
}
.venue-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 26px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fact small {
  display: block;
  margin-bottom: 5px;
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.booking-panel {
  position: sticky;
  top: 108px;
}
.booking-panel .field {
  margin: 20px 0;
}
.booking-panel h2 {
  font-size: 27px;
}
.calendar {
  margin: 12px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--raised);
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-transform: capitalize;
  font-size: 14px;
}
.calendar-head button {
  width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin-top: 10px;
}
.calendar-grid > span {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 5px 0;
}
.day {
  min-height: 40px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  font-size: 13px;
}
.day.active {
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 700;
}
.time-groups {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.time-groups .chip {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 12px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot {
  padding: 10px 5px;
  min-height: 44px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
}
.slot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0b;
}
.total {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 22px 0;
}
.total strong {
  font-size: 30px;
  white-space: nowrap;
}
.total small {
  display: block;
}
.note {
  background: var(--raised);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  margin: 16px 0;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
  max-width: 1000px;
  margin: auto;
}
.checkout-layout h1 {
  font-size: 40px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.fields .full {
  grid-column: 1/-1;
}
.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 20px 0;
  font-size: 13px;
}
.consent input {
  margin-top: 0;
}
.consent a {
  text-decoration: underline;
}
.summary {
  position: sticky;
  top: 108px;
}
.summary h3 {
  font-size: 22px;
}
.summary .price {
  font: 700 32px Golos;
}
.success {
  max-width: 740px;
  margin: 30px auto;
}
.success-symbol {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  font-size: 32px;
  margin-bottom: 24px;
}
.success h1 {
  font-size: 40px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.account-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 28px;
}
.account-nav {
  align-self: start;
  position: sticky;
  top: 108px;
}
.account-nav a {
  display: block;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 5px;
}
.account-nav a.active {
  background: var(--raised);
}
.account-title {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.account-title h1 {
  font-size: 40px;
  margin: 0 0 8px;
}
.account-title p {
  margin: 0;
}
.profile-panel {
  max-width: 820px;
}
#profile {
  display: grid;
  gap: 24px;
}
#profile .form-hint {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
#profile .error {
  margin: 0;
}
.account-content {
  min-width: 0;
}
.ui-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
}
.favorite .ui-icon {
  width: 22px;
  height: 22px;
}
.favorite.active .ui-icon {
  fill: currentColor;
}
.filters-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  margin-bottom: 8px;
  background: transparent;
  color: var(--muted);
  border: 0;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}
.filters-reset .ui-icon {
  width: 16px;
  height: 16px;
}
.filters > small {
  display: block;
  line-height: 1.5;
}
.booking-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 14px 0;
  background: var(--surface);
  align-items: center;
}
.booking-date {
  background: var(--raised);
  border-radius: 10px;
  text-align: center;
  padding: 12px 8px;
}
.booking-date strong {
  display: block;
  font-size: 27px;
}
.booking-date small {
  font-size: 12px;
}
.booking-card h3 {
  margin-bottom: 4px;
}
.booking-card p {
  font-size: 13px;
  margin: 3px 0;
  color: var(--muted);
}
.booking-price {
  text-align: right;
}
.booking-price strong {
  display: block;
  font-size: 23px;
}
.booking-price .secondary {
  min-height: 36px;
  padding: 5px 10px;
  font-size: 12px;
  margin-top: 10px;
}
.status {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--green-bg);
  color: var(--green);
  display: inline-block;
}
.status.cancelled {
  background: var(--raised);
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 0 30px 120px #0005;
}
dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 30px;
  padding-right: 32px;
}
dialog .close {
  position: absolute;
  right: 18px;
  top: 18px;
  min-width: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
}
dialog .field {
  margin: 14px 0;
}
dialog .fields {
  gap: 10px;
}
dialog .fields .field {
  margin: 0;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-tabs .secondary {
  min-height: 40px;
  font-size: 14px;
}
.auth-tabs .active {
  border-color: var(--accent);
}
.error {
  color: var(--error);
  background: var(--error-bg);
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  margin: 14px 0;
}
.error:empty {
  display: none;
}
/* Field errors share the same inline treatment in every form and theme. */
.form-field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--field-error-bg, var(--error-bg));
  color: var(--field-error-ink, var(--error));
  font: 400 13px/20px Golos, Arial, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
.form-field-error > svg {width: 16px;height: 16px;flex: none;margin-top: 2px}
.form-field-error > span {min-width: 0}
.contact-consent-row > .form-field-error {flex: 1 0 100%}
label > .form-field-error {grid-column: 1 / -1}
[data-field-error] {scroll-margin-block: 100px}
input:is([type="checkbox"],[type="radio"])[data-field-error] {
  border-color: var(--field-error-ink, var(--error)) !important;
  box-shadow: 0 0 0 3px var(--field-error-bg, var(--error-bg)) !important;
}
input[data-field-error]:not([type="checkbox"]):not([type="radio"]):not(.native-select),
textarea[data-field-error],.select-trigger[data-field-error],
.field input[data-field-error]:not([type="checkbox"]):not([type="radio"]):not(.native-select),
.field textarea[data-field-error],.field .select-trigger[data-field-error] {
  border-color: var(--field-error-ink, var(--error)) !important;
  box-shadow: inset 0 0 0 1px var(--field-error-ink, var(--error)) !important;
}
.bt-page {--field-error-ink: #ffc2ba;--field-error-bg: #3e2423}
.loading {
  padding: 100px 30px;
  text-align: center;
  color: var(--muted);
}
.footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: start;
}
.footer p {
  margin: 4px 0;
  max-width: 680px;
}
.footer a {
  text-decoration: underline;
}
.bottom-nav {
  display: none;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: var(--shadow);
  display: none;
}
.admin-row {
  display: grid;
  grid-template-columns: 1fr 90px auto;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tariff {
  background: var(--raised);
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0;
}
.tariff .fields {
  grid-template-columns: 1fr 1fr 1fr;
}
.weekdays {
  display: flex;
  gap: 6px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.weekdays .chip {
  border-radius: 8px;
  padding: 7px 12px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric {
  padding: 18px;
  background: var(--raised);
  border-radius: 12px;
}
.metric strong {
  display: block;
  font-size: 30px;
}
.admin-content {
  max-width: 1000px;
}
.toggle-filters {
  display: none;
}
[data-color-scheme="dark"] .logo img {
  filter: invert(1);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: var(--muted);
  }
  .chip:hover,
  .secondary:hover {
    border-color: var(--ink);
  }
  .primary:hover {
    background: #f66b20;
  }
  .slot:not(:disabled):hover {
    border-color: var(--accent);
  }
}
@media (max-width: 1150px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-panel {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  }
  .search-panel .primary {
    grid-column: 3;
  }
  .venue-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
  }
  .header nav {
    gap: 15px;
  }
  .hero-top .muted {
    display: none;
  }
}
@media (max-width: 800px) {
  .wrap {
    padding-inline: 20px;
  }
  .header-inner {
    min-height: 72px;
    gap: 20px;
  }
  .logo img {
    width: 122px;
  }
  .header nav {
    display: none;
  }
  .header-right {
    gap: 8px;
  }
  .header .test-pill {
    display: none;
  }
  .hero {
    padding-top: 30px;
  }
  .hero p {
    font-size: 16px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    display: none;
  }
  .filters.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .filters h3 {
    grid-column: 1/-1;
  }
  .toggle-filters {
    display: inline-flex;
  }
  .results-bar {
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 12px;
  }
  .results-bar h2 {
    min-width: 0;
  }
  .view-switch {
    flex: none;
    gap: 4px;
  }
  .view-switch .secondary {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    background: transparent;
    border-color: transparent;
    color: var(--muted);
  }
  .view-switch .secondary.active {
    background: var(--raised);
    color: var(--ink);
  }
  .view-switch .ui-icon {
    width: 24px;
    height: 24px;
  }
  .view-switch .view-label {
    display: none;
  }
  .mobile-catalog-tools {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    margin-bottom: 20px;
  }
  .mobile-catalog-tools .toggle-filters {
    flex: none;
    gap: 6px;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 13px;
  }
  .mobile-catalog-tools .toggle-filters.active {
    border-color: var(--ink);
  }
  .mobile-catalog-tools .ui-icon {
    width: 20px;
    height: 20px;
  }
  .filter-count {
    font-size: 11px;
    line-height: 20px;
    min-width: 20px;
    padding-inline: 4px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    text-align: center;
  }
  .quick-filter-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 5px;
    margin: -5px;
    scrollbar-width: none;
    scroll-padding-inline: 5px;
  }
  .quick-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 6px;
    min-height: 44px;
    max-width: 220px;
    padding: 9px 12px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .quick-filter > span:not(.filter-chevron) {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .quick-filter.selected {
    background: var(--soft);
    border-color: var(--accent);
  }
  .filter-chevron {
    flex: none;
    width: 6px;
    height: 6px;
    margin: -3px 1px 0 3px;
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
    transform: rotate(45deg);
  }
  .quick-filter[aria-expanded="true"] .filter-chevron {
    transform: rotate(225deg);
    margin-top: 3px;
  }
  .venue-layout,
  .checkout-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }
  .booking-panel,
  .summary {
    position: static;
  }
  .account-nav {
    padding: 8px;
    position: static;
    margin-bottom: 0;
  }
  .account-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .account-nav a {
    min-width: 0;
    min-height: 44px;
    margin: 0;
    font-size: 13px;
    display: flex;
    align-items: center;
  }
  .venue-heading h1 {
    font-size: 36px;
  }
  .account-title h1 {
    font-size: 36px;
  }
  .summary {
    order: -1;
  }
  .checkout-layout .summary {
    margin-bottom: 0;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bottom-nav a {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 1px;
    font-size: 10px;
    color: var(--muted);
    min-width: 64px;
  }
  .bottom-nav span {
    font-size: 10px;
    line-height: 1.4;
  }
  .bottom-nav .active {
    color: var(--accent);
  }
  body {
    padding-bottom: 70px;
  }
  html {
    overscroll-behavior-y: none;
    scroll-padding-top: calc(90px + env(safe-area-inset-top, 0px));
  }
  #toast {
    bottom: 88px;
  }
  .footer-inner {
    display: block;
  }
  .footer-inner > a {
    display: inline-block;
    margin-top: 15px;
  }
  .venue-photo {
    height: 280px;
  }
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .wrap {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .chips {
    gap: 6px;
    margin: 20px 0;
  }
  .chip {
    padding: 8px 13px;
    font-size: 12px;
    min-height: 38px;
  }
  .search-panel {
    padding: 16px;
    gap: 14px 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
  .search-panel .query-field,
  .search-panel > .field:nth-child(2) {
    grid-column: 1/-1;
  }
  .search-panel .primary {
    grid-column: 1/-1;
    width: 100%;
  }
  .search-panel .duration-field {
    grid-column: auto;
  }
  .search-panel .duration {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
  .search-panel .duration-full {
    display: none;
  }
  .search-panel .duration-short {
    display: inline;
  }
  .search-panel .select-trigger {
    padding-inline: 12px 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .search-panel .select-trigger::after {
    right: 12px;
  }
  .results-bar h2 {
    font-size: 20px;
  }
  .results-bar {
    flex-wrap: nowrap;
  }
  .grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    border-radius: 14px;
  }
  .card-media {
    height: 100%;
    min-height: 215px;
  }
  .media-label {
    left: 6px;
    bottom: 8px;
    font-size: 9px;
    padding: 3px 5px;
  }
  .card-body {
    padding: 14px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-body p {
    font-size: 12px;
  }
  .card-bottom strong {
    font-size: 18px;
  }
  .card .tags {
    gap: 4px;
    margin: 9px 0;
  }
  .tag {
    font-size: 10px;
  }
  .favorite {
    right: auto;
    left: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
  .panel {
    padding: 20px;
    border-radius: 16px;
  }
  .venue-photo {
    height: 230px;
  }
  .venue-heading h1 {
    font-size: 33px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .fields .full {
    grid-column: auto;
  }
  .checkout-layout h1,
  .success h1 {
    font-size: 34px;
  }
  .facts {
    gap: 16px 12px;
  }
  .booking-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .booking-price {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .booking-price .secondary {
    margin-top: 0;
  }
  .booking-card h3 {
    font-size: 18px;
  }
  .account-title {
    align-items: start;
    gap: 10px;
  }
  .account-title h1 {
    font-size: 32px;
  }
  .account-title .secondary {
    font-size: 12px;
    min-height: 38px;
    padding: 8px 12px;
  }
  .page {
    padding-top: 24px;
  }
  .map-area iframe {
    height: 380px;
  }
  .admin-row {
    grid-template-columns: minmax(0, 1fr) 60px auto;
    font-size: 13px;
  }
  .tariff .fields {
    grid-template-columns: 1fr;
  }
  .header .primary {
    padding: 8px 13px;
  }
  .duration output {
    font-size: 16px;
  }
  .test-pill {
    font-size: 11px;
  }
  .auth-tabs .secondary {
    padding: 8px 14px;
  }
  dialog {
    padding: 24px 20px;
  }
  dialog h2 {
    font-size: 27px;
  }
  .summary .price {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  button:active:not(:disabled) {
    transform: none;
  }
}

.map-catalog {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.map-results {
  display: grid;
  gap: 16px;
}
.map-results .card-media {
  height: 140px;
}
.map-catalog .map-area {
  position: sticky;
  top: 108px;
}
@media (max-width: 1000px) {
  .map-catalog {
    grid-template-columns: 1fr;
  }
  .map-catalog .map-area {
    position: static;
    order: -1;
  }
  .map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .map-results {
    grid-template-columns: 1fr;
  }
  .map-results .card-media {
    height: 100%;
    min-height: 200px;
  }
}

.header nav a.active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
@media (max-width: 800px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .bottom-nav a {
    min-height: 44px;
  }
  .bottom-nav .active {
    color: var(--ink);
  }
}
.favorite::before {
  content: "";
  position: absolute;
  inset: -4px;
}
/* Consumer controls: consistent across desktop, mobile and both themes. */
.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
.select-control {
  position: relative;
  min-width: 0;
}
.select-trigger {
  width: 100%;
  min-height: 50px;
  padding: 11px 38px 11px 14px;
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  font-size: 15px;
  position: relative;
}
.select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  pointer-events: none;
}
.select-trigger[aria-expanded="true"]::after {
  top: 24px;
  transform: rotate(225deg);
}
.select-options {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.select-options button {
  width: 100%;
  display: block;
  border: 0;
  text-align: left;
  padding: 12px;
  min-height: 44px;
  background: transparent;
  color: var(--ink);
  border-radius: 7px;
  font-size: 14px;
}
.select-options [aria-selected="true"] {
  background: var(--raised);
  font-weight: 650;
}
.select-options button:focus-visible {
  background: var(--raised);
}
.choice-filter {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.choice-filter summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  min-height: 44px;
  font-weight: 650;
  font-size: 14px;
  list-style: none;
}
.choice-filter summary::-webkit-details-marker {
  display: none;
}
.choice-filter summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
}
.choice-filter[open] summary::after {
  content: "−";
}
.choice-filter summary span {
  font-size: 11px;
  background: var(--raised);
  border-radius: 20px;
  padding: 0 6px;
}
.choice-filter summary span:empty {
  display: none;
}
.choice-options {
  max-height: 280px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}
.filters .choice-options .check {
  min-height: 40px;
  margin: 0;
  padding: 9px 0;
  font-size: 13px;
}
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  border: 1.5px solid var(--choice-border);
  border-radius: var(--choice-radius);
  background: var(--surface);
  position: relative;
  display: block;
  cursor: pointer;
  transition: border-color 140ms ease-out, background-color 140ms ease-out;
}
input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
input[type="checkbox"]:is(:checked,:indeterminate)::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
input[type="checkbox"]:checked::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230b0b0b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
input[type="checkbox"]:indeterminate {background: var(--accent);border-color: var(--accent)}
input[type="checkbox"]:indeterminate::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' fill='none' stroke='%230b0b0b' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
input[type="checkbox"]:disabled {opacity:.5;cursor:not-allowed}
@media (hover:hover) and (pointer:fine) {
  input[type="checkbox"]:not(:disabled):not(:checked):not(:indeterminate):hover {border-color:var(--ink)}
}
@media (forced-colors:active) {
  input[type="checkbox"] {appearance:auto;-webkit-appearance:auto}
  input[type="checkbox"]::after {display:none}
}
.check span,
.consent span {
  min-width: 0;
}
.card-media img,
.venue-photo img {
  opacity: 1;
}
.quick-slots {
  margin-top: 16px;
}
.quick-slots > small {
  font-size: 11px;
  margin-bottom: 7px;
  display: block;
}
.quick-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-slot {
  border: 1px solid var(--line);
  padding: 8px 9px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 650;
  background: var(--raised);
  border-radius: 7px;
  display: grid;
  place-items: center;
}
@media (hover:hover) and (pointer:fine) {
.quick-slot:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b0b0b;
}
}
.more-times {
  min-width: 36px;
  min-height: 36px;
  text-align: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.venue-gallery {
  margin-bottom: 28px;
}
.venue-photo {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
  cursor: zoom-in;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow: auto;
}
.gallery-thumbs button {
  width: 100px;
  height: 72px;
  padding: 0;
  border: 0;
  background: var(--raised);
  border-radius: 8px;
  overflow: hidden;
  flex: none;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.source-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  text-decoration: underline;
  font-size: 12px;
}
#gallery {
  width: min(1000px, calc(100% - 24px));
}
#gallery h2 {
  font-size: 20px;
}
.gallery-image {
  display: block;
  width: 100%;
  max-height: 68dvh;
  object-fit: contain;
  background: var(--raised);
  border-radius: 10px;
}
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.map-catalog {
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  gap: 18px;
}
.map-area {
  position: relative;
  isolation: isolate;
}
.pati-map {
  width: 100%;
  height: 650px;
  background: var(--raised);
}
.map-area [class*="ground-pane"] {
  filter: grayscale(0.9);
}
[data-color-scheme="dark"] .map-area [class*="ground-pane"] {
  filter: grayscale(1) invert(0.9) contrast(0.85);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px;
  min-height: 400px;
}
.map-placeholder p {
  color: var(--muted);
  font-size: 14px;
}
.map-preview {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 32px;
  z-index: 5;
  max-height: 420px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}
.map-preview[hidden] {
  display: none;
}
.map-preview-close {
  position: sticky;
  top: 0;
  float: right;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  width: 36px;
  height: 36px;
  font-size: 22px;
  z-index: 2;
}
.map-preview-card {
  margin-bottom: 16px;
}
.map-preview-card:last-child {
  margin-bottom: 0;
}
.map-preview-card > a:first-child {
  display: flex;
  gap: 12px;
  padding-right: 26px;
}
.map-preview-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  flex: none;
  border-radius: 9px;
}
.map-preview-card h3 {
  font-size: 17px;
  margin: 0 0 5px;
}
.map-preview-card p {
  font-size: 13px;
  margin: 4px 0;
}
.map-preview-card small {
  font-size: 11px;
}
.map-preview-card .secondary {
  min-height: 40px;
  font-size: 13px;
  margin-top: 14px;
}
.auth-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  font-size: 12px;
  padding: 8px 0;
  min-height: 40px;
}
.demo-code strong {
  font-size: 19px;
  letter-spacing: 3px;
}
input[name="code"] {
  font-size: 24px;
  letter-spacing: 6px;
}
.object-infrastructure {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
}
.object-infrastructure .check {
  margin: 10px 0;
}
.footer .field {
  min-width: 190px;
}
@media (max-width: 1200px) {
  .map-catalog {
    grid-template-columns: 1fr;
  }
  .map-catalog .map-area {
    position: static;
    order: -1;
  }
  .map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pati-map {
    height: 500px;
  }
}
@media (max-width: 800px) {
  .filters.open {
    display: block;
  }
  .pati-map {
    height: 480px;
  }
  .map-preview {
    max-height: 330px;
  }
  .map-results {
    display: none;
  }
  .map-catalog {
    grid-template-columns: minmax(0, 1fr);
  }
  .map-catalog .map-area {
    position: relative;
    top: auto;
    order: initial;
  }
}
@media (max-width: 500px) {
  .card {
    display: block;
  }
  .card-media,
  .map-results .card-media {
    height: 180px;
    min-height: 0;
  }
  .favorite {
    left: auto;
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
  }
  .card-body {
    padding: 18px;
  }
  .card-body h3 {
    font-size: 20px;
  }
  .card-body p {
    font-size: 13px;
  }
  .card .tags {
    margin: 12px 0;
  }
  .tag {
    font-size: 11px;
  }
  .quick-slot {
    min-height: 40px;
    padding: 8px 13px;
  }
  .quick-slots > small {
    font-size: 12px;
  }
  .map-results {
    grid-template-columns: 1fr;
  }
  .map-preview {
    left: 10px;
    right: 10px;
    bottom: 28px;
    padding: 14px;
  }
  .pati-map {
    height: 440px;
  }
  .select-trigger {
    font-size: 16px;
  }
  input,
  textarea {
    font-size: 16px;
  }
  .check,
  .consent {
    line-height: 1.55;
  }
  .filters .check {
    min-height: 44px;
  }
  #profile .form-actions .primary {
    width: 100%;
  }
  .hero .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
    min-width: 0;
    max-width: 100%;
  }
  .hero .chips .chip {
    flex: none;
  }
  .footer .field {
    margin: 18px 0;
  }
}
@media (min-width: 1201px) {
  .map-results {
    max-height: 650px;
    overflow: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-width: thin;
  }
}
@media (max-width: 1200px) {
  .map-catalog .map-area {
    position: relative;
  }
}
@media (max-width: 500px) {
  .pati-map {
    height: calc(100dvh - 156px);
    min-height: 460px;
    max-height: 700px;
  }
}
.map-preview-card + .map-preview-card {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.map-preview-card > a:first-child > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (pointer: coarse) {
  input,
  textarea,
  .select-trigger {
    font-size: 16px;
  }
}

.footer-links{display:grid;gap:12px;margin-top:18px;font-size:12px;line-height:1.5}

/* Marketplace request lifecycle stays inside the player's booking. */
.booking-followup{grid-column:2/-1;min-width:0;overflow-wrap:anywhere}
.booking-state-note{font-size:14px;color:var(--muted);margin:0 0 12px}
.booking-change{padding-top:18px;border-top:1px solid var(--line)}
.booking-change h4{margin:0 0 12px;font-size:18px}
.booking-change .actions{margin-top:16px;gap:10px;flex-wrap:wrap}
.booking-change .actions button{min-height:44px}
.booking-review{padding-top:18px;border-top:1px solid var(--line)}
.booking-review summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}
.booking-review form{padding-top:16px;max-width:560px}
.booking-review textarea{min-height:110px;resize:vertical}
.player-review{padding-block:16px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.player-review blockquote{margin:16px 0 0;padding:12px 16px;border-left:3px solid var(--accent);background:var(--surface)}
.player-review p{white-space:pre-line}
@media(max-width:600px){.booking-followup{grid-column:1/-1}.booking-change .actions button{width:100%}}

/* Occupancy-source status stays separate from the slot legend. */
.booking-panel>.external-schedule-note{display:block;margin-top:10px;font-size:12px;line-height:1.6;color:var(--muted)}

/* Inline links stay recognisable across the form, consent and glass skins. */
:root {--link: #c44600;--link-hover: #9f3700}
:root[data-color-scheme="dark"],.pati-partners,.bt-page {--link: #ff965f;--link-hover: #ffb18c}
:where(p,small,li,dd,dt,blockquote,figcaption,label,legend,form,.form-hint,.form-actions,.auth-actions,.pl-auth-links,.footer-links) a[href]:not(:where(.primary,.secondary,.chip,.icon,.pl-button,.bt-button,.support-link,.logo,[role="button"],[aria-disabled="true"],nav a,[role="navigation"] a)),
:is(.play-back,.recovery-back),button.text-button:not(:disabled),button.recovery-retry:not(:disabled),button.contact-consent-trigger:not(:disabled) {
  color: var(--link) !important;
  text-decoration: none !important;
}
@media (hover: hover) {
  :where(p,small,li,dd,dt,blockquote,figcaption,label,legend,form,.form-hint,.form-actions,.auth-actions,.pl-auth-links,.footer-links) a[href]:not(:where(.primary,.secondary,.chip,.icon,.pl-button,.bt-button,.support-link,.logo,[role="button"],[aria-disabled="true"],nav a,[role="navigation"] a)):hover,
  :is(.play-back,.recovery-back):hover,button.text-button:not(:disabled):hover,button.recovery-retry:not(:disabled):hover,button.contact-consent-trigger:not(:disabled):hover {
    color: var(--link-hover) !important;
  }
}
