:root {
  color-scheme: light;
  --bg: #f5f2eb;
  --surface: #fffdf8;
  --ink: #252a28;
  --muted: #666b65;
  --line: #e1dfd6;
  --accent: #38645b;
  --soft: #e9f0e9;
  --radius: 12px;
  font:
    15px/1.55 Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}
button {
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button[aria-pressed="true"] svg {
  fill: currentColor;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #538b80;
  outline-offset: 3px;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 20;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-light {
  font-weight: 450;
}
.brand-mark {
  width: 33px;
  height: 33px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 21px;
  font-weight: 700;
}
.site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}
.nav-current {
  color: var(--accent);
}
.nav-favorites,
.account {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
}
.account {
  border: 1px solid var(--line);
  padding: 0 13px;
  border-radius: 9px;
  max-width: 200px;
}
.account span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account.authenticated {
  background: var(--soft);
  border-color: #c9d9ce;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 28px 48px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 24px;
}
.page-heading > div:first-child {
  min-width: 0;
  max-width: 820px;
}
h1 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0 0 10px;
  font-weight: 750;
}
h2 {
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.25px;
}
.intro {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.heading-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
  max-width: 230px;
}
.button {
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  padding: 10px 15px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
}
.button:hover {
  filter: brightness(0.95);
  text-decoration: none;
}
.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.button[aria-pressed="true"] {
  background: #244c43;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0;
  flex-shrink: 0;
}
.favorite {
  color: var(--muted);
}
.favorite:hover {
  background: var(--soft);
  color: var(--accent);
}
.favorite[aria-pressed="true"] {
  background: var(--soft);
  color: var(--accent);
  border-color: #c9d9ce;
}
.publisher {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}
.publisher > span:not(.avatar) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-heading .publisher {
  margin-top: 14px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e5ece4;
  color: #33574c;
  font-size: 10px;
  font-weight: 750;
}
.verified {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.subtle {
  color: var(--muted);
  font-size: 12px;
}
.publisher .subtle {
  margin-left: 8px;
}
.filters {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 13px 14px 0;
}
.filter-main {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-main label {
  min-width: 0;
  flex: 0 1 160px;
}
.filter-main .search-label {
  flex: 1 1 270px;
}
.filter-main label:has(.city-input) {
  flex: 0 1 140px;
}
input,
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  height: 42px;
  padding: 0 11px;
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
input::placeholder {
  color: #72766f;
}
select {
  padding-right: 20px;
  text-overflow: ellipsis;
}
.filter-bottom {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 9px 0;
}
.tabs {
  display: flex;
  gap: 3px;
  margin-right: auto;
}
.tab {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.tab.selected {
  background: var(--soft);
  color: var(--accent);
}
.reset {
  font-size: 12px;
  color: var(--accent);
  margin-left: auto;
}
.field-filters {
  padding-top: 12px;
}
.field-filters summary {
  font-size: 13px;
  color: var(--accent);
  padding: 3px 0;
}
.count {
  padding: 1px 6px;
  background: var(--soft);
  border-radius: 5px;
  font-size: 11px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 0;
}
.field-grid label > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.collection-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.collection-tile,
.card-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.15s;
}
.collection-tile:hover,
.card-tile:hover {
  border-color: #b2c6b8;
}
.cover,
.card-cover {
  position: relative;
  display: block;
  background: #e9e8df;
  overflow: hidden;
}
.cover {
  height: 132px;
}
.card-cover {
  height: 160px;
}
.cover img,
.card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #fffdf8ed;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  color: #303b34;
}
.cover-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  background: linear-gradient(130deg, #e6ebe2, #eeebe1);
}
.tile-body {
  padding: 15px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tile-description,
.card-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.tile-description {
  min-height: 64px;
}
.card-description {
  min-height: 64px;
}
.tile-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 5px;
}
.facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #386252;
}
.facts span {
  background: #f0f3ed;
  border-radius: 5px;
  padding: 2px 6px;
  max-width: 100%;
}
.address {
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kind-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 0;
  font-size: 13px;
}
.empty {
  text-align: center;
  padding: 50px 10px;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.detail-media {
  position: sticky;
  top: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
}
.detail-content {
  min-width: 0;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.full-note {
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.details {
  border-top: 1px solid var(--line);
  margin: 25px 0 20px;
  padding-top: 12px;
}
.details > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}
.details dt {
  color: var(--muted);
}
.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.source-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.text-link,
.back-collection {
  font-size: 13px;
  color: var(--accent);
}
.back-collection {
  display: block;
  margin-top: 25px;
  line-height: 1.6;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1184px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 22px 16px;
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #253f37;
  color: white;
  border-radius: 10px;
  padding: 12px 18px;
  max-width: min(500px, calc(100vw - 28px));
  width: max-content;
  z-index: 30;
  font-size: 14px;
  box-shadow: 0 5px 25px #0002;
}
.toast[hidden] {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  width: calc(100% - 32px);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 100px #0003;
}
dialog::backdrop {
  background: #17251c66;
}
dialog h2 {
  font-size: 22px;
  margin: 18px 0 8px;
}
dialog p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}
dialog .button {
  width: 100%;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  font-size: 24px;
}
.dialog-icon {
  color: var(--accent);
  background: var(--soft);
  padding: 12px;
  display: inline-flex;
  border-radius: 12px;
}
.dialog-icon svg {
  width: 26px;
  height: 26px;
}
.text-button {
  display: block;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px;
  margin: 7px auto 0;
  font-size: 13px;
}
@media (min-width: 1450px) {
  .container,
  .site-header {
    max-width: 1320px;
  }
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .collection-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-header nav {
    gap: 14px;
  }
  .page-heading {
    gap: 16px;
  }
  .detail-layout {
    gap: 22px;
  }
}
@media (max-width: 600px) {
  :root {
    font-size: 16px;
  }
  .site-header {
    padding: 12px 14px;
    gap: 10px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }
  .site-header nav {
    gap: 8px;
    font-size: 12px;
  }
  .site-header .nav-current {
    display: none;
  }
  .nav-favorites {
    padding: 0 6px;
  }
  .nav-favorites span {
    display: none;
  }
  .account {
    padding: 0 10px;
    max-width: 155px;
  }
  .container {
    padding: 22px 14px 32px;
  }
  .page-heading {
    display: block;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -0.7px;
  }
  .intro {
    font-size: 14px;
    line-height: 1.65;
  }
  .heading-actions {
    max-width: none;
    justify-content: flex-start;
    margin-top: 17px;
  }
  .button,
  .icon-button,
  input,
  select {
    min-height: 44px;
  }
  .button {
    font-size: 13px;
  }
  .collection-grid,
  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cover {
    height: 145px;
  }
  .card-cover {
    height: 180px;
  }
  .tile-body {
    padding: 14px 15px 11px;
  }
  .tile-description,
  .card-description {
    font-size: 14px;
    min-height: 0;
  }
  .filters {
    padding: 10px 10px 0;
  }
  .filter-main {
    gap: 8px;
  }
  .filter-main .search-label {
    flex: 1 1 100%;
  }
  .filter-main label,
  .filter-main label:has(.city-input) {
    flex: 1 1 43%;
  }
  .filter-main > .button {
    flex: 0 0 auto;
  }
  .filter-main input,
  .filter-main select {
    font-size: 14px;
  }
  .filter-bottom {
    gap: 8px;
    padding: 8px 0;
  }
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .field-grid select {
    font-size: 13px;
  }
  .tab {
    padding: 8px 9px;
  }
  .publisher {
    font-size: 12px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-media {
    position: static;
  }
  .detail-media img {
    max-height: 400px;
    object-fit: cover;
  }
  .detail-content {
    padding: 0 2px;
  }
  .detail-actions {
    margin-bottom: 18px;
  }
  .full-note {
    font-size: 15px;
  }
  .details > div {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .site-footer {
    gap: 12px;
    font-size: 11px;
  }
  .site-footer > span {
    width: 100%;
    text-align: center;
  }
  .breadcrumbs {
    font-size: 12px;
    line-height: 1.6;
  }
  .pagination {
    gap: 12px;
  }
  .toast {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Компактный каталог сохраняет крупные цели нажатия и ясную иерархию фактов. */
.brand {
  display: block;
  position: relative;
  width: 150px;
  height: 34.5px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand img {
  position: absolute;
  max-width: none;
  width: 130.179754%;
  height: 316.049383%;
  left: -15.231788%;
  top: -107.81893%;
}
.page-heading {
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.page-heading > div:first-child {
  max-width: 100%;
  width: 100%;
}
.heading-actions {
  max-width: none;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.heading-actions .button {
  white-space: nowrap;
}
.intro-disclosure summary {
  color: var(--accent);
  font-size: 12px;
  min-height: 24px;
}
.intro-disclosure p {
  padding: 6px 0;
}
.space-context {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin: 7px 0 0;
  color: var(--muted);
}
.space-context svg {
  width: 15px;
  height: 15px;
}
.page-heading .publisher {
  margin-top: 9px;
}
.search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-label {
  flex: 1;
  min-width: 0;
}
.filter-disclosure {
  padding-top: 6px;
}
.filter-disclosure > summary {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  min-height: 36px;
  list-style: none;
}
.filter-disclosure > summary:after {
  content: "⌄";
  margin-left: auto;
}
.filter-disclosure[open] > summary:after {
  content: "⌃";
}
.filter-main {
  padding: 7px 0;
}
.filter-bottom {
  margin-top: 4px;
  padding: 6px 0;
}
.filters {
  padding: 10px 12px 0;
  margin-bottom: 14px;
}
.favorite-button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  min-height: 42px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
}
.favorite-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.favorite-count:before {
  content: "";
}
.folder-chips,
.source-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}
.folder-chips a,
.source-tabs a {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  min-height: 36px;
}
.folder-chips a[aria-current],
.source-tabs a[aria-current] {
  background: var(--soft);
  border-color: #98b7a8;
  color: var(--accent);
}
.folder-chips span {
  color: var(--muted);
  margin-left: 5px;
}
.source-tabs {
  margin-bottom: 18px;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}
.fact {
  display: flex;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e0e6dc;
  background: #f1f5ed;
  border-radius: 10px;
  min-width: 0;
}
.fact svg {
  color: #5a7861;
  width: 19px;
  height: 19px;
  margin-top: 3px;
}
.fact > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fact-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.fact strong {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.fact small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}
.card-tile .fact-grid {
  margin: 2px 0 0;
  gap: 6px;
}
.card-tile .fact {
  padding: 8px;
  gap: 6px;
}
.card-tile .fact strong {
  font-size: 14px;
}
.card-tile .fact svg {
  width: 15px;
  height: 15px;
}
.card-tile .fact-grid .fact:nth-child(n + 3) {
  display: none;
}
.card-description {
  min-height: 0;
}
.tile-body {
  gap: 8px;
}
.movie-tile .card-cover {
  height: 260px;
  background: #e6e5df;
}
.movie-tile .card-cover img {
  object-fit: contain;
}
.editorial-subtitle {
  font-weight: 650;
  color: var(--accent);
  font-size: 14px;
}
.visit-advice {
  background: #eeeade;
  border-left: 3px solid #b1a076;
  padding: 12px 15px;
  margin: 18px 0;
  border-radius: 0 9px 9px 0;
  font-size: 13px;
}
.visit-advice p {
  margin: 4px 0 0;
  color: var(--muted);
}
.source-notice {
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 18px;
}
#catalog-map {
  height: 65vh;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.map-list {
  max-height: 75vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-entry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
}
.map-entry a {
  font-weight: 650;
  font-size: 14px;
}
.map-entry p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.map-entry button {
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: var(--accent);
  font-size: 12px;
  min-height: 32px;
}
@media (min-width: 761px) {
  .intro-disclosure > summary {
    display: none;
  }
  .intro-disclosure:not([open]) > .intro {
    display: block;
  }
  .page-heading h1 {
    margin-bottom: 5px;
  }
  .card-grid:has(.movie-tile) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 10px 14px;
    min-height: 60px;
  }
  .brand {
    width: 118px;
    height: 27px;
  }
  .site-header nav {
    gap: 10px;
  }
  .account {
    min-height: 40px;
    padding: 0 10px;
    max-width: 125px;
  }
  .container {
    padding: 16px 14px 32px;
  }
  .breadcrumbs {
    margin-bottom: 12px;
    font-size: 12px;
  }
  .page-heading {
    gap: 11px;
    margin-bottom: 14px;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -0.7px;
    line-height: 1.2;
    margin-bottom: 7px;
  }
  .intro-disclosure p {
    font-size: 13px;
  }
  .heading-actions {
    width: 100%;
    gap: 7px;
    flex-wrap: nowrap;
  }
  .heading-actions .button {
    padding: 10px 11px;
    min-height: 44px;
  }
  .heading-actions .button:first-child[data-join] {
    flex: 1;
    font-size: 12px;
  }
  .heading-actions .action-label {
    display: none;
  }
  .heading-actions .icon-button {
    height: 44px;
    width: 44px;
  }
  .heading-actions .favorite {
    min-width: 58px;
  }
  .filter-main label {
    flex: 1 1 135px;
  }
  .filter-main label:has(.city-input) {
    flex: 1 1 135px;
  }
  .search-row input {
    font-size: 14px;
    height: 44px;
  }
  .search-row button {
    min-height: 44px;
  }
  .filter-bottom {
    font-size: 11px;
  }
  .filter-bottom .subtle {
    font-size: 11px;
  }
  .tabs .tab {
    padding: 6px 9px;
    min-height: 36px;
  }
  .folder-chips {
    gap: 6px;
    margin-bottom: 14px;
  }
  .folder-chips a {
    padding: 7px 10px;
    min-height: 36px;
  }
  .card-cover {
    height: 180px;
  }
  .card-grid,
  .collection-grid {
    gap: 14px;
  }
  .tile-description {
    min-height: 0;
  }
  .detail-actions {
    margin-bottom: 14px;
    gap: 7px;
  }
  .detail-actions .button {
    font-size: 12px;
    padding: 10px;
    min-height: 44px;
  }
  .detail-content .fact-grid {
    margin-top: 0;
  }
  .full-note {
    font-size: 14px;
    line-height: 1.7;
  }
  .details {
    margin-top: 18px;
  }
  .map-layout {
    display: flex;
    flex-direction: column;
  }
  #catalog-map {
    height: 55vh;
    min-height: 300px;
  }
  .map-list {
    max-height: none;
  }
  .movie-tile .card-cover {
    height: 300px;
  }
  .card-grid:has(.movie-tile) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .movie-tile .tile-body {
    padding: 11px;
  }
  .movie-tile .card-cover {
    height: 220px;
  }
  .movie-tile h2 {
    font-size: 14px;
  }
  .movie-tile .card-description {
    display: none;
  }
  .movie-tile .fact-grid {
    grid-template-columns: 1fr;
  }
  .movie-tile .fact:nth-child(n + 2) {
    display: none;
  }
  .movie-tile .publisher > span:not(.avatar) {
    display: none;
  }
  .movie-tile .favorite-button {
    padding: 5px 8px;
  }
  .movie-tile .tile-bottom {
    gap: 5px;
  }
}

.card-tile .fact-grid .fact:nth-child(n + 3) {
  display: flex;
}
.card-tile .fact-grid .fact:has(use[href="#message"]) {
  display: none;
}
.movie-tile .fact-grid .fact:has(use[href="#calendar"]) {
  display: none;
}

.folders-disclosure > summary {
  display: none;
}
.folders-disclosure {
  margin-bottom: 14px;
}
.folders-disclosure .folder-chips {
  margin: 0;
}
@media (max-width: 760px) {
  .folders-disclosure {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    padding: 0 12px;
  }
  .folders-disclosure > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    list-style: none;
  }
  .folders-disclosure > summary:after {
    content: "⌄";
    margin-left: auto;
  }
  .folders-disclosure[open] > summary:after {
    content: "⌃";
  }
  .folders-disclosure .folder-chips {
    padding: 3px 0 12px;
  }
  .breadcrumbs {
    gap: 6px;
  }
  .breadcrumbs a:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .movie-tile .fact-grid .fact:nth-child(n) {
    display: none;
  }
  .movie-tile .fact-grid .fact:nth-child(n):has(use[href="#star"]) {
    display: flex;
  }
  .movie-tile:not(:has(use[href="#star"]))
    .fact-grid
    .fact:nth-child(n):has(use[href="#calendar"]) {
    display: flex;
  }
}
