/* ══ MakanLog Discover — editorial food discovery ══ */

/* Shared design tokens (full page + home tab) — fall back to app :root tokens */
.exp2-page,
.hexp2,
#view-discover,
#home-panel-3 {
  --ex-bg: var(--bg, #FAF8F5);
  --ex-surface: var(--surface, #FFFFFF);
  --ex-surface-2: var(--surface2, #F3EFEA);
  --ex-ink: var(--text, #1A1612);
  --ex-ink-soft: var(--text2, #5C534A);
  --ex-ink-muted: var(--muted, #9A9088);
  --ex-accent: var(--accent, #C4682A);
  --ex-accent-2: var(--accent-d, #A85520);
  --ex-accent-soft: var(--accent-l, #F3E8DF);
  --ex-gem: #5B4FCF;
  --ex-gem-soft: rgba(91, 79, 207, 0.12);
  --ex-line: var(--border, rgba(26, 22, 18, 0.08));
  --ex-shadow: var(--sh2, 0 2px 16px rgba(26, 22, 18, 0.06));
  --ex-shadow-lg: var(--sh3, 0 12px 40px rgba(26, 22, 18, 0.1));
  --ex-r: 14px;
  --ex-r-lg: 20px;
  --ex-r-xl: 24px;
  --ex-pad: 16px;
  --ex-gap: 12px;
  color: var(--ex-ink);
  font-family: var(--fb);
}

/* Kill WebKit default blue link styling on all Discover controls */
.exp2-page button,
.hexp2 button,
#view-discover button,
#home-panel-3 .hexp2 button {
  color: var(--ex-ink);
  font-family: var(--fb);
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-page a,
.hexp2 a {
  color: var(--ex-accent);
  text-decoration: none;
}

[data-theme="dark"] .exp2-page,
[data-theme="dark"] .hexp2 {
  --ex-bg: #0F0E0D;
  --ex-surface: #1A1816;
  --ex-surface-2: #242120;
  --ex-ink: #F5F0EB;
  --ex-ink-soft: #B8AFA6;
  --ex-ink-muted: #7A726A;
  --ex-accent-soft: rgba(196, 104, 42, 0.15);
  --ex-gem-soft: rgba(91, 79, 207, 0.2);
  --ex-line: rgba(255, 255, 255, 0.08);
  --ex-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  --ex-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.exp2-page {
  min-height: 100%;
  background: var(--ex-bg);
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ── Sticky header ── */
.exp2-sticky {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .exp2-sticky {
  background: rgba(15, 14, 13, 0.92);
}

.exp2-sticky.is-scrolled {
  border-bottom-color: var(--ex-line);
  box-shadow: 0 4px 24px rgba(26, 22, 18, 0.04);
}

.exp2-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: max(8px, env(safe-area-inset-top, 0px)) var(--ex-pad) 6px;
  transition: padding 0.2s ease;
}

.exp2-sticky.is-scrolled .exp2-topbar {
  padding-top: max(6px, env(safe-area-inset-top, 0px));
  padding-bottom: 4px;
}

.exp2-topbar-center {
  flex: 1;
  min-width: 0;
}

.exp2-back,
.exp2-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--ex-surface);
  color: var(--ex-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ex-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.exp2-back:hover,
.exp2-icon-btn:hover {
  background: var(--ex-surface-2);
}

.exp2-back:active,
.exp2-icon-btn:active {
  transform: scale(0.94);
}

.exp2-topbar-title {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ex-ink);
  transition: font-size 0.2s ease;
}

.exp2-sticky.is-scrolled .exp2-topbar-title {
  font-size: 18px;
}

.exp2-topbar-sub {
  font-size: 12px;
  color: var(--ex-ink-muted);
  font-weight: 400;
  margin-top: 1px;
  transition: opacity 0.2s ease, max-height 0.2s ease;
  max-height: 20px;
  overflow: hidden;
}

.exp2-sticky.is-scrolled .exp2-topbar-sub {
  opacity: 0;
  max-height: 0;
  margin: 0;
}

/* ── Search chrome ── */
.exp2-hero {
  padding: 0 var(--ex-pad) 12px;
}

.exp2-page--search .exp2-hero {
  padding-bottom: 8px;
}

.exp2-topbar--compact .exp2-topbar-center,
.exp2-topbar--compact .exp2-icon-btn {
  display: none;
}

.exp2-srch-chrome--active {
  padding-top: 2px;
}

.exp2-chips--quick {
  margin-top: 10px;
  padding: 0 0 4px;
}

.exp2-chips--quick .exp2-chip {
  background: var(--ex-bg);
}

.exp2-srch-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: var(--ex-surface);
  border: 1.5px solid var(--ex-line);
  border-radius: 16px;
  box-shadow: var(--ex-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exp2-srch-field:focus-within {
  border-color: rgba(196, 104, 42, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 104, 42, 0.1), var(--ex-shadow);
}

.exp2-srch-field-ico {
  color: var(--ex-accent);
  flex-shrink: 0;
  display: flex;
}

.exp2-srch-inp {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 400;
  color: var(--ex-ink);
  outline: none;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-srch-inp::placeholder {
  color: var(--ex-ink-muted);
}

.exp2-srch-clear {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--ex-surface-2);
  color: var(--ex-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-srch-hint {
  font-size: 12px;
  color: var(--ex-ink-muted);
  margin: 10px 2px 0;
  line-height: 1.45;
}

/* Result summary */
.exp2-srch-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 0 2px;
}

.exp2-srch-summary-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--ex-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp2-srch-summary-n {
  font-size: 12px;
  color: var(--ex-ink-muted);
  flex-shrink: 0;
}

/* XHS-style underline tabs */
.exp2-srch-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  padding: 0 2px 4px;
  border-bottom: 1px solid var(--ex-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.exp2-srch-tabs::-webkit-scrollbar {
  display: none;
}

.exp2-srch-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px 10px;
  border: none;
  background: none;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 500;
  color: var(--ex-ink-muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-srch-tab.is-on {
  color: var(--ex-ink);
  font-weight: 700;
}

.exp2-srch-tab.is-on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 2.5px;
  background: var(--ex-accent);
  border-radius: 2px;
}

.exp2-srch-tab-n {
  font-size: 10px;
  font-weight: 700;
  color: var(--ex-ink-muted);
  margin-left: 1px;
}

.exp2-srch-tab.is-on .exp2-srch-tab-n {
  color: var(--ex-accent);
}

/* Try asking prompts */
.exp2-srch-prompts {
  padding: 4px var(--ex-pad) 8px;
  margin-bottom: 8px;
}

.exp2-srch-prompts-hdr {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 600;
  color: var(--ex-ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.exp2-srch-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--ex-line);
  border-radius: var(--ex-r-lg);
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
  cursor: pointer;
  text-align: left;
  color: var(--ex-ink);
  transition: transform 0.18s ease, border-color 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-srch-prompt:active {
  transform: scale(0.99);
  border-color: rgba(196, 104, 42, 0.25);
}

.exp2-srch-prompt-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ex-accent-soft);
  color: var(--ex-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exp2-srch-prompt-body {
  flex: 1;
  min-width: 0;
}

.exp2-srch-prompt-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ex-ink);
}

.exp2-srch-prompt-hint {
  display: block;
  font-size: 12px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

.exp2-srch-prompt > .ico-wrap:last-child {
  color: var(--ex-ink-muted);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Search results */
.exp2-srch-results {
  padding: 8px var(--ex-pad) 28px;
}

.exp2-srch-hits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp2-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ex-line);
  border-radius: var(--ex-r-lg);
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
  cursor: pointer;
  text-align: left;
  color: var(--ex-ink);
  transition: transform 0.15s ease, border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-hit:active {
  transform: scale(0.99);
  border-color: rgba(196, 104, 42, 0.2);
}

.exp2-hit-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.exp2-hit-thumb--dish {
  background: var(--ex-accent-soft);
  color: var(--ex-accent);
}

.exp2-hit-thumb--place {
  background: rgba(42, 122, 90, 0.12);
  color: var(--green, #2A7A5A);
}

.exp2-hit-thumb--person {
  background: var(--ex-surface-2);
  color: var(--ex-ink-soft);
}

.exp2-hit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp2-hit-body {
  flex: 1;
  min-width: 0;
}

.exp2-hit-type {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ex-accent);
  margin-bottom: 2px;
}

.exp2-hit-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ex-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp2-hit-sub {
  display: block;
  font-size: 12px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp2-hit-meta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ex-accent-2);
}

.exp2-hit-go {
  color: var(--ex-ink-muted);
  opacity: 0.45;
  flex-shrink: 0;
}

.exp2-srch-group {
  margin-bottom: 20px;
}

.exp2-srch-group-hdr {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ex-ink-muted);
  margin-bottom: 8px;
  padding-left: 2px;
}

.exp2-srch-group-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp2-posts--search {
  padding: 0;
}

/* Loading skeleton */
.exp2-srch-skel {
  padding: 8px 0 24px;
}

.exp2-srch-skel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.exp2-srch-skel-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--ex-line) 25%, transparent 50%, var(--ex-line) 75%);
  background-size: 200% 100%;
  animation: exp2-shimmer 1.2s ease infinite;
}

.exp2-srch-skel-lines {
  flex: 1;
}

.exp2-srch-skel-lines div {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--ex-line) 25%, transparent 50%, var(--ex-line) 75%);
  background-size: 200% 100%;
  animation: exp2-shimmer 1.2s ease infinite;
}

.exp2-srch-skel-lines div:last-child {
  width: 60%;
  margin-bottom: 0;
}

.exp2-srch-skel-label {
  text-align: center;
  font-size: 13px;
  color: var(--ex-ink-muted);
  margin-top: 16px;
}

/* Empty states */
.exp2-srch-empty {
  text-align: center;
  padding: 36px 20px;
  margin-top: 8px;
  border-radius: var(--ex-r-xl);
  background: var(--ex-surface);
  border: 1px dashed var(--ex-line);
}

.exp2-srch-empty-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--ex-accent-soft);
  color: var(--ex-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp2-srch-empty-title {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 600;
  color: var(--ex-ink);
  margin: 0 0 6px;
}

.exp2-srch-empty-sub {
  font-size: 13px;
  color: var(--ex-ink-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
  margin-inline: auto;
}

.exp2-srch-empty-cta {
  margin-top: 16px;
  padding: 11px 22px;
  border: none;
  border-radius: 980px;
  background: var(--ex-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-srch-empty-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

/* Legacy chips (empty state fallback) */
.exp2-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.exp2-chips::-webkit-scrollbar {
  display: none;
}

.exp2-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 980px;
  border: 1px solid var(--ex-line);
  background: var(--ex-surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ex-ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-chip:hover,
.exp2-chip:active {
  border-color: var(--ex-accent);
  color: var(--ex-accent);
  background: var(--ex-accent-soft);
}

/* ── Main ── */
.exp2-main {
  padding: 4px 0 32px;
}

.exp2-main--search {
  padding-top: 2px;
}

/* ── Sections ── */
.exp2-section {
  margin-bottom: 28px;
}

.exp2-section-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--ex-pad);
  margin-bottom: 12px;
  gap: 12px;
}

.exp2-section-hdr-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.exp2-section-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ex-accent-soft);
  color: var(--ex-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.exp2-section-ico--gem {
  background: var(--ex-gem-soft);
  color: var(--ex-gem);
}

.exp2-section-ico--route {
  background: rgba(26, 22, 18, 0.06);
  color: var(--ex-ink-soft);
}

.exp2-section-title {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ex-ink);
  line-height: 1.2;
}

.exp2-section-sub {
  font-size: 12px;
  color: var(--ex-ink-muted);
  margin: 2px 0 0;
}

.exp2-see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ex-accent);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 6px;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
}

.exp2-see-all:hover {
  background: var(--ex-accent-soft);
}

/* ── Horizontal scroll with edge fade ── */
.exp2-scroll-wrap {
  position: relative;
}

.exp2-scroll-wrap::before,
.exp2-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 20px;
  z-index: 2;
  pointer-events: none;
}

.exp2-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--ex-bg), transparent);
}

