:root {
  --ink: #172033;
  --muted: #667085;
  --line: #dfe5ec;
  --panel: #ffffff;
  --soft: #f5f7fa;
  --brand: #0f766e;
  --brand-2: #155e75;
  --gold: #d89b2b;
  --red: #bf3f34;
  --shadow: 0 18px 45px rgba(23, 32, 51, .08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .24);
}
.navlinks { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.navlinks a.active { color: var(--ink); font-weight: 700; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pillrow { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  color: #3f4a5f;
  font-size: 13px;
  font-weight: 700;
}
.pill.hot { color: #8c3a1c; background: #fff6ea; border-color: #f2d5a2; }
.cc-flame-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 5px;
  background: linear-gradient(180deg, #ffcf4a 0%, #ff7a1a 45%, #d92323 100%);
  filter: drop-shadow(0 1px 2px rgba(217, 35, 35, .28));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22c-4.2 0-7.2-2.9-7.2-6.9 0-2.8 1.5-5 3.4-6.8 1-.9 1.7-2.1 1.9-3.5.1-.6.8-.8 1.2-.4 1.9 1.8 3 3.7 3 5.9.8-.5 1.4-1.3 1.7-2.2.2-.5.8-.6 1.2-.2 1.8 1.9 2.9 4.1 2.9 7.1C19.2 19.1 16.2 22 12 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22c-4.2 0-7.2-2.9-7.2-6.9 0-2.8 1.5-5 3.4-6.8 1-.9 1.7-2.1 1.9-3.5.1-.6.8-.8 1.2-.4 1.9 1.8 3 3.7 3 5.9.8-.5 1.4-1.3 1.7-2.2.2-.5.8-.6 1.2-.2 1.8 1.9 2.9 4.1 2.9 7.1C19.2 19.1 16.2 22 12 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: .95; letter-spacing: 0; margin-bottom: 18px; }
h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.1; margin-bottom: 0; }
h3 { font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 18px; max-width: 680px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.muted { color: var(--muted); }
.mini { font-size: 13px; color: var(--muted); }
.stat { font-size: 28px; font-weight: 850; letter-spacing: 0; }
.searchbar {
  display: grid;
  grid-template-columns: 1fr 160px 148px auto;
  gap: 10px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.searchbar input, .searchbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfcfe;
}
.photo {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(12, 19, 32, .18), rgba(12, 19, 32, .58)),
    url("../uploads/restaurants/1732/approved/009586dc555d81da.webp");
  background-size: cover;
  background-position: center;
}
.map-art {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.55)),
    repeating-linear-gradient(25deg, transparent 0 38px, rgba(21,94,117,.08) 38px 41px),
    repeating-linear-gradient(115deg, transparent 0 52px, rgba(15,118,110,.10) 52px 55px),
    #eaf0f4;
}
.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(191, 63, 52, .16);
}
.pin.one { left: 58%; top: 36%; }
.pin.two { left: 44%; top: 55%; }
.pin.three { left: 70%; top: 62%; }
.pin.four { left: 32%; top: 42%; }
.rank {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.rank:first-child { border-top: 0; }
.num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf7f5;
  color: var(--brand);
  font-weight: 850;
}
.restaurant {
  overflow: hidden;
  display: grid;
  grid-template-rows: 150px auto;
}
.restaurant .body { padding: 15px; }
.tag { color: var(--brand-2); font-weight: 800; font-size: 12px; }
.footer-space { height: 56px; }
.announce {
  background: #0d1526;
  color: #eaf2ff;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.announce .shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.mega {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(150px, .7fr));
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(223,229,236,.72);
}
.mega-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.mega-card strong { font-size: 13px; }
.mega-card span { font-size: 12px; color: var(--muted); }
.cc-public-search {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.92);
}
.cc-public-search form {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}
.cc-public-search input,
.cc-public-search select {
  width: 100%;
  min-height: 34px;
  border: 1px solid #ccd5df;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--ink);
  padding: 0 10px;
  font-size: 13px;
}
.cc-public-search .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
}
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 18px;
  padding: 34px 0 18px;
}
.hero-panel {
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.97), rgba(255,255,255,.90)),
    radial-gradient(circle at 86% 8%, rgba(216,155,43,.18), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(15,118,110,.14), transparent 32%);
}
.dense-title { font-size: clamp(42px, 5vw, 66px); line-height: .96; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.metric strong { display: block; font-size: 24px; line-height: 1; }
.leaderboard {
  overflow: hidden;
}
.leaderboard header,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}
.heat {
  min-width: 46px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #111827;
  color: white;
  text-align: center;
  font-weight: 850;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.tool {
  min-height: 110px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.split-rail {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
}
.compact-list { display: grid; }
.compact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
}
.compact-row:first-child { border-top: 0; }
.market-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 132px auto;
}
.market-card .body {
  padding: 14px;
  background: #fff;
  color: var(--ink);
}
.market-card .body h3 { color: var(--ink); }
.market-card .body p { color: var(--muted); }
.tiny-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tiny-table th,
.tiny-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.tiny-table th { color: var(--muted); font-size: 12px; font-weight: 800; background: #fafbfc; }
.article-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 16px;
}
.cc-page-content {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  max-width: 850px;
}
.cc-page-content p { margin: 0 0 1em; }
.cc-page-content a { color: var(--brand-2); font-weight: 700; }
.cc-page-content ul,
.cc-page-content ol { margin: 0 0 1em 1.25em; }
.cc-page-content h2,
.cc-page-content h3 {
  margin: 1.35em 0 .45em;
}
.cc-public-suggest {
  min-height: 34px;
  padding: 0 11px;
  font-size: 13px;
  border-radius: 7px;
}
.suggest-title {
  max-width: 760px;
  margin: .35rem 0 .7rem;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}
