:root {
  --brand: #ea580c;
  --brand-dark: #9a3412;
  --brand-soft: #ffedd5;
  --accent: #fdba74;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #e7d5c4;
  --surface: #fff;
  --canvas: #fff7ed;
  --danger: #bd3b28;
  --shadow: 0 8px 24px rgb(124 45 18 / 10%);
  --radius-sm: .75rem;
  --radius: 1rem;
  --radius-lg: 1.35rem;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-family: Outfit, system-ui, sans-serif; padding-bottom: 5.6rem; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.page-header { position: sticky; top: 0; z-index: 40; overflow: visible; background: rgb(255 255 255 / 94%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { min-height: 3.75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; overflow: visible; }
.logo { display: inline-flex; align-items: center; gap: 0; line-height: 0; }
.logo img { display: block; height: 2.65rem; width: auto; object-fit: contain; object-position: left center; }
.logo-mark { display: none; }
.logo em { color: var(--brand); font-style: normal; }
.header-actions { display: flex; gap: .35rem; align-items: center; overflow: visible; }
.icon-button { min-width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; }
.icon-button svg { width: 1.15rem; height: 1.15rem; }
.desktop-only { display: none !important; }
.bottom-nav { position: fixed; inset: auto 0 0; z-index: 40; height: calc(4.85rem + env(safe-area-inset-bottom)); padding: .38rem .6rem env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgb(255 255 255 / 97%); backdrop-filter: blur(14px); display: grid; grid-template-columns: repeat(5, 1fr); }
.bottom-nav a { min-width: 0; display: grid; justify-items: center; align-content: center; gap: .15rem; color: var(--muted); font-size: .67rem; font-weight: 600; }
.bottom-nav svg { width: 1.25rem; height: 1.25rem; }
.bottom-nav .active { color: var(--brand-dark); }
.bottom-nav .publish { transform: translateY(-1.15rem); color: var(--brand-dark); font-weight: 700; }
.bottom-nav .publish .nav-round { width: 3.35rem; height: 3.35rem; margin-bottom: .1rem; display: grid; place-items: center; border-radius: 999px; color: var(--ink); background: var(--accent); border: 4px solid var(--canvas); box-shadow: 0 8px 16px rgb(124 45 18 / 22%); }
.section { padding: 1.35rem 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 0 .85rem; }
.section-heading h2 { margin: 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 800 clamp(1rem, 4.6vw, 1.25rem)/1.25 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; }
.section-heading .text-link { flex: 0 0 auto; }
.text-link { display: inline-block; border: 0; padding: 0; background: none; color: var(--brand-dark); font-weight: 700; font-size: .86rem; white-space: nowrap; }
.pill, .chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.45rem; padding: .4rem .82rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; white-space: nowrap; }
.chip.active { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .22rem .48rem; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.badge.sponsored { color: #765b00; background: #fff5c8; }
.badge.reviews { color: #fff; background: rgb(124 45 18 / 78%); backdrop-filter: blur(6px); font-weight: 700; letter-spacing: .01em; }
.btn { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.05rem; border: 0; border-radius: var(--radius-sm); font-weight: 800; font-size: .92rem; }
.btn-primary { color: #fff; background: var(--brand-dark); }
.btn-secondary { color: var(--brand-dark); background: var(--brand-soft); }
.btn-outline { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.card { display: block; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(0 0 0 / 2%); }
.favorite { position: absolute; z-index: 2; top: .6rem; right: .6rem; width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 94%); color: var(--ink); box-shadow: 0 2px 7px rgb(0 0 0 / 10%); }
.favorite[aria-pressed="true"] { color: #c53e4b; }
.favorite svg { width: 1.1rem; height: 1.1rem; }
.listing-image-wrap { position: relative; }
.listing-image-wrap .badge { position: absolute; bottom: .55rem; left: .55rem; }
.listing-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--brand-soft); }
.listing-content { display: block; padding: .75rem; }
.listing-name { margin: .45rem 0 .25rem; font: 800 .97rem/1.25 "Bricolage Grotesque", sans-serif; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-category { margin: 0 0 .2rem; color: var(--brand-dark); font-size: .78rem; font-weight: 700; }
.listing-service, .listing-meta { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.listing-price { margin: 0; font-size: .84rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.listing-rating { flex: none; color: #c47b0a; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.skeleton { background: linear-gradient(90deg, #ffedd5 25%, #fffbeb 38%, #ffedd5 63%); background-size: 400% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }
.overlay { position: fixed; z-index: 60; inset: 0; display: none; background: rgb(68 20 7 / 45%); }
.overlay.open { display: block; }
.sheet { position: absolute; inset: auto 0 0; max-height: 90dvh; padding: .75rem 1rem max(1rem, env(safe-area-inset-bottom)); overflow: auto; border-radius: 1.35rem 1.35rem 0 0; background: #fff; }
.sheet-handle { width: 2.5rem; height: .28rem; margin: 0 auto .8rem; border-radius: 999px; background: var(--line); }
.sheet-title { margin: 0 0 1rem; font: 800 1.2rem "Bricolage Grotesque", sans-serif; }
.field { width: 100%; min-height: 3.1rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: #fff; outline-color: var(--brand); }
.ac-wrap { position: relative; width: 100%; }
.ac-list {
  position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + .25rem);
  margin: 0; padding: .35rem; list-style: none; max-height: 14rem; overflow: auto;
  border: 1px solid var(--line); border-radius: .85rem; background: #fff;
  box-shadow: 0 12px 28px rgb(124 45 18 / 14%);
}
.ac-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .7rem .8rem; border-radius: .65rem; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink);
}
.ac-item:hover, .ac-item.active { background: var(--brand-soft); color: var(--brand-dark); }
.search-field .ac-wrap { flex: 1; min-width: 0; position: relative; }
.search-field .ac-list { left: -2.6rem; right: -.9rem; width: auto; z-index: 60; }
.empty-state { padding: 2.5rem 1rem; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state h2 { font: 800 1.2rem "Bricolage Grotesque", sans-serif; }
.mascot-emotion {
  display: block; margin: 0 auto .85rem;
  width: 7.5rem; height: 7.5rem;
  object-fit: contain; object-position: center;
  filter: drop-shadow(0 4px 10px rgb(124 45 18 / 12%));
}
.mascot-emotion.sm { width: 4.5rem; height: 4.5rem; margin-bottom: .55rem; }
.mascot-emotion.md { width: 6rem; height: 6rem; }
.mascot-emotion.lg { width: 9rem; height: 9rem; }
.mascot-emotion.xl { width: 11rem; height: 11rem; }
.mascot-neutral { object-position: center bottom; }
.mascot-banner {
  display: grid; justify-items: center; gap: .35rem;
  margin: 0 0 1.1rem; padding: .85rem .75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff7ed 0%, var(--brand-soft) 100%);
  text-align: center;
}
.mascot-banner p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.4; max-width: 22rem; }
.mascot-banner strong { color: var(--ink); font-size: .95rem; }
.error-msg.show, .ok-msg.show { display: flex; align-items: flex-start; gap: .55rem; }
.error-msg .mascot-emotion, .ok-msg .mascot-emotion { margin: 0; flex: none; }
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .desktop-only { display: inline-flex !important; }
  .header-actions .btn { min-height: 2.5rem; }
  .container { width: min(100% - 3.5rem, 72rem); }
  .logo img { height: 2.9rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
