/* «¿Dónde comemos?»: encima de style.css */
.dc main { padding-bottom: 180px; }
#nombre .tag { background: var(--surface); }
.dc .logo { margin-bottom: 36px; }
.dc h1 { font-size: 40px; }
.dc .lead { margin-top: 14px; }
.label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.field {
  width: 100%; min-height: 54px; border: 0; border-radius: 18px; background: var(--surface);
  padding: 0 18px; font: inherit; font-size: 17px; color: var(--ink);
}
.field:focus { outline: 2px solid var(--ink); outline-offset: 0; background: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 0; border-radius: 999px; background: var(--surface); padding: 9px 14px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--surface); border-radius: 999px; padding: 4px; }
.tab { border: 0; border-radius: 999px; background: transparent; padding: 10px 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.search { margin-top: 12px; }
.status { color: var(--muted); font-size: 15px; margin-top: 18px; }
.results { list-style: none; margin: 8px 0 0; padding: 0; }
.result { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.thumb { width: 76px; height: 76px; border-radius: 20px; background: var(--lilac) center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.result .n { font-weight: 700; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.result .m, .result .a { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.result .a { color: var(--muted); }
.open { color: #2f7d12; font-weight: 500; }
.add {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); font-size: 24px; line-height: 1;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.add[aria-pressed="true"] { background: var(--ink); color: #fff; font-size: 18px; }
.add:focus-visible, .chip:focus-visible, .tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.attrib { font-size: 12px; color: var(--muted); margin-top: 14px; }
.attrib a { color: inherit; }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid #eee;
}
.bar-in { max-width: 480px; margin: 0 auto; }
.picked { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.picked:empty { display: none; }
.pick { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--lilac); padding: 7px 10px 7px 12px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; max-width: 200px; }
.pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.button[disabled] { background: var(--surface); color: var(--muted); cursor: default; }
button.button { width: 100%; border: 0; font-family: inherit; cursor: pointer; }

.share { background: var(--green); border-radius: 36px; padding: 24px; margin-top: 32px; }
.share .url { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; margin-top: 8px; }
.share .button { background: var(--ink); color: #fff; margin-top: 20px; }
.share .button.secondary { background: #fff; color: var(--ink); }

/* Guía y preguntas (SEO) */
.guia { margin-top: 64px; padding-top: 40px; border-top: 1px solid #eee; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.guia[hidden] { display: none; }
.guia h2 { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin: 0 0 14px; }
.guia h2 + p { margin-top: 0; }
.guia h2:not(:first-child) { margin-top: 48px; }
.guia h3 { font-size: 19px; color: var(--ink); margin: 32px 0 10px; }
.guia b { color: var(--ink); }
.guia a { color: var(--ink); }
.pasos, .ideas { padding-left: 22px; margin: 0; }
.pasos li, .ideas li { margin: 8px 0; }
.tabla-wrap { overflow-x: auto; margin-top: 16px; }
.tabla { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid #eee; }
.tabla thead th { color: var(--ink); font-weight: 700; }
.tabla tbody th { font-weight: 500; color: var(--ink); }
.tabla td:nth-child(2), .tabla thead th:nth-child(2) { background: var(--surface); }
.faqs details { border-top: 1px solid #eee; }
.faqs details:last-child { border-bottom: 1px solid #eee; }
.faqs summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { margin: -4px 0 18px; }
.actualizado { font-size: 13px; color: var(--muted); margin-top: 28px; }

/* Votar */
.stack { position: relative; margin-top: 24px; aspect-ratio: 3 / 4; max-height: 62dvh; width: 100%; }
.card {
  position: absolute; inset: 0; border-radius: 36px; overflow: hidden; background: var(--lilac) center/cover no-repeat;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); touch-action: none; user-select: none; -webkit-user-select: none;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; will-change: transform;
}
.card.sinfoto { color: var(--ink); }
.card.sinfoto .shade { background: none; }
.card .shade { padding: 80px 22px 22px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.card .n { font-size: 28px; line-height: 1.05; letter-spacing: -.02em; font-weight: 700; overflow-wrap: anywhere; }
.card .m { font-size: 15px; margin-top: 8px; opacity: .95; }
.card .a { font-size: 14px; margin-top: 4px; opacity: .85; }
.card .credit { position: absolute; top: 14px; right: 16px; font-size: 11px; opacity: .85; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.card .credit a { color: inherit; }
.card .stamp {
  position: absolute; top: 26px; padding: 8px 14px; border-radius: 999px; font-size: 18px; font-weight: 700; opacity: 0;
}
.card .stamp.yes { left: 20px; background: var(--green); color: var(--ink); }
.card .stamp.no { right: 20px; background: #fff; color: var(--ink); }
.count { font-size: 14px; color: var(--muted); margin-top: 18px; text-align: center; }
.actions { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.round {
  width: 72px; height: 72px; border-radius: 50%; border: 0; font: inherit; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.round.no { background: var(--surface); }
.round.yes { background: var(--green); }
.round:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.maps { display: block; text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 14px; }

.ranking { list-style: none; padding: 0; margin: 24px 0 0; }
.rank { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.rank .thumb { width: 56px; height: 56px; border-radius: 16px; font-size: 20px; }
.rank .n { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.rank .meter { height: 8px; border-radius: 999px; background: var(--surface); margin-top: 8px; overflow: hidden; }
.rank .meter i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.rank .v { font-size: 15px; font-weight: 700; }
.rank.win .meter i { background: var(--green-pressed); }
.winner { background: var(--green); border-radius: 36px; padding: 24px; margin-top: 28px; }
.winner .tag { background: var(--ink); color: #fff; }
.winner .name { margin-top: 18px; }
.who { font-size: 15px; color: var(--ink-2); margin-top: 16px; }
