:root {
  --bg: #fffaf7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1f1714;
  --muted: #726760;
  --line: rgba(35, 24, 21, 0.08);
  --primary: #ff7a59;
  --primary-strong: #ff5f3f;
  --primary-soft: #fff0ea;
  --shadow: 0 18px 36px rgba(255, 122, 89, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --page-gutter: 16px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Inter, Pretendard, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fffdfb 0%, #fff5ef 100%);
  color: var(--text);
}
body { min-height: 100vh; }
button, select, input, a { font: inherit; }
a { color: inherit; }
button {
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.hidden { display: none !important; }

.app-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: linear-gradient(180deg, #fffdfb 0%, #fff4ec 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .38s ease, visibility .38s ease;
}

.app-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-intro-center {
  flex: 1;
  width: 100%;
  display: grid;
  place-items: center;
  padding-top: 10vh;
}

.app-intro-logo {
  font-size: clamp(42px, 9vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--primary-strong);
  text-shadow: 0 10px 24px rgba(255, 122, 89, 0.14);
}

.app-intro-footer {
  width: 100%;
  padding: 0 0 72px;
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--muted);
}

.app-intro-footer span {
  font-size: 13px;
}

.app-intro-footer strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(31, 23, 20, 0.84);
}

.app-shell {
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
  display: block;
  padding: 4px 4px 0;
  position: relative;
}

.phone-frame {
  background: rgba(255,255,255,0.48);
  backdrop-filter: blur(14px);
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: none;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: 14px var(--page-gutter) 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
}

.header-brand {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
  appearance: none;
  -webkit-appearance: none;
  justify-self: center;
  align-self: center;
  -webkit-tap-highlight-color: transparent;
}

.header-brand:hover {
  opacity: 0.86;
}

.header-brand:active {
  transform: translateY(1px);
}

.header-brand:focus-visible {
  outline: 2px solid rgba(255, 122, 89, 0.35);
  outline-offset: 6px;
  border-radius: 12px;
}

.header-brand::-moz-focus-inner {
  border: 0;
}

.header-icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 20px rgba(35,24,21,0.08);
  display: grid;
  place-items: center;
  font-size: 24px;
  cursor: pointer;
}

.search-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 70px;
  z-index: 35;
  background: rgba(255,255,255,0.97);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(35,24,21,0.12);
  border: 1px solid rgba(35,24,21,0.08);
  padding: 18px 16px 16px;
  display: grid;
  gap: 16px;
}

.quick-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 34;
  background: rgba(20, 20, 24, 0.22);
}

.quick-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 35;
  width: min(76vw, 300px);
  padding: 26px 14px 22px;
  background: linear-gradient(180deg, #f3f4f6 0%, #ebedf0 100%);
  box-shadow: 18px 0 40px rgba(18, 18, 24, 0.16);
  border-right: 1px solid rgba(20,20,24,0.08);
  display: grid;
  align-content: start;
  gap: 16px;
  overflow-y: auto;
  color: #1f1714;
}

.quick-menu-drawer * {
  color: inherit;
}

.quick-menu-drawer .header-icon-btn {
  background: rgba(255,255,255,0.8);
}

.quick-menu-drawer-head {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: start;
  gap: 12px;
  margin-bottom: 10px;
}

.quick-menu-brand {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.quick-menu-caption {
  margin: 6px 0 0;
  color: rgba(31,23,20,0.62);
  font-size: 13px;
}

.quick-menu-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(31,23,20,0.46);
  text-transform: uppercase;
  margin-top: 4px;
}

.quick-menu-close-btn {
  justify-self: end;
  background: rgba(255,255,255,0.88);
  color: #1f1714;
  box-shadow: none;
}

.quick-menu-category-list,
.quick-menu-shortcut-list {
  display: grid;
  gap: 8px;
}

.quick-menu-category-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.quick-menu-category-item,
.quick-menu-item {
  border: 0;
  background: transparent;
  border-radius: 14px;
  padding: 14px 14px;
  text-align: left;
  font-weight: 700;
  color: rgba(31,23,20,0.88);
  box-shadow: none;
}

.quick-menu-category-item {
  min-height: 54px;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.25;
}

.quick-menu-category-item:hover,
.quick-menu-item:hover {
  background: rgba(255,255,255,0.56);
}

.quick-menu-category-item.is-active,
.quick-menu-item:active {
  background: #ffffff;
  color: #1f1714;
  box-shadow: 0 8px 20px rgba(20,20,24,0.08);
}

.quick-menu-shortcut-list {
  padding-top: 2px;
}

.quick-menu-drawer::-webkit-scrollbar {
  width: 8px;
}

.quick-menu-drawer::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
}

@media (max-width: 480px) {
  .quick-menu-drawer {
    width: min(82vw, 280px);
  }
}

