:root {
  --bg: #16110d;
  --bg-card: #241b15;
  --bg-card-2: #2d2118;
  --accent: #e8841a;
  --accent-bright: #ffa940;
  --accent-soft: #f5c97b;
  --text: #f5ead8;
  --text-muted: #b8a78f;
  --text-dim: #8b7355;
  --border: #3d2d22;
  --warn: #ef4444;
  --warn-soft: #fca5a5;
  --ok: #34d399;
  --beer: #d4a017;
  --meat: #c1462e;
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
a, button { -webkit-tap-highlight-color: rgba(232,132,26,0.25); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--accent-bright); color: #16110d;
  padding: 8px 14px; border-radius: 6px; font-weight: 700; z-index: 100;
}
.skip-link:focus { top: 8px; }

.back-link {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px);
  color: var(--accent-bright); padding: 8px 14px; border-radius: 20px;
  text-decoration: none; font-size: 0.82rem; font-weight: 600;
  border: 1px solid rgba(255, 169, 64, 0.3);
  transition: all 0.2s;
}
.back-link:hover, .back-link:focus-visible {
  background: var(--accent-bright); color: #16110d;
}

.hero {
  position: relative; height: 70vh; min-height: 480px; max-height: 700px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.5) saturate(1.1); z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,17,13,0.3) 0%, rgba(22,17,13,0.5) 50%, rgba(22,17,13,0.98) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 22px 50px; width: 100%; max-width: 1200px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block; background: var(--accent); color: #16110d;
  padding: 5px 12px; border-radius: 20px; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.8rem, 7vw, 3.4rem); line-height: 1.15;
  margin-bottom: 14px; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 .accent { color: var(--accent-bright); }
.hero-sub { color: var(--accent-soft); font-size: clamp(0.95rem, 3.5vw, 1.15rem); margin-bottom: 6px; }
.hero-meta { color: var(--text-muted); font-size: 0.78rem; margin-top: 14px; opacity: 0.9; }

main { max-width: 1200px; margin: 0 auto; padding: 32px 16px 60px; }

.section { margin-bottom: 40px; }
.section-title {
  font-size: 1.4rem; color: var(--accent-bright);
  margin: 8px 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.section-title .count {
  background: var(--accent); color: #16110d;
  font-size: 0.75rem; padding: 3px 10px; border-radius: 12px; font-weight: 800;
}
.section-intro {
  color: var(--text-muted); font-size: 0.88rem;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--border);
}

.cards { display: grid; grid-template-columns: 1fr; gap: 22px; }

.card {
  background: var(--bg-card); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}
.rank-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  width: 50px; height: 50px;
  background: rgba(0, 0, 0, 0.75); color: var(--accent-bright);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900;
  backdrop-filter: blur(6px); border: 2px solid var(--accent-bright);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.rank-badge.gold {
  background: linear-gradient(135deg, #ffd700, #ffb700); color: #16110d;
  border-color: #fff8e0; box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
}
.rank-badge.silver {
  background: linear-gradient(135deg, #e8e8e8, #b0b0b0); color: #16110d;
  border-color: #fff; box-shadow: 0 4px 16px rgba(192, 192, 192, 0.4);
}
.rank-badge.bronze {
  background: linear-gradient(135deg, #e09060, #b06030); color: #fff;
  border-color: #ffd0a0; box-shadow: 0 4px 16px rgba(205, 127, 50, 0.4);
}
.card-img { width: 100%; height: 200px; object-fit: cover; background: #2a1810; }
.card-body { padding: 18px 18px 20px; }
.card-head { margin-bottom: 12px; }
.card-tier {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 8px;
  letter-spacing: 1px; background: var(--accent); color: #16110d;
}
.card-tier.michelin { background: #c9302c; color: #fff; }
.card-tier.new { background: var(--ok); color: #16110d; }
.card-tier.legend { background: var(--gold); color: #16110d; }
.card h3 {
  font-size: 1.3rem; color: var(--accent-bright);
  margin-bottom: 4px; line-height: 1.3;
}
.card-location { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.heat-bar {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 6px 0 12px; font-size: 0.78rem; color: var(--accent-soft);
  padding-bottom: 12px; border-bottom: 1px dashed var(--border);
  width: 100%;
}
.heat-bar .flames { letter-spacing: 1px; }

.info-row {
  margin: 8px 0; font-size: 0.88rem; display: flex; gap: 8px;
}
.info-row .icon {
  flex-shrink: 0; width: 22px; text-align: center; color: var(--accent);
}
.info-row .text { flex: 1; color: var(--text); }
.info-row .text.muted { color: var(--text-muted); font-size: 0.83rem; }

.panel {
  margin: 14px 0; border-radius: 8px; padding: 12px 14px; font-size: 0.88rem;
}
.panel-meat {
  background: linear-gradient(135deg, rgba(193, 70, 46, 0.12), rgba(193, 70, 46, 0.04));
  border-left: 3px solid var(--meat);
}
.panel-beer {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(212, 160, 23, 0.04));
  border-left: 3px solid var(--beer);
}
.panel-label {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; margin-bottom: 8px; font-size: 0.85rem;
}
.panel-meat .panel-label { color: #ff8467; }
.panel-beer .panel-label { color: var(--beer); }
.panel ul { list-style: none; padding: 0; }
.panel li {
  padding: 4px 0 4px 16px; position: relative; line-height: 1.5;
}
.panel-meat li::before {
  content: '▸'; position: absolute; left: 0; color: var(--meat);
}
.panel-beer li::before {
  content: '•'; position: absolute; left: 2px; color: var(--beer); font-weight: bold;
}
.panel li strong { color: var(--text); }
.panel li .price {
  color: var(--accent-soft); font-size: 0.82rem; margin-left: 4px;
}

.highlight {
  margin: 14px 0; padding: 11px 13px; border-radius: 6px;
  font-size: 0.84rem; line-height: 1.5;
  background: rgba(52, 211, 153, 0.08); border-left: 3px solid var(--ok); color: #a7f3d0;
}

.critic-take {
  margin: 14px 0 4px; padding: 12px 14px;
  border-radius: 8px; font-size: 0.86rem; line-height: 1.6;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.06));
  border-left: 3px solid var(--warn);
  color: #fde4cb;
  position: relative;
}
.critic-take::before {
  content: "📝 真实点评";
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--warn-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.map-link {
  color: var(--accent-soft); text-decoration: none;
  border-bottom: 1px dotted rgba(232, 132, 26, 0.5);
  transition: all 0.2s; display: inline-block;
}
.map-link:hover, .map-link:active {
  color: var(--accent-bright); border-bottom-color: var(--accent-bright);
}
.map-link .ext {
  font-size: 0.75em; opacity: 0.7; margin-left: 3px; color: var(--accent);
}

footer {
  margin-top: 40px; padding: 24px 16px 30px;
  text-align: center; color: var(--text-dim);
  font-size: 0.78rem; border-top: 1px solid var(--border); line-height: 1.7;
}
footer .sources { color: var(--text-muted); margin-bottom: 8px; }
footer a {
  color: var(--accent-soft); text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}

@media (min-width: 720px) {
  main { padding: 40px 24px 60px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; }
  .card-img { height: 240px; }
  .section-title { font-size: 1.6rem; }
  .card h3 { font-size: 1.35rem; }
}
@media (min-width: 1024px) {
  .hero { min-height: 540px; }
  .card-img { height: 260px; }
  .rank-badge { width: 58px; height: 58px; font-size: 1.85rem; }
}
