:root {
  --flame: #E8400A;
  --flame-90: #EA5420;
  --flame-80: #EC6632;
  --ember: #FF6B35;
  --ember-60: rgba(255,107,53,0.6);
  --gold: #F4A820;
  --gold-30: rgba(244,168,32,0.3);
  --cream: #FDF6EE;
  --cream-80: rgba(253,246,238,0.8);
  --cream-40: rgba(253,246,238,0.4);
  --charcoal: #1C1410;
  --espresso: #2D1B10;
  --latte: #8B6355;
  --milk: #F9F0E8;
  --smoke: #EDE5DC;
  --ash: #9E8E82;
  --white: #FFFFFF;

  --success: #27AE60;
  --warning: #F39C12;
  --danger: #E74C3C;
  --info: #2980B9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  --shadow-card: 0 4px 24px rgba(28,20,16,0.08);
  --shadow-float: 0 12px 48px rgba(28,20,16,0.14);
  --shadow-flame: 0 8px 32px rgba(232,64,10,0.35);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: #0A0604;
  font-family: var(--font-body);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.page-header {
  background: linear-gradient(135deg, #1C0D05 0%, #2D1810 50%, #1C0D05 100%);
  padding: 56px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,64,10,0.25) 0%, transparent 70%);
}
.page-header .logo-mark {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--cream);
  line-height: 0.95;
  position: relative;
}
.logo-my {
  font-weight: 700;
}
.logo-plate {
  font-weight: 900;
  font-style: italic;
  color: var(--flame);
}
.page-header p {
  font-size: 13px;
  color: var(--ash);
  margin-top: 16px;
  letter-spacing: 1px;
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15,10,7,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(253,246,238,0.85);
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
}
.nav a,
.nav button {
  white-space: nowrap;
}
.nav-base {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(253,246,238,0.92);
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  white-space: nowrap;
}
.nav a.active {
  background: rgba(232,64,10,0.18);
  border-color: rgba(232,64,10,0.35);
  color: var(--cream);
}
.nav a.nav-instaplate {
  background: #3E2314;
  border-color: rgba(255,255,255,0.10);
  color: var(--cream);
}
.nav a.nav-instaplate.active {
  background: #3E2314;
  border-color: rgba(255,255,255,0.16);
  color: var(--cream);
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .brand {
    flex: 1 1 100%;
    justify-content: center;
  }
  .nav {
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav { scrollbar-width: none; }
  .nav a {
    padding: 9px 10px;
    font-size: 12px;
  }
  .nav .btn {
    padding: 9px 10px;
    font-size: 12px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .page-header { padding: 44px 16px 30px; }
  .topbar-inner { padding: 10px 12px; }
  .container { padding: 18px 12px 44px; }
  .hero { padding: 16px 14px; }
  .hero-title { font-size: 22px; }
  .stat .num { font-size: 18px; }
  .btn { padding: 11px 12px; }
  .table { min-width: 480px; }
}

@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 20px; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 56px;
}

.card[style*="overflow:auto"],
.card[style*="overflow: auto"] {
  -webkit-overflow-scrolling: touch;
}

.card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.table th, .table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left;
  font-size: 13px;
}
.table th {
  background: rgba(249,240,232,0.9);
  color: var(--charcoal);
  font-weight: 900;
  letter-spacing: 0.4px;
}
.table tbody tr:hover {
  background: rgba(244,168,32,0.10);
}

