*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* RAL 9003 Signal white */
  --ral-9003: #f4f3ee;
  --ral-9003-deep: #e8e7e2;
  --bg: var(--ral-9003);
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --border: rgba(0, 0, 0, 0.08);
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --gray-brand: #8a8a8a;
  --accent: #ff9900;
  --accent-hover: #e88a00;
  --accent-soft: rgba(255, 153, 0, 0.14);
  --accent-glow: rgba(255, 153, 0, 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-h: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.container-narrow {
  width: min(720px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(244, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--muted);
}

.mobile-nav a:hover {
  background: var(--surface);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255, 153, 0, 0.4);
  color: var(--accent);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  .hero {
    padding: 64px 0 80px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 153, 0, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-trust strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.phone-mock {
  background: var(--surface);
  border-radius: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.qr-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #000;
  flex-shrink: 0;
}

.qr-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.qr-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.menu-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-preview .menu-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.menu-preview .menu-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(0, 0, 0, 0.04));
  flex-shrink: 0;
}

.menu-preview .menu-item-info h3 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.menu-preview .menu-item-info p {
  font-size: 0.78rem;
  color: var(--muted);
}

.menu-preview .menu-item-price {
  margin-left: auto;
  font-weight: 800;
  color: var(--accent);
  align-self: center;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Stats */
.stats-bar {
  padding: 32px 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 153, 0, 0.3);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.section-alt .step-card {
  background: var(--surface-2);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 48px var(--accent-glow);
  position: relative;
}

.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-card .amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.price-card .desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.price-features li {
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.price-features li i {
  color: var(--accent);
  margin-top: 3px;
}

.price-card .btn {
  width: 100%;
}

/* Free + social showcase */
.social-showcase {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .social-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.social-profile-mock {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.social-cover {
  height: 100px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #e8e7e2 100%);
}

.social-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  margin-top: -28px;
}

.social-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.social-profile-head strong {
  display: block;
  font-size: 1rem;
}

.social-profile-head span {
  font-size: 0.8rem;
  color: var(--muted);
}

.social-reels {
  display: flex;
  gap: 10px;
  padding: 16px 20px 0;
}

.social-reel {
  flex: 1;
  aspect-ratio: 9 / 16;
  max-height: 88px;
  border-radius: 12px;
  background: linear-gradient(160deg, #2a2a2a, #444);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.social-bio {
  padding: 12px 20px 20px;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.free-features-list .free-tagline {
  margin: 20px 0 24px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.free-features-list .free-tagline i {
  color: var(--accent);
}

.free-hero-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 16px 48px var(--accent-glow);
}

.free-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
}

/* Home feed */
.hidden {
  display: none !important;
}

#feed,
.feed-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.home-feed-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

.home-feed-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feed-block-list .feed-card:nth-child(1) { animation-delay: 0.02s; }
.feed-block-list .feed-card:nth-child(2) { animation-delay: 0.06s; }
.feed-block-list .feed-card:nth-child(3) { animation-delay: 0.1s; }
.feed-block-list .feed-card:nth-child(n+4) { animation-delay: 0.14s; }

.feed-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.feed-section-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.feed-section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 420px;
}

.feed-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #16a34a;
}

.feed-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: feed-pulse 2s ease infinite;
}

@keyframes feed-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.feed-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-jump-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.feed-jump-nav a:hover {
  border-color: var(--accent);
  color: var(--text);
}

.feed-block {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feed-block-reels {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.feed-block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.feed-block-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feed-block-title > i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feed-block-title h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.feed-block-title p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 480px;
}

.feed-block-updates {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.feed-reels-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.feed-reel-tile {
  flex: 0 0 140px;
  scroll-snap-align: start;
}

.feed-reel-thumb {
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  background: linear-gradient(160deg, #2a2a2a, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feed-reel-tile-body strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.feed-reel-tile-body span:not(.feed-legend-tag) {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.feed-reel-tile-body time {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}

.feed-reel-tag {
  margin-top: 6px;
}

.feed-block-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-updates-badge {
  margin: 8px 0 0;
}

.feed-legend-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-reel {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.tag-venue {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.tag-menu {
  background: var(--accent-soft);
  color: var(--accent);
}

.tag-price {
  background: rgba(236, 72, 153, 0.12);
  color: #db2777;
}

.feed-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feed-legend-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}

.feed-legend-list li:last-child {
  border-bottom: none;
}

.feed-section-reels .feed-action-icon {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.feed-section-venue .feed-action-icon {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.feed-section-menu .feed-action-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.feed-section-price .feed-action-icon {
  background: rgba(236, 72, 153, 0.12);
  color: #db2777;
}

.home-feed-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .home-feed-layout {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
}

.home-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-card {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  animation: feed-card-in 0.4s ease backwards;
}

.feed-card-new {
  border-color: rgba(255, 153, 0, 0.45);
  box-shadow: 0 4px 20px var(--accent-glow);
}

@keyframes feed-card-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feed-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--ral-9003-deep, #e8e7e2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  text-decoration: none;
}

.feed-card-body {
  flex: 1;
  min-width: 0;
}

.feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.feed-venue {
  display: block;
  font-size: 0.95rem;
}

.feed-handle {
  font-size: 0.78rem;
  color: var(--muted);
}

.feed-time {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.feed-action {
  font-size: 0.9rem;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.45;
}

.feed-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  vertical-align: middle;
}

.feed-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.feed-sidebar-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.feed-sidebar-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}

.feed-stats-list,
.feed-trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feed-stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.feed-stats-list li:last-child {
  border-bottom: none;
}

.feed-stats-list strong {
  color: var(--accent);
  font-size: 1rem;
}

.feed-trending-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.feed-trending-list li:last-child {
  border-bottom: none;
}

.feed-trending-list strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.feed-trending-list span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.testimonial .stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.testimonial blockquote {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: normal;
}

.testimonial cite {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

.testimonial cite span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question i {
  color: var(--accent);
  transition: transform 0.25s;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA */
.cta-section {
  padding: 64px 0 calc(64px + var(--safe-bottom));
}

.cta-box {
  text-align: center;
  padding: 48px 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--accent-soft) 0%, transparent 50%), var(--surface);
  border: 1px solid rgba(255, 153, 0, 0.25);
}

.cta-box h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 48px 0 calc(24px + var(--safe-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-brand img {
  height: 32px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 28ch;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(255, 153, 0, 0.4);
}

.text-accent {
  color: var(--accent);
}

@media (max-width: 899px) {
  .hide-mobile {
    display: none;
  }
}

/* —— Social feed page —— */
.social-page {
  background: var(--bg);
}

.social-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

.social-header-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header-social {
  background: rgba(244, 243, 238, 0.95);
  border-bottom: 1px solid var(--border);
}

.site-header-social .nav-desktop {
  display: flex;
  gap: 4px;
}

.site-header-social .nav-desktop a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.site-header-social .nav-desktop a.active,
.site-header-social .nav-desktop a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.header-search-wrap {
  position: relative;
}

.header-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.header-search-btn:hover,
.header-search-btn[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

body.site-search-open {
  overflow: hidden;
}

.site-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.site-search-overlay.hidden {
  display: none;
}

.site-search-page {
  width: 100%;
  max-width: 560px;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.site-search-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + var(--safe-top)) 16px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 2;
}

.site-search-back {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.site-search-back:hover {
  background: rgba(0, 0, 0, 0.05);
}

.site-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.site-search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.site-search-input-wrap > i {
  color: var(--muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.site-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.site-search-input::placeholder {
  color: var(--muted);
}

.site-search-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(24px + var(--safe-bottom));
}

.site-search-results {
  min-height: 120px;
}

.site-search-section-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-search-section-label:not(:first-child) {
  margin-top: 14px;
}

.site-search-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-search-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.site-search-item:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.site-search-item-logo {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-2);
}

.site-search-item-logo-fb {
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
}

.site-search-city-icon {
  color: var(--accent);
  font-size: 0.85rem;
}

.site-search-item-dish .site-search-post-thumb {
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.site-search-post-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-2);
}

.site-search-item-body {
  min-width: 0;
  flex: 1;
}

.site-search-item-body strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.site-search-item-body span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search-item-post .site-search-item-body span {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.site-search-empty,
.site-search-loading {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 4px 0;
}

.social-main {
  padding-top: 8px;
  padding-bottom: 48px;
  min-height: calc(100vh - var(--header-h) - 80px);
}

.social-page .site-header-social .nav-desktop {
  display: flex;
}

.social-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 16px;
}

.social-topbar h1 {
  font-size: 1.5rem;
  margin: 0;
  flex: 1;
}

.social-topbar .feed-live-badge {
  margin-left: auto;
}

.feed-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #16a34a;
}

.feed-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: feed-pulse 2s ease infinite;
}

.feed-create-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feed-create-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feed-create-input {
  flex: 1;
  text-align: left;
  border: none;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}

.feed-create-input:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.feed-stories {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.feed-stories-list {
  display: flex;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.feed-stories.hidden {
  display: none;
}

.feed-story,
.feed-story-link,
.feed-story-more {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  text-decoration: none;
}

.feed-story-ring-add,
.feed-story-ring-more {
  background: var(--border);
}

.feed-story-thumb-add,
.feed-story-thumb-more {
  background: var(--surface);
  color: var(--accent);
}

.feed-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.feed-story-more .feed-story-thumb-more {
  color: var(--muted);
  font-size: 1rem;
}

.feed-story-ring {
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff6b00);
}

.feed-story-thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, #333, #555);
  border: 3px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.feed-story-name {
  font-size: 0.72rem;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.feed-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.feed-composer {
  margin: 4px 0 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feed-composer-head h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.feed-composer-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.feed-composer-auth {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.feed-composer-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-composer-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.feed-composer-form input,
.feed-composer-form select {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

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

@media (min-width: 600px) {
  .feed-composer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feed-composer-status {
  margin: 0;
  font-size: 0.78rem;
}

.feed-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.feed-tab.active {
  background: var(--text);
  color: var(--bg);
}

.feed-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feed-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.feed-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feed-post-avatar-img {
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.feed-post-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-post-who {
  flex: 1;
  min-width: 0;
}

.feed-post-who strong {
  display: block;
  font-size: 0.9rem;
}

.feed-post-who span {
  font-size: 0.75rem;
  color: var(--muted);
}

.feed-post-head time {
  font-size: 0.75rem;
  color: var(--muted);
}

.feed-post-body {
  padding: 0 14px 12px;
}

.feed-post-text-plain {
  margin: 0;
  padding: 0 0 0 50px;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.feed-post-photo {
  margin: 12px -14px 0;
  width: calc(100% + 28px);
  max-width: none;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.feed-post-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  max-height: min(100vw, 420px);
  object-fit: cover;
  object-position: center;
}

.feed-post-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.feed-post-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.feed-post-link {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-post-avatar {
  text-decoration: none;
  color: inherit;
}

.feed-post-who a {
  color: inherit;
  text-decoration: none;
}

.feed-legend-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-reel { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.tag-venue { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.tag-menu { background: var(--accent-soft); color: var(--accent); }
.tag-price { background: rgba(236, 72, 153, 0.12); color: #db2777; }
.tag-discount { background: rgba(220, 38, 38, 0.12); color: #dc2626; }

.feed-card-activity {
  padding: 10px 12px;
  gap: 10px;
  align-items: flex-start;
}

.feed-card-activity .feed-card-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.68rem;
}

.feed-card-avatar-img {
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  text-decoration: none;
}

.feed-card-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-card-activity .feed-venue {
  font-size: 0.82rem;
}

.feed-card-activity .feed-handle {
  font-size: 0.72rem;
}

.feed-card-activity .feed-action {
  font-size: 0.82rem;
  margin: 0 0 6px;
}

.feed-card-activity .feed-action-icon {
  width: 20px;
  height: 20px;
  font-size: 0.62rem;
}

.feed-section-discount .feed-action-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.feed-discount-price {
  color: #dc2626;
  font-weight: 700;
}

.feed-old-price {
  color: var(--muted);
  font-weight: 400;
}

.feed-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}

.feed-empty.hidden {
  display: none;
}

.site-footer-minimal {
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-minimal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-minimal-inner nav {
  display: flex;
  gap: 16px;
}

.footer-minimal-inner a {
  color: var(--muted);
}

.footer-minimal-inner a:hover {
  color: var(--text);
}

/* Story modal + stories page */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.story-modal.hidden {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.story-modal-card {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.story-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.story-modal-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.story-modal-close {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--muted);
}

.story-modal-note {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.story-modal-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.story-modal-card input,
.story-modal-card select,
.story-modal-card textarea {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}

.story-modal-card textarea {
  resize: vertical;
  min-height: 96px;
}

.story-modal-status {
  margin: 10px 0 0;
  font-size: 0.78rem;
}

/* Post upload modal */
.post-modal-card .story-modal-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-modal-field label,
.post-modal-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.post-modal-field select,
.post-modal-field textarea {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}

.post-modal-field textarea {
  resize: vertical;
  min-height: 96px;
}

.post-char-counter {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
  text-align: right;
}

.post-char-counter.limit {
  color: #b45309;
  font-weight: 600;
}

.post-upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.post-upload-zone:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.post-upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.post-upload-zone i {
  font-size: 1.5rem;
  color: var(--muted);
}

.post-upload-zone span {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-modal-submit {
  width: 100%;
  margin-top: 4px;
}

.crop-modal-layer {
  z-index: 450;
}

.crop-modal-card {
  width: min(520px, 100%);
}

.crop-modal-layout {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  align-items: start;
}

.crop-modal-body {
  max-height: min(52vh, 360px);
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}

.crop-modal-body img {
  max-width: 100%;
  display: block;
}

.crop-modal-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.crop-modal-preview-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.crop-modal-preview-box {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.crop-modal-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.crop-modal-preview-size {
  font-size: 0.68rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .crop-modal-layout {
    grid-template-columns: 1fr;
  }

  .crop-modal-preview-wrap {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.post-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.post-upload-placeholder.hidden {
  display: none;
}

.post-upload-preview {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.post-upload-preview.hidden {
  display: none;
}

.post-upload-clear {
  margin-top: 8px;
}

.post-upload-zone:has(.post-upload-preview:not(.hidden)) {
  border-style: solid;
  min-height: auto;
  padding: 12px;
}

.stories-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-feed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.story-feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.story-feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-feed-head strong {
  display: block;
  font-size: 0.9rem;
}

.story-feed-head span {
  font-size: 0.75rem;
  color: var(--muted);
}

.story-feed-head time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
}

.story-feed-video {
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
  display: block;
}

.story-feed-placeholder {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  background: linear-gradient(160deg, #333, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
}

.story-feed-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.82rem;
}

.story-feed-foot a {
  color: var(--accent);
  font-weight: 700;
}

.story-back-link {
  color: var(--text);
  font-size: 1rem;
  margin-right: 8px;
}
