:root {
  --cream: #f7efe1;
  --cream-2: #fbf7ef;
  --sky: #d8ebe4;
  --aqua: #78b8ad;
  --teal: #3d8f84;
  --teal-dark: #226d66;
  --yellow: #c89c42;
  --peach: #d9a489;
  --ink: #2d241c;
  --muted: #766d63;
  --line: rgba(35, 48, 47, 0.12);
  --white: #fffdf8;
  --surface: rgba(255, 253, 248, 0.92);
  --shadow: 0 18px 46px rgba(54, 67, 56, 0.13);
  --soft-shadow: 0 8px 24px rgba(54, 67, 56, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    "Nunito", "Arial Rounded MT Bold", "Microsoft YaHei", "PingFang SC",
    system-ui, sans-serif;
  background:
    radial-gradient(circle at 78% 6%, rgba(255, 210, 90, 0.24), transparent 25rem),
    radial-gradient(circle at 18% 18%, rgba(122, 219, 208, 0.24), transparent 28rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(255, 246, 223, 0.96)),
    var(--cream);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  border-right: 2px solid rgba(43, 43, 43, 0.08);
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: blur(18px);
}

.auth-gate,
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(122, 219, 208, 0.34), transparent 22rem),
    radial-gradient(circle at 74% 16%, rgba(255, 210, 90, 0.28), transparent 24rem),
    rgba(255, 246, 223, 0.9);
  backdrop-filter: blur(12px);
}

.auth-gate.visible {
  display: grid;
}

.admin-panel {
  z-index: 24;
  background: rgba(35, 48, 47, 0.28);
}

.admin-panel.visible {
  display: grid;
}

.auth-card,
.admin-card {
  width: min(520px, 100%);
  border: 1px solid rgba(35, 48, 47, 0.15);
  border-radius: 34px;
  padding: 24px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 24px 70px rgba(35, 48, 47, 0.18);
}