.progress {
  height: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  box-shadow: var(--shadow-flame);
  transition: width 180ms ease;
}
.log-box {
  margin-top: 10px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 12px;
  color: rgba(253,246,238,0.9);
  font-size: 12px;
  line-height: 1.5;
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.flash {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: rgba(253,246,238,0.9);
}
.flash.error {
  background: rgba(180,35,24,0.14);
  border-color: rgba(180,35,24,0.35);
}
.flash.success {
  background: rgba(39,174,96,0.12);
  border-color: rgba(39,174,96,0.32);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
@media (max-width: 920px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.feed-controls {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
  color: var(--cream);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr; }
  .table { min-width: 560px; }
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(158,142,130,0.9);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(253,246,238,0.95);
  padding: 12px 12px;
  outline: none;
}
.field select option,
.field select optgroup {
  background: #FFFFFF;
  color: var(--charcoal);
}
.field textarea { resize: vertical; min-height: 88px; }

.btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.primary {
  background: var(--flame);
  color: white;
  box-shadow: 0 8px 22px rgba(232,64,10,0.35);
}
.btn.primary:hover {
  background: var(--flame-90);
  transform: translateY(-1px);
}
.btn.secondary {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cream);
}
.btn.light {
  background: var(--cream);
  color: var(--charcoal);
}
.btn.danger {
  background: rgba(180,35,24,0.15);
  border: 1px solid rgba(180,35,24,0.35);
  color: rgba(253,246,238,0.95);
}

.restaurants {
  display: grid;
  gap: 12px;
}
.restaurant-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.restaurant-row[data-card-link] {
  cursor: pointer;
}
.restaurant-row[data-card-link]:focus {
  outline: 2px solid rgba(232,64,10,0.35);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .restaurant-row { grid-template-columns: 92px 1fr; }
  .restaurant-row .right { display: none; }
}
.rest-emoji {
  height: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, #2D1B10, #4a2c1a);
}
.rest-main { padding: 12px 10px; }
.rest-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--charcoal);
}
.rest-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ash);
}
.rest-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--ash);
  font-size: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--smoke);
  color: var(--latte);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.05);
}
.score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,64,10,0.10);
  border: 1px solid rgba(232,64,10,0.25);
  color: var(--flame);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}
.right { padding: 12px 12px; }
.right .btn { width: 100%; }

.hero {
  background: linear-gradient(135deg, #2D1B10, #4a2c1a);
  border-radius: 18px;
  padding: 18px 18px;
  color: rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,64,10,0.25) 0%, transparent 70%);
}
.hero-inner { position: relative; }
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  line-height: 1.1;
}
.hero-sub { margin-top: 6px; color: rgba(253,246,238,0.72); font-size: 13px; }

.stats-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 10px 10px;
}
.stat .num { font-size: 20px; font-weight: 900; color: var(--cream); }
.stat .lbl { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(253,246,238,0.55); margin-top: 2px; }

.section-title {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(158,142,130,0.85);
}

.review-list { display: grid; gap: 10px; }
.review-item {
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.reviewer {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
}
.reviewer-name { font-size: 13px; font-weight: 800; color: var(--charcoal); }
.reviewer-meta { font-size: 11px; color: var(--ash); margin-top: 1px; }
.review-body { margin-top: 8px; color: var(--latte); font-size: 12px; line-height: 1.55; }
.review-photo {
  margin-top: 10px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--smoke);
}
.review-photo img { width: 100%; display: block; }

.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 16px;
  color: var(--cream);
}
.form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--cream);
}
.form-sub { margin-top: 6px; color: rgba(253,246,238,0.65); font-size: 13px; line-height: 1.5; }

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
@media (max-width: 700px) {
  .form-actions { flex-direction: column; align-items: stretch; }
}