.search-panel-head {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
}

.search-panel-head.is-compact {
  min-height: 20px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  align-items: center;
  border-bottom: 2px solid #231815;
  padding-bottom: 10px;
}

.search-form input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 28px;
  letter-spacing: -0.04em;
  padding: 4px 0;
}

.search-form input::placeholder {
  color: rgba(35,24,21,0.24);
}

.search-submit-btn {
  box-shadow: none;
  background: transparent;
}

.search-keywords {
  display: grid;
  gap: 12px;
}

.search-keywords strong {
  font-size: 16px;
}

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

.search-chip {
  border: 1px solid rgba(35,24,21,0.12);
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
}

.search-results {
  display: grid;
  gap: 10px;
  max-height: 52vh;
  overflow-y: auto;
}

.search-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.search-result-card {
  border: 1px solid rgba(35,24,21,0.08);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  display: grid;
  gap: 8px;
}

.search-result-card h4,
.search-result-card p {
  margin: 0;
}

.search-result-title-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.search-result-title-btn:hover {
  opacity: 0.82;
}

.search-result-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.search-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.search-pick-btn,
.search-map-btn {
  min-height: 48px;
  font-size: 14px;
}

.screen {
  display: none;
  gap: 18px;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 0 var(--page-gutter) 24px;
}
.screen.active { display: flex; }
.splash-screen { overflow-y: auto; padding: 0 var(--page-gutter) 24px; }

.hero-card, .mini-card, .location-card, .top-pick, .result-card, .empty-state, .info-card, .settings-card, .vote-timer-card {
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: 0 18px 38px rgba(35,24,21,0.06);
}

.hero-card {
  position: relative;
}

.hero-search-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,122,89,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  color: var(--primary-strong);
  box-shadow: 0 8px 18px rgba(35,24,21,0.06);
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
}

.warm-gradient {
  background: linear-gradient(180deg, #fff7f1 0%, #ffe8dd 100%);
  color: var(--text);
  padding: 28px 24px;
  border: 1px solid rgba(255,122,89,0.18);
  box-shadow: 0 14px 30px rgba(255,122,89,0.10);
}
.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,122,89,0.10);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-category-badge,
.result-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #231815;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 18px rgba(35,24,21,0.06);
}

.button-reset,
.result-category-badge-btn,
.hero-category-badge {
  border: 0;
  cursor: pointer;
}

.top-pick-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-pick-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-pick-search-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 20px rgba(35,24,21,0.08);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--primary-strong);
  cursor: pointer;
}
.hero-card h1 { margin: 14px 0 12px; font-size: 29px; line-height: 1.22; letter-spacing: -0.04em; }
.hero-card p { margin: 0; color: var(--muted); line-height: 1.6; opacity: 1; }
.hero-landing-card { display: grid; gap: 18px; text-align: left; }
.hero-cta-row { display: grid; gap: 10px; margin-top: 6px; }
.hero-cta-row-single { grid-template-columns: 1fr; }
.hero-cta-row-double { grid-template-columns: 1fr 1fr; }
.hero-btn-full { grid-column: 1 / -1; }
.hero-btn { width: 100%; }
.hero-btn-accent {
  background: rgba(255,255,255,0.96);
  color: var(--primary-strong);
  border: 1px solid rgba(255,122,89,0.20);
}
.trust-chip-row, .meta-row, .badge-row, .section-title-row, .result-actions-inline, .vote-room-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,122,89,0.12);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.trust-pill-row, .landing-problem-grid, .landing-value-grid, .landing-feature-list, .trust-grid, .flow-grid, .stack-list, .vote-card-list {
  display: grid;
  gap: 12px;
}
.trust-pill {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(35,24,21,0.06);
  border-radius: 20px;
  padding: 18px 18px;
  display: grid;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(35,24,21,0.04);
  text-align: left;
}
.trust-pill strong { font-size: 17px; }
.trust-pill span, .info-card span, .landing-feature-card p, .flow-step p, .sheet-header p, .vote-card p, .result-card p, .location-card p, .empty-state p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feature-row, .entry-choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entry-card {
  appearance: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  min-height: 126px;
  padding: 22px 20px;
  border: 1px solid rgba(35,24,21,0.08);
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(35,24,21,0.05);
  background: rgba(255,255,255,0.96);
}
.entry-card.active {
  border-color: rgba(255,122,89,0.28);
  background: linear-gradient(180deg, #ffffff 0%, #fff6f1 100%);
  box-shadow: 0 12px 24px rgba(255,122,89,0.10);
}
.mini-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}
.mini-card strong, .landing-feature-card h4 { font-size: 16px; line-height: 1.35; }
.mini-card span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.landing-section { display: grid; gap: 14px; }
.landing-title-row, .section-title-row {
  padding-left: 20px;
  padding-right: 20px;
}
.landing-title-row h3, .section-title-row h3 { margin: 0; font-size: 20px; letter-spacing: -0.03em; text-align: left; }
.landing-value-card, .landing-feature-card, .landing-card { min-height: auto; }
.landing-cta-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
  border: 1px solid rgba(255,122,89,0.12);
  box-shadow: 0 16px 30px rgba(255,122,89,0.08);
  text-align: left;
}
.landing-cta-card h3, .landing-cta-card p { margin: 0; }
.flow-grid { grid-template-columns: 1fr 1fr; }
.flow-step {
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  padding: 18px 16px;
  display: grid;
  gap: 8px;
}
.flow-step span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.screen-head { display: flex; gap: 12px; align-items: flex-start; }
.screen-head h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.25; }
.screen-head p { margin: 0; color: var(--muted); line-height: 1.5; }
.ghost-btn, .text-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.ghost-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
}

