@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: #202323;
  background: #f6f6f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --orange: #ff4f2e;
  --orange-dark: #e93a1b;
  --ink: #202323;
  --muted: #737a78;
  --line: #e7e8e4;
  --paper: #ffffff;
  --soft: #f6f6f3;
  --blue: #1677df;
  --green: #20a35b;
  --yellow: #f0ac0f;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--soft); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.utility-bar { height: 36px; border-bottom: 1px solid var(--line); background: #fff; color: #555c5a; font-size: 12px; }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.city-picker { position: relative; display: flex; align-items: center; gap: 12px; }
.city-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: var(--orange); background: transparent; }
.weather { color: #929795; }
.city-menu { position: absolute; z-index: 20; top: 29px; left: 0; display: grid; min-width: 124px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 12px 30px rgb(25 35 31 / 12%); }
.city-menu button { padding: 8px 10px; text-align: left; border-radius: 4px; background: transparent; color: var(--ink); }
.city-menu button:hover { background: #fff1ed; color: var(--orange); }
.utility-links { display: flex; align-items: center; gap: 24px; }
.utility-links a:hover, .utility-link:hover { color: var(--orange); }
.utility-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: inherit; background: transparent; font-size: inherit; }
.auth-entry { color: var(--orange); font-weight: 700; }
.partner-entry { color: #1677c8; font-weight: 700; }
.signed-in-user { color: #343936; font-weight: 700; }

.main-header { position: relative; z-index: 10; background: #fff; }
.header-inner { min-height: 94px; display: grid; grid-template-columns: 230px minmax(340px, 1fr) auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-mark { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 7px solid var(--orange); border-top-color: #1b9bdf; border-right-color: #34b829; border-radius: 50%; color: var(--ink); background: #fff; }
.brand-mark span { font-size: 24px; font-weight: 800; transform: translateY(-1px); }
.brand-mark i { position: absolute; right: -7px; top: -7px; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 50%; background: #f3b516; }
.brand-mark.small { width: 30px; height: 30px; border-width: 4px; }
.brand-mark.small span { font-size: 15px; }
.brand-mark.small i { right: -5px; top: -5px; width: 9px; height: 9px; border-width: 2px; }
.brand-copy { display: flex; align-items: baseline; color: #232625; }
.brand-copy strong { font-size: 30px; line-height: 1; font-weight: 800; }
.brand-copy small { margin-left: 5px; font-size: 17px; font-weight: 700; color: #727775; }
.search-area { min-width: 0; }
.search-box { height: 46px; display: flex; align-items: center; border: 2px solid var(--orange); background: #fff; }
.search-box svg { flex: 0 0 auto; margin-left: 14px; color: #8b918f; }
.search-box input { min-width: 0; flex: 1; height: 100%; padding: 0 12px; border: 0; outline: 0; color: var(--ink); }
.search-box input::placeholder { color: #a7aaa8; }
.search-box button { align-self: stretch; width: 96px; background: var(--orange); color: #fff; font-weight: 700; }
.search-box button:hover, .publish-button:hover { background: var(--orange-dark); }
.search-hints { display: flex; gap: 16px; margin-top: 7px; }
.search-hints button { padding: 0; background: transparent; color: #969b99; font-size: 12px; }
.search-hints button:hover { color: var(--orange); }
.publish-button { height: 46px; display: inline-flex; align-items: center; gap: 7px; padding: 0 20px; border-radius: 4px; background: var(--orange); color: #fff; font-weight: 700; white-space: nowrap; }
.mobile-menu-button { display: none !important; }
.icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; }
.primary-nav-wrap { border-bottom: 3px solid var(--orange); }
.primary-nav-bar { height: 52px; display: flex; align-items: center; gap: 18px; }
.primary-nav { height: 46px; display: flex; align-items: stretch; gap: 6px; flex: 1; }
.primary-nav a { min-width: 112px; display: grid; place-items: center; padding: 0 18px; font-weight: 700; color: #424846; }
.primary-nav a:hover { color: var(--orange); background: #fff6f3; }
.primary-nav a.active { color: #fff; background: var(--orange); }
.nav-publish-button { width: 260px; height: 44px; justify-content: center; margin-left: auto; }

.category-band { padding: 12px 0; background: #eeefeb; }
.category-layout { display: grid; grid-template-columns: 1fr; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.category-item { min-width: 0; min-height: 146px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 8px; border-right: 1px solid #eff0ed; background: #fff; }
.category-item:last-child { border-right: 0; }
.category-item:hover { position: relative; z-index: 1; box-shadow: inset 0 -3px var(--orange); background: #fffaf8; }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px 12px 16px 12px; color: #fff; }
.category-icon.coral { background: #ff5635; }
.category-icon.amber { background: #f3a70d; }
.category-icon.blue { background: #1684e6; }
.category-icon.yellow { background: #efb80e; }
.category-icon.green { background: #25af58; }
.category-icon.cyan { background: #13a8a0; }
.category-name { margin-top: 10px; font-size: 15px; font-weight: 700; }
.category-links { width: 100%; margin-top: 5px; overflow: hidden; color: #858b89; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-heading.compact { align-items: center; padding-bottom: 11px; }
.section-heading h2 { margin: 2px 0 0; font-size: 23px; line-height: 1.2; }
.section-heading.compact h2 { font-size: 18px; }
.eyebrow { color: var(--orange); font-size: 12px; font-weight: 700; }
.section-heading a { display: inline-flex; align-items: center; gap: 3px; color: #777d7b; font-size: 12px; }
.section-heading a:hover { color: var(--orange); }
.content-band { padding: 0 0 18px; background: #eeefeb; }
.portal-grid { display: block; }
.quick-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.directory-block { border: 1px solid var(--line); background: #fff; }
.directory-block { display: flex; flex-direction: column; padding: 18px 20px; }
.directory-title { display: flex; align-items: center; gap: 7px; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--orange); }
.directory-title h2 { margin: 0; font-size: 17px; }
.directory-title a { margin-left: auto; color: #929795; font-size: 11px; }
.directory-title a:hover { color: var(--orange); }
.directory-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 11px 14px; padding-top: 15px; }
.directory-links a { color: #1474c9; font-size: 13px; }
.directory-links a:hover, .directory-links a.hot { color: var(--orange); }
.listing-band { padding: 32px 0 42px; background: #fff; }
.listing-heading { align-items: flex-end; }
.filter-tabs { display: flex; gap: 5px; }
.filter-tabs button { min-width: 72px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 4px; color: #666d6a; background: #f2f3f0; font-size: 12px; }
.filter-tabs button:hover, .filter-tabs button.active { color: #fff; background: var(--orange); }
.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; }
.listing-card { width: 100%; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: inherit; background: #fff; text-align: left; transition: transform 160ms ease, box-shadow 160ms ease; }
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(31 39 36 / 10%); }
.listing-card:focus-visible { outline: 3px solid rgb(255 79 46 / 24%); outline-offset: 2px; }
.listing-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9ece8; }
.listing-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 220ms ease; }
.listing-card:hover img { transform: scale(1.035); }
.listing-image span { position: absolute; left: 10px; top: 10px; padding: 3px 7px; border-radius: 3px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 700; }
.listing-body { padding: 14px; }
.listing-body > small { color: var(--orange); font-weight: 700; }
.listing-body h3 { min-height: 44px; margin: 7px 0 14px; overflow: hidden; font-size: 15px; line-height: 1.5; }
.listing-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.listing-footer span { min-width: 0; display: flex; align-items: center; gap: 4px; overflow: hidden; color: #8a908d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.listing-footer strong { color: var(--orange); font-size: 15px; white-space: nowrap; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 26px; }
.pagination > button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: #59605d; background: #fff; font-size: 12px; font-weight: 700; }
.pagination > button:hover:not(:disabled), .pagination > button.active { border-color: var(--orange); color: #fff; background: var(--orange); }
.pagination > button:disabled { cursor: not-allowed; opacity: .42; }
.pagination .pagination-arrow { display: grid; }
.pagination-summary { margin-left: 8px; color: #8a908d; font-size: 11px; }
.empty-state { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #858b89; }
.empty-state button { padding: 8px 14px; border-radius: 4px; color: var(--orange); background: #fff1ed; }

footer { padding: 26px 0 88px; border-top: 1px solid #dedfdb; color: #8b908e; background: #f3f4f1; font-size: 12px; }
.footer-inner { display: flex; align-items: center; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; }
.footer-inner p { margin: 0 auto 0 0; }
.mobile-bottom-nav { display: none; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 18px; background: rgb(21 26 24 / 48%); }
.publish-modal { width: min(570px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 24px; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgb(15 20 18 / 24%); }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 19px; }
.modal-heading h2 { margin: 3px 0 0; font-size: 22px; }
.publish-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.publish-modal label { display: grid; gap: 7px; margin-top: 14px; color: #555c59; font-size: 13px; font-weight: 600; }
.publish-modal label > span, .publish-field-heading > span { display: flex; align-items: baseline; gap: 6px; }
.publish-modal label small, .publish-field-heading small { color: #9a9f9d; font-size: 11px; font-weight: 400; }
.publish-modal input, .publish-modal select, .publish-modal textarea { width: 100%; padding: 0 12px; border: 1px solid #dcded9; border-radius: 4px; outline: none; color: var(--ink); background: #fff; }
.publish-modal input, .publish-modal select { height: 44px; }
.publish-modal textarea { min-height: 92px; padding-top: 11px; padding-bottom: 11px; resize: vertical; line-height: 1.55; }
.publish-modal input:focus, .publish-modal select:focus, .publish-modal textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 79 46 / 10%); }
.publish-image-field { margin-top: 16px; }
.publish-field-heading { display: flex; align-items: center; justify-content: space-between; color: #555c59; font-size: 13px; font-weight: 600; }
.publish-field-heading em { color: #9a9f9d; font-size: 11px; font-style: normal; font-weight: 400; }
.publish-image-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 9px; }
.image-upload-tile, .image-preview-tile { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px dashed #cfd4d0; border-radius: 5px; }
.image-upload-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #8b928e; background: #fafbf9; cursor: pointer; font-size: 11px; font-weight: 500; }
.image-upload-tile:hover { border-color: var(--orange); color: var(--orange); background: #fff8f6; }
.image-preview-tile { border-style: solid; border-color: #e2e5e1; background: #edf0ec; }
.image-preview-tile img { width: 100%; height: 100%; display: block; object-fit: cover; }
.image-preview-tile button { position: absolute; top: 5px; right: 5px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgb(24 29 26 / 70%); }
.image-preview-tile button:hover { background: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.publish-error { margin: 12px 0 0; padding: 9px 11px; border-left: 3px solid var(--orange); color: #bc351e; background: #fff3f0; font-size: 12px; }
.listing-image-empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #a0a7a2; background: #edf0ec; font-size: 11px; }
.modal-submit { width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; border-radius: 4px; color: #fff; background: var(--orange); font-weight: 700; }
.modal-submit:hover { background: var(--orange-dark); }
.modal-submit:disabled { cursor: wait; opacity: .7; }
.partner-modal { width: min(650px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 24px 28px 27px; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgb(15 20 18 / 24%); }
.partner-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.partner-heading h2 { margin-top: 3px; }
.partner-heading p { margin: 7px 0 0; color: #7d8380; font-size: 12px; }
.partner-form { display: grid; gap: 12px; padding-top: 5px; }
.partner-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.partner-form label:not(.partner-agreement) { display: grid; gap: 7px; margin-top: 10px; color: #555c59; font-size: 13px; font-weight: 600; }
.partner-form label span em { color: var(--orange); font-style: normal; }
.partner-form label span small { color: #9a9f9d; font-size: 11px; font-weight: 400; }
.partner-form input:not([type='checkbox']), .partner-form select, .partner-form textarea { width: 100%; padding: 0 12px; border: 1px solid #dcded9; border-radius: 4px; outline: none; color: var(--ink); background: #fff; }
.partner-form input:not([type='checkbox']), .partner-form select { height: 44px; }
.partner-form textarea { min-height: 82px; padding-top: 10px; padding-bottom: 10px; resize: vertical; line-height: 1.55; }
.partner-form input:focus, .partner-form select:focus, .partner-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 79 46 / 10%); }
.partner-agreement { display: flex; align-items: flex-start; gap: 8px; color: #6e7471; font-size: 12px; line-height: 1.6; }
.partner-agreement input { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--orange); }
.partner-error { margin: -1px 0 0; padding: 9px 11px; border-left: 3px solid var(--orange); color: #bc351e; background: #fff3f0; font-size: 12px; }
.partner-submit { width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 4px; color: #fff; background: var(--orange); font-weight: 700; }
.partner-submit:hover { background: var(--orange-dark); }
.partner-submit:disabled { cursor: wait; opacity: .7; }
.partner-result { padding: 32px 0 2px; text-align: center; }
.partner-result > span { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; color: #178b54; background: #e7f7ee; }
.partner-result h3 { margin: 17px 0 8px; font-size: 21px; }
.partner-result > p { margin: 0; color: #7b827f; font-size: 13px; }
.partner-result dl { margin: 23px 0 19px; padding: 4px 16px; background: var(--soft); text-align: left; }
.partner-result dl div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.partner-result dl div:last-child { border-bottom: 0; }
.partner-result dt { color: #858b88; }
.partner-result dd { margin: 0; font-weight: 700; }
.partner-result dl div:last-child dd { color: #b97600; }
.partner-result > button { width: 100%; height: 44px; border-radius: 4px; color: #fff; background: var(--orange); font-weight: 700; }
.auth-modal { width: min(430px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgb(15 20 18 / 24%); }
.auth-brand-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 17px; }
.auth-brand .brand-copy strong { font-size: 22px; }
.auth-brand .brand-copy small { display: inline; font-size: 14px; }
.auth-tabs { height: 46px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafaf8; }
.auth-tabs button { position: relative; color: #777d7a; background: transparent; font-weight: 700; }
.auth-tabs button.active { color: var(--orange); background: #fff; }
.auth-tabs button.active::after { position: absolute; left: 34%; right: 34%; bottom: -1px; height: 3px; content: ''; background: var(--orange); }
.auth-form { padding: 23px 28px 25px; }
.auth-heading { margin-bottom: 19px; }
.auth-heading h2 { margin: 0; font-size: 22px; }
.auth-heading p { margin: 7px 0 0; color: var(--orange); font-size: 12px; }
.auth-form > label:not(.agreement-row) { display: grid; gap: 7px; margin-top: 14px; color: #555c59; font-size: 13px; font-weight: 600; }
.auth-form input:not([type='checkbox']) { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #dcded9; border-radius: 4px; outline: none; color: var(--ink); background: #fff; }
.auth-form input:not([type='checkbox']):focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgb(255 79 46 / 10%); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 46px !important; }
.password-field button { position: absolute; top: 3px; right: 3px; width: 38px; height: 38px; display: grid; place-items: center; color: #8a908d; background: transparent; }
.agreement-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: #767c79; font-size: 12px; line-height: 1.6; }
.agreement-row input { width: 15px; height: 15px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--orange); }
.agreement-row a { color: #1677c8; }
.auth-error { margin: 12px 0 0; padding: 9px 11px; border-left: 3px solid var(--orange); color: #bc351e; background: #fff3f0; font-size: 12px; }
.auth-submit { width: 100%; height: 46px; margin-top: 19px; border-radius: 4px; color: #fff; background: var(--orange); font-weight: 700; }
.auth-submit:hover { background: var(--orange-dark); }
.auth-submit:disabled { cursor: wait; opacity: .7; }
.auth-switch { margin: 14px 0 0; color: #8a908d; font-size: 12px; text-align: center; }
.auth-switch button { padding: 0; color: var(--orange); background: transparent; font-weight: 700; }
.toast-message { position: fixed; z-index: 150; top: 54px; left: 50%; display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 4px; color: #fff; background: #25302b; box-shadow: 0 10px 30px rgb(20 30 25 / 20%); font-size: 13px; transform: translateX(-50%); }
.toast-message svg { color: #68d792; }
.toast-enter-active, .toast-leave-active { transition: opacity 160ms ease, transform 160ms ease; }
.toast-enter-from, .toast-leave-to { opacity: 0; transform: translate(-50%, -8px); }
.account-modal { width: min(410px, 100%); padding: 24px; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgb(15 20 18 / 24%); }
.account-profile { display: flex; align-items: center; gap: 13px; padding: 17px; background: #fff4ef; }
.account-profile > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 20px; font-weight: 800; }
.account-profile strong, .account-profile small { display: block; }
.account-profile small { margin-top: 4px; color: #7e8581; }
.account-details { margin: 15px 0; }
.account-details > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.account-details dt { color: #858b88; }
.account-details dd { margin: 0; color: #383e3b; }
.account-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.account-actions button { height: 42px; border-radius: 4px; font-weight: 700; }
.account-publish { display: flex; align-items: center; justify-content: center; gap: 5px; color: #fff; background: var(--orange); }
.account-logout { padding: 0 16px; color: #6d7471; background: #f1f2ef; }
.listing-detail-modal { width: min(680px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 24px; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgb(15 20 18 / 24%); }
.listing-detail-heading { margin-bottom: 16px; }
.listing-detail-heading > div { min-width: 0; padding-right: 18px; }
.listing-detail-heading h2 { max-width: 560px; font-size: 21px; line-height: 1.45; }
.listing-detail-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.listing-detail-images.single { grid-template-columns: 1fr; }
.listing-detail-images img { width: 100%; height: 190px; display: block; object-fit: cover; border-radius: 5px; background: #edf0ec; }
.listing-detail-images.single img { height: min(340px, 42vh); }
.listing-detail-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 5px; color: #9aa09d; background: #f1f3f0; font-size: 12px; }
.listing-detail-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.listing-detail-badge { padding: 4px 8px; border-radius: 3px; color: var(--orange); background: #fff0eb; font-size: 11px; font-weight: 700; }
.listing-detail-price { margin-left: auto; color: var(--orange); font-size: 22px; }
.listing-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.listing-detail-meta > div { min-width: 0; padding: 11px 12px 11px 0; }
.listing-detail-meta dt { display: flex; align-items: center; gap: 6px; color: #858b88; font-size: 12px; }
.listing-detail-meta dt svg { color: var(--orange); }
.listing-detail-meta dd { margin: 6px 0 0 23px; overflow-wrap: anywhere; color: #343a37; font-size: 14px; font-weight: 600; }
.listing-detail-description { padding: 16px 0 4px; }
.listing-detail-description h3 { margin: 0 0 8px; font-size: 15px; }
.listing-detail-description p { margin: 0; color: #636a67; font-size: 13px; line-height: 1.8; white-space: pre-wrap; }
.fade-enter-active, .fade-leave-active { transition: opacity 160ms ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

@media (max-width: 1040px) {
  .primary-nav-bar { gap: 10px; }
  .primary-nav a { min-width: 78px; padding: 0 8px; font-size: 13px; }
  .nav-publish-button { width: 200px; }
  .header-inner { grid-template-columns: 190px 1fr auto; gap: 18px; }
  .brand-copy strong { font-size: 27px; }
  .brand-copy small { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 680px); }
  .utility-bar { height: 34px; }
  .utility-links, .weather { display: none; }
  .header-inner { min-height: 68px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand-mark { width: 38px; height: 38px; border-width: 5px; }
  .brand-mark span { font-size: 19px; }
  .brand-mark i { right: -6px; top: -6px; width: 11px; height: 11px; }
  .brand-copy strong { font-size: 22px; }
  .search-area { grid-column: 1 / -1; grid-row: 2; padding-bottom: 12px; }
  .search-box { height: 43px; }
  .search-box button { width: 72px; }
  .search-hints { display: none; }
  .publish-button { display: none; }
  .mobile-menu-button { display: inline-grid !important; }
  .primary-nav-wrap { display: none; position: absolute; top: 100%; left: 0; right: 0; border-bottom-width: 2px; background: #fff; box-shadow: 0 14px 30px rgb(20 30 25 / 13%); }
  .primary-nav-wrap.open { display: block; }
  .primary-nav-bar { height: auto; display: block; }
  .nav-publish-button { display: none; }
  .primary-nav { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); padding: 8px 0 12px; }
  .primary-nav a { min-width: 0; min-height: 40px; border-radius: 4px; }
  .category-band { padding-top: 10px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-item { min-height: 118px; border-bottom: 1px solid #eff0ed; }
  .category-item:nth-child(2n) { border-right: 0; }
  .category-icon { width: 42px; height: 42px; }
  .category-links { display: none; }
  .content-band { padding-bottom: 10px; }
  .quick-directory { grid-template-columns: 1fr; gap: 10px; }
  .directory-block { padding: 15px; }
  .listing-band { padding: 25px 0 88px; }
  .listing-heading { align-items: flex-start; flex-direction: column; }
  .filter-tabs { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .filter-tabs button { flex: 0 0 auto; }
  .listing-grid { grid-template-columns: 1fr; gap: 12px; }
  .listing-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
  .listing-image { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .listing-body h3 { min-height: auto; margin-bottom: 18px; font-size: 14px; }
  .listing-footer { align-items: flex-end; }
  .pagination { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .pagination > button { flex: 0 0 36px; }
  .pagination-summary { flex: 0 0 auto; }
  footer { padding: 25px 0 90px; }
  .footer-inner { flex-wrap: wrap; gap: 12px; }
  .footer-inner p { width: calc(100% - 132px); margin: 0; }
  .mobile-bottom-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px max(8px, env(safe-area-inset-left)) max(5px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(255 255 255 / 96%); box-shadow: 0 -8px 22px rgb(24 33 29 / 7%); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { height: 53px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #777d7a; background: transparent; font-size: 10px; }
  .mobile-bottom-nav a.active { color: var(--orange); }
  .mobile-bottom-nav button { color: var(--ink); }
  .mobile-bottom-nav button > span { width: 42px; height: 42px; display: grid; place-items: center; margin-top: -23px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: var(--orange); box-shadow: 0 4px 12px rgb(255 79 46 / 28%); }
  .mobile-bottom-nav button b { margin-top: 1px; font-size: 10px; font-weight: 500; }
  .auth-modal { max-height: calc(100dvh - 24px); }
  .publish-modal { max-height: calc(100dvh - 24px); padding: 20px; }
  .partner-modal { max-height: calc(100dvh - 24px); padding: 20px; }
  .listing-detail-modal { max-height: calc(100dvh - 24px); padding: 20px; }
  .listing-detail-images img { height: 145px; }
  .listing-detail-images.single img { height: 230px; }
  .listing-detail-meta { grid-template-columns: 1fr; }
  .listing-detail-meta > div { padding-right: 0; }
  .publish-form-grid { grid-template-columns: 1fr; gap: 0; }
  .partner-form-grid { grid-template-columns: 1fr; gap: 0; }
  .publish-image-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .auth-brand-row { padding: 17px 18px 14px; }
  .auth-form { padding: 20px 20px 22px; }
  .toast-message { top: 14px; width: max-content; max-width: calc(100% - 28px); }
}

/* Keep the information portal readable when CSS grid, aspect-ratio and custom properties are unavailable. */
.legacy-browser .container { width: 96%; max-width: 1200px; }
.legacy-browser .search-area { display: block; }
.legacy-browser .search-hints { margin-top: 8px; }
.legacy-browser .category-grid,
.legacy-browser .quick-directory,
.legacy-browser .listing-grid { display: block; }
.legacy-browser .category-item,
.legacy-browser .directory-block,
.legacy-browser .listing-card { display: block; width: 100%; margin-bottom: 12px; }
.legacy-browser .listing-image { height: 190px; aspect-ratio: auto; }

@media (max-width: 390px) {
  .brand-copy strong { font-size: 20px; }
  .service-row a { font-size: 10px; }
  .listing-card { grid-template-columns: 112px minmax(0, 1fr); }
  .listing-body { padding: 11px; }
  .listing-footer { display: block; }
  .listing-footer strong { display: block; margin-top: 7px; }
}