.exp2-scroll-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--ex-bg), transparent);
}

.exp2-hscroll {
  display: flex;
  gap: var(--ex-gap);
  overflow-x: auto;
  padding: 2px var(--ex-pad) 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--ex-pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.exp2-hscroll::-webkit-scrollbar {
  display: none;
}

.exp2-hscroll > * {
  scroll-snap-align: start;
}

/* ── Quick mood bar ── */
.exp2-mood-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px var(--ex-pad) 8px;
  scrollbar-width: none;
}

.exp2-mood-bar::-webkit-scrollbar {
  display: none;
}

.exp2-mood-pin {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  background: var(--ex-ink);
  color: var(--ex-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.exp2-mood-pin:active {
  transform: scale(0.94);
}

.exp2-mood-chip {
  flex-shrink: 0;
  padding: 9px 15px;
  border-radius: 980px;
  border: 1px solid var(--ex-line);
  background: var(--ex-surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--ex-ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-mood-chip:hover,
.exp2-mood-chip:active {
  border-color: var(--ex-accent);
  color: var(--ex-accent);
  background: var(--ex-accent-soft);
}

/* ── Category browse ── */
.exp2-cat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 var(--ex-pad);
}

.exp2-cat {
  border: 1px solid var(--ex-line);
  padding: 0;
  cursor: pointer;
  text-align: left;
  border-radius: var(--ex-r-lg);
  overflow: hidden;
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  color: var(--ex-ink);
}

.exp2-cat:hover,
.exp2-cat:active {
  transform: scale(0.97);
  border-color: rgba(196, 104, 42, 0.25);
  box-shadow: var(--ex-shadow-lg);
}

.exp2-cat-visual {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
  background: var(--ex-accent-soft);
}

.exp2-cat-visual::after {
  display: none;
}

.exp2-cat-body {
  padding: 8px 10px 10px;
  background: var(--ex-surface);
}

.exp2-cat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ex-ink);
  letter-spacing: -0.01em;
}

.exp2-cat-stats {
  font-size: 10px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

/* ── Editorial pick cards ── */
.exp2-hscroll--picks .exp2-pick {
  flex-shrink: 0;
  width: min(76vw, 280px);
}

.exp2-pick {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--ex-ink);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s ease;
}

.exp2-pick:active {
  transform: scale(0.98);
}

.exp2-pick-photo {
  position: relative;
  height: 168px;
  border-radius: var(--ex-r-xl);
  overflow: hidden;
  background: var(--ex-accent-soft);
  box-shadow: var(--ex-shadow);
}

.exp2-pick-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.exp2-pick:hover .exp2-pick-photo img {
  transform: scale(1.03);
}

.exp2-pick-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.exp2-pick-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(26, 22, 18, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp2-pick-rank--hot {
  background: linear-gradient(135deg, #E85D2C, #C4682A);
}

.exp2-pick-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  color: var(--ex-ink);
  letter-spacing: 0.01em;
}

.exp2-pick-rating {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 9px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 700;
  color: var(--ex-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 3px;
}

.exp2-pick-cap {
  padding: 10px 2px 0;
}

.exp2-pick-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ex-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exp2-pick-sub {
  display: block;
  font-size: 11.5px;
  color: var(--ex-ink-muted);
  margin-top: 4px;
}

.exp2-pick-quote {
  display: block;
  font-size: 11px;
  color: var(--ex-ink-soft);
  margin-top: 6px;
  font-style: italic;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Journey cards ── */
.exp2-hscroll--journeys .exp2-journey {
  flex-shrink: 0;
  width: min(70vw, 240px);
}

.exp2-journey {
  border: none;
  padding: 0;
  border-radius: var(--ex-r-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
  text-align: left;
  transition: transform 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.exp2-journey:active {
  transform: scale(0.98);
}

.exp2-journey-cover {
  height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
}

.exp2-journey-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 55%);
}

.exp2-journey-emoji {
  font-size: 32px;
  position: relative;
  z-index: 1;
}

.exp2-journey-overlay-title {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.exp2-journey-body {
  padding: 12px 14px 14px;
}

.exp2-journey-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ex-ink);
  letter-spacing: -0.02em;
}

.exp2-journey-sub {
  font-size: 11px;
  color: var(--ex-ink-muted);
  margin-top: 4px;
}

.exp2-journey-spots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ex-accent);
}

/* ── Near you ── */
.exp2-near {
  flex-shrink: 0;
  width: 108px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease;
}

.exp2-near:active {
  transform: scale(0.96);
}

.exp2-near-photo {
  width: 108px;
  height: 108px;
  border-radius: var(--ex-r-lg);
  overflow: hidden;
  background: var(--ex-accent-soft);
  box-shadow: var(--ex-shadow);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.exp2-near-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp2-near-dist {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ex-accent);
  margin-bottom: 2px;
}

.exp2-near-name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ex-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp2-near-meta {
  display: block;
  font-size: 10.5px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

/* ── Hidden gems ── */
.exp2-gem {
  flex-shrink: 0;
  width: 136px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease;
}

.exp2-gem:active {
  transform: scale(0.97);
}

.exp2-gem-photo {
  position: relative;
  width: 136px;
  height: 152px;
  border-radius: var(--ex-r-lg);
  overflow: hidden;
  background: var(--ex-gem-soft);
  box-shadow: var(--ex-shadow);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.exp2-gem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp2-gem-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--ex-gem);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.exp2-gem-name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ex-ink);
}

