:root {
  --bg: #f6f1ea;
  --panel: rgba(255, 250, 245, 0.78);
  --panel-strong: rgba(255, 248, 241, 0.95);
  --text: #2b1d17;
  --muted: #76645d;
  --accent: #ef6a4b;
  --accent-deep: #dc4f2d;
  --accent-soft: rgba(239, 106, 75, 0.16);
  --line: rgba(100, 66, 53, 0.12);
  --shadow: 0 22px 60px rgba(76, 40, 26, 0.18);
  --nav-shell-bg: rgba(255, 249, 245, 0.82);
  --nav-shell-border: rgba(255, 255, 255, 0.52);
  --nav-shell-shadow: 0 16px 34px rgba(82, 48, 37, 0.12);
  --nav-icon-color: rgba(67, 47, 39, 0.46);
  --nav-icon-active: var(--text);
  --radius-ui: 14px;
  --control-height: 44px;
  --control-height-compact: 38px;
  --chip-height: 36px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 191, 0.75), transparent 32%),
    radial-gradient(circle at top right, rgba(253, 182, 161, 0.48), transparent 28%),
    linear-gradient(180deg, #fff8f2 0%, #f4efe8 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.015);
  background: transparent;
  transition: opacity 380ms ease, transform 420ms ease, background 380ms ease;
}

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

body.is-entering::after {
  opacity: 0.9;
  transform: scale(1);
  background: var(--entry-overlay);
}

body.is-transitioning::after {
  opacity: 1;
  transform: scale(1);
  background: var(--exit-overlay);
}

body.is-transitioning {
  overflow: hidden;
}

body.is-modal-open {
  overflow: hidden;
  touch-action: none;
}

.map-screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 20%, rgba(0, 0, 0, 0.04) 88%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(145deg, #f1e4d6 0%, #e3d6c6 48%, #dac7b1 100%);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  padding: 24px 18px 10px;
}

.avatar-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(250, 237, 229, 0.96) 100%);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.monster-avatar {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 220ms ease;
}