.footer {
  padding: 50px 16px;
  text-align: center;
  color: rgba(158,142,130,0.55);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.map-card-shell {
  border-radius: 18px;
}
.map {
  height: 540px;
  width: 100%;
  border-radius: 18px;
}
@media (max-width: 700px) {
  .map { height: 420px; }
}

.tabs {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(253,246,238,0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.tab.active {
  background: rgba(232,64,10,0.18);
  border-color: rgba(232,64,10,0.35);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
.photo-tile {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 2px 14px rgba(0,0,0,0.10);
}
.photo-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.menu-viewer {
  margin-top: 12px;
}
.menu-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 2px 14px rgba(0,0,0,0.10);
}
.menu-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.menu-frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  background: #111;
}
@media (max-width: 700px) {
  .menu-frame iframe { height: 440px; }
}
.menu-nav {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.onb {
  position: relative;
}
.onb input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.onb-track {
  display: grid;
  grid-template-columns: 100% 100% 100%;
  gap: 0;
  transform: translateX(0);
  transition: transform 220ms ease;
}
.onb-slide {
  min-width: 0;
}
#onb-1:checked ~ .onb-track { transform: translateX(0); }
#onb-2:checked ~ .onb-track { transform: translateX(-100%); }
#onb-3:checked ~ .onb-track { transform: translateX(-200%); }
.onb-dots {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.onb-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
}
#onb-1:checked ~ .onb-dots label[for="onb-1"],
#onb-2:checked ~ .onb-dots label[for="onb-2"],
#onb-3:checked ~ .onb-dots label[for="onb-3"] {
  background: var(--flame);
  border-color: rgba(0,0,0,0.12);
}

.page-splash {
  background: #0F0A07;
}
.page-splash .screens-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  padding: 56px 20px 80px;
  max-width: 1600px;
  margin: 0 auto;
}
.page-splash .screen-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeUp 0.6s ease both;
}
.page-splash .screen-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
}
.page-splash .screen-number {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--ember);
  font-style: italic;
  margin-bottom: 2px;
}
.page-splash .screen-number,
.page-splash .screen-title {
  display: none;
}
.page-splash .phone {
  width: 320px;
  height: 660px;
  background: #111;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 40px 80px rgba(0,0,0,0.7),
    0 4px 20px rgba(232,64,10,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.page-splash .phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.06);
}
.page-splash .phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}
.page-splash .status-bar {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 24px 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
}
.page-splash .status-bar.light {
  color: rgba(255,255,255,0.9);
}
.page-splash .status-bar .time {
  font-size: 13px;
  font-weight: 700;
}
.page-splash .status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.page-splash .splash {
  height: 100%;
  background: linear-gradient(160deg, #1C0D05 0%, #3D1A0A 40%, #1C0D05 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 48px;
  position: relative;
  overflow: hidden;
}
.page-splash .splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 40%, rgba(232,64,10,0.3) 0%, transparent 70%);
}
.page-splash .splash-plate {
  width: 120px;
  height: 120px;
  background: var(--flame);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 0 60px rgba(232,64,10,0.5), 0 20px 40px rgba(0,0,0,0.4);
  animation: pulse 2.5s ease-in-out infinite;
}
.page-splash .splash h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--cream);
  text-align: center;
  position: relative;
  line-height: 1.1;
}
.page-splash .splash h2 em {
  color: var(--ember);
  font-style: italic;
  display: block;
}
.page-splash .splash p {
  font-size: 13px;
  color: rgba(253,246,238,0.55);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
  position: relative;
}
.page-splash .splash-dots {
  display: flex;
  gap: 6px;
  margin-top: 32px;
  position: relative;
}
.page-splash .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
}
.page-splash .dot.active {
  background: var(--ember);
  width: 24px;
}
.page-splash .splash-btn {
  margin-top: 40px;
  width: 100%;
  background: var(--flame);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(232,64,10,0.4);
}
.page-splash .splash-btn:focus-visible {
  outline: 2px solid rgba(244,168,32,0.9);
  outline-offset: 2px;
}
.page-splash .splash-link {
  margin-top: 16px;
  color: rgba(253,246,238,0.45);
  font-size: 13px;
  position: relative;
  cursor: pointer;
  display: block;
}
.page-splash .splash-link:focus-visible {
  outline: 2px solid rgba(244,168,32,0.9);
  outline-offset: 4px;
  border-radius: 8px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(232,64,10,0.5), 0 20px 40px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 80px rgba(232,64,10,0.7), 0 20px 40px rgba(0,0,0,0.4); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-home {
  background: #0F0A07;
}
.page-home .home-app {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 0 16px;
}
.page-home {
  overflow: hidden;
}
.page-home .phone {
  width: 360px;
  height: 740px;
  background: #111;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 40px 80px rgba(0,0,0,0.7),
    0 4px 20px rgba(232,64,10,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.page-home .phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.06);
}
.page-home .phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--milk);
}
.page-home .status-bar {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 24px 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
}
.page-home .status-bar .time {
  font-size: 13px;
  font-weight: 700;
}
.page-home .status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.page-home .feed-screen {
  height: 100%;
  background: var(--milk);
  display: flex;
  flex-direction: column;
  padding-top: 48px;
}
.page-home .feed-header {
  padding: 12px 20px 16px;
  background: var(--milk);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.page-home .feed-header-left h3 {
  font-size: 11px;
  color: var(--ash);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-home .feed-header-left h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--charcoal);
}
.page-home .feed-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.page-home .avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  font-weight: 700;
}

.page-home .search-bar {
  margin: 0 20px 12px;
  background: var(--smoke);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.04);
}
.page-home .search-bar span {
  font-size: 15px;
  flex-shrink: 0;
}
.page-home .search-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--charcoal);
}
.page-home .search-input::placeholder {
  color: var(--ash);
}