.exp2-gem-meta {
  display: block;
  font-size: 10px;
  color: var(--ex-ink-muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* ── Foodie cards ── */
.exp2-hscroll--foodies .exp2-foodie {
  flex-shrink: 0;
  width: 128px;
}

.exp2-foodie {
  padding: 14px 12px;
  border-radius: var(--ex-r-lg);
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.exp2-foodie:active {
  transform: scale(0.97);
}

.exp2-foodie-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 8px;
  overflow: hidden;
  background: var(--ex-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 0 3px var(--ex-surface), 0 0 0 4px var(--ex-line);
}

.exp2-foodie-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp2-foodie-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ex-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp2-foodie-handle {
  font-size: 10.5px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

.exp2-foodie-stats {
  font-size: 10px;
  color: var(--ex-ink-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.exp2-foodie-follow {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 980px;
  border: 1px solid var(--ex-line);
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  color: var(--ex-accent);
}

/* ── Hall of fame ── */
.exp2-hall-tabs {
  display: flex;
  gap: 4px;
  margin: 0 var(--ex-pad) 12px;
  padding: 4px;
  background: var(--ex-surface-2);
  border-radius: 12px;
}

.exp2-hall-tab {
  flex: 1;
  padding: 9px 6px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--ex-ink-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.exp2-hall-tab.is-on {
  background: var(--ex-surface);
  color: var(--ex-ink);
  box-shadow: var(--ex-shadow);
}

.exp2-hall-body {
  min-height: 100px;
}

.exp2-hall-empty {
  font-size: 13px;
  color: var(--ex-ink-muted);
  text-align: center;
  padding: 24px var(--ex-pad);
  margin: 0;
}

.exp2-rank-list {
  padding: 0 var(--ex-pad);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp2-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: var(--ex-r-lg);
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
  cursor: pointer;
  text-align: left;
  color: var(--ex-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.exp2-rank:active {
  transform: scale(0.99);
}

.exp2-rank--top {
  box-shadow: var(--ex-shadow-lg);
  border: 1px solid rgba(196, 104, 42, 0.14);
}

.exp2-rank-num {
  width: 24px;
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 700;
  color: var(--ex-ink-muted);
  text-align: center;
  flex-shrink: 0;
}

.exp2-rank--top .exp2-rank-num {
  color: var(--ex-accent);
}

.exp2-rank-cover {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ex-accent-soft);
  flex-shrink: 0;
}

.exp2-rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp2-rank-cover-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
}

.exp2-rank-body {
  flex: 1;
  min-width: 0;
}

.exp2-rank-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ex-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp2-rank-meta {
  display: block;
  font-size: 11.5px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

.exp2-rank-score {
  flex-shrink: 0;
  text-align: right;
}

.exp2-rank-rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ex-ink);
}

.exp2-rank-count {
  font-size: 10px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

/* ── Dish list ── */
.exp2-dish-list {
  padding: 0 var(--ex-pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp2-dish {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.exp2-dish-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--ex-r);
  overflow: hidden;
  background: var(--ex-accent-soft);
  flex-shrink: 0;
  box-shadow: var(--ex-shadow);
}

.exp2-dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp2-dish-photo .exp2-trend-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.exp2-dish-body {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.exp2-dish-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ex-ink);
}

.exp2-dish-at {
  font-size: 11.5px;
  color: var(--ex-ink-muted);
  margin-top: 2px;
}

.exp2-dish-note {
  font-size: 11.5px;
  color: var(--ex-ink-soft);
  margin-top: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
}

.exp2-dish-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.exp2-dish-rating {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 200, 60, 0.18);
  color: #8B6914;
}

.exp2-dish-logs {
  font-size: 10.5px;
  color: var(--ex-ink-muted);
}

/* ── Surprise deck ── */
.exp2-surprise-wrap {
  padding: 4px var(--ex-pad) 12px;
}

.exp2-surprise {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--ex-r-xl);
  cursor: pointer;
  text-align: left;
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow-lg);
  overflow: hidden;
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.exp2-surprise:active {
  transform: scale(0.99);
}

.exp2-surprise-inner {
  display: flex;
  align-items: stretch;
  min-height: 100px;
}

.exp2-surprise-visual {
  width: 100px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #2a2218, #1a1612);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .exp2-surprise-visual {
  background: linear-gradient(160deg, #3d3428, #1a1816);
}

.exp2-surprise-card {
  width: 64px;
  height: 80px;
  border-radius: 10px;
  background: var(--ex-accent-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exp2-surprise.is-shuffling .exp2-surprise-card {
  animation: exp2-shuffle 0.45s ease;
}

@keyframes exp2-shuffle {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-8deg) translateY(-6px); }
  50% { transform: rotate(6deg) translateY(4px); }
  75% { transform: rotate(-4deg) translateY(-2px); }
  100% { transform: rotate(0deg) translateY(0); }
}

.exp2-surprise-copy {
  flex: 1;
  padding: 16px 14px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.exp2-surprise-title {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 600;
  color: var(--ex-ink);
  letter-spacing: -0.02em;
}

.exp2-surprise-sub {
  font-size: 12px;
  color: var(--ex-ink-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.exp2-surprise-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ex-accent);
}

/* ── Posts grid ── */
.exp2-posts {
  padding: 0 var(--ex-pad);
}

.exp2-posts .xhs-grid {
  padding: 0;
}

/* ── States ── */
.exp2-banner {
  margin: 0 var(--ex-pad) 12px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  line-height: 1.45;
  background: var(--ex-accent-soft);
  color: var(--ex-accent-2);
}

.exp2-empty,
.exp2-error {
  text-align: center;
  padding: 48px 24px;
  margin: 0 var(--ex-pad);
  border-radius: var(--ex-r-lg);
  background: var(--ex-surface);
  box-shadow: var(--ex-shadow);
}

.exp2-empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
  opacity: 0.35;
}

.exp2-empty p,
.exp2-error p {
  font-size: 14px;
  color: var(--ex-ink-muted);
  line-height: 1.55;
  margin: 0;
}

.exp2-error-btn {
  margin-top: 14px;
  padding: 10px 20px;
  border: none;
  border-radius: 980px;
  background: var(--ex-ink);
  color: var(--ex-bg);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.exp2-inline-empty {
  text-align: center;
  padding: 20px;
  margin: 0 var(--ex-pad);
  background: var(--ex-surface);
  border-radius: var(--ex-r);
  border: 1px dashed var(--ex-line);
}

.exp2-inline-empty p {
  font-size: 13px;
  color: var(--ex-ink-muted);
  margin: 0 0 10px;
}

.exp2-inline-btn {
  padding: 8px 16px;
  border-radius: 980px;
  border: none;
  background: var(--ex-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Skeleton ── */
.exp2-skel {
  padding: 0 var(--ex-pad);
}

.exp2-skel-row {
  height: 64px;
  border-radius: var(--ex-r);
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--ex-line) 25%, transparent 50%, var(--ex-line) 75%);
  background-size: 200% 100%;
  animation: exp2-shimmer 1.2s ease infinite;
}

.exp2-skel-cards {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding-bottom: 8px;
}

.exp2-skel-card {
  flex-shrink: 0;
  width: 160px;
  height: 180px;
  border-radius: var(--ex-r-lg);
  background: linear-gradient(90deg, var(--ex-line) 25%, transparent 50%, var(--ex-line) 75%);
  background-size: 200% 100%;
  animation: exp2-shimmer 1.2s ease infinite;
}

@keyframes exp2-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Legacy search (removed — see exp2-srch-* above) ── */

/* ── Home tab ── */
.hexp2 {
  padding: 4px 0 20px;
  background: var(--ex-bg);
}

.hexp2 .exp2-section {
  margin-bottom: 24px;
}

.hexp2 .exp2-section-hdr,
.hexp2 .exp2-hscroll,
.hexp2 .exp2-cat-row,
.hexp2 .exp2-rank-list,
.hexp2 .exp2-dish-list,
.hexp2 .exp2-hall-tabs,
.hexp2 .exp2-surprise-wrap {
  padding-left: 12px;
  padding-right: 12px;
}

.hexp2 .exp2-hall-tabs {
  margin-left: 12px;
  margin-right: 12px;
}

.hexp2 .exp2-banner {
  margin-left: 12px;
  margin-right: 12px;
}

.hexp2-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 8px 12px 0;
  padding: 14px;
  border: none;
  border-radius: var(--ex-r-lg);
  background: var(--ex-ink);
  color: var(--ex-bg);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.hexp2-more:active {
  transform: scale(0.98);
  opacity: 0.92;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .exp2-pick-photo img,
  .exp2-surprise-card,
  .exp2-surprise.is-shuffling .exp2-surprise-card {
    animation: none;
    transition: none;
  }
}