.avatar-badge {
  width: 100%;
  height: 100%;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.avatar-badge > * {
  display: none;
}

.avatar-badge[data-avatar-style="chef"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='18' fill='%232dc26b'/%3E%3Cpath d='M29 27c0-7 5-13 12-13 4 0 7 1 9 4 2-3 6-4 10-4 8 0 13 6 13 13 7-1 12 4 12 11 0 8-6 14-15 14H28c-9 0-15-6-15-14 0-7 5-12 12-11 0-7 5-13 12-13 4 0 7 1 9 3-1-1-1-2-1-3Z' fill='%23f5f7fb'/%3E%3Cpath d='M24 34c4-9 12-14 26-14 15 0 24 5 28 14l-4 7H28Z' fill='%23dbe4ef'/%3E%3Cpath d='M24 76c0-20 12-35 26-35s26 15 26 35Z' fill='%2368b92c'/%3E%3Cpath d='M24 76c0-20 12-35 26-35s26 15 26 35' fill='none' stroke='%23255f12' stroke-width='3'/%3E%3Cpath d='M25 31 20 17l7-3 8 14M75 31l5-14-7-3-8 14' fill='%23f2c171' stroke='%23915c26' stroke-width='2' stroke-linejoin='round'/%3E%3Cellipse cx='39' cy='49' rx='9' ry='10' fill='%23fff'/%3E%3Cellipse cx='61' cy='49' rx='9' ry='10' fill='%23fff'/%3E%3Ccircle cx='42' cy='51' r='4' fill='%2332241f'/%3E%3Ccircle cx='58' cy='51' r='4' fill='%2332241f'/%3E%3Ccircle cx='44' cy='49' r='1.4' fill='%23fff'/%3E%3Ccircle cx='60' cy='49' r='1.4' fill='%23fff'/%3E%3Cpath d='M31 63c7 7 31 7 38 0' fill='none' stroke='%23e9bf58' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M28 62c5-8 11-8 16 0M56 62c5-8 11-8 16 0' fill='none' stroke='%23b67a2c' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M39 68c3 7 19 7 22 0v-3H39Z' fill='%238a1d14'/%3E%3Cpath d='M42 68 50 75 58 68' fill='%23ff6f61'/%3E%3Cpath d='M45 66l3 5M55 66l-3 5' fill='none' stroke='%23fff3e8' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='31' cy='58' r='4' fill='%23ff9db0'/%3E%3Ccircle cx='69' cy='58' r='4' fill='%23ff9db0'/%3E%3C/svg%3E");
}

.avatar-badge[data-avatar-style="pizza"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='18' fill='%23ff6a2d'/%3E%3Ccircle cx='50' cy='52' r='33' fill='%23ffb321' stroke='%23984e14' stroke-width='3'/%3E%3Ccircle cx='35' cy='36' r='7' fill='%23fff'/%3E%3Ccircle cx='49' cy='28' r='7' fill='%23fff'/%3E%3Ccircle cx='64' cy='38' r='7' fill='%23fff'/%3E%3Ccircle cx='45' cy='45' r='7' fill='%23fff'/%3E%3Ccircle cx='58' cy='51' r='7' fill='%23fff'/%3E%3Ccircle cx='37' cy='36' r='3' fill='%232d201c'/%3E%3Ccircle cx='51' cy='28' r='3' fill='%232d201c'/%3E%3Ccircle cx='66' cy='38' r='3' fill='%232d201c'/%3E%3Ccircle cx='47' cy='45' r='3' fill='%232d201c'/%3E%3Ccircle cx='60' cy='51' r='3' fill='%232d201c'/%3E%3Ccircle cx='31' cy='47' r='3.2' fill='%23f9891e'/%3E%3Ccircle cx='69' cy='57' r='3.2' fill='%23f9891e'/%3E%3Ccircle cx='61' cy='29' r='3.2' fill='%23f9891e'/%3E%3Ccircle cx='42' cy='60' r='3.2' fill='%23f9891e'/%3E%3Ccircle cx='52' cy='37' r='3.2' fill='%23f9891e'/%3E%3Cpath d='M36 67c5 7 23 7 28 0' fill='none' stroke='%23743d11' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M38 66 46 84 54 66Z' fill='%23ffd26f' stroke='%23884e12' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M40 66c5-3 15-3 20 0' fill='none' stroke='%23d6462b' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='45' cy='72' r='2.2' fill='%23d6462b'/%3E%3Ccircle cx='55' cy='74' r='2.2' fill='%23d6462b'/%3E%3Cpath d='M44 69c4 4 8 4 12 0' fill='none' stroke='%2339a349' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M42 56l-6 3M58 56l6 3' fill='none' stroke='%23984e14' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.avatar-badge[data-avatar-style="burger"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='18' fill='%23b784f3'/%3E%3Cpath d='M20 72c0-18 13-32 30-32s30 14 30 32Z' fill='%23b979ef'/%3E%3Cpath d='M23 71c3-15 14-24 27-24 14 0 24 9 27 24' fill='none' stroke='%23724aa2' stroke-width='3'/%3E%3Cpath d='M25 34 20 18l7-3 7 15M75 34l5-16-7-3-7 15' fill='%23d8a46b' stroke='%2381582e' stroke-width='2'/%3E%3Cellipse cx='40' cy='47' rx='9' ry='10' fill='%23fff'/%3E%3Cellipse cx='60' cy='47' rx='9' ry='10' fill='%23fff'/%3E%3Ccircle cx='43' cy='49' r='4' fill='%232d201c'/%3E%3Ccircle cx='57' cy='49' r='4' fill='%232d201c'/%3E%3Ccircle cx='45' cy='47' r='1.3' fill='%23fff'/%3E%3Ccircle cx='59' cy='47' r='1.3' fill='%23fff'/%3E%3Ccircle cx='31' cy='58' r='4' fill='%23ffb0cc'/%3E%3Ccircle cx='69' cy='58' r='4' fill='%23ffb0cc'/%3E%3Cpath d='M38 62c4 6 20 6 24 0' fill='%238a1d14'/%3E%3Cpath d='M40 62c5 8 15 8 20 0' fill='none' stroke='%232d201c' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M39 72c2 5 20 5 22 0' fill='none' stroke='%23724aa2' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M33 69h34c0 6-4 10-8 10H41c-4 0-8-4-8-10Z' fill='%23f2b24b' stroke='%239d5f13' stroke-width='2.2'/%3E%3Cpath d='M35 69h30' stroke='%233faf57' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M36 72h28' stroke='%23cf6432' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.avatar-badge[data-avatar-style="candy"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='18' fill='%23ff91c8'/%3E%3Cpath d='M22 54c0-18 13-30 28-30 16 0 28 12 28 30 0 17-12 28-28 28-15 0-28-11-28-28Z' fill='%23ffb5d7'/%3E%3Cpath d='M32 22c2-6 8-10 18-10s16 4 18 10' fill='none' stroke='%23f7cade' stroke-width='8' stroke-linecap='round'/%3E%3Ccircle cx='39' cy='47' r='4.5' fill='%23683a58'/%3E%3Ccircle cx='61' cy='47' r='4.5' fill='%23683a58'/%3E%3Cpath d='M35 41c0-5 4-9 9-9 2 0 5 1 6 3M65 41c0-5-4-9-9-9-2 0-5 1-6 3' fill='none' stroke='%23683a58' stroke-width='2.8' stroke-linecap='round'/%3E%3Ccircle cx='34' cy='57' r='4' fill='%23ff7db4'/%3E%3Ccircle cx='66' cy='57' r='4' fill='%23ff7db4'/%3E%3Cpath d='M47 38c-3 1-5 3-5 6 0 2 1 4 3 5-2 1-3 3-3 5 0 4 3 7 8 7' fill='none' stroke='%238455a5' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M53 38c3 1 5 3 5 6 0 2-1 4-3 5 2 1 3 3 3 5 0 4-3 7-8 7' fill='none' stroke='%238455a5' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='72' r='12' fill='%23ffd95d' stroke='%23e79c16' stroke-width='3'/%3E%3Cpath d='M44 72c2-7 10-7 12 0-2 7-10 7-12 0Z' fill='none' stroke='%23ff65c0' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M50 84v10' stroke='%23f4f0ff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.avatar-badge[data-avatar-style="taco"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='18' fill='%23ffbf1f'/%3E%3Cpath d='M22 72c0-20 13-36 28-36s28 16 28 36Z' fill='%23ffd843' stroke='%23c28914' stroke-width='3'/%3E%3Ccircle cx='40' cy='48' r='8.5' fill='%23fff'/%3E%3Ccircle cx='60' cy='48' r='8.5' fill='%23fff'/%3E%3Ccircle cx='43' cy='50' r='4' fill='%232d201c'/%3E%3Ccircle cx='57' cy='50' r='4' fill='%232d201c'/%3E%3Ccircle cx='45' cy='48' r='1.4' fill='%23fff'/%3E%3Ccircle cx='59' cy='48' r='1.4' fill='%23fff'/%3E%3Ccircle cx='32' cy='59' r='4' fill='%23ff9bb6'/%3E%3Ccircle cx='68' cy='59' r='4' fill='%23ff9bb6'/%3E%3Cpath d='M37 64c4 7 22 7 26 0' fill='%238a1d14'/%3E%3Cpath d='M39 64c5 8 17 8 22 0' fill='none' stroke='%232d201c' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M26 66h48' stroke='%233cae59' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M28 70h44' stroke='%23d45f2a' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='38' cy='69' r='2.1' fill='%23ff6f61'/%3E%3Ccircle cx='52' cy='69' r='2.1' fill='%23ff6f61'/%3E%3Ccircle cx='61' cy='71' r='2.1' fill='%23ff6f61'/%3E%3Ccircle cx='46' cy='73' r='2.1' fill='%23ff6f61'/%3E%3C/svg%3E");
}

.brand {
  margin: 0;
  text-align: center;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.95rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand::after {
  content: ".";
  color: var(--accent);
}

.topbar-spacer {
  width: 54px;
  height: 54px;
}

.visibility-switch,
.mini-switch,
.place-state-switch,
.place-visibility-switch,
.auth-mode-switch {
  display: grid;
  gap: var(--segment-gap, 6px);
  padding: var(--segment-padding, 6px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.segmented-switch {
  position: relative;
  isolation: isolate;
  --segment-padding: 6px;
  --segment-padding-total: 12px;
  --segment-gap: 6px;
  --segment-gap-total: 12px;
}

.segmented-switch::before {
  content: "";
  position: absolute;
  top: var(--segment-padding);
  bottom: var(--segment-padding);
  left: var(--segment-padding);
  width: calc((100% - var(--segment-padding-total) - var(--segment-gap-total)) / 3);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf7 0%, #f7ebe3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(102, 66, 45, 0.12);
  transform: translateX(0);
  transition: transform 220ms ease;
  z-index: 0;
  pointer-events: none;
}

.segmented-switch[data-active-index="0"] {
  --active-index: 0;
}

.segmented-switch[data-active-index="1"] {
  --active-index: 1;
}

.segmented-switch[data-active-index="2"] {
  --active-index: 2;
}

.segmented-switch[data-active-index="1"]::before {
  transform: translateX(calc(100% + var(--segment-gap)));
}

.segmented-switch[data-active-index="2"]::before {
  transform: translateX(calc(200% + var(--segment-gap) + var(--segment-gap)));
}

.visibility-switch {
  position: absolute;
  top: 94px;
  left: 18px;
  right: 18px;
  z-index: 4;
  grid-template-columns: repeat(3, 1fr);
}

.mini-switch {
  min-width: 140px;
  grid-template-columns: repeat(2, 1fr);
}

.place-state-switch,
.place-visibility-switch {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.segmented-switch-2::before {
  width: calc((100% - var(--segment-padding-total) - var(--segment-gap)) / 2);
}

.switch-option {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 160ms ease, transform 160ms ease;
}

.switch-option.is-active {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.map-area {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.map-area::before,
.map-area::after {
  display: none;
}

.real-map {
  position: absolute;
  inset: 0;
}

.map-floating-button {
  position: absolute;
  right: 18px;
  bottom: 220px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.96);
  color: var(--accent-deep);
  font: inherit;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(82, 48, 37, 0.18);
  cursor: pointer;
}

.map-area::before,
.map-area::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.55;
}

.map-area::before {
  width: 380px;
  height: 380px;
  top: 18%;
  left: -120px;
  background: radial-gradient(circle, rgba(160, 213, 177, 0.68), rgba(160, 213, 177, 0) 66%);
}

.map-area::after {
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: 18%;
  background: radial-gradient(circle, rgba(132, 187, 214, 0.44), rgba(132, 187, 214, 0) 62%);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(255, 255, 255, 0.28) 9.2% 9.7%, transparent 10% 100%),
    linear-gradient(transparent 0 12%, rgba(255, 255, 255, 0.2) 12.2% 12.7%, transparent 13% 100%),
    radial-gradient(circle at 12% 24%, rgba(189, 218, 183, 0.95) 0 6%, transparent 6.2%),
    radial-gradient(circle at 70% 28%, rgba(184, 221, 175, 0.86) 0 7%, transparent 7.2%),
    radial-gradient(circle at 30% 72%, rgba(163, 208, 220, 0.85) 0 6%, transparent 6.2%),
    radial-gradient(circle at 80% 64%, rgba(241, 200, 151, 0.58) 0 8%, transparent 8.2%);
  opacity: 0.95;
}

.map-pin {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  transition: transform 200ms ease, filter 200ms ease;
}

.pin-dot {
  display: block;
  width: 22px;
  height: 22px;
  border: 5px solid #fff7f2;
  border-radius: 999px 999px 999px 3px;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 10px 18px rgba(130, 54, 33, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.pin-small .pin-dot {
  width: 18px;
  height: 18px;
  border-width: 4px;
}

.pin-featured {
  top: 35%;
  left: 54%;
}

.pin-card {
  margin-top: 14px;
  margin-left: -44px;
  width: 138px;
  padding: 12px 14px;
  border-radius: 18px;
  backdrop-filter: blur(14px);
  background: rgba(255, 249, 245, 0.88);
  box-shadow: 0 18px 36px rgba(70, 40, 30, 0.16);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.pin-card strong,
.pin-card span {
  display: block;
}

.pin-card strong {
  font-size: 0.95rem;
}

.pin-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.pin-one {
  top: 26%;
  left: 24%;
}

.pin-two {
  top: 48%;
  left: 18%;
}

.pin-three {
  top: 57%;
  left: 70%;
}

.pin-four {
  top: 69%;
  left: 40%;
}

.pin-five {
  top: 22%;
  left: 78%;
}

.bottom-panel {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(244, 236, 228, 0.12) 0%, rgba(255, 245, 239, 0.84) 18%, rgba(255, 248, 243, 0.96) 100%);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.map-center-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 10px;
  border: 1px solid rgba(100, 66, 53, 0.1);
  border-radius: var(--radius-ui);
  background: rgba(255, 250, 246, 0.96);
  color: #1a73e8;
  box-shadow: 0 12px 24px rgba(76, 40, 26, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.map-center-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.map-center-button:focus-visible {
  outline: 2px solid rgba(26, 115, 232, 0.32);
  outline-offset: 3px;
}

.searchbox {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.searchbox svg,
.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.searchbox input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.searchbox input::placeholder {
  color: #8f7e77;
}

.map-search-feedback {
  min-height: 20px;
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.search-config-panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 26px;
  background: rgba(255, 248, 243, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(70, 40, 30, 0.1);
}

.search-config-grid {
  display: grid;
  gap: 16px;
}

.search-config-group {
  display: grid;
  gap: 10px;
}

.search-config-group h2,
.search-config-group h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.restaurant-detail-section {
  padding: 14px;
  border: 1px solid rgba(100, 66, 53, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.detail-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 66, 53, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-deep);
}

.detail-section-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.choice-dropdown {
  border: 1px solid rgba(100, 66, 53, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.choice-dropdown summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.choice-searchbox {
  min-height: 44px;
  margin: 0 14px 12px;
  box-shadow: none;
}

.choice-searchbox input {
  min-height: 42px;
  font-size: 0.9rem;
}

.choice-dropdown summary::marker {
  color: var(--accent-deep);
}

.choice-chip-grid {
  max-height: 210px;
  overflow-y: auto;
  padding: 0 14px 14px;
}

.choice-inline-group,
.rating-detail-group {
  display: grid;
  gap: 10px;
}

.choice-inline-group h4,
.rating-detail-heading,
.field-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-label {
  display: inline-flex;
  margin-bottom: 8px;
}

.rating-detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rating-value {
  color: var(--accent-deep);
}

.rating-input-row-ten .rating-star-button {
  min-width: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
}

.rating-star-button.is-half {
  position: relative;
  color: #f2a93b;
  background: linear-gradient(90deg, rgba(255, 244, 221, 0.96) 0 50%, rgba(255, 255, 255, 0.72) 50% 100%);
  border-color: rgba(242, 169, 59, 0.26);
}

.rating-input-row-ten .rating-star-button.is-half {
  color: rgba(122, 106, 98, 0.46);
}

.rating-input-row-ten .rating-star-button.is-half::before {
  content: "\2605";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 50% 0 0);
  color: #f2a93b;
}

.section-photo-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.section-photo-grid {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.section-photo-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 66, 53, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.section-photo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.section-photo-card figcaption {
  min-height: 34px;
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section-photo-add-button {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(100, 66, 53, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.section-photo-add-button.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.section-photo-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 31, 26, 0.72);
  color: #fff7f2;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.place-state-switch,
.place-visibility-switch {
  min-width: 0;
}

.place-state-switch .switch-option,
.place-visibility-switch .switch-option {
  min-height: 48px;
  font-size: 0.95rem;
}

.map-search-feedback[data-tone="error"] {
  color: #b64829;
}

.map-search-results {
  display: grid;
  gap: 10px;
  max-height: min(24vh, 220px);
  margin-top: 12px;
  overflow-y: auto;
  padding-right: 4px;
}

.map-search-results[hidden] {
  display: none;
}

.place-result-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 22px;
  background: rgba(255, 249, 245, 0.82);
  color: var(--text);
  text-align: left;
  font: inherit;
  box-shadow: 0 16px 30px rgba(82, 48, 37, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.place-result-card.is-loading {
  opacity: 0.68;
  cursor: progress;
}

.place-result-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.place-result-title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.place-result-subtitle {
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(239, 106, 75, 0.14);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.map-pin-label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: min(320px, calc(100vw - 88px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(135deg, rgba(255, 251, 247, 0.98) 0%, rgba(247, 238, 230, 0.96) 100%);
  color: var(--text);
  box-shadow: none;
}

.map-pin-label-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 0 0 6px rgba(239, 106, 75, 0.12);
  flex: 0 0 auto;
}

.map-pin-label-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.map-pin-label-title {
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.map-pin-label-address {
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.map-pin-label-source {
  min-width: 0;
  color: #2f7b62;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.gm-style .gm-style-iw,
.gm-style .gm-style-iw-d {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.gm-style .gm-style-iw-t,
.gm-style .gm-style-iw-tc {
  filter: none !important;
}

.gm-style .gm-style-iw-chr,
.gm-style .gm-style-iw-ch {
  display: none !important;
}

.gm-style .gm-style-iw-tc::before,
.gm-style .gm-style-iw-tc::after {
  display: none !important;
}

.gm-style .gm-style-iw-c button.gm-ui-hover-effect {
  display: none !important;
}

@media (max-width: 720px) {
  .map-pin-label {
    max-width: min(300px, calc(100vw - 72px));
    padding: 11px 14px;
  }

  .map-pin-label-title {
    font-size: 0.92rem;
  }

  .map-pin-label-address {
    font-size: 0.78rem;
  }
}

.selected-place-sheet {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 46px rgba(70, 40, 30, 0.14);
}

.search-config-group-visibility[hidden] {
  display: none;
}

#selected-place-food-group[hidden],
#selected-place-site-group[hidden],
#selected-place-service-group[hidden] {
  display: none;
}

#desired-visit-food-group[hidden],
#desired-visit-site-group[hidden],
#desired-visit-service-group[hidden] {
  display: none;
}

[data-selected-place-step][hidden],
[data-shared-save-step][hidden],
[data-desired-visit-step][hidden],
.save-stepper[hidden] {
  display: none;
}

.save-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.save-step-pill {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(96, 62, 45, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(58, 42, 35, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
}

.save-step-pill.is-active,
.save-step-pill.is-complete {
  border-color: rgba(255, 111, 76, 0.38);
  background: rgba(255, 111, 76, 0.14);
  color: var(--text);
}

.selected-place-sheet[hidden] {
  display: none;
}

.selected-place-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.selected-place-header h2,
.selected-place-kicker,
.selected-place-address,
.selected-place-contact {
  margin: 0;
}

.selected-place-header h2 {
  margin-top: 4px;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.selected-place-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-place-address {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.directions-link {
  color: inherit;
  text-decoration: none;
}

.directions-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.directions-link:focus-visible {
  outline: 2px solid rgba(229, 107, 60, 0.58);
  outline-offset: 3px;
  border-radius: 4px;
}

.selected-place-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.selected-place-contact[hidden] {
  display: none;
}

.selected-place-contact a,
.restaurant-contact-links a {
  color: inherit;
  text-decoration: none;
}

.sheet-close-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.selected-place-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sheet-secondary-button {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.sheet-primary-button {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7f2;
  border-color: transparent;
}

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

.rating-filter-row {
  align-items: center;
}

.rating-star-button {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(122, 106, 98, 0.46);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.rating-star-button.is-active {
  color: #f2a93b;
  background: rgba(255, 244, 221, 0.86);
  border-color: rgba(242, 169, 59, 0.26);
}

.comment-field {
  display: block;
}

.comment-textarea {
  width: 100%;
  min-height: 112px;
  padding: 14px 16px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.comment-textarea::placeholder {
  color: #8f7e77;
}

.comment-textarea:focus {
  outline: 0;
  border-color: rgba(239, 106, 75, 0.3);
}

.photo-upload-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  position: relative;
  padding: 16px 18px;
  border: 1px dashed rgba(100, 66, 53, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.photo-upload-field:hover,
.photo-upload-field:focus-within {
  border-color: rgba(239, 106, 75, 0.32);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 30px rgba(82, 48, 37, 0.08);
}

.photo-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.photo-upload-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.photo-upload-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.photo-upload-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.photo-upload-copy strong,
.photo-upload-copy span {
  margin: 0;
}

.photo-upload-copy strong {
  font-size: 0.98rem;
}

.photo-upload-copy span {
  color: var(--muted);
  line-height: 1.4;
}

.photo-upload-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.photo-upload-status {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.photo-upload-field.is-filled {
  border-color: rgba(239, 106, 75, 0.36);
  background: linear-gradient(180deg, rgba(255, 244, 238, 0.94) 0%, rgba(255, 250, 246, 0.8) 100%);
}

.photo-upload-field.is-filled .photo-upload-icon,
.photo-upload-field.is-filled .photo-upload-cta {
  border-color: rgba(239, 106, 75, 0.22);
  background: rgba(239, 106, 75, 0.12);
  color: var(--accent-deep);
}

.photo-upload-field.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.photo-upload-field.is-disabled:hover,
.photo-upload-field.is-disabled:focus-within {
  transform: none;
  border-color: rgba(100, 66, 53, 0.18);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: none;
}

.photo-preview-shell {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(100, 66, 53, 0.1);
  background: rgba(255, 255, 255, 0.58);
}

.photo-preview-shell[hidden] {
  display: none;
}

.photo-preview-image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.photo-remove-button {
  width: fit-content;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid var(--nav-shell-border);
  border-radius: 28px;
  background: var(--nav-shell-bg);
  box-shadow: var(--nav-shell-shadow);
  backdrop-filter: blur(20px);
}

.nav-item {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  color: var(--nav-icon-color);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-item-accent {
  color: inherit;
  background: transparent;
}

.nav-item.is-current,
.nav-item[aria-current="page"] {
  color: var(--nav-icon-active);
}

.nav-item svg {
  opacity: 0.78;
  transition: opacity 180ms ease, filter 180ms ease;
}

.nav-item.is-current svg,
.nav-item[aria-current="page"] svg {
  opacity: 1;
  filter: drop-shadow(0 0 0 currentColor);
}

.nav-item.is-current svg path,
.nav-item[aria-current="page"] svg path {
  stroke: currentColor;
  stroke-width: 0.45px;
  paint-order: stroke fill;
}

.auth-page {
  background:
    radial-gradient(circle at top left, rgba(255, 211, 193, 0.82), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 179, 146, 0.38), transparent 24%),
    linear-gradient(180deg, #fff8f2 0%, #f1ebe4 100%);
}

.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  display: grid;
  align-items: stretch;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 32px;
  background: rgba(255, 249, 245, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 54px rgba(70, 40, 30, 0.14);
}

.auth-back-link {
  display: inline-flex;
  width: fit-content;
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: none;
}

.auth-hero {
  display: grid;
  gap: 8px;
}

.auth-hero h1,
.auth-hero p,
.auth-kicker {
  margin: 0;
}

.auth-hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.06em;
}

.auth-hero p:last-child,
.auth-kicker {
  color: var(--muted);
}

.auth-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-mode-switch {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.auth-mode-switch .switch-option {
  min-width: 0;
  padding: 0 18px;
}

.auth-mode-switch .switch-option[data-auth-mode="login"] {
  text-align: left;
}

.auth-mode-switch .switch-option[data-auth-mode="signup"] {
  text-align: right;
}

.auth-form,
.auth-signup-only {
  display: grid;
  gap: 14px;
}

.auth-signup-only {
  padding: 14px;
  border: 1px solid rgba(100, 66, 53, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-signup-email-field {
  position: relative;
  z-index: 2;
}

.auth-signup-email-field[hidden],
.auth-signup-only[hidden] {
  display: none;
}

.auth-field span {
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-field input {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

#auth-email {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.auth-field input:focus {
  outline: 2px solid rgba(239, 106, 75, 0.2);
  border-color: rgba(239, 106, 75, 0.34);
}

.avatar-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.avatar-choice {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 8px 10px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.avatar-choice .avatar-badge {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.avatar-choice.is-active {
  border-color: rgba(239, 106, 75, 0.28);
  background: linear-gradient(180deg, #fff2ec 0%, #ffe4d9 100%);
  color: var(--accent-deep);
  box-shadow: 0 12px 26px rgba(174, 82, 48, 0.14);
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.auth-message[data-tone="error"] {
  color: #b64829;
}

.auth-message[data-tone="success"] {
  color: #2f7b57;
}

.auth-submit-button,
.auth-logout-button {
  min-height: 52px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7f2;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.current-user-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.64);
}

.current-user-copy p,
.current-user-copy strong {
  margin: 0;
}

.current-user-copy p {
  margin-top: 4px;
  color: var(--muted);
}

.account-page {
  --accent: #5a9a53;
  --accent-deep: #376b38;
  --accent-soft: rgba(90, 154, 83, 0.16);
  background:
    radial-gradient(circle at top left, rgba(164, 226, 177, 0.56), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 221, 205, 0.58), transparent 28%),
    linear-gradient(180deg, #f9fff5 0%, #edf6e7 100%);
}

.account-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 18px 18px 40px;
}

.account-layout {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.account-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(95, 128, 97, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(55, 88, 51, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.account-hero-card,
.account-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 30px;
  background: rgba(253, 255, 249, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(55, 88, 51, 0.12);
}

.account-hero-card,
.account-panel,
.account-panel-heading,
.account-password-form {
  display: grid;
  gap: 16px;
}

.account-kicker {
  margin: 0;
  color: #59805b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-hero-card h1,
.account-panel-heading h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.06em;
}

.account-hero-card h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.account-hero-card p:last-child,
.account-panel-heading p:last-child {
  margin: 0;
  color: #5f7562;
}

.account-panel-heading p {
  margin: 0;
}

.account-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.account-message[data-tone="error"] {
  color: #b64829;
}

.account-message[data-tone="success"] {
  color: #2f7b57;
}

.account-submit-button {
  width: fit-content;
  min-width: 180px;
}

.profile-page {
  --accent: #5a9a53;
  --accent-deep: #376b38;
  --accent-soft: rgba(90, 154, 83, 0.16);
  --nav-shell-bg: rgba(255, 255, 255, 0.82);
  --nav-shell-border: rgba(255, 255, 255, 0.58);
  --nav-shell-shadow: 0 16px 34px rgba(55, 88, 51, 0.12);
  --nav-icon-color: rgba(55, 88, 51, 0.56);
  --nav-icon-active: #25311f;
  background:
    radial-gradient(circle at top left, rgba(164, 226, 177, 0.64), transparent 30%),
    radial-gradient(circle at top right, rgba(215, 242, 197, 0.78), transparent 28%),
    linear-gradient(180deg, #f6fff2 0%, #ebf5e3 100%);
}

.profile-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 18px 18px 176px;
}

.profile-layout {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.profile-hero-card,
.profile-expertise-panel,
.profile-section {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 30px;
  background: rgba(253, 255, 249, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(55, 88, 51, 0.12);
}

.profile-hero-card {
  display: grid;
  gap: 18px;
}

.profile-hero-main {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.profile-avatar-large {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  box-shadow: 0 20px 34px rgba(64, 98, 57, 0.16);
}

.profile-hero-copy,
.profile-section-heading,
.profile-expertise-stat {
  display: grid;
  gap: 8px;
}

.profile-kicker,
.profile-section-kicker {
  margin: 0;
  color: #59805b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-hero-copy h1,
.profile-section-heading h2,
.profile-search-card-user strong,
.profile-restaurant-card h3 {
  margin: 0;
}

.profile-hero-copy h1,
.profile-section-heading h2 {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.06em;
}

.profile-hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.profile-hero-note,
.profile-expertise-copy,
.profile-progress-copy,
.profile-search-card-user p,
.profile-feedback {
  margin: 0;
  color: #5f7562;
}

.profile-inline-link,
.profile-section-link,
.profile-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease;
}

.profile-back-link {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(95, 128, 97, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 30px rgba(55, 88, 51, 0.1);
}

.profile-back-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.profile-back-link[hidden] {
  display: none;
}

.profile-inline-link[hidden],
.profile-section-link[hidden] {
  display: none;
}

.profile-search-toggle,
.profile-search-button {
  width: fit-content;
  justify-self: start;
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #f7fff4;
  box-shadow: 0 16px 30px rgba(55, 107, 56, 0.2);
}

.profile-expertise-panel {
  display: grid;
  gap: 18px;
}

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

.profile-expertise-stat {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(95, 128, 97, 0.1);
}

.profile-expertise-stat strong {
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.profile-score-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.score-info-button {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(95, 128, 97, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.score-info-body {
  display: grid;
  gap: 10px;
  color: rgba(246, 239, 233, 0.82);
  line-height: 1.5;
}

.score-info-body p {
  margin: 0;
}

.profile-progress-block {
  display: grid;
  gap: 10px;
}

.profile-progress-track {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(67, 107, 56, 0.12);
}

.profile-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #94dd7c 0%, #56a950 100%);
  transition: width 220ms ease;
}

.profile-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-restaurant-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(95, 128, 97, 0.08);
}

.profile-restaurant-card-collapsible {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.profile-restaurant-toggle {
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.profile-restaurant-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(55, 107, 56, 0.22);
}

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

.profile-restaurant-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.profile-restaurant-summary .rating-display {
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-ui);
  background: rgba(242, 169, 59, 0.12);
  font-size: 0.76rem;
}

.profile-restaurant-expand-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-ui);
  background: rgba(55, 107, 56, 0.08);
  color: var(--accent-deep);
  transition: transform 180ms ease, background 180ms ease;
}

.profile-restaurant-expand-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.profile-restaurant-card.is-expanded .profile-restaurant-expand-icon {
  transform: rotate(180deg);
  background: rgba(55, 107, 56, 0.14);
}

.profile-restaurant-card-body {
  padding: 0 18px 18px;
}

.profile-restaurant-card-body .restaurant-address {
  margin-top: 0;
}

.profile-friends-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-bottom: 12px;
}

.profile-request-inbox-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(95, 128, 97, 0.14);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  cursor: pointer;
}

.profile-request-inbox-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.profile-request-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #fffaf6;
  border-radius: 999px;
  background: #df2f2f;
  color: #fffaf6;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.profile-request-badge[hidden] {
  display: none;
}

.profile-feedback {
  min-height: 1.35em;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.profile-feedback[data-tone="error"] {
  color: #b34a35;
}

.profile-feedback[data-tone="success"] {
  color: #2f7b57;
}

.profile-search-results,
.profile-friends-grid {
  display: grid;
  gap: 12px;
}

.profile-search-results {
  margin-bottom: 14px;
}

.profile-search-card {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(95, 128, 97, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.profile-search-card-user {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.profile-search-avatar,
.profile-friend-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.profile-search-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-request-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(35, 26, 21, 0.28);
  backdrop-filter: blur(10px);
}

.profile-request-modal[hidden] {
  display: none;
}

.profile-request-sheet {
  width: min(560px, 100%);
  max-height: min(84vh, 720px);
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  background: rgba(255, 248, 243, 0.96);
  box-shadow: 0 24px 52px rgba(58, 36, 26, 0.22);
  overflow-y: auto;
}

.profile-request-header,
.profile-request-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-request-list {
  display: grid;
  gap: 12px;
}

.profile-request-card,
.profile-request-empty {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(95, 128, 97, 0.1);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.68);
}

.profile-request-user {
  justify-content: start;
}

.profile-request-user p,
.profile-request-empty p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-request-empty h3 {
  margin: 0;
}

.profile-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-inline-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(95, 128, 97, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.profile-inline-chip-primary {
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #f7fff4;
}

.profile-inline-chip:disabled {
  cursor: default;
  background: rgba(94, 120, 91, 0.16);
  color: rgba(56, 84, 56, 0.72);
}

.profile-friends-grid {
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
}

.profile-friend-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(95, 128, 97, 0.08);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.profile-friend-name {
  font-size: 0.92rem;
  font-weight: 800;
}

.profile-empty-state {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.profile-search-empty {
  padding: 20px;
}

.profile-bottom-panel {
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(235, 245, 227, 0.1) 0%, rgba(235, 245, 227, 0.88) 18%, rgba(235, 245, 227, 0.98) 100%);
}

.feed-page {
  background:
    radial-gradient(circle at top left, rgba(255, 214, 196, 0.54), transparent 30%),
    radial-gradient(circle at top right, rgba(174, 222, 188, 0.4), transparent 28%),
    linear-gradient(180deg, #fff8f2 0%, #f1ede6 100%);
}

.feed-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px 18px 120px;
}

.feed-layout {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.feed-hero {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(239, 106, 75, 0.12), transparent 42%),
    rgba(255, 252, 248, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(82, 48, 37, 0.12);
}

.feed-kicker,
.feed-card-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-kicker {
  color: var(--accent-deep);
}

.feed-hero h1,
.feed-summary h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.06em;
}

.feed-hero h1 {
  font-size: clamp(1.95rem, 4vw, 2.8rem);
}

.feed-hero p:last-child,
.feed-visit-date,
.feed-owner-meta {
  color: var(--muted);
}

.feed-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.feed-summary p {
  margin: 0;
  font-weight: 700;
}

.feed-list {
  display: grid;
  gap: 16px;
}

.feed-empty-state {
  background: rgba(255, 255, 255, 0.66);
}

.feed-restaurant-card {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.84), rgba(255, 247, 242, 0.76)),
    rgba(255, 249, 245, 0.82);
}

.feed-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.feed-owner-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.feed-group-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.feed-owner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(82, 48, 37, 0.12);
}

.feed-group-avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(69, 170, 129, 0.18), rgba(64, 132, 172, 0.16));
  color: #2f7b62;
  font-family: "Syne", sans-serif;
  font-weight: 900;
}

.feed-owner-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.feed-owner-name {
  font-weight: 800;
  font-size: 1rem;
}

.feed-owner-meta {
  font-size: 0.88rem;
}

.feed-visit-date {
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 700;
}

.feed-card-kicker {
  margin-bottom: 8px;
  color: var(--accent-deep);
}

.feed-shared-group-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.feed-group-avatar-stack {
  display: inline-flex;
  align-items: center;
}

.feed-group-stack-avatar {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 250, 246, 0.96);
  box-shadow: 0 8px 14px rgba(70, 40, 30, 0.08);
}

.feed-group-stack-avatar + .feed-group-stack-avatar {
  margin-left: -9px;
}

.feed-group-users-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(47, 123, 98, 0.16);
  border-radius: var(--radius-ui);
  background: rgba(234, 249, 241, 0.78);
  color: #2f7b62;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.shared-card-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.shared-save-button {
  width: auto;
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(239, 106, 75, 0.16);
  background: rgba(255, 241, 234, 0.86);
  color: var(--accent-deep);
}

.feed-bottom-panel {
  background: linear-gradient(180deg, rgba(244, 236, 228, 0.08) 0%, rgba(255, 245, 239, 0.78) 18%, rgba(255, 248, 243, 0.94) 100%);
}

.feed-users-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(35, 26, 21, 0.3);
  backdrop-filter: blur(12px);
}

.feed-users-modal[hidden] {
  display: none;
}

.feed-users-sheet {
  width: min(100%, 560px);
  max-height: min(82vh, 700px);
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-ui);
  background: rgba(255, 250, 246, 0.96);
  color: var(--text);
  box-shadow: 0 24px 56px rgba(82, 48, 37, 0.2);
  overflow: auto;
}

.feed-users-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.feed-users-header h2 {
  margin: 4px 0 0;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.feed-users-list {
  display: grid;
  gap: 10px;
}

.feed-user-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(61, 128, 101, 0.12);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  text-decoration: none;
}

.feed-user-row span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.feed-user-row strong,
.feed-user-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-user-row small,
.feed-users-empty {
  color: var(--muted);
}

.friend-list-page {
  background:
    radial-gradient(circle at top left, rgba(164, 226, 177, 0.58), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 218, 188, 0.46), transparent 26%),
    linear-gradient(180deg, #f9fff5 0%, #eef5e7 100%);
}

.friend-list-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px 18px 36px;
}

.friend-list-layout {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.friend-list-topbar {
  display: grid;
  gap: 16px;
}

.friend-list-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(95, 128, 97, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(55, 88, 51, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.friend-list-back svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.friend-list-heading {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 30px;
  background: rgba(253, 255, 249, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(55, 88, 51, 0.12);
}

.friend-list-heading h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.06em;
}

.friend-list-heading p:last-child {
  margin: 0;
  color: #5f7562;
}

.friend-filters-panel {
  background: rgba(253, 255, 249, 0.78);
  box-shadow: 0 20px 40px rgba(55, 88, 51, 0.1);
}

.friend-list-empty-state {
  background: rgba(255, 255, 255, 0.62);
}

.friend-restaurant-card {
  background: rgba(255, 255, 255, 0.72);
}

.current-user-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.current-user-row .avatar-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.list-page {
  background:
    radial-gradient(circle at top left, rgba(255, 221, 205, 0.72), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 196, 176, 0.42), transparent 26%),
    linear-gradient(180deg, #fff8f2 0%, #f2ece4 100%);
}

.list-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 18px 18px 176px;
}

.list-layout {
  max-width: 920px;
  margin: 0 auto;
}

.list-visibility-switch {
  position: sticky;
  top: 18px;
  left: auto;
  right: auto;
  z-index: 5;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.filters-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-ui);
  background: rgba(255, 248, 243, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.desired-shortcut-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-ui);
  background:
    linear-gradient(135deg, rgba(255, 239, 232, 0.96), rgba(255, 248, 243, 0.88)),
    rgba(255, 248, 243, 0.8);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.desired-shortcut-leading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.desired-shortcut-icon,
.desired-shortcut-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-ui);
}

.desired-shortcut-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, rgba(239, 106, 75, 0.16), rgba(239, 106, 75, 0.08));
  color: var(--accent-deep);
}

.desired-shortcut-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.desired-shortcut-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.desired-shortcut-eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desired-shortcut-title {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.desired-shortcut-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

.desired-shortcut-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.filters-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.section-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-kicker-text {
  display: grid;
  gap: 4px;
}

.filters-title {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
}

.filters-toggle-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.filters-toggle-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.filters-content {
  display: grid;
  grid-template-rows: 1fr;
  margin-top: 18px;
  transition: grid-template-rows 220ms ease, margin-top 220ms ease, opacity 220ms ease;
}

.filters-content > * {
  min-height: 0;
  overflow: hidden;
}

.filters-panel.is-collapsed .filters-content {
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
}

.filters-panel.is-collapsed .filters-toggle-icon {
  transform: rotate(-90deg);
}

.filters-panel.is-collapsed {
  padding-bottom: 20px;
}

@media (max-width: 560px) {
  .desired-shortcut-card {
    padding: 14px 16px;
  }

  .desired-shortcut-leading {
    gap: 12px;
  }

  .desired-shortcut-icon {
    width: 44px;
    height: 44px;
  }

  .desired-shortcut-title {
    font-size: 1.02rem;
  }
}

.section-kicker h2,
.filter-group h3,
.restaurants-summary h2 {
  margin: 0;
}

.section-kicker h2,
.restaurants-summary h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.section-kicker span,
.restaurants-summary p,
.filter-hint,
.restaurant-subtitle,
.meta-label,
.empty-state p {
  color: var(--muted);
}

.filter-stack {
  display: grid;
  gap: 18px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group h3 {
  font-size: 0.95rem;
}

.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-group-header span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--control-height);
  padding: 0 13px;
  border: 1px solid rgba(100, 66, 53, 0.1);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
}

.filter-searchbox svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.filter-searchbox input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-searchbox input::placeholder {
  color: rgba(118, 100, 93, 0.74);
}

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

.filter-chip-scroll {
  max-height: 156px;
  padding: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.filter-empty-inline {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hashtag-searchbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.hashtag-input-shell {
  min-width: 0;
}

.hashtag-add-button {
  min-width: 104px;
}

.selected-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 10px;
}

.selected-tag-chip {
  gap: 8px;
}

.filter-chip {
  min-height: var(--chip-height);
  padding: 0 13px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-chip.is-active {
  border-color: rgba(239, 106, 75, 0.28);
  background: linear-gradient(180deg, #fff2ec 0%, #ffe4d9 100%);
  color: var(--accent-deep);
  box-shadow: 0 10px 24px rgba(174, 82, 48, 0.14);
}

.price-range-filter {
  gap: 12px;
}

.price-range-control {
  --range-start: 0%;
  --range-end: 100%;
  position: relative;
  height: 46px;
  padding: 18px 0;
}

.price-range-track {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(100, 66, 53, 0.1);
  transform: translateY(-50%);
}

.price-range-track-active {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--range-start);
  right: calc(100% - var(--range-end));
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.price-range-input {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 46px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.price-range-input-max {
  z-index: 4;
}

.price-range-input::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
}

.price-range-input::-moz-range-track {
  height: 8px;
  background: transparent;
}

.price-range-input::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #fffaf7;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 8px 18px rgba(76, 40, 26, 0.22);
  cursor: grab;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.price-range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #fffaf7;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 8px 18px rgba(76, 40, 26, 0.22);
  cursor: grab;
  pointer-events: auto;
}

.price-range-input:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.price-range-input:active::-moz-range-thumb {
  cursor: grabbing;
}

.price-range-input:focus-visible::-webkit-slider-thumb {
  outline: 2px solid rgba(239, 106, 75, 0.42);
  outline-offset: 3px;
}

.price-range-input:focus-visible::-moz-range-thumb {
  outline: 2px solid rgba(239, 106, 75, 0.42);
  outline-offset: 3px;
}

.price-range-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.restaurants-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 14px;
}

.restaurants-summary p {
  margin: 0;
  font-weight: 600;
}

.list-feedback {
  width: 100%;
  min-height: 1.4em;
  margin-top: 8px;
  color: rgba(90, 69, 61, 0.78);
  font-size: 0.9rem;
}

.list-feedback[data-tone="error"] {
  color: #b34a35;
}

.list-feedback[data-tone="success"] {
  color: #2f7b57;
}

.restaurants-list {
  display: grid;
  gap: 14px;
}

.restaurant-card {
  padding: 16px;
  border: 1px solid rgba(100, 66, 53, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.9), rgba(255, 248, 243, 0.78)),
    rgba(255, 249, 245, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(70, 40, 30, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.restaurant-card-collapsible {
  padding: 0;
}

.restaurant-card-header-row {
  display: flex;
  align-items: center;
}

.restaurant-card-toggle {
  flex: 1;
  padding: 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.restaurant-card-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(239, 106, 75, 0.26);
}

.restaurant-card-body {
  padding: 0 16px 16px;
}

.restaurant-card-collapsible.is-expanded .restaurant-card-toggle {
  padding-bottom: 0;
}

.restaurant-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.restaurant-card-header > div {
  min-width: 0;
}

.restaurant-card-header h3 {
  margin: 0;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.restaurant-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.restaurant-card:not(.is-expanded) .restaurant-card-toggle .restaurant-address,
.restaurant-card:not(.is-expanded) .restaurant-card-toggle .scope-pill:not(.scope-pill-inline) {
  display: none;
}

.restaurant-subtitle {
  margin: 7px 0 0;
  color: rgba(90, 69, 61, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.restaurant-visit-date {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.restaurant-summary-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.desired-public-summary .tag-badge,
.desired-public-summary .price-badge,
.desired-public-summary .rating-display {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.78rem;
}

.desired-owner-row {
  margin: 0;
  justify-content: flex-start;
}

.desired-owner-button,
.desired-owner-plus {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.restaurant-address {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.scope-pill,
.price-badge,
.tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.scope-pill {
  background: rgba(255, 241, 234, 0.92);
  color: var(--accent-deep);
  flex: 0 0 auto;
}

.scope-pill.is-private {
  background: rgba(224, 232, 255, 0.86);
  color: #4554a8;
}

.restaurant-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.restaurant-meta-box {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(100, 66, 53, 0.08);
}

.restaurant-meta-box-full {
  grid-column: 1 / -1;
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-badge {
  background: rgba(239, 106, 75, 0.12);
  color: var(--accent-deep);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  color: #f2a93b;
  font-size: 1rem;
  font-weight: 800;
}

.rating-display-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.rating-star {
  opacity: 0.3;
}

.rating-star.is-filled {
  opacity: 1;
}

.restaurant-comment {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  white-space: normal;
}

.restaurant-comment-muted {
  color: var(--muted);
}

.restaurant-comment-secondary {
  margin-top: 10px;
}

.restaurant-comment-secondary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.restaurant-card-actions {
  margin-top: 14px;
}

.restaurant-photo-box {
  padding: 0;
  overflow: hidden;
}

.restaurant-photo {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.restaurant-detail-summary-box {
  display: grid;
  gap: 10px;
}

.restaurant-detail-tags {
  margin-top: 2px;
}

.restaurant-contact-links {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.restaurant-detail-photo-box {
  display: grid;
  gap: 10px;
}

.restaurant-detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}

.restaurant-detail-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 66, 53, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.restaurant-detail-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-viewer-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.restaurant-detail-photo-card figcaption {
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.scope-pill-inline {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.76rem;
}

.publish-restaurant-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7f2;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background 160ms ease;
  box-shadow: 0 14px 28px rgba(239, 106, 75, 0.2);
}

.publish-restaurant-button.is-published {
  background: linear-gradient(180deg, #3eaa76 0%, #2b7b57 100%);
  box-shadow: 0 14px 28px rgba(62, 170, 118, 0.22);
}

.publish-restaurant-button.is-disabled {
  background: rgba(96, 78, 71, 0.14);
  color: rgba(78, 56, 49, 0.72);
  box-shadow: none;
}

.publish-restaurant-button:disabled {
  cursor: default;
}

.tag-badge {
  background: rgba(43, 29, 23, 0.06);
  color: var(--text);
}

.tag-badge-muted {
  background: rgba(43, 29, 23, 0.08);
  color: rgba(43, 29, 23, 0.62);
}

.empty-state {
  padding: 26px 20px;
  border-radius: 26px;
  background: rgba(255, 249, 245, 0.82);
  text-align: center;
  box-shadow: 0 18px 36px rgba(70, 40, 30, 0.1);
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
}

.list-bottom-panel {
  padding-top: 14px;
}

.list-bottom-panel .search-row {
  grid-template-columns: 1fr;
}

.desired-page {
  --nav-shell-bg: rgba(31, 28, 36, 0.88);
  --nav-shell-border: rgba(255, 255, 255, 0.08);
  --nav-shell-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  --nav-icon-color: rgba(246, 239, 233, 0.5);
  --nav-icon-active: #fff7f2;
  background:
    radial-gradient(circle at top left, rgba(246, 109, 71, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(106, 84, 197, 0.18), transparent 30%),
    linear-gradient(180deg, #19161b 0%, #111015 100%);
  color: #f6efe9;
}

.desired-screen {
  color: #f6efe9;
}

.desired-visibility-switch,
.desired-filters-panel {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(31, 28, 36, 0.78);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.desired-filters-panel {
  margin-bottom: 16px;
}

.desired-list {
  padding-top: 2px;
}

.desired-page .segmented-switch::before {
  background: linear-gradient(180deg, rgba(69, 61, 80, 0.95) 0%, rgba(51, 45, 61, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.22);
}

.desired-page .switch-option {
  color: rgba(246, 239, 233, 0.66);
}

.desired-page .switch-option.is-active,
.desired-page .switch-option:hover {
  color: #fff7f2;
}

.desired-page .section-kicker span,
.desired-page .restaurants-summary p,
.desired-page .filter-hint,
.desired-page .restaurant-subtitle,
.desired-page .restaurant-address,
.desired-page .meta-label,
.desired-page .empty-state p,
.desired-page .filters-title {
  color: inherit;
}

.desired-page .section-kicker-text span:last-child,
.desired-page .restaurant-subtitle,
.desired-page .restaurant-address,
.desired-page .meta-label,
.desired-page .filter-hint,
.desired-page .restaurants-summary p,
.desired-empty-state p {
  color: rgba(246, 239, 233, 0.64);
}

.desired-page .filters-toggle-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #fff7f2;
}

.desired-page .filter-chip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #f6efe9;
}

.desired-page .filter-chip.is-active {
  border-color: rgba(239, 106, 75, 0.36);
  background: linear-gradient(180deg, rgba(239, 106, 75, 0.24) 0%, rgba(223, 79, 45, 0.18) 100%);
  color: #ffd7cb;
  box-shadow: 0 10px 24px rgba(239, 106, 75, 0.14);
}

.desired-page .searchbox,
.desired-page .restaurant-meta-box,
.desired-page .restaurant-card,
.desired-empty-state {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.desired-page .searchbox input,
.desired-page .searchbox input::placeholder {
  color: #f6efe9;
}

.desired-page .searchbox input::placeholder {
  color: rgba(246, 239, 233, 0.5);
}

.desired-page .rating-star-button,
.desired-page .comment-textarea {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #f6efe9;
}

.desired-page .photo-upload-field,
.desired-page .photo-preview-shell {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.desired-page .photo-upload-icon,
.desired-page .photo-upload-cta {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #fff7f2;
}

.desired-page .photo-upload-copy strong {
  color: #fff7f2;
}

.desired-page .photo-upload-copy span {
  color: rgba(246, 239, 233, 0.66);
}

.desired-page .photo-upload-status {
  color: rgba(246, 239, 233, 0.58);
}

.desired-page .photo-upload-field:hover,
.desired-page .photo-upload-field:focus-within {
  border-color: rgba(239, 106, 75, 0.34);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.desired-page .photo-upload-field.is-filled {
  border-color: rgba(239, 106, 75, 0.4);
  background: linear-gradient(180deg, rgba(239, 106, 75, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.desired-page .photo-upload-field.is-filled .photo-upload-icon,
.desired-page .photo-upload-field.is-filled .photo-upload-cta {
  border-color: rgba(239, 106, 75, 0.26);
  background: rgba(239, 106, 75, 0.18);
  color: #ffd8cd;
}

.desired-page .rating-star-button {
  color: rgba(246, 239, 233, 0.36);
}

.desired-page .rating-star-button.is-active {
  color: #ffcf74;
  background: rgba(255, 207, 116, 0.12);
  border-color: rgba(255, 207, 116, 0.22);
}

.desired-page .comment-textarea::placeholder,
.desired-page .restaurant-comment,
.recommendations-page .restaurant-comment {
  color: rgba(246, 239, 233, 0.7);
}

.desired-page .scope-pill {
  background: rgba(239, 106, 75, 0.16);
  color: #ffd7cb;
}

.desired-page .scope-pill.is-private {
  background: rgba(105, 122, 255, 0.18);
  color: #cad3ff;
}

.desired-page .price-badge {
  background: rgba(239, 106, 75, 0.18);
  color: #ffd7cb;
}

.desired-page .tag-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #f6efe9;
}

.desired-page .desired-bottom-panel {
  background: linear-gradient(180deg, rgba(18, 16, 21, 0.2) 0%, rgba(20, 17, 24, 0.88) 18%, rgba(20, 17, 24, 0.98) 100%);
}

.desired-card .restaurant-card-header {
  justify-content: flex-start;
}

.desired-card .restaurant-card-header-row {
  align-items: flex-start;
  gap: 12px;
}

.desired-card .restaurant-card-toggle {
  min-width: 0;
}

.desired-card-side {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 12px;
  padding: 16px 16px 16px 0;
}

@media (max-width: 560px) {
  .desired-card .restaurant-card-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .desired-card-side {
    padding: 14px 14px 14px 0;
  }

  .desired-owner-button,
  .desired-owner-plus {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.desired-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.desired-quick-actions[hidden],
.desired-card.is-expanded .desired-quick-actions {
  display: none;
}

.quick-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6efe9;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.quick-action-button-success {
  background: rgba(69, 181, 129, 0.16);
  color: #bff2d6;
}

.quick-action-button-danger {
  background: rgba(239, 106, 75, 0.16);
  color: #ffd2c8;
}

.desired-meta-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.desired-selection-box-full {
  grid-column: 1 / -1;
}

.desired-selection-copy,
.desired-selection-hint {
  margin: 0;
}

.desired-selection-copy {
  font-size: 1rem;
  font-weight: 800;
  color: #fff7f2;
}

.desired-selection-hint {
  margin-top: 8px;
  color: rgba(246, 239, 233, 0.64);
  font-size: 0.9rem;
}

.desired-visit-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(10, 9, 13, 0.34);
  backdrop-filter: blur(14px);
}

.desired-visit-modal[hidden] {
  display: none;
}

.desired-page .desired-visit-sheet {
  position: relative;
  width: min(100%, 460px);
  max-height: min(88vh, 760px);
  margin-top: 0;
  padding: 18px;
  gap: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26);
}

.desired-visit-visibility-switch {
  width: 100%;
}

.desired-page .desired-visit-sheet .search-config-grid {
  gap: 16px;
}

.desired-page .desired-visit-sheet .restaurant-detail-section,
.desired-page .desired-visit-sheet .choice-dropdown,
.desired-page .desired-visit-sheet .section-photo-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.desired-page .desired-visit-sheet .choice-dropdown summary,
.desired-page .desired-visit-sheet .field-label,
.desired-page .desired-visit-sheet .section-photo-card figcaption {
  color: #f6efe9;
}

.desired-page .desired-visit-sheet .detail-section-icon {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #ffb39d;
}

.desired-page .desired-visit-sheet .rating-value {
  color: #ffb39d;
}

.desired-page .desired-visit-sheet .save-step-pill,
.shared-save-modal .save-step-pill {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(246, 239, 233, 0.66);
}

.desired-page .desired-visit-sheet .save-step-pill.is-active,
.desired-page .desired-visit-sheet .save-step-pill.is-complete,
.shared-save-modal .save-step-pill.is-active,
.shared-save-modal .save-step-pill.is-complete {
  border-color: rgba(255, 179, 157, 0.36);
  background: rgba(255, 179, 157, 0.14);
  color: #fff7f2;
}

.desired-page .desired-visit-sheet .section-photo-add-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.desired-page .desired-visit-sheet .selected-place-header {
  align-items: flex-start;
  padding-bottom: 0;
  border-bottom: 0;
}

.desired-page .desired-visit-sheet .selected-place-kicker,
.desired-page .desired-visit-sheet .selected-place-address {
  color: rgba(246, 239, 233, 0.64);
}

.desired-page .desired-visit-sheet .selected-place-header h2 {
  color: #fff7f2;
}

.desired-page .desired-visit-sheet .sheet-close-button,
.desired-page .desired-visit-sheet .sheet-secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: #f6efe9;
}

.desired-page .desired-visit-sheet .sheet-primary-button {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.desired-page .desired-visit-sheet .selected-place-actions {
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  margin-top: 4px;
  background: linear-gradient(180deg, rgba(21, 18, 26, 0) 0%, rgba(21, 18, 26, 0.96) 28%, rgba(21, 18, 26, 1) 100%);
}

.shared-save-modal {
  position: fixed;
  inset: 0;
  z-index: 34;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(29, 20, 18, 0.34);
  backdrop-filter: blur(14px);
}

.shared-save-modal[hidden] {
  display: none;
}

.shared-save-sheet {
  width: min(100%, 520px);
  max-height: min(88vh, 820px);
  margin: 0;
  overflow-y: auto;
}

.shared-save-details {
  display: grid;
  gap: 16px;
}

.shared-save-details[hidden],
.shared-save-visibility-group[hidden] {
  display: none;
}

.shared-save-sheet .list-feedback {
  margin: 0;
}

.shared-shortcut-card {
  background:
    linear-gradient(135deg, rgba(226, 247, 235, 0.96), rgba(255, 248, 243, 0.9)),
    rgba(255, 248, 243, 0.8);
}

.shared-shortcut-icon {
  background: linear-gradient(180deg, rgba(55, 151, 118, 0.16), rgba(64, 132, 172, 0.1));
  color: #2f7b62;
}

.shared-list-target-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shared-list-target-button,
.shared-list-target-option {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(61, 128, 101, 0.14);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.shared-list-target-button span,
.shared-list-target-option small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.shared-list-target-button strong,
.shared-list-target-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shared-list-target-button.is-active,
.shared-list-target-option.is-active {
  border-color: rgba(47, 123, 98, 0.32);
  background: rgba(226, 247, 235, 0.86);
  color: #235c4a;
}

.shared-list-target-button:disabled {
  cursor: default;
  opacity: 0.82;
}

.shared-list-target-options {
  display: grid;
  gap: 8px;
  max-height: min(32vh, 260px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.shared-list-target-options[hidden] {
  display: none;
}

.shared-lists-screen {
  padding-bottom: 176px;
}

.shared-lists-page.is-detail-open .shared-lists-screen {
  padding-bottom: 190px;
}

.shared-lists-page:not(.is-detail-open) .shared-bottom-panel .search-row {
  display: none;
}

.shared-list-detail {
  display: grid;
  gap: 16px;
  width: 100%;
}

.shared-list-detail[hidden] {
  display: none;
}

.shared-lists-header,
.shared-list-detail-header {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.shared-list-detail-header {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.shared-back-link {
  justify-self: start;
  border-radius: var(--radius-ui);
}

.shared-lists-summary {
  align-items: center;
  margin-top: 0;
}

.shared-lists-summary > div {
  min-width: 0;
}

.shared-create-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-ui);
  background: linear-gradient(180deg, #45aa81 0%, #2f7b62 100%);
  color: #f7fff9;
  box-shadow: 0 16px 30px rgba(47, 123, 98, 0.2);
  cursor: pointer;
}

.shared-create-button svg,
.shared-restaurant-delete svg,
.restaurant-delete-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.shared-list-grid {
  display: grid;
  gap: 14px;
}

.shared-list-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(61, 128, 101, 0.12);
  border-radius: var(--radius-ui);
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.88), rgba(234, 249, 241, 0.78)),
    rgba(255, 249, 245, 0.82);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(70, 40, 30, 0.08);
}

.shared-list-card-photo,
.shared-list-photo,
.shared-photo-preview {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(69, 170, 129, 0.18), rgba(64, 132, 172, 0.12)),
    rgba(255, 255, 255, 0.72);
  background-size: cover;
  background-position: center;
  color: #2f7b62;
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.shared-list-card-photo {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-ui);
}

.shared-list-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.shared-list-card-copy strong,
.shared-list-title-button strong {
  overflow-wrap: anywhere;
}

.shared-list-card-copy span,
.shared-list-card-members,
.shared-list-kicker,
.shared-restaurant-members {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.shared-list-card-members,
.shared-restaurant-members {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.shared-avatar-stack {
  display: inline-flex;
  align-items: center;
  min-width: 28px;
}

.shared-stack-avatar {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 250, 246, 0.92);
  box-shadow: 0 8px 14px rgba(70, 40, 30, 0.08);
}

.shared-stack-avatar + .shared-stack-avatar {
  margin-left: -10px;
}

.shared-list-title-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(61, 128, 101, 0.12);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  text-align: left;
  box-shadow: 0 14px 30px rgba(70, 40, 30, 0.08);
  cursor: pointer;
}

.shared-list-photo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-ui);
}

.shared-list-title-button > span:last-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.shared-kind-switch {
  display: grid;
  position: relative;
  inset: auto;
  z-index: auto;
  isolation: isolate;
  --segment-padding: 5px;
  --segment-padding-total: 10px;
  --segment-gap: 6px;
  --segment-gap-total: 6px;
  width: 100%;
  min-height: 52px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 16px;
  border: 1px solid rgba(61, 128, 101, 0.12);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(70, 40, 30, 0.08);
}

.shared-kind-switch .switch-option {
  min-height: 40px;
  border-radius: calc(var(--radius-ui) - 3px);
  color: #67554d;
}

.shared-kind-switch .switch-option.is-active {
  color: var(--text);
}

.shared-kind-switch::before {
  border-radius: calc(var(--radius-ui) - 4px);
  background: linear-gradient(180deg, #fffaf7 0%, #edf8ef 100%);
}

.shared-place-search {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding: 16px;
  border: 1px solid rgba(61, 128, 101, 0.12);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 30px rgba(70, 40, 30, 0.08);
}

.shared-list-detail .filters-panel,
.shared-list-detail .restaurants-summary {
  margin-top: 0;
}

.shared-place-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.shared-place-actions {
  display: flex;
  gap: 8px;
}

.shared-place-actions .action-button {
  min-height: 40px;
  width: auto;
  padding: 0 12px;
}

.shared-restaurant-card .restaurant-card-header-row {
  align-items: stretch;
}

.own-restaurant-card .restaurant-card-header-row {
  align-items: stretch;
}

.restaurant-delete-button {
  align-self: start;
  margin: 14px 14px 0 0;
  background: rgba(239, 106, 75, 0.12);
  color: #b34a35;
  border-color: rgba(239, 106, 75, 0.18);
}

.shared-restaurant-delete {
  align-self: start;
  margin: 14px 14px 0 0;
  background: rgba(239, 106, 75, 0.12);
  color: #b34a35;
  border-color: rgba(239, 106, 75, 0.18);
}

.shared-restaurant-members {
  margin-top: 7px;
}

.shared-list-modal {
  position: fixed;
  inset: 0;
  z-index: 36;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(29, 20, 18, 0.34);
  backdrop-filter: blur(14px);
}

.shared-list-modal[hidden] {
  display: none;
}

.shared-list-sheet {
  width: min(100%, 560px);
  max-height: min(88vh, 820px);
  overflow-y: auto;
}

.shared-text-input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(100, 66, 53, 0.12);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.shared-photo-field {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.shared-photo-field .field-label {
  grid-column: 1 / -1;
}

.shared-photo-field .action-button {
  width: 100%;
}

.shared-photo-field .photo-upload-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  clip: auto;
  clip-path: none;
  cursor: pointer;
}

.shared-photo-field .shared-photo-preview,
.shared-photo-field .action-button {
  pointer-events: none;
}

.shared-photo-preview {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-ui);
  font-size: 1.3rem;
}

.shared-selected-members,
.shared-friend-results,
.shared-members-list {
  display: grid;
  gap: 10px;
}

.shared-member-chip,
.shared-friend-row,
.shared-member-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(61, 128, 101, 0.12);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.shared-member-chip,
.shared-friend-row {
  cursor: pointer;
}

.shared-friend-row {
  width: 100%;
  justify-content: space-between;
  text-align: left;
}

.shared-member-row span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
  flex: 1;
}

.shared-member-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.shared-member-row .quick-action-button {
  flex: 0 0 auto;
  background: rgba(239, 106, 75, 0.12);
  color: #b34a35;
  border-color: rgba(239, 106, 75, 0.18);
}

.shared-list-sheet .action-button-danger {
  background: rgba(239, 106, 75, 0.12);
  color: #b34a35;
  border-color: rgba(239, 106, 75, 0.18);
}

@media (max-width: 560px) {
  .shared-lists-page.is-detail-open .shared-lists-screen {
    padding-bottom: 164px;
  }

  .shared-list-detail {
    gap: 12px;
  }

  .shared-lists-header,
  .shared-list-detail-header {
    gap: 10px;
    margin-bottom: 4px;
  }

  .shared-list-title-button {
    min-height: 64px;
    padding: 10px;
  }

  .shared-list-photo {
    width: 44px;
    height: 44px;
  }

  .shared-kind-switch {
    min-height: 46px;
    margin-bottom: 2px;
  }

  .shared-kind-switch .switch-option {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .shared-place-search {
    padding: 12px;
    gap: 8px;
  }

  .shared-list-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .shared-list-card-members {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .shared-place-result-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .shared-place-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-upload-field {
    grid-template-columns: auto 1fr;
  }

  .photo-upload-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .desired-page .hashtag-searchbox {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .desired-page .hashtag-add-button {
    min-width: 104px;
  }
}

.recommendations-page {
  --nav-shell-bg: rgba(23, 21, 29, 0.88);
  --nav-shell-border: rgba(255, 255, 255, 0.08);
  --nav-shell-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  --nav-icon-color: rgba(246, 239, 233, 0.5);
  --nav-icon-active: #fff7f2;
  background:
    radial-gradient(circle at top left, rgba(239, 106, 75, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(78, 104, 190, 0.16), transparent 28%),
    linear-gradient(180deg, #141218 0%, #0f0d12 100%);
  color: #f6efe9;
}

.recommendations-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px 18px 168px;
  overflow-x: hidden;
}

.recommendations-layout {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.recommendations-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.recommendations-kicker {
  margin: 0;
  color: rgba(246, 239, 233, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendations-topbar h1,
.recommendation-empty h2 {
  margin: 6px 0 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.06em;
}

.recommendations-subtitle {
  margin: 8px 0 0;
  max-width: 560px;
  color: rgba(246, 239, 233, 0.68);
  font-size: 0.95rem;
  line-height: 1.45;
}

.recommendations-subtitle[data-tone="error"] {
  color: #ffac98;
}

.recommendations-subtitle[data-tone="success"] {
  color: #bff2d6;
}

.recommendations-filters-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.recommendations-filters-panel .filters-toggle,
.recommendations-filters-panel .filter-group h3,
.recommendations-filters-panel .filter-group-header span,
.recommendations-filters-panel .section-kicker {
  color: #f6efe9;
}

.recommendations-filters-panel .filter-searchbox,
.recommendations-filters-panel .price-range-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.recommendations-filters-panel .filter-searchbox input {
  color: #f6efe9;
}

.recommendations-filters-panel .filter-searchbox input::placeholder {
  color: rgba(246, 239, 233, 0.48);
}

.pac-container {
  z-index: 120;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(28, 25, 34, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  color: #f6efe9;
  font-family: "Manrope", sans-serif;
}

.pac-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(246, 239, 233, 0.72);
  cursor: pointer;
}

.pac-item:first-child {
  border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
  background: rgba(255, 255, 255, 0.08);
}

.pac-item-query,
.pac-matched {
  color: #fff7f2;
  font-weight: 900;
}

.pac-icon {
  filter: invert(1) opacity(0.72);
}

.recommendation-location-meta {
  margin: 2px 0 0;
  color: rgba(246, 239, 233, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.recommendation-contact-links,
.restaurant-contact-links {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 850;
}

.recommendation-contact-links[hidden] {
  display: none;
}

.recommendation-contact-links a,
.restaurant-contact-links a {
  color: inherit;
  text-decoration: none;
}

.publish-toggle-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: #f6efe9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.publish-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.publish-panel.is-collapsed {
  display: none;
}

.publish-panel-header h2,
.publish-panel-header p,
.publish-helper,
.publish-message,
.recommendation-hint,
.recommendation-empty p,
.recommendation-owner {
  margin: 0;
}

.publish-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.publish-panel-header h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.publish-panel-header p,
.publish-helper,
.publish-message,
.recommendation-hint,
.recommendation-empty p,
.recommendation-owner {
  color: rgba(246, 239, 233, 0.68);
}

.publish-panel-content {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.publish-field {
  display: grid;
  gap: 8px;
}

.publish-field span {
  font-size: 0.9rem;
  font-weight: 700;
}

.publish-field select {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: #f6efe9;
  font: inherit;
}

.publish-message[data-tone="error"] {
  color: #ffac98;
}

.recommendations-stage {
  min-height: calc(100vh - 470px);
  min-height: calc(100dvh - 470px);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
}

.recommendation-stack-count {
  color: rgba(246, 239, 233, 0.7);
  font-weight: 700;
}

.recommendation-card,
.recommendation-empty {
  width: min(100%, 430px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.recommendation-card {
  position: relative;
  user-select: none;
  touch-action: none;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.recommendation-card-content {
  display: grid;
  gap: 10px;
}

.recommendation-card h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.recommendation-owner {
  font-size: 0.96rem;
  font-weight: 700;
}

.recommendation-owner-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.recommendation-owner-button,
.recommendation-owner-plus {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.08);
  color: #f6efe9;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.recommendation-owner-plus {
  color: #bff2d6;
}

.recommendation-address {
  margin: -2px 0 0;
  color: rgba(246, 239, 233, 0.64);
  font-size: 0.78rem;
  line-height: 1.35;
}

.recommendations-page .tag-row {
  gap: 6px;
}

.recommendations-page .tag-badge {
  min-height: 26px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #f6efe9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
}

/* Global radius refresh: keep the UI softer than sharp, but less pill-like overall. */
.visibility-switch,
.mini-switch,
.place-state-switch,
.place-visibility-switch,
.auth-mode-switch,
.filters-panel,
.friend-filters-panel,
.publish-panel,
.selected-place-sheet,
.desired-visit-sheet,
.bottom-nav,
.profile-hero-card,
.profile-expertise-panel,
.profile-section,
.friend-list-heading,
.restaurant-card,
.recommendation-card,
.recommendation-empty,
.auth-card,
.empty-state,
.desired-shortcut-card,
.searchbox,
.place-result-card,
.profile-expertise-stat,
.profile-search-card,
.profile-friend-card,
.profile-back-link,
.profile-inline-link,
.profile-section-link,
.friend-list-back,
.sheet-close-button,
.sheet-primary-button,
.sheet-secondary-button,
.action-button,
.quick-action-button,
.publish-toggle-button,
.publish-restaurant-button,
.publish-field select,
.filters-toggle-icon,
.desired-shortcut-icon,
.map-floating-button,
.nav-item,
.restaurant-meta-box,
.profile-restaurant-card,
.comment-textarea,
.avatar-choice,
.avatar-choice .avatar-badge,
.auth-submit-button,
.auth-logout-button,
.current-user-card,
.recommendation-meta-box,
.recommendation-swipe-indicator,
.switch-option,
.filter-chip,
.rating-star-button,
.profile-inline-chip,
.profile-search-toggle,
.profile-search-button,
.scope-pill,
.price-badge,
.tag-badge,
.segmented-switch::before,
.avatar-button,
.profile-avatar-large,
.profile-search-avatar,
.profile-friend-avatar,
.current-user-row .avatar-badge {
  border-radius: var(--radius-ui);
}

.recommendation-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.recommendation-meta-box {
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.recommendation-section-box {
  display: grid;
  gap: 8px;
}

.recommendation-card .recommendation-comment-box {
  grid-column: 1 / -1;
}

.recommendation-card .recommendation-photo-strip,
.recommendation-card .recommendation-contact-links {
  display: none;
}

.recommendation-card .meta-label {
  margin-bottom: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}

.recommendation-photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 112px);
  gap: 10px;
  min-height: 96px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.recommendation-photo-card {
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.recommendation-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.08);
}

.recommendation-photo-card figcaption {
  min-height: 30px;
  color: rgba(246, 239, 233, 0.66);
  font-size: 0.72rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.photo-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 8, 12, 0.78);
  backdrop-filter: blur(16px);
}

.photo-viewer-modal[hidden] {
  display: none;
}

.photo-viewer-sheet {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 760px);
  max-height: min(88vh, 760px);
}

.photo-viewer-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.photo-viewer-caption {
  margin: 0;
  color: #fff7f2;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
}

.photo-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: rgba(10, 8, 12, 0.62);
  color: #fff7f2;
}

.recommendation-empty-inline {
  align-self: center;
  color: rgba(246, 239, 233, 0.58);
  font-size: 0.88rem;
  font-weight: 700;
}

.recommendations-page .rating-display {
  color: #ffcf74;
  font-size: 0.9rem;
  font-weight: 900;
}

.recommendations-page .rating-display-empty {
  color: rgba(246, 239, 233, 0.58);
}

.recommendation-comment {
  color: #f6efe9;
}

.recommendation-comment-preview {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f6efe9;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.recommendation-comment-preview span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.82rem;
  line-height: 1.35;
}

.recommendation-comment-preview small {
  display: block;
  margin-top: 5px;
  color: rgba(246, 239, 233, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
}

.recommendation-comment-preview:disabled {
  color: rgba(246, 239, 233, 0.58);
  cursor: default;
}

.recommendation-swipe-indicator {
  position: absolute;
  top: 18px;
  padding: 8px 12px;
  border-radius: var(--radius-ui);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}

.swipe-like {
  left: 18px;
  background: rgba(69, 181, 129, 0.2);
  color: #bff2d6;
}

.swipe-nope {
  right: 18px;
  background: rgba(239, 106, 75, 0.2);
  color: #ffd2c8;
}

.recommendation-empty {
  text-align: center;
}

.recommendation-empty p {
  margin-top: 8px;
}

.recommendation-hint {
  text-align: center;
  width: min(100%, 420px);
  max-width: 420px;
}

.recommendations-bottom-panel {
  background: linear-gradient(180deg, rgba(13, 11, 16, 0.16) 0%, rgba(14, 11, 18, 0.82) 22%, rgba(14, 11, 18, 0.98) 100%);
}

.recommendation-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(10, 8, 12, 0.62);
  backdrop-filter: blur(12px);
}

.recommendation-detail-modal[hidden] {
  display: none;
}

.recommendation-detail-sheet {
  width: min(100%, 620px);
  max-height: min(84vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-ui);
  background: #19151d;
  color: #f6efe9;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.recommendation-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.recommendation-detail-header h2 {
  margin: 4px 0 0;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.recommendation-detail-body {
  min-height: 0;
  overflow: auto;
}

.recommendation-detail-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.recommendation-full-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.recommendation-detail-sheet .restaurant-meta-box {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #f6efe9;
}

.recommendation-detail-sheet .recommendation-photo-strip {
  min-height: 104px;
}

.recommendation-detail-sheet .rating-display {
  font-size: 1rem;
}

.recommendation-detail-comment-list {
  display: grid;
  gap: 8px;
}

.recommendation-detail-comment {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.05);
}

.recommendation-detail-comment p {
  margin: 0;
  color: #f6efe9;
  font-size: 0.9rem;
  line-height: 1.45;
}

.recommendation-detail-comment footer {
  color: rgba(246, 239, 233, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
}

.recommendation-user-list {
  display: grid;
  gap: 10px;
}

.recommendation-user-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.06);
  color: #f6efe9;
  text-decoration: none;
}

.recommendation-user-row span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.recommendation-user-row strong,
.recommendation-user-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-user-row small {
  color: rgba(246, 239, 233, 0.6);
}

.recommendation-comment-slide {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.06);
}

.recommendation-comment-slide p {
  margin: 0;
  color: #f6efe9;
  line-height: 1.55;
}

.recommendation-comment-slide footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(246, 239, 233, 0.6);
  font-size: 0.85rem;
  font-weight: 800;
}

.recommendation-comment-slide a {
  color: #bff2d6;
  text-decoration: none;
}

.recommendation-detail-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.recommendation-detail-actions[hidden] {
  display: none;
}

.recommendation-detail-actions span {
  color: rgba(246, 239, 233, 0.66);
  font-weight: 800;
}

.desired-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-ui);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-button-success {
  background: rgba(69, 181, 129, 0.14);
  color: #bff2d6;
}

.action-button-danger {
  background: rgba(239, 106, 75, 0.14);
  color: #ffd2c8;
}

.shared-card-actions .shared-save-button {
  min-height: 40px;
  border-radius: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .desired-shortcut-card:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 106, 75, 0.24);
    box-shadow: 0 22px 42px rgba(82, 48, 37, 0.16);
  }

  .desired-shortcut-card:hover .desired-shortcut-icon {
    background: linear-gradient(180deg, rgba(239, 106, 75, 0.24), rgba(239, 106, 75, 0.12));
  }

  .desired-shortcut-card:hover .desired-shortcut-arrow {
    background: rgba(255, 255, 255, 0.82);
  }

  .avatar-button:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 44px rgba(76, 40, 26, 0.22);
  }

  .avatar-button:hover .monster-avatar {
    transform: scale(1.06) rotate(-3deg);
  }

  .switch-option:hover {
    color: var(--text);
    transform: translateY(-1px);
  }

  .segmented-switch:not(:has(.switch-option.is-active:hover)) .switch-option:hover {
    color: #5a453d;
  }

  .searchbox:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 250, 246, 0.98);
    box-shadow: 0 22px 42px rgba(82, 48, 37, 0.14);
  }

  .place-result-card:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 106, 75, 0.3);
    box-shadow: 0 22px 36px rgba(82, 48, 37, 0.14);
  }

  .avatar-choice:hover,
  .auth-submit-button:hover,
  .auth-logout-button:hover,
  .auth-back-link:hover {
    transform: translateY(-2px);
  }

  .map-floating-button:hover,
  .map-center-button:hover,
  .sheet-close-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(82, 48, 37, 0.18);
  }

  .map-pin:hover {
    transform: translateY(-6px);
    filter: saturate(1.08);
  }

  .map-pin:hover .pin-dot {
    transform: rotate(-45deg) scale(1.08);
    box-shadow: 0 16px 24px rgba(130, 54, 33, 0.34);
    filter: brightness(1.04);
  }

  .map-pin:hover .pin-card {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(70, 40, 30, 0.2);
  }

  .nav-item:hover {
    color: var(--nav-icon-active);
  }

  .filter-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 106, 75, 0.24);
    box-shadow: 0 14px 24px rgba(82, 48, 37, 0.08);
  }

  .filters-toggle:hover .filters-toggle-icon {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 24px rgba(82, 48, 37, 0.08);
    transform: translateY(-1px);
  }

  .filters-panel.is-collapsed .filters-toggle:hover .filters-toggle-icon {
    transform: rotate(-90deg) translateY(-1px);
  }

  .restaurant-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 44px rgba(70, 40, 30, 0.16);
  }

  .desired-page .searchbox:hover,
  .desired-page .restaurant-card:hover,
  .desired-page .filters-toggle:hover .filters-toggle-icon {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
  }

  .desired-page .nav-item:hover {
    color: #fff7f2;
  }

  .desired-page .filter-chip:hover {
    border-color: rgba(239, 106, 75, 0.28);
  }

  .profile-inline-link:hover,
  .profile-section-link:hover,
  .profile-back-link:hover,
  .profile-inline-chip:hover,
  .profile-friend-card:hover,
  .profile-search-card:hover,
  .friend-list-back:hover {
    transform: translateY(-2px);
  }

  .profile-friend-card:hover,
  .profile-search-card:hover {
    box-shadow: 0 20px 34px rgba(55, 88, 51, 0.14);
  }

  .profile-page .action-button:hover {
    box-shadow: 0 18px 30px rgba(55, 107, 56, 0.22);
  }

  .action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .topbar {
    grid-template-columns: 44px 1fr 44px;
    padding: 14px 12px 8px;
  }

  .brand {
    font-size: 1.28rem;
  }

  .avatar-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .visibility-switch {
    --segment-padding: 4px;
    --segment-padding-total: 8px;
    top: 66px;
    min-height: 40px;
  }

  .switch-option {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .list-screen {
    padding: 12px 12px 156px;
  }

  .list-visibility-switch {
    --segment-padding: 4px;
    --segment-padding-total: 8px;
    --segment-gap: 4px;
    --segment-gap-total: 8px;
    top: 10px;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 16px;
  }

  .list-visibility-switch .switch-option {
    min-height: 34px;
    padding: 0 6px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .bottom-panel {
    max-height: calc(100vh - 86px);
    max-height: calc(100dvh - 86px);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .searchbox {
    min-height: 44px;
    gap: 9px;
    padding: 0 12px;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(76, 40, 26, 0.1);
  }

  .map-center-button {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 12px;
  }

  .map-center-button svg {
    width: 18px;
    height: 18px;
  }

  .searchbox svg,
  .nav-item svg {
    width: 18px;
    height: 18px;
  }

  .searchbox input {
    font-size: 0.9rem;
  }

  .map-search-feedback {
    min-height: 16px;
    margin: 7px 2px 0;
    font-size: 0.78rem;
  }

  .map-search-results {
    gap: 8px;
    max-height: min(20vh, 160px);
    margin-top: 8px;
  }

  .place-result-card {
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(82, 48, 37, 0.08);
  }

  .place-result-title {
    font-size: 0.9rem;
  }

  .place-result-subtitle,
  .place-result-action {
    font-size: 0.74rem;
  }

  .place-result-action {
    min-height: 30px;
    padding: 0 10px;
  }

  .selected-place-sheet {
    gap: 10px;
    margin-top: 9px;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(70, 40, 30, 0.1);
  }

  .selected-place-header {
    gap: 8px;
  }

  .selected-place-header h2 {
    margin-top: 2px;
    font-size: 1rem;
    line-height: 1.15;
  }

  .selected-place-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .selected-place-address {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .selected-place-contact {
    gap: 6px;
    margin-top: 5px;
    font-size: 0.75rem;
  }

  .sheet-close-button {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 1.1rem;
  }

  .search-config-grid {
    gap: 10px;
  }

  .search-config-group {
    gap: 8px;
  }

  .search-config-group h2,
  .search-config-group h3 {
    font-size: 0.92rem;
  }

  .restaurant-detail-section {
    gap: 9px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
  }

  .detail-section-heading {
    gap: 8px;
  }

  .detail-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .detail-section-icon svg {
    width: 16px;
    height: 16px;
  }

  .choice-dropdown {
    border-radius: 13px;
  }

  .choice-dropdown summary {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.84rem;
  }

  .choice-searchbox {
    min-height: 36px;
    margin: 0 10px 8px;
    border-radius: 12px;
  }

  .choice-searchbox input {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .choice-chip-grid {
    max-height: 150px;
    padding: 0 10px 10px;
  }

  .filters-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .filters-title {
    font-size: 1rem;
  }

  .recommendation-hint {
    max-width: 330px;
    font-size: 0.88rem;
  }

  .filters-toggle-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .filters-toggle-icon svg {
    width: 18px;
    height: 18px;
  }

  .filters-content {
    margin-top: 12px;
  }

  .filter-stack {
    gap: 13px;
  }

  .filter-group {
    gap: 8px;
  }

  .filter-group-header {
    align-items: start;
    gap: 8px;
  }

  .filter-group-header h3 {
    font-size: 0.86rem;
  }

  .filter-group-header span {
    font-size: 0.7rem;
    line-height: 1.25;
    text-align: right;
  }

  .filter-searchbox {
    min-height: 38px;
    gap: 8px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .filter-searchbox svg {
    width: 16px;
    height: 16px;
  }

  .filter-searchbox input {
    font-size: 0.82rem;
  }

  .filter-chip-row,
  .selected-tags-row,
  .rating-input-row {
    gap: 7px;
  }

  .filter-chip-scroll {
    max-height: 126px;
  }

  .filter-chip {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .price-range-control {
    height: 40px;
    padding: 16px 0;
  }

  .price-range-input {
    height: 40px;
  }

  .price-range-input::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
  }

  .price-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }

  .price-range-scale {
    font-size: 0.7rem;
  }

  .rating-detail-heading,
  .field-label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .rating-input-row-ten .rating-star-button,
  .rating-star-button {
    min-width: 31px;
    width: 31px;
    height: 31px;
    padding: 0;
    border-radius: 10px;
    font-size: 0.84rem;
  }

  .section-photo-area {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
  }

  .section-photo-grid {
    min-height: 48px;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 7px;
  }

  .section-photo-add-button {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .photo-upload-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .photo-upload-icon svg {
    width: 17px;
    height: 17px;
  }

  .section-photo-card {
    border-radius: 12px;
  }

  .section-photo-card figcaption {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .section-photo-remove {
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .comment-textarea {
    min-height: 82px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .selected-place-actions {
    gap: 8px;
  }

  .action-button {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
    font-size: 0.88rem;
  }

  .bottom-nav {
    min-height: 54px;
    padding: 6px;
    border-radius: 18px;
  }

  .nav-item {
    min-height: 42px;
    border-radius: 14px;
  }

  .feed-card-top {
    align-items: start;
    flex-direction: column;
  }

  .feed-visit-date {
    padding-left: 64px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .map-floating-button {
    bottom: 250px;
  }

  .place-result-card {
    align-items: flex-start;
  }

  .mini-switch {
    min-width: 0;
  }

  .restaurant-meta-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 10px;
  }

  .restaurant-card {
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(70, 40, 30, 0.1);
  }

  .restaurant-card-collapsible {
    padding: 0;
  }

  .restaurant-card-toggle {
    padding: 14px;
  }

  .restaurant-card-body {
    padding: 0 14px 14px;
  }

  .restaurant-card-header {
    gap: 9px;
  }

  .restaurant-card-header h3 {
    font-size: 0.98rem;
  }

  .restaurant-subtitle,
  .restaurant-address {
    font-size: 0.78rem;
  }

  .restaurant-meta-box {
    padding: 11px;
    border-radius: 14px;
  }

  .meta-label {
    margin-bottom: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .price-badge,
  .tag-badge,
  .scope-pill {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .restaurant-comment {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .restaurants-summary {
    gap: 8px;
    margin: 16px 0 10px;
  }

  .restaurants-summary h2 {
    font-size: 1rem;
  }

  .restaurants-summary p,
  .list-feedback {
    font-size: 0.78rem;
  }

  .restaurants-summary,
  .section-kicker {
    align-items: start;
    flex-direction: column;
  }

  .hashtag-searchbox {
    grid-template-columns: 1fr;
  }

  .avatar-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommendations-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .recommendation-card,
  .recommendation-empty {
    width: 100%;
  }

  .desired-actions {
    grid-template-columns: 1fr;
  }

  .selected-place-actions {
    grid-template-columns: 1fr;
  }

  .profile-screen {
    padding-right: 14px;
    padding-left: 14px;
  }

  .friend-list-screen {
    padding-right: 14px;
    padding-left: 14px;
  }

  .profile-hero-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .profile-avatar-large {
    width: 96px;
    height: 96px;
  }

  .profile-section-header,
  .profile-friends-search {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .profile-expertise-metrics,
  .profile-restaurant-grid {
    grid-template-columns: 1fr;
  }

  .profile-restaurant-toggle,
  .profile-restaurant-card-body {
    padding: 14px;
  }

  .profile-restaurant-card-body {
    padding-top: 0;
  }

  .profile-restaurant-summary {
    gap: 7px;
    margin-top: 8px;
  }

  .profile-restaurant-expand-icon {
    width: 30px;
    height: 30px;
  }

  .profile-friends-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
