/* Migrated Places legacy foundation, 2026-07-29. Current route-owner rules follow. */

.day-mode .compact-place-logo{
  border:0;
  border-radius:18px;
  background:#fff;
  color:#171715;
  box-shadow: none;
}

body.places-route .discovery-content-status{
  display:grid;
  min-height:calc(100dvh - 250px);
  place-content:center;
  justify-items:center;
  gap:18px;
  padding:24px;
  text-align:center;
}
body.places-route .discovery-content-status>p{max-width:440px;margin:0}
body.places-route .discovery-content-status>.primary{min-height:46px;padding:0 22px;border:0;border-radius:999px;background:#684cff;color:#fff;font-weight:800}

.compact-place-card{
  transition:transform .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease;
}

@media (hover:hover) and (pointer:fine){
  .compact-place-card:hover{ transform:translateY(-2px); }
}

.compact-place-card:active{
  transform:translateY(0) scale(.99);
}

.compact-place-logo{
  border-radius:var(--image-radius);
}

@media (min-width:720px){
.page-head:not(.explore-page-head):not(.guide-head){
    text-align:left;
  }

.page-head:not(.explore-page-head):not(.guide-head) > *,
.page-head:not(.explore-page-head):not(.guide-head) .eyebrow,
.page-head:not(.explore-page-head):not(.guide-head) h1,
.page-head:not(.explore-page-head):not(.guide-head) > p:not(.eyebrow){
    width:100%;
    max-width:min(100%,1008px);
    margin-left:auto;
    margin-right:auto;
    text-align:left;
  }

.page-head:not(.explore-page-head):not(.guide-head) h1{
    font-size:clamp(36px,4.5vw,50px);
  }
}

.day-mode .places-filter-section,
.day-mode .places-results-section{
  width:min(calc(100% - 32px),960px);
  max-width:none;
  margin:16px auto 24px;
  border:0;
  border-radius:22px;
  background:var(--luca-day-card);
  box-shadow:none;
}

.day-mode .compact-place-card{
  border:0;
  box-shadow:none;
}

@media (min-width:720px){
.day-mode .places-filter-section,
.day-mode .places-results-section{
    width:min(calc(100% - 60px),960px);
    margin-top:24px;
  }
}

.places-page,
body.day-mode .places-page,
body.night-mode .places-page{
  width:100%;
  min-height:100vh;
  padding-bottom:calc(26px + env(safe-area-inset-bottom));
  background:var(--luca-day-paper,#f5f5f7);
  color:#1d1d1f;
}

body.night-mode .places-page{
  background:#000;
  color:#fff;
}

.places-page .explore-page-head,
body.day-mode .places-page .explore-page-head,
body.night-mode .places-page .explore-page-head{
  display:grid;
  gap:10px;
  max-width:none;
  margin:0;
  padding:calc(74px + env(safe-area-inset-top)) 20px 28px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
  text-align:center;
}

.places-page .explore-page-head .eyebrow{
  margin:0 auto;
  color:var(--interaction-accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
}

.places-page .explore-page-head h1{
  margin:0 auto;
  color:inherit;
  font-size:clamp(32px,8vw,50px);
  font-weight:900;
  line-height:.95;
  letter-spacing:0;
}

.places-page .places-filter-section,
.places-page .places-results-section,
body.day-mode .places-page .places-filter-section,
body.day-mode .places-page .places-results-section,
body.night-mode .places-page .places-filter-section,
body.night-mode .places-page .places-results-section{
  width:100%;
  max-width:none;
  margin-right:0;
  margin-left:0;
  border:0;
  border-radius:22px;
  background:#fff;
  box-shadow:none;
  color:#1d1d1f;
}

body.night-mode .places-page .places-filter-section,
body.night-mode .places-page .places-results-section{
  background:#111;
  color:#fff;
}

.places-page .places-filter-section{
  display:grid;
  gap:8px;
  margin-top:0;
  padding:12px 16px 14px;
}

.places-page .places-filter-section .eyebrow{
  margin:0;
  color:var(--interaction-accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.places-page .places-filter-section .eyebrow:not(:first-child){
  margin-top:4px;
}

.places-page .places-filter-section .chips{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  width:100%;
  padding:0 2px 2px;
  overflow:visible;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.places-page .places-filter-section .chips::-webkit-scrollbar{
  display:none;
}

.places-page .places-filter-section .chips button,
body.day-mode .places-page .places-filter-section .chips button,
body.night-mode .places-page .places-filter-section .chips button{
  flex:0 0 auto;
  min-height:32px;
  padding:5px 9px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#1d1d1f;
  font-size:10px;
  font-weight:650;
  line-height:1;
  box-shadow:none;
}

body.night-mode .places-page .places-filter-section .chips button{
  border-color:rgba(255,255,255,.12);
  background:#191919;
  color:#f5f5f7;
}

.places-page .places-filter-section .chips button small{
  margin-left:3px;
  color:#6e6e73;
  font-size:9px;
  font-weight:400;
}

body.night-mode .places-page .places-filter-section .chips button small{
  color:#9a9a9a;
}

.places-page .places-filter-section .chips button.active,
body.day-mode .places-page .places-filter-section .chips button.active,
body.night-mode .places-page .places-filter-section .chips button.active{
  border-color:rgba(104,76,255,.42);
  background:var(--interaction-accent-soft);
  color:var(--interaction-accent);
}

.places-page .places-filter-section .chips button.active small{
  color:inherit;
}

.places-page .places-results-section{
  display:grid;
  gap:18px;
  margin-top:20px;
  padding:22px 20px;
}

.places-page .places-results-section .section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0;
  padding:0;
}

.places-page .places-results-section .section-head h2{
  margin:0;
  color:inherit;
  font-size:22px;
  font-weight:900;
  line-height:1;
  letter-spacing:0;
}

.places-page .places-results-section .text-button,
body.day-mode .places-page .places-results-section .text-button,
body.night-mode .places-page .places-results-section .text-button{
  min-height:44px;
  padding:8px 12px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#6e6e73;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}

body.night-mode .places-page .places-results-section .text-button{
  border-color:rgba(255,255,255,.12);
  background:#191919;
  color:#bdbdbd;
}

.places-page .compact-place-grid,
body.day-mode .places-page .compact-place-grid,
body.night-mode .places-page .compact-place-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px 9px;
  width:100%;
  padding:0;
}

.places-page .compact-place-card,
body.day-mode .places-page .compact-place-card,
body.night-mode .places-page .compact-place-card{
  display:grid;
  grid-template-rows:auto minmax(28px,auto);
  align-content:start;
  gap:6px;
  width:100%;
  max-width:none;
  min-width:0;
  min-height:0;
  flex:none;
  padding:0 0 4px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
  text-align:left;
  overflow:hidden;
}

.places-page .compact-place-logo,
body.day-mode .places-page .compact-place-logo,
body.night-mode .places-page .compact-place-logo{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:1 / 1;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(29,29,31,.09);
  border-radius:7px;
  background:#f5f5f7;
  box-shadow:none;
}

.places-page .compact-place-logo.has-light-venue-logo,
body.day-mode .places-page .compact-place-logo.has-light-venue-logo,
body.night-mode .places-page .compact-place-logo.has-light-venue-logo{
  background:#232329;
  border-color:#323239;
}

body.night-mode .places-page .compact-place-logo{
  border-color:rgba(255,255,255,.12);
  background:#1d1d1d;
}

.places-page .compact-place-logo img{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  object-fit:cover;
}

.places-page .compact-place-logo.has-venue-logo img{object-fit:contain}

.places-page .compact-place-logo span{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:var(--interaction-accent);
  font-size:clamp(20px,7vw,34px);
  font-weight:900;
}

.places-page .compact-place-logo .venue-media-missing{
  padding:8px;
  color:#77737f;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  text-align:center;
}

.places-page .compact-place-card strong,
body.day-mode .places-page .compact-place-card strong,
body.night-mode .places-page .compact-place-card strong{
  display:-webkit-box;
  min-width:0;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  color:inherit;
  font-size:11px;
  font-weight:700;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:normal;
}

.places-page .compact-place-card:hover strong,
.places-page .compact-place-card:focus-visible strong,
body.day-mode .places-page .compact-place-card:hover strong,
body.day-mode .places-page .compact-place-card:focus-visible strong,
body.night-mode .places-page .compact-place-card:hover strong,
body.night-mode .places-page .compact-place-card:focus-visible strong{
  color:var(--interaction-accent);
}

@media (min-width:720px){
.places-page .explore-page-head,
body.day-mode .places-page .explore-page-head,
body.night-mode .places-page .explore-page-head{
    padding:92px 32px 36px;
  }

.places-page .places-filter-section{
    gap:14px;
    padding:26px 28px 28px;
  }

.places-page .places-filter-section .chips{
    flex-wrap:wrap;
    overflow:visible;
  }

.places-page .places-results-section{
    padding:28px;
  }

.places-page .compact-place-grid,
body.day-mode .places-page .compact-place-grid,
body.night-mode .places-page .compact-place-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:16px;
  }

.places-page .compact-place-logo,
body.day-mode .places-page .compact-place-logo,
body.night-mode .places-page .compact-place-logo{
    border-radius:14px;
  }

.places-page .compact-place-card strong,
body.day-mode .places-page .compact-place-card strong,
body.night-mode .places-page .compact-place-card strong{
    font-size:14px;
    font-weight:850;
  }
}

/* Keep a readable card width alongside the tablet sidebar. */
@media (min-width:720px) and (max-width:899px){
.places-page .compact-place-grid,
body.day-mode .places-page .compact-place-grid,
body.night-mode .places-page .compact-place-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px 14px;
  }
}

/* Places route owner: #places. */

/* The global Page Frame now owns the route's outer top spacing. */
#app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'].places-page > .explore-page-head {
  padding-top:0;
}

/* Loading, empty and failed results occupy the full list width. */
.places-page #place-results > :is(.empty, .muted) { grid-column:1 / -1; }

/* Filtering preserves decoded venue images in their original card nodes. */
.places-page .compact-place-card[hidden],
.places-page [data-places-filter-empty][hidden] { display:none !important; }

/* Phone day surfaces follow the approved page canvas; night keeps cards. */
@media(max-width:719px){
 :root:not([data-native-platform="ios"]) body.day-mode #app .places-page .places-filter-section,
 :root:not([data-native-platform="ios"]) body.day-mode #app .places-page .places-results-section {border:0;border-radius:0;background:transparent;box-shadow:none;}
}

@media(max-width:719px){
 :root:not([data-native-platform="ios"]) body.day-mode #app .places-page .places-filter-section,
 :root:not([data-native-platform="ios"]) body.day-mode #app .places-page .places-results-section {padding-inline:0;}
}

/* Compact browsing directory: photo-led tiles, separate from Search results. */
#app .places-page .places-filter-section,
#app .places-page .places-results-section { padding:0; border:0; border-radius:0; background:transparent; }
#app .places-page .places-browse-heading { display:flex;align-items:center;justify-content:space-between;margin-bottom:14px; }
.places-browse-heading>strong {font-size:28px;font-weight:800;}
.places-browse-heading>a {padding:8px 13px;border-radius:999px;background:var(--oonite-media-placeholder);color:inherit;font-size:13px;text-decoration:none;}
#app .places-page .places-filter-section>.eyebrow {display:none;}
#app .places-page .places-filter-section>.chips {display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;}
#app .places-page .places-filter-section .chips button {flex:none;min-height:34px;padding:6px 12px;font-size:var(--oonite-filter-font-size,13px);}
.places-discovery-tools {display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:10px;}
.places-discovery-tools button,.places-discovery-tools select {font:inherit;font-size:var(--oonite-control-font-size,14px);color:inherit;border:0;border-radius:999px;padding:0 14px;background:var(--oonite-pill-surface,rgba(120,112,140,.12));box-sizing:border-box;height:max(44px,var(--oonite-control-height,44px));min-height:max(44px,var(--oonite-control-height,44px));margin:0;line-height:1.3;}
.places-discovery-tools button[aria-pressed="true"] {background:#684cff;color:#fff;border-color:#684cff;}
.places-extra-filters {margin:8px 0 0;font-size:12px;}
.places-extra-filters summary {cursor:pointer;color:var(--muted,#979797);}
.places-extra-filters .chips {margin-top:10px;}
#app .places-page .places-results-section {margin-top:18px;}
#app .places-page .places-results-section .section-head h2 {font-size:13px;font-weight:650;}
#app .places-page .compact-place-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px;}
#app .places-page .compact-place-card {display:flex;flex-direction:column;gap:0;min-width:0;border:0;background:transparent;color:var(--account-text);}
#app .places-page .compact-place-card[hidden] {display:none!important;}
#app .places-page .compact-place-logo {aspect-ratio:4/3;border:0;border-radius:14px;background:var(--oonite-media-placeholder);}
#app .places-page .compact-place-card>strong {margin-top:9px;font-size:15px;font-weight:750;line-height:1.3;}
.places-card-meta {margin-top:4px;font-size:12px;color:var(--account-muted);line-height:1.4;}
.places-card-bottom {display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-top:7px;min-height:16px;}
.places-card-bottom small {font-size:11px;color:var(--muted,#979797);}
.places-card-bottom [data-place-open-status] {color:var(--oonite-status-open-on-light,#176b32);}
body.night-mode .places-card-bottom [data-place-open-status] {color:var(--oonite-opening-open-on-dark,#7dde9c);}
.places-card-bottom [data-place-temporarily-closed] {color:#a73843;}
body.night-mode .places-card-bottom [data-place-temporarily-closed] {color:#ff8b89;}
.places-card-bottom b {font-size:11px;font-weight:650;color:#8266ff;}
@media(max-width:1023px) {#app .places-page .compact-place-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:719px) {#app .places-page .compact-place-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;}}
@media(max-width:719px) {
 :root:not([data-native-platform="ios"]) #app .places-page .compact-place-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 9px;}
 :root:not([data-native-platform="ios"]) #app .places-page .compact-place-card>strong {margin-top:6px;font-size:clamp(11px,3.2vw,13px);}
}
:root[data-native-platform="ios"] .places-browse-heading>strong {display:none;}
:root[data-native-platform="ios"] .places-browse-heading {justify-content:flex-end;}
body.day-mode #app .places-page .places-filter-section,
body.night-mode #app .places-page .places-filter-section,
body.day-mode #app .places-page .places-results-section,
body.night-mode #app .places-page .places-results-section {background:transparent;border-radius:0;}

#app .places-browse-heading>strong {display:none;}
#app .places-browse-heading {justify-content:flex-end;margin-bottom:0;}
#app .places-page .places-filter-section {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;}
#app .places-page .places-browse-heading {grid-column:1;grid-row:1;justify-content:flex-start;margin:0;}
#app .places-page .places-discovery-tools {grid-column:2;grid-row:1;margin:0;}
#app .places-page .places-filter-section>.places-city-switch {grid-column:1/-1;grid-row:2;margin:0;}
#app .places-page .places-filter-section>.chips:not(.places-city-switch) {grid-column:1/-1;grid-row:3;}
#app .places-page .places-extra-filters {grid-column:1/-1;grid-row:5;margin:0;}

#app .places-page .places-filter-section>.chips small {display:none;}
#app .places-page .places-card-meta {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media(max-width:719px){#app .places-page .places-results-section {margin-top:14px;}}

/* Approved venue identity: a readable square Logo, not a full-width poster. */
#app .places-page .compact-place-logo {position:relative;width:min(100%,132px);aspect-ratio:1 / 1;flex:none;}
#app .places-page .compact-place-logo>.places-logo-distance {
  position:absolute;z-index:1;top:6px;left:6px;max-width:calc(100% - 12px);
  padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.88);color:#292530;
  font:650 10px/1.2 "DM Sans",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  box-shadow: none;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
body.night-mode #app .places-page .compact-place-logo>.places-logo-distance {background:rgba(33,29,40,.85);color:#fff;}
#app .places-page .compact-place-logo>.places-logo-distance[hidden] {display:none!important;}
/* Wide Web uses available width for venue identities instead of empty columns. */
@media (min-width:720px) {
 :root:not([data-native-platform="ios"]) #app .places-page .compact-place-grid { grid-template-columns:repeat(auto-fill,minmax(108px,1fr)); gap:24px 12px; }
 :root:not([data-native-platform="ios"]) #app .places-page .compact-place-logo { width:100%; aspect-ratio:1; }
 :root:not([data-native-platform="ios"]) #app .places-page .places-browse-heading>strong { display:block;line-height:1.2; }
 :root:not([data-native-platform="ios"]) #app .places-page .places-browse-heading>a { display:none; }
 :root:not([data-native-platform="ios"]) #app .places-page .places-discovery-tools { justify-content:flex-end; }
}
@media (min-width:1024px) {
 :root:not([data-native-platform="ios"]) #app .places-page .compact-place-grid { grid-template-columns:repeat(auto-fill,minmax(128px,1fr)); column-gap:16px; }
}

/* City selection belongs to Places. Other city-specific features keep their routes. */
.places-city-switch { display:flex; flex-wrap:nowrap; gap:8px; margin:10px 0; overflow-x:auto; }
.places-city-switch > a {
  display:inline-flex; flex:none; align-items:center; min-height:36px; padding-inline:14px;
  border:0; border-radius:999px; text-decoration:none; color:inherit; background:var(--oonite-pill-surface,rgba(120,112,140,.12));
}
.places-city-switch > a[aria-current="page"] { background:#684cff; border-color:#684cff; color:#fff; }

/* Match the existing 16px phone select text, which avoids form zoom. */
@media(max-width:719px){.places-discovery-tools button,.places-discovery-tools select{font-size:16px;}}

/* Open status is a switch; sorting is a quiet text menu, not competing pills. */
#app .places-page .places-discovery-tools{grid-column:1/-1;justify-content:space-between;gap:16px}
#app .places-page .places-browse-heading:has(+.places-discovery-tools){display:none}
#app .places-discovery-tools [data-places-open]{display:inline-flex;align-items:center;gap:9px;background:transparent;color:inherit;border:0;border-radius:0;padding:0;min-height:44px;font-size:14px}
.places-open-track{display:flex;align-items:center;flex:0 0 32px;width:32px;height:20px;padding:3px;border-radius:99px;box-sizing:border-box;background:#b7b2c1}
.places-open-track>i{display:block;width:14px;height:14px;flex:none;border-radius:50%;background:#fff;transition:transform .16s}
#app .places-discovery-tools [aria-checked=true]{color:#8266ff;background:transparent}
[aria-checked=true]>.places-open-track{background:#684cff}
[aria-checked=true]>.places-open-track>i{transform:translateX(12px)}
.places-sort-control{position:relative;display:flex;align-items:center;min-width:0;min-height:44px}
#app .places-discovery-tools .places-sort-control select{appearance:none;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font-size:14px;padding:0 24px 0 4px;max-width:100%;min-height:44px}
.places-sort-control>svg{position:absolute;right:0;width:16px;height:16px;pointer-events:none}
@media(max-width:719px){#app .places-discovery-tools [data-places-open],#app .places-discovery-tools .places-sort-control select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.places-open-track>i{transition:none}}

/* Shared page controls remain in the primary Places scroll flow on every surface. */
#app .places-page .places-pagination {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px;min-width:0;}
#app .places-page .places-pagination a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid currentColor;border-radius:999px;text-decoration:none;color:inherit;font-size:13px;}
#app .places-page .places-pagination>span {font-size:12px;white-space:nowrap;}
#app .places-page .places-area-control {display:flex;align-items:center;gap:12px;margin:12px 0;font-size:13px;}
#app .places-page .places-area-control select {min-height:44px;min-width:0;max-width:100%;font-size:16px;color:inherit;background:transparent;border:1px solid currentColor;border-radius:8px;padding:6px 10px;}

#app .places-page[data-places-catalog] .chips button {min-height:44px;}

.places-load-more { margin:24px 0 12px;text-align:center; }
.places-load-more button { color:inherit;background:transparent;border:1px solid currentColor;border-radius:999px;padding:8px 20px;min-height:44px;font:inherit; }


#app .places-page .places-discovery-tools{display:flex;align-items:center;gap:8px}
#app .places-page [data-places-filters],.places-extra-filters [data-places-done]{min-height:44px;border:0;background:transparent;color:inherit;font-weight:600;font-size:13px;font-family:inherit}
#app .places-page .places-extra-filters{margin:auto;padding:18px;width:min(26rem,90vw);max-height:65dvh;overflow:auto;overscroll-behavior:contain;border:0;border-radius:18px;background:var(--oonite-surface,#fff);color:inherit}
#app .places-page .places-extra-filters:not([open]){display:none}
.places-extra-filters::backdrop{background:rgba(18,14,26,.34)}
.places-extra-filters header{display:flex;align-items:center;justify-content:space-between}
#app .places-extra-filters .chips{display:flex;flex-wrap:wrap}
.places-results-section .section-head{min-height:32px}
.places-pending-grid i,.places-pending-grid b,.places-pending-grid small{display:block;background:rgba(128,123,143,.13);border-radius:5px}
.places-pending-grid i{aspect-ratio:1;max-width:132px;border-radius:12px}
.places-pending-grid b,.places-pending-grid small{width:75%;height:.8em;margin:8px 0}
.places-pending-grid small{width:55%}
body.night-mode #app .places-page .places-extra-filters{background:#201e25}
@media(max-width:719px){#app .places-page .places-extra-filters{margin:auto 0 0;width:100%;max-width:100%;box-sizing:border-box;padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px));border-radius:20px 20px 0 0}
#app .places-page .places-discovery-tools [data-places-open],#app .places-discovery-tools .places-sort-control select{font-size:13px}
#app .places-discovery-tools .places-sort-control select{padding-right:18px}}

#app .places-page .places-results-section{align-content:start;grid-auto-rows:max-content}
.places-refresh-preview{pointer-events:none}
body:has(dialog.places-extra-filters[open]) .native-bottom-navigation{visibility:hidden}


/* Narrow screens use the shell header. Wide screens own a directory heading. */
.places-page-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.places-page-heading>strong { font-size:clamp(20px,3vw,28px); }
#app .places-page-heading>button {
  display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px;
  padding:0; border:1px solid var(--oonite-line,rgba(128,128,140,.18)); border-radius:50%;
  background:var(--oonite-surface,#fff); color:inherit;
}
#app .places-page-heading>button svg { width:22px; height:22px; }
#app .places-page .places-browse-heading { display:none; }
#app .places-page .places-discovery-tools { grid-column:1/-1; }
body:has(.header-pilot-trailing[data-header-action="places-more"]) .places-page-heading { display:none; }

#app .places-page .places-discovery-tools :is([data-places-open],[data-places-sort],[data-places-filters]) {
  min-height:44px; height:auto; font-size:1em; line-height:1.25; font-weight:500;
}
#app .places-page .chips button:is([data-places-type],[data-places-tag]) {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
  gap:.3em; min-height:44px; height:auto; padding:8px 14px; line-height:1.2; border-radius:999px; white-space:nowrap;
}

@media (max-width:719px) {
  :root body.places-route:is(.day-mode,.night-mode) #app main.places-page > section.filters.places-filter-section:has(> .places-discovery-tools ~ .chips) {
    row-gap:3px;
    padding:2px 8px 5px;
    border-radius:16px;
    background:var(--places-filter-fill, var(--luca-day-card, #fff));
  }

  body.places-route.night-mode { --places-filter-fill:#171719; }

  #app .places-page .places-filter-section:not(:has(> .places-city-switch)) > .chips {
    grid-row:2;
  }

  #app .places-page .places-filter-section .places-discovery-tools {
    gap:6px;
  }

  #app .places-filter-section .places-discovery-tools [data-places-open] { gap:6px; }
  #app .places-filter-section .places-discovery-tools [data-places-filters] {
    min-width:44px;
    padding-inline:4px;
  }
}