.page-home .filter-chips {
  display: flex;
  gap: 8px;
  padding: 0 20px 12px;
  overflow-x: auto;
}
.page-home .filter-chips::-webkit-scrollbar { display: none; }
.page-home .chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--smoke);
  color: var(--latte);
  border: 1px solid transparent;
  white-space: nowrap;
}
.page-home .chip.active {
  background: var(--flame);
  color: white;
  box-shadow: 0 4px 12px rgba(232,64,10,0.3);
}

.page-home .feed-filters {
  margin: 0 20px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.75);
  overflow: hidden;
}
.page-home .feed-filters > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
}
.page-home .feed-filters > summary::-webkit-details-marker { display: none; }
.page-home .feed-filters-form {
  padding: 10px 12px 12px;
}
.page-home .ff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.page-home .ff-field label {
  display: block;
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.page-home .ff-field input,
.page-home .ff-field select {
  width: 100%;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.10);
  background: white;
  font-size: 12px;
  outline: none;
}
.page-home .ff-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.page-home .ff-btn {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.10);
  background: white;
  color: var(--charcoal);
}
.page-home .ff-btn.primary {
  background: var(--flame);
  border-color: rgba(232,64,10,0.35);
  color: white;
  box-shadow: 0 6px 16px rgba(232,64,10,0.25);
}
.page-home .ff-btn.secondary {
  background: rgba(255,255,255,0.85);
}
.page-home .ff-btn.light {
  background: rgba(232,64,10,0.10);
  border-color: rgba(232,64,10,0.22);
  color: var(--flame);
}
.page-home .ff-btn[type="button"] {
  cursor: pointer;
}

.page-home .feed-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 20px 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.page-home .feed-list::-webkit-scrollbar { display: none; }
.page-home .feed-empty {
  font-size: 13px;
  color: var(--ash);
  padding: 18px 4px;
}
.page-home .restaurant-card {
  background: white;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.page-home .card-img {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.page-home .card-img-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.page-home .card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--flame);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.page-home .fav-mini {
  position: absolute;
  top: 10px;
  right: 10px;
}
.page-home .fav-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.28);
  color: white;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.page-home .card-body {
  padding: 12px 14px 14px;
}
.page-home .card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.page-home .card-name {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.2;
}
.page-home .card-type {
  font-size: 11px;
  color: var(--ash);
  margin-top: 2px;
}
.page-home .stars-row {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}
.page-home .star { font-size: 12px; }
.page-home .star-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
}
.page-home .card-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.page-home .meta-item {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  color: var(--ash);
}
.page-home .meta-item span:first-child { font-size: 13px; }

.page-home .feed-pagination {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 8px 2px;
}
.page-home .pg-btn {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 12px;
  font-weight: 800;
  color: var(--charcoal);
}
.page-home .pg-btn.disabled {
  opacity: 0.45;
}
.page-home .pg-info {
  font-size: 11px;
  color: var(--ash);
  font-weight: 600;
}

.page-home .bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px 8px;
  z-index: 50;
}
.page-home .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}
.page-home .nav-icon { font-size: 20px; }
.page-home .nav-label { font-size: 9px; color: var(--ash); font-weight: 500; }
.page-home .nav-item.active .nav-label { color: var(--flame); }