.chip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
  border-radius: 22px;
  padding: 16px 14px;
  text-align: left;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}
.choice-chip strong { font-size: 16px; }
.choice-chip span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choice-hint { font-size: 12px; color: var(--primary-strong); line-height: 1.4; font-weight: 600; }
.choice-chip.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
  box-shadow: 0 12px 24px rgba(255,122,89,0.15);
}
.chip-grid-budget { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.location-card, .empty-state, .toggle-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.location-icon, .empty-emoji {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  font-size: 28px;
}
.field-label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.location-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.button-stack { display: grid; gap: 10px; }
.primary-btn, .secondary-btn, .sheet-trigger-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.primary-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  box-shadow: var(--shadow);
  min-height: 58px;
  font-size: 17px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.primary-btn:hover {
  background: linear-gradient(135deg, #ff8a6a 0%, #ff5f3d 100%);
  box-shadow: 0 16px 28px rgba(255,122,89,0.24);
  filter: saturate(1.04);
}
.secondary-btn, .sheet-trigger-btn {
  background: rgba(255,255,255,0.96);
  color: #3f3631;
  border: 1px solid rgba(35,24,21,0.08);
  box-shadow: 0 8px 18px rgba(35,24,21,0.04);
}
.sheet-trigger-btn { padding: 14px 18px; border-radius: 16px; }
.primary-btn:disabled, .secondary-btn:disabled, .inline-btn:disabled, .ghost-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

.top-pick, .result-card, .info-card, .settings-card, .vote-timer-card { padding: 22px 20px; text-align: left; }
.top-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-pick .label { color: var(--primary-strong); font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.top-pick-refresh {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,122,89,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  color: var(--primary-strong);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(35,24,21,0.05);
  cursor: pointer;
}
.top-pick h3 { margin: 10px 0 8px; font-size: 29px; line-height: 1.15; }
.top-pick p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.decision-card {
  background: linear-gradient(180deg, #fffdfb 0%, #fff6f1 100%);
  border: 1px solid rgba(255,122,89,0.14);
  padding: 30px 24px;
  box-shadow: 0 16px 30px rgba(255,122,89,0.08);
}
.decision-card h3 {
  font-size: 34px;
  letter-spacing: -0.02em;
}
.decision-card .meta-row {
  margin-top: 4px;
}
.decision-card .actions {
  margin-top: 18px;
}

.top-pick-reason {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}
.top-pick-tags {
  margin-top: 2px;
}
.top-pick-meta {
  margin-top: 6px;
}
.address-details {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.78);
  border-radius: 16px;
}
.address-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.address-details span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.top-pick-actions {
  margin-top: 10px;
}

.review-toggle-btn {
  margin-top: 8px;
  border: none;
  background: transparent;
  color: var(--primary-strong);
  font-weight: 700;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.review-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
}
.review-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.review-item {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(35,24,21,0.06);
}
.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.review-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}
.review-item p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.review-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-mini-tag,
.review-tag-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
}
.review-mini-tag {
  background: #fff;
  border: 1px solid rgba(35,24,21,0.06);
  color: var(--muted);
}
.review-form {
  display: grid;
  gap: 10px;
}
.review-textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border: 1px solid rgba(35,24,21,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}
.review-form-meta {
  font-size: 12px;
  color: var(--muted);
}
.review-tag-btn {
  border: 1px solid rgba(35,24,21,0.08);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}
.review-tag-btn.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-color: rgba(255,122,89,0.25);
}
.review-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.meta-pill, .badge, .trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.meta-pill {
  background: white;
  border: 1px solid var(--line);
}
.meta-pill-link {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.meta-pill-link:hover {
  background: var(--primary-soft);
  border-color: rgba(255,122,89,0.28);
  color: var(--primary-strong);
  box-shadow: 0 8px 18px rgba(255,122,89,0.12);
}
.badge, .trust-tag {
  background: var(--primary-soft);
  color: var(--primary-strong);
  border: none;
}
.trust-tag.is-muted {
  background: #f7f1ee;
  color: #826e67;
}
.result-tip { font-size: 13px; color: var(--muted); padding: 0 2px; }
.result-list { display: grid; gap: 12px; }
.result-card h4 { margin: 0 0 8px; font-size: 18px; }
.result-card .actions, .top-pick .actions, .vote-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.inline-btn:hover {
  background: var(--primary-soft);
  border-color: rgba(255,122,89,0.28);
  color: var(--primary-strong);
  box-shadow: 0 8px 18px rgba(255,122,89,0.10);
}
.inline-btn.saved {
  background: var(--primary-soft);
  border-color: rgba(255,122,89,0.35);
  color: var(--primary-strong);
}
.decision-actions-section { margin-top: 2px; }
.decision-cta-stack { gap: 12px; }
.other-menus-section { display: grid; gap: 12px; }

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0 18px;
}
.nav-item {
  border: none;
  background: rgba(255,255,255,0.78);
  color: var(--muted);
  border-radius: 18px;
  padding: 10px 8px 9px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  box-shadow: 0 8px 18px rgba(35,24,21,0.04);
}
.nav-icon {
  font-size: 18px;
  line-height: 1;
}
.nav-label {
  font-size: 12px;
  line-height: 1;
}
.nav-item.active {
  color: var(--primary-strong);
  font-weight: 700;
  background: rgba(255,255,255,0.96);
}

