/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --parchment:    #F5F2EA;
  --ochre:        #C25E34;
  --olive:        #4A5D4E;
  --dusk-blue:    #6B8A96;
  --charcoal:     #262626;
  --taupe:        #8E8279;
  --stone:        #CEC2B6;
  --card-bg:      #FFFFFF;
  --card-border:  #E4DDD5;

  --font: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(38,38,38,.08);
  --shadow-md: 0 4px 20px rgba(38,38,38,.12);
  --shadow-lg: 0 8px 40px rgba(38,38,38,.18);
  --max-w: 640px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--parchment);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.fitr-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--parchment);
  border-bottom: 1px solid var(--stone);
}

.fitr-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fitr-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.fitr-nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.fitr-nav-name {
  font-size: 16px;
  letter-spacing: -0.2px;
}

.fitr-nav-link {
  color: var(--taupe);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fitr-nav-link:hover { color: var(--ochre); }

.fitr-nav-code {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}

/* ── Main ───────────────────────────────────────────────────────────────── */
.fitr-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1 {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -0.3px;
  color: var(--charcoal);
  margin-bottom: 6px;
}

h3 {
  font-size: 17px;
  font-weight: bold;
  color: var(--charcoal);
  margin-bottom: 4px;
}

p { color: var(--taupe); font-size: 14px; line-height: 1.6; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:not(:disabled):active { transform: scale(0.97); }

.btn-primary {
  background: var(--ochre);
  color: #fff;
}
.btn-primary:not(:disabled):hover { background: #A84E2A; }

.btn-secondary {
  background: var(--olive);
  color: #fff;
}
.btn-secondary:not(:disabled):hover { background: #3B4D3F; }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--stone);
}
.btn-ghost:not(:disabled):hover { border-color: var(--ochre); color: var(--ochre); }

.btn-block { width: 100%; }

/* ── Form Controls ──────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

label {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--taupe);
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--card-bg);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: var(--ochre);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--dusk-blue);
}

.input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.input-row input { flex: 1; }
.input-row .btn { flex-shrink: 0; padding: 11px 14px; }

/* ── Pill Toggles ───────────────────────────────────────────────────────── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 20px;
  border: 1.5px solid var(--stone);
  background: var(--card-bg);
  color: var(--taupe);
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  user-select: none;
}

.pill.active {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

.pill-price.active {
  background: var(--ochre);
  border-color: var(--ochre);
}

/* ── Segment Picker ─────────────────────────────────────────────────────── */
.segment {
  display: flex;
  background: var(--parchment);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.segment-btn {
  flex: 1;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: bold;
  border: none;
  background: transparent;
  color: var(--taupe);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.segment-btn.active {
  background: var(--ochre);
  color: #fff;
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.card-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.card-section-title {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
}

/* ── Error / Info Messages ──────────────────────────────────────────────── */
.error-msg {
  background: #FDF0EC;
  border: 1px solid #F4BBA8;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--ochre);
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.error-msg.visible { display: block; }

/* ── Home Page ──────────────────────────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: 48px 0 40px;
}

.home-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 24px;
  display: block;
}

.home-tagline {
  font-size: 16px;
  color: var(--taupe);
  margin-bottom: 40px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.12s;
}

.home-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-card-icon {
  font-size: 36px;
  line-height: 1;
}

.home-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--charcoal);
  text-align: center;
}

.home-card-sub {
  font-size: 13px;
  color: var(--taupe);
  text-align: center;
  line-height: 1.5;
}

.home-history {
  margin-top: 12px;
}

.home-history h2 {
  margin-bottom: 10px;
}

.home-history-list {
  display: grid;
  gap: 8px;
}

.home-history-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-decoration: none;
}

.home-history-card:hover {
  box-shadow: var(--shadow-sm);
}

.home-history-code {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--charcoal);
}

.home-history-address {
  margin-top: 4px;
  color: var(--taupe);
  font-size: 12px;
}

.home-history-top {
  margin-top: 4px;
  color: var(--taupe);
  font-size: 12px;
}

/* ── Session Code Banner ────────────────────────────────────────────────── */
.code-banner {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
}

.code-banner-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
}

.code-banner-value {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 4px;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}

.code-banner-hint {
  font-size: 11px;
  color: var(--stone);
}

/* ── Swipe Page ─────────────────────────────────────────────────────────── */
.swipe-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  min-height: calc(100vh - 60px);
  user-select: none;
}

.swipe-progress {
  font-size: 13px;
  font-weight: bold;
  color: var(--taupe);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.card-stack-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 500px;
}

.restaurant-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: center 90%;
  will-change: transform;
  touch-action: none;
}

.restaurant-card.is-back-1 {
  transform: scale(0.97) translateY(6px);
  z-index: 1;
}

.restaurant-card.is-back-2 {
  transform: scale(0.94) translateY(12px);
  z-index: 0;
}

.restaurant-card.is-active {
  z-index: 10;
  cursor: grab;
  transition: none;
}

.restaurant-card.is-active:active { cursor: grabbing; }

.restaurant-card.fly-right {
  transition: transform 0.35s ease-in, opacity 0.35s ease-in;
  transform: translateX(140%) rotate(20deg) !important;
  opacity: 0;
}

.restaurant-card.fly-left {
  transition: transform 0.35s ease-in, opacity 0.35s ease-in;
  transform: translateX(-140%) rotate(-20deg) !important;
  opacity: 0;
}

.restaurant-card.snap-back {
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.card-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: var(--stone);
  flex-shrink: 0;
}

.card-photo-placeholder {
  width: 100%;
  height: 240px;
  background: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: bold;
  color: rgba(245,242,234,.7);
  flex-shrink: 0;
}

.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--charcoal);
  line-height: 1.2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.card-rating {
  font-size: 13px;
  font-weight: bold;
  color: var(--ochre);
}

.card-price {
  font-size: 13px;
  color: var(--taupe);
}

.card-distance {
  font-size: 12px;
  background: var(--dusk-blue);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: bold;
  background: var(--olive);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.card-menu-link {
  font-size: 13px;
  color: var(--dusk-blue);
  text-decoration: none;
  font-weight: bold;
}

.card-menu-link:hover { text-decoration: underline; }

/* Stamp overlay */
.stamp {
  position: absolute;
  top: 40px;
  padding: 6px 16px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  border-radius: 6px;
  border: 4px solid;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  text-transform: uppercase;
  transform: rotate(-15deg);
  transition: opacity 0.05s;
}

.stamp-like {
  left: 20px;
  color: var(--olive);
  border-color: var(--olive);
  transform: rotate(-15deg);
}

.stamp-pass {
  right: 20px;
  color: var(--ochre);
  border-color: var(--ochre);
  transform: rotate(15deg);
}

/* Action buttons */
.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  width: 100%;
  max-width: 380px;
}

.btn-swipe {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn-swipe:active { transform: scale(0.9); }

.btn-pass-circle {
  background: #fff;
  border: 2px solid var(--stone);
  color: var(--taupe);
}

.btn-pass-circle:hover { border-color: var(--ochre); color: var(--ochre); }

.btn-like-circle {
  background: var(--olive);
  color: #fff;
}

.btn-like-circle:hover { background: #3B4D3F; }

.swipe-actions-label {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
}

/* ── Waiting Page ───────────────────────────────────────────────────────── */
.participant-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}

.participant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}

.participant-row:last-child { border-bottom: none; }

.participant-name { font-size: 15px; color: var(--charcoal); }

.participant-status {
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 12px;
}

.participant-status.done {
  background: #EAF2EC;
  color: var(--olive);
}

.participant-status.waiting {
  background: var(--parchment);
  color: var(--taupe);
  border: 1px solid var(--stone);
}

.progress-bar-wrap {
  background: var(--stone);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--dusk-blue);
  border-radius: 8px;
  transition: width 0.4s ease;
}

.progress-label {
  font-size: 13px;
  color: var(--taupe);
  margin-bottom: 4px;
}

/* ── Results Page ───────────────────────────────────────────────────────── */
.results-header {
  text-align: center;
  margin-bottom: 28px;
}

.results-flag {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.results-flag.match-found { background: #EAF2EC; color: var(--olive); }
.results-flag.no-perfect  { background: #FDF3EE; color: var(--ochre); }
.results-flag.no-votes    { background: var(--parchment); color: var(--taupe); border: 1px solid var(--stone); }

.tie-breaker {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tie-summary {
  margin: 0;
  color: var(--taupe);
  font-size: 14px;
}

.tie-winner {
  margin: 0;
  color: var(--olive);
  font-size: 13px;
  font-weight: bold;
}

.result-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: stretch;
  transition: box-shadow 0.15s;
}

.result-card:hover { box-shadow: var(--shadow-sm); }

.result-card.rank-1 {
  border-color: var(--ochre);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(194,94,52,.15), var(--shadow-sm);
}

.result-rank {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  background: var(--parchment);
  border-right: 1px solid var(--card-border);
}

.result-card.rank-1 .result-rank {
  background: var(--ochre);
  color: #fff;
  border-right-color: var(--ochre);
}

.result-card.tie-winner {
  border-color: var(--olive);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(74,93,78,.12), var(--shadow-sm);
}

.result-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
}

.result-photo-placeholder {
  width: 72px;
  height: 72px;
  background: var(--olive);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: rgba(245,242,234,.7);
}

.result-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.result-name {
  font-size: 17px;
  font-weight: bold;
  color: var(--charcoal);
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--taupe);
}

.result-likes {
  font-weight: bold;
  color: var(--olive);
}

.tie-winner-badge {
  margin-top: 4px;
  display: inline-flex;
  width: fit-content;
  background: rgba(74,93,78,.12);
  color: var(--olive);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: bold;
}

.result-actions {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.btn-navigate {
  font-size: 12px;
  font-weight: bold;
  padding: 7px 14px;
  background: var(--dusk-blue);
  color: #fff;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-navigate:hover { background: #587888; }

/* ── Ad Interstitial Overlay ────────────────────────────────────────────── */
.ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(38,38,38,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.ad-overlay-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--parchment);
  margin-bottom: 8px;
}

.ad-overlay-sub {
  font-size: 14px;
  color: rgba(245,242,234,.6);
  margin-bottom: 32px;
}

.waiting-banner-wrap {
  margin-top: 20px;
  margin-bottom: 8px;
  min-height: 60px;
}

.waiting-banner-ad {
  width: 100%;
  min-height: 50px;
}

.waiting-ad-placeholder {
  width: 100%;
  height: 60px;
  margin-bottom: 0;
}

.ad-placeholder {
  width: 300px;
  height: 250px;
  background: #3A3A3A;
  border: 1px dashed var(--stone);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
  font-size: 13px;
  margin-bottom: 24px;
}

.ad-interstitial-slot {
  width: min(92vw, 320px);
  min-height: 250px;
  margin-bottom: 24px;
}

.ad-countdown {
  font-size: 48px;
  font-weight: bold;
  color: var(--ochre);
  line-height: 1;
  margin-bottom: 16px;
  min-width: 72px;
}

.ad-go-pro {
  font-size: 13px;
  color: rgba(245,242,234,.45);
  margin-top: 16px;
}

.ad-go-pro a {
  color: var(--dusk-blue);
  text-decoration: underline;
}

/* ── Manual Entry ───────────────────────────────────────────────────────── */
.manual-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.manual-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--parchment);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.manual-item-name {
  flex: 1;
  font-size: 15px;
  color: var(--charcoal);
}

.manual-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--taupe);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}

.manual-item-remove:hover { color: var(--ochre); }

.manual-empty {
  font-size: 13px;
  color: var(--stone);
  text-align: center;
  padding: 16px 0;
}

/* ── Spinner ────────────────────────────────────────────────────────────── */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--stone);
  border-top-color: var(--ochre);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--taupe);
  font-size: 14px;
}

/* ── Stepper ─────────────────────────────────────────────────────────────── */
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card-bg);
}

.stepper-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--charcoal);
  cursor: pointer;
  flex-shrink: 0;
}

.stepper-btn:hover { background: var(--parchment); }
.stepper-btn:disabled { color: var(--stone); cursor: not-allowed; }

.stepper-value {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: var(--charcoal);
  pointer-events: none;
}

/* ── Utility ────────────────────────────────────────────────────────────── */
.spacer { flex: 1; }
.text-muted { color: var(--taupe); font-size: 13px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--taupe);
}

.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { color: var(--charcoal); margin-bottom: 8px; }

.inline-code {
  display: inline-block;
  background: var(--parchment);
  border: 1px solid var(--stone);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--ochre);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .home-grid { grid-template-columns: 1fr; }
  .card-stack-wrapper { height: 460px; }
  .card-photo, .card-photo-placeholder { height: 200px; }
  .fitr-main { padding: 20px 16px 48px; }
  h1 { font-size: 24px; }
}