.admin-card {
  width: min(640px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.auth-top,
.auth-brand {
  display: flex;
  align-items: center;
}

.auth-top {
  justify-content: space-between;
  gap: 12px;
}

.auth-brand {
  gap: 16px;
}

.auth-brand img {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(200, 156, 66, 0.42);
  border-radius: 50%;
  background: #fbf7ef;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(45, 36, 28, 0.12);
}

.auth-brand h2 {
  font-size: 36px;
}

.auth-brand h2 span {
  color: var(--teal);
}

.auth-copy {
  margin: 16px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-form,
.admin-login {
  display: grid;
  gap: 12px;
}

.auth-form label,
.admin-login label,
.friend-code-input {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.auth-form input,
.admin-login input,
.friend-code-input input {
  min-height: 50px;
  border: 1px solid rgba(35, 48, 47, 0.18);
  border-radius: 18px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
}

.auth-form input:focus,
.admin-login input:focus,
.friend-code-input input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 181, 168, 0.12);
}

.auth-submit {
  width: 100%;
  margin-top: 2px;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: #b03a2e;
  font-size: 13px;
  font-weight: 850;
}

.auth-hint {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  border-radius: 18px;
  padding: 12px;
  color: var(--muted);
  background: rgba(15, 181, 168, 0.08);
  font-size: 13px;
}

.text-link {
  min-height: auto;
  margin-top: 12px;
  border: 0;
  padding: 0;
  color: var(--teal-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 950;
  text-decoration: underline;
}

.admin-head,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-credentials,
.formula-box {
  margin-top: 16px;
  border: 1px solid rgba(15, 181, 168, 0.18);
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(212, 243, 238, 0.58), rgba(255, 246, 223, 0.88));
}

.admin-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-credentials div,
.code-row {
  display: grid;
  gap: 5px;
}

.admin-credentials span,
.code-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-credentials strong,
.code-row strong {
  font-size: 15px;
}

.admin-copy,
.formula-box p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-tools {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

.admin-tools.visible {
  display: grid;
}

.formula-box {
  margin-top: 0;
}

.formula-box p {
  margin-bottom: 0;
}

.success-line {
  min-height: 20px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.code-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.code-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(35, 48, 47, 0.1);
  border-radius: 18px;
  padding: 11px 12px;
  background: var(--white);
}

.code-row code {
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 950;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(18, 183, 168, 0.22);
}

.brand-name {
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--teal);
}

.brand-line {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.vivi-note,
.mini-panel,
.map-panel,
.list-panel,
.detail-panel,
.community-panel,
.search-band {
  border: 2px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.vivi-note {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  padding: 16px;
}

.vivi-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.vivi-face {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  color: var(--white);
  background: var(--teal);
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(15, 181, 168, 0.22);
}

.nav-tabs {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.nav-tabs button,
.mood-grid button,
.filter-row button,
.ghost-btn,
.icon-btn,
.primary-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 850;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.nav-tabs button:hover,
.mood-grid button:hover,
.filter-row button:hover,
.ghost-btn:hover,
.icon-btn:hover,
.primary-btn:hover {
  transform: translateY(-1px);
}

.nav-tabs button.active,
.mood-grid button.selected,
.filter-row button.active,
.ghost-btn.active {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 8px 18px rgba(35, 48, 47, 0.14);
}

.mini-panel {
  margin-top: 24px;
  padding: 16px;
}

.mini-title {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 900;
}

.mood-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.main {
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.1;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.primary-btn {
  border-color: var(--teal-dark);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(15, 181, 168, 0.24);
  padding: 0 18px;
}

.account-chip {
  display: none;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(35, 48, 47, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--teal-dark);
  background: rgba(255, 253, 247, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.account-chip.visible {
  display: inline-flex;
}

.icon-btn,
.ghost-btn {
  padding: 0 16px;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(240px, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding: 16px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(35, 48, 47, 0.16);
  border-radius: 22px;
  outline: none;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row button {
  padding: 0 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
  margin-top: 22px;
}

.map-panel,
.list-panel,
.detail-panel,
.community-panel {
  padding: 18px;
}

.map-toolbar,
.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.map-toolbar span,
.fresh-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(18, 183, 168, 0.12);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.soft-map {
  position: relative;
  overflow: hidden;
  min-height: 532px;
  margin-top: 16px;
  border: 3px solid var(--ink);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(43, 43, 43, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(43, 43, 43, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 52% 44%, rgba(255, 212, 90, 0.32), transparent 14rem),
    radial-gradient(circle at 24% 58%, rgba(119, 221, 210, 0.42), transparent 16rem),
    #eafaf5;
  background-size: 70px 70px, 70px 70px, auto, auto, auto;
}

.google-map-wrap {
  position: relative;
  display: none;
  overflow: hidden;
  min-height: 532px;
  margin-top: 16px;
  border: 1px solid rgba(35, 48, 47, 0.16);
  border-radius: 30px;
  background: var(--sky);
}

.google-map-wrap.enabled {
  display: block;
}

.google-map-wrap.enabled + .soft-map {
  display: none;
}

.google-map {
  width: 100%;
  min-height: 532px;
}

.google-map-empty {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 2px dashed rgba(43, 43, 43, 0.2);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 253, 247, 0.78);
}

.google-map-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.route {
  position: absolute;
  inset: 16% 10% 18% 8%;
  border: 8px dashed rgba(18, 183, 168, 0.35);
  border-color: transparent transparent rgba(18, 183, 168, 0.35) rgba(18, 183, 168, 0.35);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  min-height: 78px;
  border: 4px solid var(--ink);
  border-radius: 28px 28px 28px 8px;
  color: var(--ink);
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(35, 48, 47, 0.18);
  transform: rotate(-45deg);
}

.pin span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: var(--white);
  font-size: 13px;
  font-weight: 950;
  transform: rotate(45deg);
}

.pin.best {
  background: var(--yellow);
}

.pin.hot {
  background: var(--peach);
}

.pin.selected {
  z-index: 2;
  transform: rotate(-45deg) scale(1.08);
}

.cards {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.venue-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  background: var(--white);
}

.venue-card.selected {
  border-color: rgba(15, 181, 168, 0.56);
  box-shadow: 0 14px 30px rgba(15, 181, 168, 0.14);
}

.food-badge {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(35, 48, 47, 0.14);
  border-radius: 26px;
  background: var(--cream);
  font-size: 32px;
  font-weight: 950;
}

.card-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.distance {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.meta-row {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.star {
  color: #d59700;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(255, 212, 90, 0.36);
  font-size: 12px;
  font-weight: 900;
}

.tag.teal {
  background: rgba(18, 183, 168, 0.14);
  color: var(--teal-dark);
}

.snippet {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-community {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  margin-top: 22px;
}

.detail-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.price-big {
  display: grid;
  place-items: center;
  min-width: 112px;
  height: 92px;
  border: 4px solid var(--ink);
  border-radius: 26px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(255, 210, 90, 0.28);
  font-size: 28px;
  font-weight: 950;
}

.review-box {
  margin-top: 16px;
  border: 2px dashed rgba(43, 43, 43, 0.2);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 244, 216, 0.56);
}

.review-box p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.review-source {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.review-source span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(18, 183, 168, 0.12);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.action-row,
.tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.action-row button,
.tip-actions button {
  min-height: 38px;
}

.stat {
  min-height: 88px;
  border-radius: 20px;
  padding: 12px;
  background: rgba(119, 221, 210, 0.18);
}

.stat strong {
  display: block;
  font-size: 20px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.tip-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.tip {
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: var(--white);
}

.tip strong {
  display: block;
  margin-bottom: 6px;
}

.tip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 2px solid rgba(43, 43, 43, 0.08);
  }

  .nav-tabs,
  .mood-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .content-grid,
  .detail-community {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .main,
  .sidebar {
    padding: 16px;
  }

  .topbar,
  .map-toolbar,
  .section-heading,
  .detail-hero {
    display: grid;
  }

  .top-actions {
    justify-content: stretch;
  }

  .top-actions button {
    flex: 1;
  }

  .admin-card,
  .auth-card {
    border-radius: 26px;
    padding: 18px;
  }

  .admin-head,
  .auth-top,
  .admin-actions,
  .admin-credentials {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-tabs,
  .mood-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .venue-card {
    grid-template-columns: 1fr;
  }

  .soft-map {
    min-height: 420px;
  }
}

/* Professional product layout */
body {
  background:
    linear-gradient(180deg, #f7f1e6 0%, #fbf7ef 48%, #fffdf8 100%),
    var(--cream-2);
}

.app-shell {
  display: block;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  height: auto;
  padding: 14px 32px;
  border-right: 0;
  border-bottom: 1px solid rgba(35, 48, 47, 0.1);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(200, 156, 66, 0.42);
  border-radius: 50%;
  background: #fbf7ef;
  box-shadow: 0 8px 24px rgba(45, 36, 28, 0.08);
}

.brand-name {
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: 27px;
  font-weight: 800;
}

.vivi-note {
  display: flex;
  align-items: center;
  margin-top: 0;
  border: 1px solid rgba(35, 48, 47, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(247, 239, 225, 0.72);
  box-shadow: none;
}

.vivi-face {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: none;
}

.vivi-note p {
  max-width: 360px;
  font-size: 13px;
}

.nav-tabs {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.mini-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  border: 0;
  border-top: 1px solid rgba(35, 48, 47, 0.08);
  border-radius: 0;
  padding: 12px 0 0;
  background: transparent;
  box-shadow: none;
}

.mini-title {
  margin-bottom: 0;
}

.mood-grid {
  display: flex;
  flex-wrap: wrap;
}

.main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 34px 32px 56px;
}

.topbar {
  align-items: end;
  padding: 18px 0 22px;
}

h1 {
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.92;
}

.search-band {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  align-items: end;
  border: 1px solid rgba(35, 48, 47, 0.1);
  border-radius: 8px;
  margin-top: 0;
  padding: 16px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 10px 30px rgba(35, 48, 47, 0.06);
}

.search-box {
  grid-row: span 2;
}

.search-box input,
.auth-form input,
.admin-login input,
.friend-code-input input {
  border-radius: 8px;
}

.content-grid,
.top-experience {
  grid-template-columns: minmax(560px, 1.35fr) minmax(340px, 0.65fr);
  gap: 18px;
  margin-top: 20px;
}

.restaurant-review-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1.1fr) minmax(380px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.map-panel,
.list-panel,
.detail-panel,
.community-panel,
.search-band {
  border: 1px solid rgba(35, 48, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 12px 34px rgba(35, 48, 47, 0.07);
}

.map-panel,
.list-panel,
.detail-panel,
.community-panel {
  padding: 18px;
}

.community-panel {
  align-self: stretch;
}

.soft-map,
.google-map-wrap {
  min-height: 430px;
  border: 1px solid rgba(35, 48, 47, 0.12);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.google-map {
  min-height: 430px;
}

.pin {
  width: 70px;
  min-height: 70px;
  border: 2px solid rgba(35, 48, 47, 0.8);
  border-radius: 18px 18px 18px 5px;
}

.pin span {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.venue-card,
.tip,
.review-box,
.stat,
.auth-card,
.admin-card,
.admin-credentials,
.formula-box,
.code-row,
.food-badge,
.price-big {
  border-radius: 8px;
}

.venue-card {
  grid-template-columns: 58px minmax(0, 1fr);
  border: 1px solid rgba(35, 48, 47, 0.1);
  padding: 13px;
  box-shadow: none;
}

.venue-card:hover {
  border-color: rgba(15, 181, 168, 0.38);
  background: #fffefa;
}

.venue-card.selected {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(15, 181, 168, 0.1);
}

.food-badge {
  width: 58px;
  height: 58px;
  background: rgba(212, 243, 238, 0.45);
  font-size: 24px;
}

.detail-panel {
  position: sticky;
  top: 126px;
  align-self: start;
}

.price-big {
  min-width: 96px;
  height: 78px;
  border: 0;
  background: #ffda66;
  box-shadow: none;
}

.review-box {
  border: 1px solid rgba(35, 48, 47, 0.1);
  background: #fff9e9;
}

.tip {
  border: 1px solid rgba(35, 48, 47, 0.1);
  background: #fffefa;
}

.nav-tabs button,
.mood-grid button,
.filter-row button,
.ghost-btn,
.icon-btn,
.primary-btn {
  border-radius: 8px;
}

.primary-btn {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(45, 36, 28, 0.16);
}

.map-toolbar span,
.fresh-pill {
  background: rgba(200, 156, 66, 0.13);
  color: #7a5f27;
}

.soft-map,
.google-map-wrap {
  border-color: rgba(45, 36, 28, 0.14);
}

.pin {
  border-color: rgba(45, 36, 28, 0.84);
}

.pin.best {
  background: #d6b15c;
}

.pin.hot {
  background: #cf9d7c;
}

.venue-card:hover {
  border-color: rgba(200, 156, 66, 0.42);
}

.venue-card.selected {
  border-color: var(--yellow);
  box-shadow: 0 10px 24px rgba(200, 156, 66, 0.12);
}

.food-badge {
  background: rgba(247, 239, 225, 0.82);
}

.price-big {
  background: #d6b15c;
}

@media (max-width: 1120px) {
  .sidebar {
    grid-template-columns: 1fr;
  }

  .vivi-note,
  .nav-tabs,
  .mini-panel {
    width: 100%;
  }

  .content-grid,
  .top-experience,
  .restaurant-review-grid,
  .search-band {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .sidebar,
  .main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar,
  .map-toolbar,
  .section-heading {
    display: grid;
  }

  .nav-tabs,
  .mood-grid,
  .map-actions,
  .action-row,
  .tip-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .soft-map,
  .google-map-wrap,
  .google-map {
    min-height: 360px;
  }
}