.suggest-form {
  padding: 18px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}
.suggest-form label,
.suggest-owner {
  position: relative;
  display: grid;
  gap: 6px;
  margin: 0;
}
.suggest-form label span,
.suggest-owner legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.suggest-form input,
.suggest-form select,
.suggest-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
  color: var(--ink);
  padding: 0 11px;
  font: inherit;
}
.suggest-form textarea {
  min-height: 104px;
  padding: 10px 11px;
  resize: vertical;
}
.suggest-form label:has(textarea),
.suggest-form button {
  grid-column: 1 / -1;
}
.suggest-owner {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 11px;
  grid-template-columns: auto auto;
  justify-content: start;
  align-content: center;
  column-gap: 18px;
}
.suggest-owner legend {
  grid-column: 1 / -1;
}
.suggest-owner label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
}
.suggest-owner input {
  width: auto;
  min-height: 0;
}
.suggest-address-panel {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23,32,51,.12);
  padding: 4px;
}
.suggest-address-panel button {
  width: 100%;
  display: block;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.suggest-address-panel button:hover,
.suggest-address-panel button.active {
  background: #edf7f5;
  color: var(--brand);
}
.suggest-address-status {
  display: block;
  min-height: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.suggest-category-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.suggest-category-picker .btn {
  min-height: 42px;
  padding: 0 12px;
}
.suggest-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}
.suggest-category-chips .pill {
  border: 0;
  cursor: pointer;
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
  padding: 34px 0 18px;
}
.about-title {
  max-width: 840px;
  font-size: clamp(36px, 4.6vw, 62px);
}
.directory-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 18px;
}
.directory-title {
  max-width: 900px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 12px;
}
.directory-section-heading {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
}
.category-index-section {
  margin-top: 16px;
  overflow: hidden;
}
.category-chip-grid,
.category-card-grid {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.category-chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(110px, max-content));
}
.category-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.category-card {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.category-card:hover {
  border-color: #b7c4ce;
  background: #fbfcfe;
}
.category-card span {
  color: var(--muted);
  font-size: 13px;
}
.top100-list {
  overflow: hidden;
}
.top100-rank {
  grid-template-columns: 42px 1fr auto;
}
.top100-cuisines {
  margin-top: 8px;
}
.heat-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  padding: 16px;
}
.heat-category-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.heat-category-card:hover {
  border-color: #b7c4ce;
  background: #fbfcfe;
}
.heat-category-card .mini {
  grid-column: 2 / -1;
}
.heat-trend-rank {
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
}
.heat-trend-stats {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.about-founder {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.about-story {
  padding: 0;
  overflow: hidden;
}
.about-section {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding: 30px;
  border-top: 1px solid var(--line);
}
.about-section:first-child {
  border-top: 0;
}
.about-section h2 {
  font-size: 26px;
}
.about-section p,
.about-section blockquote {
  grid-column: 2;
  max-width: 820px;
  color: #3f4a5f;
  font-size: 17px;
  line-height: 1.7;
}
.about-section h2 + p {
  margin-top: 0;
}
.about-section blockquote {
  margin: 4px 0 8px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff8ec;
  color: #8c3a1c;
  font-weight: 750;
}
.about-section a {
  color: var(--brand);
  font-weight: 800;
}
.about-signoff {
  padding: 28px 30px;
  background: #101827;
  color: #fff;
}
.about-signoff p {
  max-width: 780px;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 850;
}
.about-signoff span {
  color: #cbd5e1;
}
.restaurant-result-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow);
}
.restaurant-card-inner,
.restaurant-result-card > .flex {
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: stretch !important;
  gap: 0 !important;
  min-height: 160px;
}
.restaurant-card-inner {
  height: 100%;
}
.restaurant-card-content {
  min-height: 160px;
}
.restaurant-card-media,
.restaurant-result-card .shrink-0 {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  background: linear-gradient(135deg, #edf7f5, #eaf0f4);
}
.restaurant-result-card img,
.restaurant-card-media .cc-default-thumb,
.restaurant-result-card .shrink-0 > div {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
}
.restaurant-card-media .cc-default-thumb,
.restaurant-result-card .shrink-0 > div {
  display: grid !important;
  place-items: center;
  color: var(--brand);
  font-size: 28px !important;
  font-weight: 850;
}
.restaurant-card-content,
.restaurant-result-card .grow {
  min-width: 0;
  min-height: 160px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.restaurant-result-card .grow > .flex:first-child {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}
.restaurant-result-card .grow > .flex:first-child > a {
  flex: 1 1 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 15px !important;
  line-height: 1.2;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: normal !important;
}
.restaurant-result-card .pill {
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}
.restaurant-result-card p {
  margin: 6px 0 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
}
.restaurant-result-card .grow > div:last-child {
  margin-top: auto !important;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex !important;
  justify-content: flex-end;
  gap: 8px !important;
}
.restaurant-result-card .grow > div:last-child .btn {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}
.cc-default-thumb {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 10px;
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,.55) 0 10px, transparent 11px),
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.42) 0 7px, transparent 8px),
    linear-gradient(135deg, #155e75, #0f766e);
  box-shadow: inset 0 -34px 34px rgba(12, 19, 32, .28);
}
.cc-default-thumb::before,
.cc-default-thumb::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 999px;
}
.cc-default-thumb::before {
  width: 46px;
  height: 46px;
  top: 16px;
  left: 20px;
}
.cc-default-thumb::after {
  width: 22px;
  height: 22px;
  top: 28px;
  right: 18px;
}
.cc-default-thumb span {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(12, 19, 32, .35);
}
.cc-default-thumb-coffee {
  background:
    radial-gradient(circle at 26% 22%, rgba(255,246,220,.55) 0 10px, transparent 11px),
    linear-gradient(135deg, #7c3f1d, #d89b2b);
}
.cc-default-thumb-mexican {
  background:
    radial-gradient(circle at 28% 22%, rgba(255,236,179,.55) 0 10px, transparent 11px),
    linear-gradient(135deg, #0f766e, #d94b2b 58%, #f2b84b);
}
.cc-default-thumb-italian {
  background:
    radial-gradient(circle at 26% 22%, rgba(255,255,255,.55) 0 10px, transparent 11px),
    linear-gradient(135deg, #166534, #f7f2e8 48%, #b91c1c);
}
.cc-default-thumb-southern {
  background:
    radial-gradient(circle at 26% 22%, rgba(255,246,220,.58) 0 10px, transparent 11px),
    linear-gradient(135deg, #8c3a1c, #d89b2b);
}
.cc-default-thumb-american {
  background:
    radial-gradient(circle at 26% 22%, rgba(255,255,255,.52) 0 10px, transparent 11px),
    linear-gradient(135deg, #1d4ed8, #bf3f34);
}
.restaurant-detail-page {
  width: 100%;
  margin-top: 24px;
}
.restaurant-detail-page > .cc-tile,
.restaurant-detail-page > header.cc-tile {
  border-radius: 8px;
}
.restaurant-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 16px;
}
.restaurant-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: start;
}
.restaurant-photos-panel,
.restaurant-upload-panel {
  min-width: 0;
}
.restaurant-detail-page #map {
  min-height: 340px;
}
.cc-phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-weight: 800;
}
.restaurant-filter-card {
  padding: 10px 12px;
  margin: 0 calc(50% - 50vw) 0;
  border-left: 0;
  border-right: 0;
  border-top: 0 !important;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: rgba(255,255,255,.92);
}
.restaurant-filter-card {
  border-radius: 0 !important;
}
.restaurant-filter-card .restaurant-filter-grid {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  grid-template-columns: minmax(180px, 220px) minmax(160px, 200px) auto;
  align-items: end;
  gap: 10px;
}
.restaurant-filter-card label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.restaurant-filter-card input,
.restaurant-filter-card select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #ccd5df;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--ink);
  padding: 0 10px;
  font-size: 13px;
}
.restaurant-filter-card .btn {
  min-height: 36px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 13px;
}
.restaurant-filter-submit {
  display: flex;
  align-items: end;
}
.restaurant-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: start;
}
.restaurant-map-panel {
  position: sticky;
  top: 142px;
  align-self: start;
  z-index: 2;
}
.restaurant-map-panel.cc-map-fixed {
  position: fixed !important;
  top: 142px !important;
}
.restaurant-map-panel.cc-map-bottom {
  position: absolute !important;
}
.restaurant-result-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12px;
}
.restaurant-result-summary span {
  margin-left: auto;
}
.restaurant-category-picker {
  margin: 14px 0 0;
  padding: 12px 0 0;
}
.restaurant-category-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--ink);
}
.restaurant-category-picker-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.restaurant-category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.restaurant-category-scroll .pill {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .restaurant-result-card > .flex {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 0;
  }
  .restaurant-result-card .shrink-0 { width: 88px; }
  .restaurant-result-card img,
  .restaurant-result-card .shrink-0 > div {
    min-height: 100%;
  }
  .restaurant-result-card .grow { padding: 12px; }
  .restaurant-result-card .grow > div:last-child {
    justify-content: flex-start;
  }
  .restaurant-filter-card .restaurant-filter-grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }
  .restaurant-result-summary {
    align-items: flex-start !important;
    flex-direction: column;
  }
  .restaurant-result-summary span {
    margin-left: 0;
  }
}
.directory-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .navlinks { overflow-x: auto; width: 100%; padding-bottom: 2px; }
  .searchbar { grid-template-columns: 1fr; }
  .grid.three, .grid.four { grid-template-columns: 1fr; }
  .mega, .dashboard-hero, .metric-strip, .tool-grid, .split-rail, .article-grid { grid-template-columns: 1fr; }
  .cc-public-search form { grid-template-columns: 1fr; }
  .about-hero,
  .about-section,
  .directory-page-head {
    grid-template-columns: 1fr;
  }
  .directory-page-head {
    display: grid;
    align-items: start;
  }
  .about-section p,
  .about-section blockquote {
    grid-column: 1;
  }
  .about-section {
    padding: 22px;
    gap: 12px;
  }
  .about-signoff {
    padding: 22px;
  }
  .about-signoff p {
    font-size: 20px;
  }
  .restaurant-detail-grid,
  .restaurant-photo-grid {
    grid-template-columns: 1fr;
  }
  .restaurant-results-layout {
    grid-template-columns: 1fr;
  }
  .restaurant-map-panel {
    position: relative;
    top: auto;
  }
  .restaurant-card-inner,
  .restaurant-result-card > .flex {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .restaurant-card-media,
  .restaurant-card-media .cc-default-thumb,
  .restaurant-result-card img,
  .restaurant-result-card .shrink-0 > div {
    min-height: 150px;
  }
  .heat-trend-rank {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
  .heat-trend-stats {
    grid-column: 2 / 3;
    grid-row: 2;
    text-align: left;
  }
  .heat-trend-rank .heat {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .directory-split { grid-template-columns: 1fr; }
  .directory-split aside { position: relative !important; top: auto !important; min-height: 300px; }
  h1 { font-size: 42px; }
}