@media (max-width: 420px) {
  .page-home .home-app { padding: 0; }
  .page-home .phone {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .page-home .phone::before { display: none; }
}

.page-restaurant {
  background: #0F0A07;
  overflow: hidden;
}
.page-restaurant .restaurant-app {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 0 16px;
}
.page-restaurant .phone {
  width: 360px;
  height: 740px;
  background: #111;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 40px 80px rgba(0,0,0,0.7),
    0 4px 20px rgba(232,64,10,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.page-restaurant .phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.06);
}
.page-restaurant .phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}
.page-restaurant .status-bar {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 24px 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
}
.page-restaurant .status-bar.light {
  color: rgba(255,255,255,0.9);
}
.page-restaurant .status-bar .time {
  font-size: 13px;
  font-weight: 700;
}
.page-restaurant .status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.page-restaurant .restaurant-screen {
  height: 100%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-restaurant .rest-hero {
  width: 100%;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-restaurant .rest-hero-emoji {
  font-size: 64px;
  position: relative;
  z-index: 2;
}
.page-restaurant .rest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.page-restaurant .rest-back {
  position: absolute;
  top: 52px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  z-index: 5;
  text-decoration: none;
}
.page-restaurant .rest-hero-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 74px;
  z-index: 5;
}
.page-restaurant .rest-hero-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: white;
  line-height: 1.1;
}
.page-restaurant .rest-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}
.page-restaurant .rest-score-bubble {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--flame);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(232,64,10,0.5);
}
.page-restaurant .rest-score-bubble small {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.8;
}
.page-restaurant .rest-tabs {
  display: flex;
  border-bottom: 1px solid var(--smoke);
  background: white;
  flex-shrink: 0;
}
.page-restaurant .rest-tab {
  flex: 1;
  padding: 12px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ash);
  text-decoration: none;
}
.page-restaurant .rest-tab.active {
  color: var(--flame);
  border-bottom: 2px solid var(--flame);
}
.page-restaurant .rest-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 24px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.page-restaurant .rest-body::-webkit-scrollbar { display: none; }
.page-restaurant .rest-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.page-restaurant .rest-btn {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.10);
  background: white;
  color: var(--charcoal);
  text-decoration: none;
  cursor: pointer;
}
.page-restaurant .rest-btn.primary {
  background: var(--flame);
  border-color: rgba(232,64,10,0.35);
  color: white;
  box-shadow: 0 6px 16px rgba(232,64,10,0.25);
}
.page-restaurant .rest-btn.secondary {
  background: rgba(255,255,255,0.95);
}
.page-restaurant .rest-btn.light {
  background: rgba(232,64,10,0.10);
  border-color: rgba(232,64,10,0.22);
  color: var(--flame);
}
.page-restaurant .rest-fav-form {
  display: inline;
}
.page-restaurant .score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.page-restaurant .score-item {
  background: white;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.page-restaurant .score-icon {
  font-size: 20px;
  margin-bottom: 4px;
}
.page-restaurant .score-label {
  font-size: 10px;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-restaurant .score-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--charcoal);
}
.page-restaurant .score-bar {
  height: 3px;
  background: var(--smoke);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.page-restaurant .score-fill {
  height: 100%;
  background: var(--flame);
  border-radius: 2px;
}
.page-restaurant .section-mini-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 10px;
  margin-top: 14px;
  font-weight: 700;
}
.page-restaurant .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: 10px;
  overflow: hidden;
}
.page-restaurant .photo-cell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--smoke);
  text-decoration: none;
  color: var(--charcoal);
  position: relative;
}
.page-restaurant .photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-restaurant .photo-cell.more {
  background: #1C1410;
  color: rgba(255,255,255,0.75);
  font-weight: 800;
  font-size: 14px;
}
.page-restaurant .review-mini {
  background: white;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.page-restaurant .review-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 12px;
}
.page-restaurant .reviewer-info {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.page-restaurant .reviewer-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: white;
  font-weight: 800;
  flex-shrink: 0;
}
.page-restaurant .reviewer-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-restaurant .reviewer-level {
  font-size: 10px;
  color: var(--ash);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-restaurant .review-score {
  font-size: 12px;
  font-weight: 800;
  color: var(--charcoal);
  flex-shrink: 0;
}
.page-restaurant .review-text {
  font-size: 11px;
  color: var(--latte);
  line-height: 1.5;
}
.page-restaurant .review-photo {
  font-size: 10px;
  color: var(--ash);
  margin-top: 6px;
}
.page-restaurant .review-tags {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.page-restaurant .tag-pill {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(232,64,10,0.10);
  color: var(--flame);
  border: 1px solid rgba(232,64,10,0.18);
  font-weight: 700;
}
.page-restaurant .review-thumb {
  margin-top: 10px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.page-restaurant .review-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.page-restaurant .rest-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.page-restaurant .rest-kv .rest-k {
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
}
.page-restaurant .rest-kv .rest-v {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ash);
}
.page-restaurant .rest-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.page-restaurant .rest-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(232,64,10,0.10);
  border: 1px solid rgba(232,64,10,0.22);
  color: var(--flame);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.page-restaurant .rest-empty {
  font-size: 12px;
  color: var(--ash);
  line-height: 1.5;
}
.page-restaurant .menu-viewer {
  margin-top: 0;
}
.page-restaurant .menu-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  box-shadow: none;
}
.page-restaurant .menu-frame iframe {
  height: 320px;
  background: white;
}
.page-restaurant .menu-nav {
  margin-top: 10px;
}
@media (max-width: 420px) {
  .page-restaurant .restaurant-app { padding: 0; }
  .page-restaurant .phone {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .page-restaurant .phone::before { display: none; }
  .page-restaurant .menu-frame iframe { height: 260px; }
}