.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 15, 0.32);
  z-index: 40;
}
.bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  background: rgba(255,255,255,0.98);
  border-radius: 28px 28px 0 0;
  padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -18px 42px rgba(35,24,21,0.16);
  z-index: 45;
  display: grid;
  gap: 16px;
}
.sheet-handle {
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: rgba(35,24,21,0.14);
  margin: 0 auto;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.sheet-header strong { font-size: 18px; }
.sheet-block { display: grid; gap: 10px; }
.sheet-label { font-size: 13px; color: var(--muted); font-weight: 700; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.filter-chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.filter-chip.active {
  background: var(--primary-soft);
  border-color: rgba(255,122,89,0.32);
  color: var(--primary-strong);
}
.toggle-card {
  flex-direction: row;
  align-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 16px 18px;
}
.toggle-card input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}
.toggle-card span { display: flex; flex-direction: column; gap: 4px; }
.toggle-card small { color: var(--muted); font-size: 12px; }

.vote-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #f3e2dc;
  overflow: hidden;
}
.vote-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  transition: width .3s linear;
}
.vote-card-list { padding-bottom: 10px; }
.vote-card {
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 18px 38px rgba(35,24,21,0.06);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.vote-card.is-passed {
  opacity: .6;
  transform: scale(.985);
}
.vote-card.is-voted {
  border-color: rgba(255,122,89,0.36);
  background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
}
.vote-feedback-like {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  border: none;
}
.vote-feedback-pass {
  background: #f7f2ef;
  border: 1px solid #ead9d2;
  color: #705f58;
}

.result-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 15, 0.42);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 60;
}
.result-modal-card {
  width: min(100%, 360px);
  border-radius: 28px;
  background: white;
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 24px 48px rgba(35,24,21,0.18);
}
.result-modal-card h3, .result-modal-card p { margin: 0; }
.vote-result-winner {
  border-radius: 20px;
  background: linear-gradient(180deg, #fff7f2 0%, #fff 100%);
  border: 1px solid rgba(255,122,89,0.18);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.result-skeleton {
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 18px 38px rgba(35,24,21,0.06);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.result-skeleton > div,
.result-skeleton span {
  background: linear-gradient(90deg, #f7ece8 25%, #fff6f3 50%, #f7ece8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  border-radius: 999px;
}
.skeleton-badge { width: 92px; height: 24px; }
.skeleton-title { width: 74%; height: 34px; }
.skeleton-line { width: 100%; height: 16px; }
.skeleton-line.short { width: 62%; }
.skeleton-chip-row { display: flex; gap: 8px; }
.skeleton-chip-row span { width: 86px; height: 34px; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(35,24,21,0.92);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

select, input[type="text"] {
  border: 1px solid var(--line);
  background: white;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--text);
}

@media (min-width: 768px) {
  .app-shell { max-width: 920px; padding-left: 24px; padding-right: 24px; }
  .phone-frame { min-height: 72vh; padding: 28px; }
  .chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chip-grid-budget, .landing-value-grid, .landing-feature-list, .trust-grid, .landing-problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .entry-choice-row, .flow-grid, .trust-pill-row { grid-template-columns: 1fr; }
  .search-form input { font-size: 22px; }
  .app-intro-logo { font-size: 54px; }
  .hero-search-btn { top: 16px; right: 16px; }
}
