:root {
  --ink: #132f35;
  --ink-soft: #527076;
  --navy: #12343b;
  --navy-deep: #0b252b;
  --teal: #2e7067;
  --teal-light: #d9ebe5;
  --cream: #f8f4e9;
  --paper: #fffdf8;
  --coral: #e66c4f;
  --coral-soft: #f9dfd5;
  --gold: #e8ad47;
  --gold-soft: #f8eccb;
  --sky: #cfe8eb;
  --line: rgba(19, 47, 53, 0.12);
  --shadow: 0 18px 44px rgba(18, 52, 59, 0.12);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "Avenir Next", Avenir, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #dfe8e5;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #dfe8e5;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.9), transparent 32rem),
    #dfe8e5;
  -webkit-font-smoothing: antialiased;
}

button,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(230, 108, 79, 0.48);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  /* clip (no hidden) para recortar el desbordamiento horizontal sin romper position:sticky */
  overflow: clip;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(18, 52, 59, 0.14);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 22px 30px;
  color: #fffdf8;
  background:
    linear-gradient(150deg, rgba(31, 87, 91, 0.45), transparent 48%),
    var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.hero-topline,
.hero-copy,
.hero-stats {
  position: relative;
  z-index: 3;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  background: var(--gold);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.icon-button svg {
  width: 20px;
  fill: currentColor;
}

.hero-copy {
  margin-top: 12px;
}

.hero-copy .eyebrow {
  margin-bottom: 3px;
}

.eyebrow,
.kicker {
  margin: 0 0 7px;
  color: var(--coral);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: #f3c974;
}

.hero h1 {
  max-width: 340px;
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 6.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-subtitle {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* La aventura contada como un relato: tres actos enlazados en una sola línea. */
.hero-journey {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.hero-journey li {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.hero-journey li::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 173, 71, 0.14);
}

.hero-journey li:not(:last-child)::after {
  width: 12px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: rgba(232, 173, 71, 0.45);
}

.hero-journey b {
  color: #fffdf8;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* Cuenta atrás viva: un punto que late mientras el viaje está por venir o en curso. */
body[data-trip="before"] #trip-state,
body[data-trip="during"] #trip-state {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

body[data-trip="before"] #trip-state::before,
body[data-trip="during"] #trip-state::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(230, 108, 79, 0.18);
  animation: countdown-pulse 2.4s ease-in-out infinite;
}

@keyframes countdown-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(230, 108, 79, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(230, 108, 79, 0.05); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-trip="before"] #trip-state::before,
  body[data-trip="during"] #trip-state::before { animation: none; }
}

.hero-stats {
  display: flex;
  width: fit-content;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div {
  display: flex;
  min-width: 82px;
  padding: 12px 16px 11px 0;
  flex-direction: column;
}

.hero-stats div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats strong {
  font-size: 1.03rem;
}

.hero-stats span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
}

.mountain-scene {
  position: absolute;
  z-index: 1;
  right: -34px;
  bottom: -15px;
  width: 310px;
  height: 260px;
  pointer-events: none;
}

.sun {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 78px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 16px rgba(232, 173, 71, 0.08);
}

.peak {
  position: absolute;
  bottom: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.peak-back {
  right: 0;
  width: 270px;
  height: 205px;
  background: #39666a;
}

.peak-back::after,
.peak-front::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 36%;
  height: 34%;
  content: "";
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 100%, 52% 72%, 28% 100%, 0 100%);
  background: rgba(255, 255, 255, 0.82);
}

.peak-front {
  right: 116px;
  width: 220px;
  height: 160px;
  background: #244f54;
}

.road {
  position: absolute;
  z-index: 3;
  right: 27px;
  bottom: -100px;
  width: 85px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-width: 0 0 0 2px;
  border-radius: 50%;
  transform: rotate(-32deg);
}

main {
  position: relative;
  z-index: 4;
  min-height: 570px;
  padding: 24px 18px calc(104px + var(--safe-bottom));
  border-radius: 26px 26px 0 0;
  background: var(--cream);
}

.hero + main {
  margin-top: -22px;
}

.view {
  display: none;
  animation: view-in 180ms ease-out;
}

.view.active {
  display: block;
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-heading,
.panel-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.section-heading {
  justify-content: space-between;
  margin: 2px 3px 18px;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
}

h3 {
  font-size: 1.08rem;
}

.live-badge,
.route-total,
.local-badge,
.offline-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--teal-light);
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 112, 103, 0.12);
}

.next-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow);
}

.next-card::after {
  position: absolute;
  right: -38px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  content: "";
  border: 28px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.next-top,
.next-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.date-block {
  display: flex;
  flex-direction: column;
}

.date-block strong {
  font-size: 2.15rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.date-block span,
.next-meta {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.weather-mark {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1.45rem;
  background: rgba(255, 255, 255, 0.09);
}

.next-card h3 {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin: 28px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.next-meta {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.next-actions {
  justify-content: flex-start;
  gap: 10px;
}

.button,
.next-actions a,
.next-actions button,
.dialog-actions a,
.install-card button {
  display: inline-flex;
  min-height: 43px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.next-actions a,
.next-actions button {
  color: var(--navy);
  background: #fff;
}

.next-actions .ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.panel {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(18, 52, 59, 0.055);
}

.panel-heading {
  margin-bottom: 16px;
}

.panel-heading.split {
  justify-content: space-between;
}

.panel-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  font-weight: 900;
}

.panel-icon.coral { color: #ad402a; background: var(--coral-soft); }
.panel-icon.teal { color: var(--teal); background: var(--teal-light); }
.panel-icon.gold { color: #9a6713; background: var(--gold-soft); }
.panel-icon.navy { color: #fff; background: var(--navy); }

.text-link {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.task-list {
  display: grid;
  gap: 2px;
}

.task-row {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.task-row:first-child {
  border-top: 0;
}

.task-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  display: grid;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  place-items: center;
  border: 1.5px solid rgba(19, 47, 53, 0.25);
  border-radius: 7px;
  color: transparent;
  background: #fff;
  transition: 150ms ease;
}

.task-row input:focus-visible + .checkmark {
  outline: 3px solid rgba(230, 108, 79, 0.35);
  outline-offset: 2px;
}

.task-row input:checked + .checkmark {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.task-copy strong,
.task-copy small {
  display: block;
}

.task-copy strong {
  font-size: 0.87rem;
  line-height: 1.3;
}

.task-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.35;
}

.task-row.done .task-copy strong {
  color: #7d9195;
  text-decoration: line-through;
}

.task-deadline {
  margin-top: 2px;
  color: var(--coral);
  font-size: 0.66rem;
  font-weight: 850;
  white-space: nowrap;
}

.weather-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(44px, 1fr));
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.weather-strip::-webkit-scrollbar {
  display: none;
}

.weather-day {
  min-width: 47px;
  padding: 9px 4px;
  border-radius: 13px;
  text-align: center;
  background: #f2f0e8;
}

.weather-day strong,
.weather-day span,
.weather-day small {
  display: block;
}

.weather-day strong {
  font-size: 0.65rem;
  text-transform: uppercase;
}

.weather-day span {
  margin: 5px 0 4px;
  font-size: 1.25rem;
}

.weather-day small {
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.weather-day.is-today {
  background: var(--navy);
  color: #fff;
}

.weather-day.is-today small { color: rgba(255, 255, 255, 0.8); }

.fine-print,
.muted,
.privacy-note {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.fine-print {
  margin: 12px 0 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.quick-card {
  min-height: 122px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
}

.quick-card span,
.quick-card strong,
.quick-card small {
  display: block;
}

.quick-card span {
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 1.2rem;
  font-weight: 900;
}

.quick-card strong {
  font-size: 0.88rem;
}

.quick-card small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.guide-banner {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  gap: 13px;
  width: 100%;
  margin: 16px 0 0;
  padding: 15px;
  align-items: center;
  border: 0;
  border-radius: 18px;
  color: #fff;
  text-align: left;
  background: linear-gradient(125deg, var(--coral), #c74b36);
  box-shadow: 0 12px 28px rgba(199, 75, 54, 0.2);
}

.guide-banner-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--navy);
  font-size: 1.4rem;
  background: var(--gold);
}

.guide-banner small,
.guide-banner strong,
.guide-banner em { display: block; }
.guide-banner small { color: rgba(255,255,255,.7); font-size: .61rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.guide-banner strong { margin: 3px 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.1; }
.guide-banner em { color: rgba(255,255,255,.75); font-size: .65rem; font-style: normal; }
.guide-banner-arrow { font-size: 1.5rem; }

.filter-row {
  display: flex;
  gap: 8px;
  margin: -4px 0 10px;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar { display: none; }

.filter-chip {
  display: inline-flex;
  min-height: 44px;
  padding: 0 9px 0 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  background: transparent;
}

.filter-chip b {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  color: var(--teal);
  font-size: .62rem;
  background: var(--teal-light);
}

.filter-chip.active {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.filter-chip.active b { color: var(--navy); background: var(--gold); }

.route-filter-status {
  display: grid;
  grid-template-columns: 34px auto minmax(0,1fr);
  gap: 8px;
  min-height: 46px;
  margin: 0 0 15px;
  padding: 8px 10px;
  align-items: center;
  border-radius: 13px;
  color: var(--ink-soft);
  background: var(--teal-light);
}

.route-filter-status > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  background: var(--teal);
}

.route-filter-status strong { color: var(--ink); font-size: .76rem; white-space: nowrap; }
.route-filter-status small { font-size: .66rem; line-height: 1.35; }

.route-list {
  position: relative;
}

.route-list::before {
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 24px;
  width: 1px;
  content: "";
  background: rgba(19, 47, 53, 0.15);
}

.day-card {
  position: relative;
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 26px;
  gap: 13px;
  width: 100%;
  min-height: 112px;
  margin-bottom: 11px;
  padding: 17px 14px 17px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(18, 52, 59, 0.04);
}

.day-card.today {
  border-color: rgba(230, 108, 79, 0.5);
  box-shadow: 0 9px 24px rgba(230, 108, 79, 0.1);
}

.day-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 0 14px 14px 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  background: var(--teal);
}

.day-card.today .day-number { background: var(--coral); }

.day-card h3 {
  margin: 4px 0 6px;
  font-size: 1rem;
}

.day-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.38;
}

.day-label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--coral);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-facts {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 700;
}

.guide-chip {
  display: inline-flex;
  width: fit-content;
  margin-top: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--teal);
  font-size: .6rem;
  font-weight: 850;
  background: var(--teal-light);
}

.day-arrow {
  align-self: center;
  color: var(--teal);
  font-size: 1.25rem;
}

.progress-line {
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e8e0;
}

.progress-line::-webkit-progress-bar { background: #e9e8e0; border-radius: 999px; }
.progress-line::-webkit-progress-value,
.progress-line::-moz-progress-bar {
  border-radius: inherit;
  background: var(--teal);
  transition: inline-size 180ms ease;
}

.progress-copy {
  margin: 8px 0 14px;
  color: var(--ink-soft);
  font-size: 0.69rem;
}

.decision-stack {
  display: grid;
  gap: 9px;
}

.decision-row {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border-radius: 15px;
  background: #f1efe6;
}

.decision-weather {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 12px;
  font-size: 1.25rem;
  background: #fff;
}

.decision-row strong,
.decision-row small {
  display: block;
}

.decision-row strong { font-size: 0.82rem; }
.decision-row small { margin-top: 4px; color: var(--ink-soft); font-size: 0.69rem; line-height: 1.35; }

.toll-card,
.install-card {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  padding: 23px;
  border-radius: 21px;
  color: #fff;
  background: var(--navy);
}

.toll-card::after,
.install-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  content: "";
  border: 28px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.kicker.light { color: #f3c974; }

.toll-price {
  display: flex;
  gap: 10px;
  margin: 18px 0 12px;
  align-items: baseline;
}

.toll-price strong { font-size: 2rem; letter-spacing: -0.06em; }
.toll-price span { color: rgba(255, 255, 255, 0.6); font-size: 0.7rem; }

.toll-card ul {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.65;
}

.toll-card a {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.tool-card {
  min-height: 132px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  background: var(--paper);
}

.tool-card span,
.tool-card strong,
.tool-card small { display: block; }

.tool-card span {
  display: grid;
  width: 35px;
  height: 35px;
  margin-bottom: 19px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  background: var(--teal);
}

.tool-card:nth-child(2) span { background: var(--coral); }
.tool-card:nth-child(3) span { color: var(--navy); background: var(--gold); }
.tool-card:nth-child(4) span { background: var(--navy); }

.tool-card strong { font-size: 0.84rem; }
.tool-card small { margin-top: 4px; color: var(--ink-soft); font-size: 0.68rem; line-height: 1.35; }

.private-panel label {
  display: block;
  margin: 17px 0 7px;
  font-size: 0.73rem;
  font-weight: 800;
}

textarea {
  width: 100%;
  resize: vertical;
  padding: 13px;
  border: 1px solid rgba(19, 47, 53, 0.18);
  border-radius: 13px;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.45;
  background: #f8f6ee;
}

.saved-state {
  margin: 7px 0 0;
  color: var(--teal);
  font-size: 0.67rem;
}

.install-card {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  justify-content: space-between;
}

.install-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.install-card p:not(.kicker) { max-width: 340px; margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: .72rem; line-height: 1.4; }
.install-card button { position: relative; z-index: 2; flex: 0 0 auto; color: var(--navy); background: var(--gold); }

.privacy-note {
  margin: 22px auto 0;
  max-width: 460px;
  text-align: center;
}

.game-score,
.bingo-status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #a34731;
  font-size: .68rem;
  font-weight: 850;
  background: var(--coral-soft);
}

.player-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: -3px 0 14px;
}

.player-button {
  display: flex;
  min-width: 0;
  min-height: 76px;
  padding: 10px 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink-soft);
  background: var(--paper);
}

.player-button span,
.player-button strong,
.player-button small { display: block; }
.player-button span { font-size: 1.15rem; }
.player-button strong { margin-top: 3px; font-size: .76rem; }
.player-button small { margin-top: 1px; font-size: .59rem; }
.player-button.active { color: #fff; border-color: var(--teal); background: var(--teal); box-shadow: 0 9px 20px rgba(46,112,103,.16); }
.player-button.compact { min-height: 62px; padding: 7px 3px; }
.dialog-player-switch { margin: 14px 0; }

.passport-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #12343b, #245c60);
  box-shadow: var(--shadow);
}

.passport-card::after {
  position: absolute;
  right: -48px;
  bottom: -68px;
  width: 175px;
  height: 175px;
  content: "";
  border: 25px solid rgba(255,255,255,.055);
  border-radius: 50%;
}

.passport-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
}

.passport-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px dashed rgba(255,255,255,.5);
  border-radius: 50%;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 950;
  background: var(--gold);
}

.passport-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; }
.passport-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 13px; border-block: 1px solid rgba(255,255,255,.14); }
.passport-stats div { padding: 11px 5px; text-align: center; }
.passport-stats div + div { border-left: 1px solid rgba(255,255,255,.14); }
.passport-stats strong, .passport-stats span { display: block; }
.passport-stats strong { font-size: 1rem; }
.passport-stats span { margin-top: 2px; color: rgba(255,255,255,.56); font-size: .6rem; }
.passport-progress { position: relative; z-index: 1; display: block; width: 100%; height: 7px; appearance: none; overflow: hidden; border: 0; border-radius: 99px; background: rgba(255,255,255,.12); }
.passport-progress::-webkit-progress-bar { background: rgba(255,255,255,.12); border-radius: 99px; }
.passport-progress::-webkit-progress-value,
.passport-progress::-moz-progress-bar { border-radius: inherit; background: var(--gold); transition: inline-size 180ms ease; }
.passport-card > p { position: relative; z-index: 1; margin: 9px 0 0; color: rgba(255,255,255,.66); font-size: .67rem; line-height: 1.4; }

.no-margin { margin: 0; }
.mission-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #f5f0e3;
}

.mission-card input { position: absolute; opacity: 0; }
.mission-tick { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; font-size: 1.1rem; font-weight: 900; background: var(--coral); }
.mission-card small, .mission-card strong, .mission-card em { display: block; }
.mission-card small { color: var(--coral); font-size: .59rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.mission-card strong { margin: 3px 0 5px; font-size: .86rem; }
.mission-card em { color: var(--ink-soft); font-size: .7rem; font-style: normal; line-height: 1.4; }
.mission-card b { padding: 5px 7px; border-radius: 999px; color: var(--teal); font-size: .59rem; background: var(--teal-light); }
.mission-card.complete { background: var(--teal-light); }
.mission-card.complete .mission-tick { background: var(--teal); }
.mission-card input:focus-visible + .mission-tick { outline: 3px solid rgba(230,108,79,.38); outline-offset: 3px; }
.open-guide-button { width: 100%; min-height: 42px; margin-top: 9px; border: 0; border-radius: 12px; color: #fff; font-size: .72rem; font-weight: 850; background: var(--navy); }

.quiz-card { margin-top: 4px; }
.quiz-theme { margin: 0 0 6px; color: var(--coral); font-size: .62rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.quiz-card h4 { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; line-height: 1.2; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 9px; min-height: 45px; padding: 8px 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-align: left; font-size: .75rem; font-weight: 750; background: #fff; }
.quiz-option span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; color: var(--teal); font-size: .64rem; background: var(--teal-light); }
.quiz-option.correct { border-color: #72a398; background: #e3f1ec; }
.quiz-option.wrong { border-color: #e3947f; background: #fbe6df; }
.quiz-option:disabled { opacity: 1; }
.quiz-hint { margin: 9px 0 0; color: var(--ink-soft); font-size: .62rem; }
.quiz-feedback { margin: 10px 0 0; padding: 11px; border-radius: 11px; color: var(--ink-soft); font-size: .68rem; line-height: 1.4; background: #f0eee6; }
.quiz-feedback strong { display: block; margin-bottom: 3px; color: var(--ink); }
.quiz-feedback.is-correct { background: var(--teal-light); }
.quiz-feedback.is-wrong { background: var(--coral-soft); }

.bingo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.bingo-cell { min-height: 100px; padding: 10px 5px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #f5f2e8; }
.bingo-cell span, .bingo-cell strong, .bingo-cell small { display: block; }
.bingo-cell span { font-size: 1.35rem; }
.bingo-cell strong { margin: 5px 0 3px; font-size: .68rem; }
.bingo-cell small { color: var(--ink-soft); font-size: .55rem; }
.bingo-cell.found { color: #fff; border-color: var(--teal); background: var(--teal); }
.bingo-cell.found small { color: rgba(255,255,255,.68); }

.badge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.badge-card { min-height: 105px; padding: 13px; border: 1px dashed rgba(19,47,53,.2); border-radius: 15px; color: #8a9b9e; background: #f1efe7; }
.badge-card span, .badge-card strong, .badge-card small { display: block; }
.badge-card span { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; font-weight: 900; background: #e0dfd7; }
.badge-card strong { margin-top: 9px; color: inherit; font-size: .74rem; }
.badge-card small { margin-top: 3px; font-size: .59rem; }
.badge-card.unlocked { color: var(--navy); border-style: solid; border-color: rgba(232,173,71,.6); background: var(--gold-soft); }
.badge-card.unlocked span { background: var(--gold); }

.bottom-nav {
  position: fixed;
  z-index: 20;
  right: max(0px, calc((100vw - 760px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 760px) / 2));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 12px calc(8px + var(--safe-bottom));
  border-top: 1px solid rgba(19, 47, 53, 0.1);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 -12px 30px rgba(18, 52, 59, 0.08);
  backdrop-filter: blur(18px);
}

.nav-item {
  display: flex;
  min-height: 52px;
  padding: 6px 2px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: #829699;
  font-size: 0.65rem;
  font-weight: 800;
  background: transparent;
}

.nav-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:first-child svg { fill: currentColor; stroke: none; }

.nav-item.active {
  color: var(--teal);
  background: rgba(46, 112, 103, 0.07);
}

.day-dialog {
  width: min(calc(100% - 16px), 744px);
  max-height: calc(100vh - 38px);
  margin: auto auto 8px;
  padding: 23px 20px calc(26px + var(--safe-bottom));
  overflow-y: auto;
  border: 0;
  border-radius: 25px 25px 18px 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 -20px 70px rgba(5, 25, 29, 0.35);
}

.day-dialog::backdrop {
  background: rgba(8, 31, 36, 0.62);
  backdrop-filter: blur(3px);
}

.dialog-handle {
  width: 45px;
  height: 4px;
  margin: -8px auto 15px;
  border-radius: 99px;
  background: rgba(19, 47, 53, 0.16);
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0 0 3px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.45rem;
  background: #f0eee6;
}

.dialog-date {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-dialog h2 {
  max-width: calc(100% - 48px);
  font-size: 2.15rem;
  line-height: 1.02;
}

.dialog-summary {
  margin: 12px 0 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.fact {
  padding: 12px 10px;
  border-radius: 13px;
  background: #f2f0e8;
}

.fact strong,
.fact span { display: block; }
.fact strong { font-size: 0.82rem; }
.fact span { margin-top: 3px; color: var(--ink-soft); font-size: 0.61rem; }

.dialog-tabs {
  position: sticky;
  z-index: 4;
  top: -23px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 0 -4px 4px;
  padding: 9px 4px;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(14px);
}

.dialog-tabs button {
  min-height: 39px;
  border: 0;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: .7rem;
  font-weight: 850;
  background: #f0eee6;
}

.dialog-tabs button span { display: inline-grid; min-width: 18px; height: 18px; margin-left: 2px; place-items: center; border-radius: 99px; font-size: .55rem; background: rgba(19,47,53,.08); }
.dialog-tabs button.active { color: #fff; background: var(--teal); }
.dialog-tabs button.active span { background: rgba(255,255,255,.18); }
.day-panel[hidden] { display: none; }

.guide-intro {
  position: relative;
  margin: 13px 0 12px;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  color: #fff;
  background: var(--navy);
}

.guide-intro::after { position: absolute; right: -30px; bottom: -55px; width: 140px; height: 140px; content: ""; border: 22px solid rgba(255,255,255,.055); border-radius: 50%; }
.guide-intro h3 { position: relative; z-index: 1; margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.guide-intro > p:last-child { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.5; }
.place-list { display: grid; gap: 9px; }
.place-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.place-card summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 11px; padding: 15px; align-items: start; cursor: pointer; list-style: none; }
.place-card summary::-webkit-details-marker { display: none; }
.place-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; font-size: 1.28rem; background: var(--gold-soft); }
.place-card summary small, .place-card summary strong, .place-card summary em { display: block; }
.place-card summary small { color: var(--coral); font-size: .57rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.place-card summary strong { margin: 2px 0 4px; font-size: .88rem; }
.place-card summary em { color: var(--ink-soft); font-size: .67rem; font-style: normal; line-height: 1.35; }
.place-card summary b { align-self: center; color: var(--teal); font-size: 1.2rem; font-weight: 500; transition: transform 150ms ease; }
.place-card[open] summary b { transform: rotate(45deg); }
.place-card[open] summary { background: #fbf8ef; }
.place-body { padding: 0 15px 16px 70px; }
.place-body > p { margin: 0 0 12px; color: var(--ink-soft); font-size: .75rem; line-height: 1.55; }
.curiosity-box,
.place-challenge { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 8px; margin-top: 8px; padding: 10px; border-radius: 12px; background: var(--gold-soft); }
.place-challenge { background: var(--teal-light); }
.curiosity-box p,
.place-challenge p { margin: 0; color: var(--ink-soft); font-size: .67rem; line-height: 1.4; }
.curiosity-box strong,
.place-challenge strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: .63rem; text-transform: uppercase; letter-spacing: .05em; }
.place-body > a { display: inline-flex; margin-top: 11px; color: var(--teal); font-size: .65rem; font-weight: 850; text-underline-offset: 3px; }
.guide-source-note { margin: 14px 5px 0; color: var(--ink-soft); font-size: .62rem; line-height: 1.45; }

.game-intro { display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 12px; margin: 13px 0; padding: 17px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--coral), #b94430); }
.game-intro > span { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 14px; color: var(--navy); font-size: 1.35rem; background: var(--gold); }
.game-intro h3 { margin: 0 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.game-intro p:not(.kicker) { margin: 0; color: rgba(255,255,255,.75); font-size: .67rem; line-height: 1.4; }
.day-panel[data-day-panel="jugar"] .quiz-card { margin-top: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #faf7ef; }

.dialog-section {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.dialog-section h3 { margin-bottom: 10px; }
.dialog-section p { margin: 0; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.52; }
.dialog-section.plan-b { margin: 3px 0; padding: 16px; border: 0; border-radius: 15px; background: var(--sky); }
.dialog-section.plan-b h3 { color: #25575c; }
.dialog-section.restaurant { background: transparent; }

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-list a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.dialog-actions a:first-child { color: #fff; background: var(--teal); }
.dialog-actions a:last-child { color: var(--navy); background: var(--gold-soft); }

.day-note {
  width: 100%;
  min-height: 90px;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: calc(84px + var(--safe-bottom));
  left: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  margin: 0 auto;
  padding: 11px 15px;
  border-radius: 11px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 750;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .hero { padding-inline: 44px; }
  main { padding-inline: 38px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
  .day-dialog { margin-bottom: 14px; padding-inline: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Version 2 · visual guide and resilient mobile navigation */
body[data-view]:not([data-view="hoy"]) .hero { display: none; }
body[data-view]:not([data-view="hoy"]) .hero + main {
  margin-top: 0;
  padding-top: calc(25px + env(safe-area-inset-top, 0px));
  border-radius: 0;
}

.view-intro {
  margin: -6px 3px 18px;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.5;
}

.route-list::before { display: none; }
.day-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 21px;
  background: var(--paper);
}
.day-card-photo {
  position: relative;
  display: block;
  height: 148px;
  overflow: hidden;
  background: var(--navy);
}
.day-card-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 38%, rgba(7, 30, 34, .78));
}
.day-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.day-card-photo .day-number {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: var(--coral);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.day-photo-label {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.day-card-copy { display: block; padding: 16px 46px 18px 17px; }
.day-card h3 { margin-top: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.day-card p { font-size: .78rem; line-height: 1.48; }
.day-facts { flex-wrap: wrap; font-size: .63rem; }
.day-facts span { padding: 5px 7px; border-radius: 99px; background: #f1efe7; }
.guide-chip { border-radius: 9px; }
.day-arrow { position: absolute; right: 17px; bottom: 26px; }

.game-howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: -2px 0 14px;
  padding: 8px;
  border-radius: 15px;
  background: var(--navy);
}
.game-howto span { color: rgba(255,255,255,.72); font-size: .59rem; font-weight: 750; text-align: center; }
.game-howto b { display: inline-grid; width: 20px; height: 20px; margin-right: 2px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--gold); }
.game-day-browser { margin: 0 0 15px; padding: 16px 0 14px; border-block: 1px solid var(--line); }
.game-day-heading { display: flex; padding: 0 2px 10px; align-items: flex-end; justify-content: space-between; }
.game-day-heading h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.game-day-heading > span { color: var(--ink-soft); font-size: .63rem; font-weight: 800; }
.game-day-switch { display: flex; gap: 7px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.game-day-switch::-webkit-scrollbar { display: none; }
.game-day-button {
  position: relative;
  display: grid;
  min-width: 54px;
  min-height: 58px;
  padding: 7px 5px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  background: var(--paper);
  scroll-snap-align: center;
}
.game-day-button span { font-size: .86rem; font-weight: 900; }
.game-day-button small { font-size: .55rem; font-weight: 750; text-transform: uppercase; }
.game-day-button b { position: absolute; top: -5px; right: -4px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; font-size: .55rem; background: var(--teal); }
.game-day-button.active { color: #fff; border-color: var(--coral); background: var(--coral); box-shadow: 0 8px 18px rgba(230,108,79,.2); }

.mission-card { grid-template-columns: 42px minmax(0, 1fr) auto; }
.mission-action {
  grid-column: 2 / -1;
  min-height: 46px;
  margin-top: 2px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  background: var(--coral);
}
.mission-card.complete .mission-action { color: var(--teal); background: rgba(255,255,255,.75); }
.open-guide-button { min-height: 46px; }

.day-dialog {
  width: min(100%, 760px);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  padding: 0 18px calc(30px + var(--safe-bottom));
  overflow-x: hidden;
  border-radius: 0;
  box-shadow: none;
}
.day-dialog::backdrop { background: rgba(8,31,36,.82); }
.dialog-handle { display: none; }
.dialog-close {
  position: fixed;
  z-index: 16;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: max(12px, calc((100vw - 736px) / 2));
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(11,37,43,.78);
  backdrop-filter: blur(12px);
}
.day-detail-hero {
  position: relative;
  height: 252px;
  margin: 0 -18px;
  overflow: hidden;
  background: var(--navy);
}
.day-detail-hero > img { width: 100%; height: 100%; object-fit: cover; }
.day-detail-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,28,.1), rgba(5,24,28,.85)); }
.day-detail-hero figcaption { position: absolute; right: 20px; bottom: 25px; left: 20px; color: #fff; }
.day-detail-hero figcaption p { margin: 0 0 7px; color: #f4cb77; font-size: .65rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.day-detail-hero figcaption h2 { max-width: calc(100% - 20px); color: #fff; font-size: 2.3rem; text-shadow: 0 3px 18px rgba(0,0,0,.25); }
.day-detail-hero figcaption span { display: block; margin-top: 7px; color: rgba(255,255,255,.76); font-size: .71rem; font-weight: 700; }
.photo-credit { position: absolute; z-index: 2; right: 9px; bottom: 6px; color: rgba(255,255,255,.68); font-size: .48rem; text-decoration: none; }
.day-detail-lead { padding: 19px 0 8px; }
.day-detail-lead > p { margin: 0 0 15px; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.detail-facts .fact { min-height: 68px; }
.detail-facts .fact strong { font-size: .8rem; }

.dialog-tabs {
  top: 0;
  display: flex;
  gap: 6px;
  margin: 0 -18px 7px;
  padding: 10px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dialog-tabs::-webkit-scrollbar { display: none; }
.dialog-tabs button { min-width: max-content; min-height: 46px; padding: 0 14px; flex: 0 0 auto; font-size: .7rem; white-space: nowrap; }

.plan-explainer,
.alternatives-intro {
  margin: 13px 0 22px;
  padding: 20px;
  border-radius: 19px;
  color: #fff;
  background: var(--navy);
}
.plan-explainer h3,
.alternatives-intro h3 { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.36rem; }
.plan-explainer > p:last-child,
.alternatives-intro > p:last-child { margin: 0; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.55; }
.flight-card { margin: 0 0 23px; overflow: hidden; border: 1px solid rgba(19,47,53,.1); border-radius: 21px; background: #fff; box-shadow: 0 14px 34px rgba(18,52,59,.09); }
.flight-card-header { display: flex; min-height: 77px; padding: 17px 18px; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(125deg, #a6192e, #6f1020); }
.flight-card-header small,.flight-card-header strong { display: block; }
.flight-card-header small { color: rgba(255,255,255,.7); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.flight-card-header strong { margin-top: 4px; font-size: .93rem; }
.flight-card-header strong b { color: #ffd5dc; }
.flight-card-header em { padding: 6px 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; font-size: .57rem; font-style: normal; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.flight-route { display: grid; grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr); gap: 5px; padding: 19px 17px 17px; align-items: center; }
.flight-stop time,.flight-stop strong,.flight-stop small { display: block; }
.flight-stop time { color: var(--coral); font-size: 1.13rem; font-weight: 950; }
.flight-stop strong { margin-top: 3px; font-size: 1.8rem; letter-spacing: .03em; line-height: 1; }
.flight-stop small { margin-top: 6px; color: var(--ink-soft); font-size: .6rem; line-height: 1.35; }
.flight-stop:last-child { text-align: right; }
.flight-path { min-width: 0; text-align: center; }
.flight-path > small { display: block; color: var(--ink-soft); font-size: .55rem; font-weight: 800; }
.flight-path > span { position: relative; display: block; height: 19px; margin-top: 5px; }
.flight-path i { position: absolute; top: 9px; right: 2px; left: 2px; height: 1px; background: rgba(19,47,53,.22); }
.flight-path b { position: relative; display: inline-grid; width: 25px; height: 19px; place-items: center; color: #a6192e; font-size: .88rem; background: #fff; }
.flight-summary { display: grid; grid-template-columns: 1.35fr 1fr; border-top: 1px dashed rgba(19,47,53,.16); }
.flight-summary p { min-width: 0; margin: 0; padding: 13px 16px; }
.flight-summary p + p { border-left: 1px dashed rgba(19,47,53,.16); }
.flight-summary span,.flight-summary strong { display: block; }
.flight-summary span { color: var(--ink-soft); font-size: .54rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.flight-summary strong { margin-top: 4px; font-size: .67rem; line-height: 1.4; }
.flight-more { border-top: 1px solid rgba(19,47,53,.1); }
.flight-more summary { display: flex; min-height: 48px; padding: 0 17px; align-items: center; justify-content: space-between; color: var(--teal); font-size: .65rem; font-weight: 900; cursor: pointer; list-style: none; }
.flight-more summary::-webkit-details-marker { display: none; }
.flight-more summary::after { content: "+"; font-size: 1rem; }
.flight-more[open] summary::after { content: "−"; }
.flight-more > div { display: grid; grid-template-columns: 1fr; gap: 13px; padding: 0 17px 17px; }
.flight-more h4 { margin: 0 0 7px; font-size: .65rem; }
.flight-more ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.flight-more li { position: relative; padding-left: 15px; color: var(--ink-soft); font-size: .62rem; line-height: 1.42; }
.flight-more li::before { position: absolute; left: 0; content: "·"; color: #a6192e; font-weight: 950; }
.car-card { margin: 0 0 23px; overflow: hidden; border: 1px solid rgba(19,47,53,.1); border-radius: 21px; background: #fff; box-shadow: 0 14px 34px rgba(18,52,59,.09); }
.car-card-header { display: flex; min-height: 77px; padding: 17px 18px; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(125deg, #2e7067, #17403b); }
.car-card-header small,.car-card-header strong { display: block; }
.car-card-header small { color: rgba(255,255,255,.72); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.car-card-header strong { margin-top: 4px; font-size: .93rem; }
.car-card-header strong b { color: #bff0e2; font-size: .82rem; }
.car-card-header em { flex: 0 0 auto; padding: 6px 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; font-size: .57rem; font-style: normal; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.car-route { display: grid; grid-template-columns: minmax(0,1fr) 60px minmax(0,1fr); gap: 5px; padding: 18px 17px 15px; align-items: center; }
.car-stop small,.car-stop time,.car-stop b,.car-stop span { display: block; }
.car-stop small { color: var(--ink-soft); font-size: .55rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.car-stop time { margin-top: 4px; color: var(--teal); font-size: 1.35rem; font-weight: 950; }
.car-stop b { margin-top: 2px; font-size: .72rem; }
.car-stop span { margin-top: 4px; color: var(--ink-soft); font-size: .58rem; line-height: 1.35; }
.car-stop.is-active time { color: var(--coral); }
.car-route .car-stop:last-child { text-align: right; }
.car-path { min-width: 0; text-align: center; }
.car-path > span { position: relative; display: block; height: 19px; }
.car-path i { position: absolute; top: 9px; right: 2px; left: 2px; height: 1px; background: rgba(19,47,53,.22); }
.car-path b { position: relative; display: inline-grid; width: 27px; height: 19px; place-items: center; font-size: .82rem; background: #fff; }
.car-note { margin: 0 17px 15px; padding: 11px 13px; border-radius: 12px; color: var(--ink-soft); font-size: .69rem; line-height: 1.5; background: var(--teal-light); }
.car-more { border-top: 1px solid rgba(19,47,53,.1); }
.content-heading { margin: 0 0 14px; }
.content-heading h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.day-timeline > ol { margin: 0; padding: 0; list-style: none; }
.timeline-item { display: grid; grid-template-columns: 50px 14px minmax(0, 1fr); gap: 9px; min-height: 103px; }
.timeline-item time { padding-top: 3px; color: var(--coral); font-size: .67rem; font-weight: 900; }
.timeline-line { position: relative; width: 2px; height: 100%; margin: 0 auto; background: rgba(46,112,103,.22); }
.timeline-line::before { position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; content: ""; border: 3px solid var(--paper); border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px rgba(46,112,103,.25); transform: translateX(-50%); }
.timeline-item:last-child .timeline-line { background: linear-gradient(rgba(46,112,103,.22), transparent); }
.timeline-item div { padding: 0 0 21px; }
.timeline-item h4 { margin: 0 0 5px; font-size: .89rem; }
.timeline-item p { margin: 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.48; }
.timeline-item small { display: inline-flex; margin-top: 8px; padding: 4px 7px; border-radius: 99px; color: var(--teal); font-size: .59rem; font-weight: 800; background: var(--teal-light); }
.essentials-card { margin: 3px 0 18px; padding: 19px; border: 1px solid rgba(232,173,71,.42); border-radius: 18px; background: var(--gold-soft); }
.essentials-card h3 { font-family: Georgia, "Times New Roman", serif; }
.essentials-card ul { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.essentials-card li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: .75rem; }
.essentials-card li::before { position: absolute; left: 0; content: "✓"; color: var(--teal); font-weight: 900; }
.decision-callout { margin: 0 0 3px; padding: 16px; border: 0; border-radius: 15px; background: var(--sky); }

/* Version 2.2 · guía gastronómica visual */
.food-guide { margin: 20px 0 22px; scroll-margin-top: 70px; }
.food-guide-heading { display: flex; gap: 12px; margin-bottom: 8px; align-items: end; justify-content: space-between; }
.food-guide-heading h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.08; }
.food-guide-heading > span { flex: 0 0 auto; padding: 6px 8px; border-radius: 99px; color: var(--teal); font-size: .57rem; font-weight: 850; background: var(--teal-light); }
.food-guide-intro { margin: 0 0 13px; color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }
.food-slider { position: relative; }
.food-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.food-carousel::-webkit-scrollbar { display: none; }
.food-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 13px 30px rgba(18,52,59,.08); scroll-snap-align: start; scroll-snap-stop: always; }
.food-card-photo { position: relative; height: 205px; margin: 0; overflow: hidden; background: var(--navy); }
.food-card-photo::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, rgba(5,24,28,.08) 35%, rgba(5,24,28,.76)); }
.food-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.food-card-label,
.food-card-price { position: absolute; z-index: 2; top: 13px; padding: 6px 8px; border-radius: 99px; font-size: .57rem; font-weight: 900; letter-spacing: .05em; }
.food-card-label { left: 13px; color: var(--navy); text-transform: uppercase; background: var(--gold); }
.food-card-price { right: 13px; color: #fff; background: rgba(12,47,52,.8); backdrop-filter: blur(8px); }
.food-card-photo > a { position: absolute; z-index: 3; right: 10px; bottom: 8px; left: 10px; color: rgba(255,255,255,.7); font-size: .49rem; text-align: right; text-decoration: none; }
.food-card-body { padding: 17px; }
.food-card-body h4 { margin: 3px 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 1.38rem; line-height: 1.1; }
.food-dish { display: grid; grid-template-columns: 34px minmax(0,1fr); margin: 0 0 12px; padding: 12px; align-items: center; border-radius: 14px; color: var(--navy); background: var(--gold-soft); }
.food-dish > span { grid-row: 1 / 3; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; color: #fff; background: var(--coral); }
.food-dish strong { font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; }
.food-dish { font-size: .72rem; line-height: 1.35; }
.food-why { margin: 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.52; }
.food-facts { display: grid; gap: 7px; margin: 14px 0; }
.food-facts span { display: grid; grid-template-columns: 24px 1fr; gap: 7px; min-height: 36px; padding: 7px 9px; align-items: center; border-radius: 11px; color: var(--ink-soft); font-size: .65rem; font-weight: 720; background: #f2f0e8; }
.food-facts b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; color: var(--teal); font-size: .68rem; background: var(--teal-light); }
.food-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.food-actions a { display: grid; min-height: 44px; padding: 0 10px; place-items: center; border: 1px solid var(--teal); border-radius: 12px; color: var(--teal); font-size: .67rem; font-weight: 850; text-decoration: none; }
.food-actions a:first-child { color: #fff; background: var(--teal); }
.food-slider-arrow { position: absolute; z-index: 5; top: 79px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; font-size: 1.45rem; background: rgba(8,35,40,.76); box-shadow: 0 8px 20px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.food-slider-arrow.previous { left: 9px; }
.food-slider-arrow.next { right: 9px; }
.food-slider-arrow:disabled { opacity: .25; }
.food-slider-footer { display: flex; min-height: 36px; padding: 10px 4px 0; align-items: center; justify-content: space-between; }
.food-dots { display: flex; gap: 0; }
.food-dots button { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; }
.food-dots button::before { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; content: ""; border-radius: 99px; background: #c9cbc4; transition: width 160ms ease, background 160ms ease; transform: translate(-50%, -50%); }
.food-dots button.active::before { width: 24px; background: var(--coral); }
.food-slider-footer > span { color: var(--ink-soft); font-size: .59rem; font-weight: 850; }
.food-smart-tip { display: grid; grid-template-columns: 38px minmax(0,1fr); margin: 10px 0 0; padding: 13px; border-radius: 14px; color: var(--ink-soft); font-size: .68rem; line-height: 1.45; background: var(--sky); }
.food-smart-tip > span { grid-row: 1 / 3; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; color: #fff; background: var(--teal); }
.food-smart-tip strong { color: var(--navy); font-size: .59rem; letter-spacing: .07em; text-transform: uppercase; }
.food-source-note { margin: 8px 2px 0; color: var(--ink-soft); font-size: .55rem; line-height: 1.4; }
.day-game-cta { display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; gap: 11px; width: 100%; min-height: 75px; margin: 17px 0 7px; padding: 13px; align-items: center; border: 0; border-radius: 17px; color: #fff; text-align: left; background: linear-gradient(135deg, var(--coral), #bd4f38); }
.day-game-cta > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--navy); font-size: 1.15rem; background: var(--gold); }
.day-game-cta strong,.day-game-cta small { display: block; }
.day-game-cta strong { font-size: .79rem; }
.day-game-cta small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: .62rem; }

.alternative-list { display: grid; gap: 12px; padding-bottom: 15px; }
.alternative-card { padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 10px 24px rgba(18,52,59,.05); }
.alternative-top { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.alternative-top span { color: var(--coral); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.alternative-top small { padding: 5px 7px; border-radius: 99px; color: var(--teal); font-size: .58rem; font-weight: 800; background: var(--teal-light); }
.alternative-card h4 { margin: 11px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 1.17rem; }
.alternative-card > p { margin: 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.5; }
.alternative-meta { display: flex; gap: 7px; margin: 12px 0; }
.alternative-meta span { padding: 5px 7px; border-radius: 8px; color: var(--ink-soft); font-size: .58rem; font-weight: 750; background: #f1efe7; }
.alternative-card ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.alternative-card li { display: grid; grid-template-columns: 28px 1fr; align-items: center; color: var(--ink-soft); font-size: .69rem; }
.alternative-card li b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 8px; color: #fff; font-size: .51rem; background: var(--teal); }

.guide-intro { margin-top: 13px; }
.place-card summary { min-height: 88px; padding: 16px; }
.place-card summary strong { font-size: .94rem; }
.place-card summary em { font-size: .72rem; line-height: 1.42; }
.place-body { padding: 0 16px 18px; }
.place-body > p { font-size: .79rem; line-height: 1.58; }
.curiosity-box p, .place-challenge p { font-size: .71rem; }
.place-body > a { min-height: 44px; align-items: center; font-size: .69rem; }

.app-recovery-panel button { width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: 13px; color: #fff; font-size: .74rem; font-weight: 850; background: var(--navy); }
.install-banner { position: fixed; z-index: 50; right: 12px; bottom: calc(84px + var(--safe-bottom)); left: 12px; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px 11px; width: min(calc(100% - 24px), 720px); margin: 0 auto; padding: 13px; align-items: center; border-radius: 18px; color: #fff; background: var(--navy-deep); box-shadow: 0 18px 48px rgba(0,0,0,.25); }
.install-banner[hidden] { display: none; }
.install-banner-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--navy); font-size: 1.25rem; font-weight: 950; background: var(--gold); }
.install-banner-copy { min-width: 0; }
.install-banner-copy strong,.install-banner-copy small { display: block; }
.install-banner-copy strong { font-size: .78rem; }
.install-banner-copy small { margin-top: 3px; color: rgba(255,255,255,.68); font-size: .62rem; line-height: 1.35; }
.install-banner-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.install-banner-actions button { min-height: 44px; padding: 0 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; font-size: .68rem; font-weight: 900; }
.install-banner-actions .install-banner-primary { color: var(--navy); border-color: var(--gold); background: var(--gold); }
.install-banner-later { color: #fff; background: rgba(255,255,255,.08); }
.install-banner-actions button:disabled { opacity: .58; }
.update-banner { position: fixed; z-index: 50; right: 12px; bottom: calc(84px + var(--safe-bottom)); left: 12px; display: flex; width: min(calc(100% - 24px), 720px); margin: 0 auto; padding: 13px; align-items: center; justify-content: space-between; border-radius: 16px; color: #fff; background: var(--navy-deep); box-shadow: 0 18px 48px rgba(0,0,0,.25); }
.update-banner[hidden] { display: none; }
.update-banner strong,.update-banner small { display: block; }
.update-banner strong { font-size: .76rem; }
.update-banner small { margin-top: 2px; color: rgba(255,255,255,.66); font-size: .61rem; }
.update-banner button { min-height: 44px; padding: 0 13px; border: 0; border-radius: 11px; color: var(--navy); font-size: .68rem; font-weight: 900; background: var(--gold); }

@media (max-width: 359px) {
  main { padding-inline: 14px; }
  .hero-journey { gap: 8px; }
  .hero-journey b { font-size: 0.78rem; }
  .day-detail-hero,.dialog-tabs { margin-inline: -14px; }
  .day-dialog { padding-inline: 14px; }
  .day-detail-hero { height: 220px; }
  .day-detail-hero figcaption { right: 16px; left: 16px; }
  .day-detail-hero figcaption h2 { font-size: 1.95rem; }
  .player-button { min-height: 72px; }
  .game-howto span { font-size: .54rem; }
  .food-card-photo { height: 182px; }
  .food-slider-arrow { top: 69px; }
  .food-card-body { padding: 15px; }
  .food-guide-heading h3 { font-size: 1.22rem; }
}

@media (min-width: 700px) {
  .day-dialog { padding-inline: 34px; }
  .day-detail-hero,.dialog-tabs { margin-inline: -34px; }
  .day-detail-hero figcaption { right: 34px; left: 34px; }
  .day-detail-hero { height: 300px; }
  .detail-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flight-route { grid-template-columns: minmax(0,1fr) 130px minmax(0,1fr); padding-inline: 25px; }
  .flight-more > div { grid-template-columns: 1.35fr 1fr; }
  .alternative-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-card-photo { height: 210px; }
}

/* Version 2.1 · minijuegos en cada cambio de ubicación */
.location-day-status {
  min-width: 54px;
  padding: 7px 9px;
  border-radius: 99px;
  color: var(--teal);
  font-size: .62rem;
  font-weight: 900;
  text-align: center;
  background: var(--teal-light);
}
.location-games-panel > .muted { margin-bottom: 14px; }
.location-trail-progress { display: grid; gap: 7px; margin-bottom: 12px; }
.location-trail-progress > span { color: var(--ink-soft); font-size: .66rem; }
.location-trail-progress > span strong { color: var(--ink); font-size: .8rem; }
.location-trail-progress > progress { width: 100%; height: 7px; overflow: hidden; border: 0; border-radius: 99px; appearance: none; background: #e5e4dc; }
.location-trail-progress > progress::-webkit-progress-bar { border-radius: 99px; background: #e5e4dc; }
.location-trail-progress > progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
.location-trail-progress > progress::-moz-progress-bar { border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
.location-game-list { display: grid; gap: 9px; }
.location-game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(18,52,59,.045); }
.location-game-card summary { display: grid; grid-template-columns: 42px minmax(0,1fr) 22px; gap: 11px; min-height: 78px; padding: 13px; align-items: center; cursor: pointer; list-style: none; }
.location-game-card summary::-webkit-details-marker { display: none; }
.location-stop-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: #fff; font-size: .8rem; font-weight: 950; background: var(--coral); }
.location-stop-copy small,.location-stop-copy strong,.location-stop-copy em { display: block; }
.location-stop-copy small { color: var(--coral); font-size: .57rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.location-stop-copy strong { margin: 3px 0; font-size: .84rem; }
.location-stop-copy em { color: var(--ink-soft); font-size: .63rem; font-style: normal; }
.location-game-card summary > b { color: var(--teal); font-size: 1.05rem; text-align: center; }
.location-game-card[open] summary { background: #fbf8ef; }
.location-game-card.complete { border-color: rgba(46,112,103,.35); }
.location-game-card.complete .location-stop-number { background: var(--teal); }
.location-game-body { padding: 3px 13px 15px; }
.location-game-command { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 11px; padding: 13px; align-items: center; border-radius: 14px; color: #fff; background: var(--navy); }
.location-game-command > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--navy); font-size: 1.15rem; background: var(--gold); }
.location-game-command p { margin: 0; }
.location-game-command small,.location-game-command strong { display: block; }
.location-game-command small { margin-bottom: 4px; color: var(--gold); font-size: .58rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.location-game-command strong { color: #fff; font-size: .82rem; line-height: 1.38; }
.location-game-rules { display: grid; gap: 7px; margin: 9px 0; }
.location-game-rules p { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 9px; margin: 0; padding: 9px 10px; align-items: center; border-radius: 12px; background: var(--teal-light); }
.location-game-rules p:last-child { background: #f5f1e5; }
.location-game-rules p > span:first-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--teal); font-size: .9rem; background: #fff; }
.location-game-rules small,.location-game-rules strong { display: block; }
.location-game-rules small { margin-bottom: 2px; color: var(--teal); font-size: .56rem; font-weight: 950; letter-spacing: .05em; text-transform: uppercase; }
.location-game-rules strong { color: var(--ink); font-size: .68rem; line-height: 1.35; }
.location-game-actions { display: grid; gap: 7px; }
.location-game-star { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; width: 100%; min-height: 54px; padding: 7px 10px; align-items: center; border: 2px solid var(--coral); border-radius: 13px; color: var(--coral); text-align: left; background: #fff; }
.location-game-star > span:first-child { font-size: 1.55rem; line-height: 1; text-align: center; }
.location-game-star strong,.location-game-star small { display: block; }
.location-game-star strong { font-size: .73rem; }
.location-game-star small { margin-top: 2px; color: var(--ink-soft); font-size: .58rem; }
.location-game-star.is-complete { min-height: 46px; border: 1px solid var(--line); color: var(--coral); background: #fff; }
.location-game-star.is-complete > span:first-child { font-size: 1.1rem; }
.location-game-star.is-complete small { color: var(--ink-soft); }
.location-game-actions.has-next .location-next-button { order: -1; }
.location-next-button,.quiz-retry { width: 100%; min-height: 46px; border: 0; border-radius: 12px; color: #fff; font-size: .7rem; font-weight: 900; background: var(--teal); }
.location-next-copy { margin: 9px 2px 0; color: var(--ink-soft); font-size: .61rem; text-align: center; }
.quiz-retry { margin-top: 9px; color: var(--navy); background: var(--gold); }

.place-game-launch { display: grid; grid-template-columns: 38px minmax(0,1fr) 16px; gap: 9px; width: 100%; min-height: 62px; margin: 0 0 12px; padding: 10px; align-items: center; border: 0; border-radius: 13px; color: #fff; text-align: left; background: linear-gradient(135deg,var(--coral),#bf4f3a); }
.place-game-launch > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--navy); font-size: 1rem; background: var(--gold); }
.place-game-launch strong,.place-game-launch small { display: block; }
.place-game-launch strong { font-size: .72rem; }
.place-game-launch small { margin-top: 2px; color: rgba(255,255,255,.75); font-size: .59rem; }
.place-game-launch.complete { background: var(--teal); }
.place-game-launch.complete > span:first-child { color: #fff; background: rgba(255,255,255,.18); }
.place-body > p { font-size: .92rem; }
.curiosity-box p,.place-challenge p { font-size: .78rem; }

.dialog-bonus-game { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.dialog-bonus-game > h3 { margin-bottom: 11px; font-family: Georgia,"Times New Roman",serif; font-size: 1.08rem; }

.puzzle-host { margin-top: 2px; }
.puzzle-book { overflow: hidden; border: 1px solid #ded7c6; border-radius: 16px; background: #fffdf6; box-shadow: 0 9px 24px rgba(18,52,59,.07); }
.puzzle-book > header { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 11px; padding: 13px; align-items: start; color: #fff; background: var(--navy); }
.puzzle-book > header > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--navy); font-size: 1rem; font-weight: 950; background: var(--gold); }
.puzzle-book > header small,.puzzle-book > header strong,.puzzle-book > header p { display: block; }
.puzzle-book > header small { margin-bottom: 2px; color: var(--gold); font-size: .64rem; font-weight: 950; letter-spacing: .05em; text-transform: uppercase; }
.puzzle-book > header strong { font-size: .88rem; line-height: 1.25; }
.puzzle-book > header p { margin: 4px 0 0; color: rgba(255,255,255,.82); font-size: .74rem; line-height: 1.4; }
.puzzle-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 12px 12px; }
.puzzle-toolbar button,.puzzle-secondary { min-height: 44px; border: 1px solid var(--line); border-radius: 11px; color: var(--teal); font-size: .65rem; font-weight: 900; background: #fff; }
.puzzle-primary { width: calc(100% - 24px); min-height: 48px; margin: 10px 12px 0; border: 0; border-radius: 12px; color: #fff; font-size: .72rem; font-weight: 950; background: var(--coral); }
.puzzle-secondary { width: calc(100% - 24px); margin: 9px 12px 0; }
.puzzle-secondary:disabled { opacity: .42; }
.puzzle-feedback,.puzzle-hint,.puzzle-mini-help { margin: 10px 12px 0; padding: 9px 10px; border-radius: 10px; color: #87382a; font-size: .72rem; font-weight: 800; line-height: 1.45; background: #fff0e9; }
.puzzle-feedback.is-success { color: var(--teal); background: var(--teal-light); }
.puzzle-hint { color: var(--navy); background: #f4edcf; }
.puzzle-mini-help { padding: 0; color: var(--ink-soft); font-weight: 700; text-align: center; background: transparent; }
.puzzle-solved { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 15px; align-items: center; border-radius: 15px; color: var(--teal); background: var(--teal-light); }
.puzzle-solved > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; font-size: 1.25rem; font-weight: 950; background: var(--teal); }
.puzzle-solved small,.puzzle-solved strong { display: block; }
.puzzle-solved small { font-size: .64rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.puzzle-solved strong { margin: 2px 0 4px; color: var(--ink); font-size: .82rem; }
.puzzle-solved p { margin: 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.puzzle-replay { margin-bottom: 2px; }

.crossword-wrap { padding: 13px 12px 0; }
.crossword-grid { display: grid; gap: 2px; width: 100%; max-width: 360px; margin: 0 auto 14px; }
.crossword-grid.cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 144px; }
.crossword-grid.cols-5 { grid-template-columns: repeat(5,minmax(0,1fr)); max-width: 180px; }
.crossword-grid.cols-6 { grid-template-columns: repeat(6,minmax(0,1fr)); max-width: 216px; }
.crossword-grid.cols-7 { grid-template-columns: repeat(7,minmax(0,1fr)); max-width: 252px; }
.crossword-grid.cols-8 { grid-template-columns: repeat(8,minmax(0,1fr)); max-width: 288px; }
.crossword-grid.cols-9 { grid-template-columns: repeat(9,minmax(0,1fr)); max-width: 324px; }
.crossword-grid.cols-10,.crossword-grid.cols-11 { grid-template-columns: repeat(10,minmax(0,1fr)); max-width: 360px; }
.crossword-cell,.crossword-void { position: relative; display: block; aspect-ratio: 1; min-width: 0; }
.crossword-cell input { width: 100%; height: 100%; padding: 0; border: 2px solid var(--navy); border-radius: 4px; color: var(--navy); font-size: clamp(.72rem,4.5vw,1rem); font-weight: 950; text-align: center; text-transform: uppercase; background: #fff; }
.crossword-cell small { position: absolute; z-index: 1; top: 2px; left: 3px; color: var(--coral); font-size: .42rem; font-weight: 950; pointer-events: none; }
.crossword-void { background: transparent; }
.puzzle-clues { display: grid; gap: 7px; margin: 0; padding-left: 24px; }
.puzzle-clues li { padding-left: 2px; color: var(--ink); font-size: .72rem; line-height: 1.45; }
.puzzle-clues b { margin-right: 5px; color: var(--coral); }
.puzzle-clues em { display: block; color: var(--ink-soft); font-size: .65rem; font-style: normal; }

.wordsearch-targets { display: flex; flex-wrap: wrap; gap: 5px; padding: 13px 12px 9px; }
.wordsearch-targets span { padding: 6px 9px; border-radius: 99px; color: var(--coral); font-size: .68rem; font-weight: 900; background: #fff0e9; }
.wordsearch-targets span.found { color: #fff; background: var(--teal); }
.wordsearch-grid { display: grid; gap: 4px; width: min(100% - 24px,320px); margin: 0 auto; }
.wordsearch-grid.cols-5 { grid-template-columns: repeat(5,minmax(0,1fr)); }
.wordsearch-grid.cols-6 { grid-template-columns: repeat(6,minmax(0,1fr)); }
.wordsearch-grid.cols-7 { grid-template-columns: repeat(7,minmax(0,1fr)); }
.wordsearch-grid.cols-8 { grid-template-columns: repeat(8,minmax(0,1fr)); }
.word-cell { aspect-ratio: 1; min-width: 0; min-height: 0; padding: 0; border: 1px solid #d8d1bf; border-radius: 7px; color: var(--navy); font-size: clamp(.72rem,4.4vw,1rem); font-weight: 950; background: #fff; }
.word-cell.selected { outline: 3px solid var(--gold); background: #fff8d8; }
.word-cell.found { border-color: var(--teal); color: #fff; background: var(--teal); }

.riddle-card { margin: 13px 12px 10px; padding: 14px; border: 0; border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--navy); font-family: Georgia,"Times New Roman",serif; font-size: .79rem; line-height: 1.5; background: #f7f1dd; }
.riddle-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 12px; }
.riddle-options button { min-height: 46px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; color: var(--teal); font-size: .74rem; font-weight: 900; background: #fff; }
.riddle-options button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.riddle-options button:disabled { color: #9e8179; text-decoration: line-through; background: #f1e6e2; }

.spot-sketch { display: grid; padding: 12px; text-align: center; }
.spot-sketch .spot-label { justify-self: start; padding: 5px 8px; border-radius: 99px; color: var(--coral); font-size: .64rem; font-weight: 950; letter-spacing: .05em; text-transform: uppercase; background: #fff0e9; }
.spot-sketch svg { width: min(100%,240px); margin: 5px auto; }
.spot-sketch svg rect { fill: #f5edcf; stroke: #d5c79d; stroke-width: 2; }
.spot-sketch svg g { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.spot-sketch svg text { font-size: 34px; }
.spot-sketch svg circle { fill: var(--coral); stroke: #fff; stroke-width: 4; }
.spot-sketch svg .spot-arrow { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; }
.spot-sketch strong { color: var(--navy); font-size: .8rem; }
.spot-sketch small { margin-top: 5px; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }

.cipher-board { margin: 13px 12px 10px; padding: 16px 12px; border: 2px dashed var(--coral); border-radius: 13px; text-align: center; background: #fff7ec; }
.cipher-board small,.cipher-board strong,.cipher-board span { display: block; }
.cipher-board small { color: var(--coral); font-size: .64rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.cipher-board strong { margin: 8px 0; color: var(--navy); font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: clamp(1rem,6vw,1.45rem); letter-spacing: .08em; overflow-wrap: anywhere; }
.cipher-board span { color: var(--ink-soft); font-size: .7rem; }
.puzzle-answer { display: grid; gap: 5px; margin: 0 12px; }
.puzzle-answer span { color: var(--teal); font-size: .66rem; font-weight: 950; text-transform: uppercase; }
.puzzle-answer input { min-height: 46px; padding: 8px 11px; border: 2px solid var(--navy); border-radius: 11px; color: var(--navy); font-size: .9rem; font-weight: 950; text-transform: uppercase; background: #fff; }

.maze-heading { display: flex; justify-content: space-between; gap: 8px; padding: 13px 12px 8px; color: var(--ink-soft); font-size: .7rem; }
.maze-heading strong { color: var(--coral); }
.maze-grid { display: grid; width: min(calc(100% - 36px),300px); margin: 0 auto; padding: 6px; border-radius: 10px; background: #f2ead2; }
.maze-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.maze-grid.cols-5 { grid-template-columns: repeat(5,1fr); }
.maze-grid.cols-6 { grid-template-columns: repeat(6,1fr); }
.maze-cell { display: grid; aspect-ratio: 1; place-items: center; box-sizing: border-box; border: 0 solid var(--navy); color: var(--coral); font-size: clamp(.75rem,5vw,1.1rem); background: #fffdf6; }
.maze-cell.wall-n { border-top-width: 3px; }
.maze-cell.wall-e { border-right-width: 3px; }
.maze-cell.wall-s { border-bottom-width: 3px; }
.maze-cell.wall-w { border-left-width: 3px; }
.maze-cell.current { background: #fff1ba; }
.maze-cell.goal { color: #fff; background: var(--teal); }
.maze-controls { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; padding: 11px 12px 0; }
.maze-controls button { min-height: 46px; border: 0; border-radius: 11px; color: #fff; font-size: 1.1rem; font-weight: 950; background: var(--teal); }
.maze-controls button:disabled { color: #aaa38f; background: #e5e0d2; }

.sequence-line { display: flex; min-height: 62px; margin: 13px 12px 9px; padding: 10px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; border: 2px dashed #d9cda8; border-radius: 12px; background: #fff9e7; }
.sequence-line span { padding: 6px 8px; border-radius: 7px; color: #fff; font-size: .68rem; font-weight: 900; background: var(--navy); }
.sequence-line em { color: var(--ink-soft); font-size: .72rem; font-style: normal; text-align: center; }
.sequence-bank,.anagram-bank { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 12px; justify-content: center; }
.sequence-bank button,.anagram-bank button { min-width: 44px; min-height: 44px; padding: 7px 10px; border: 1px solid var(--coral); border-radius: 10px; color: var(--coral); font-size: .7rem; font-weight: 950; background: #fff; }
.sequence-bank button:disabled,.anagram-bank button:disabled { opacity: .25; }
.anagram-clue { margin: 13px 12px 10px; color: var(--ink-soft); font-size: .74rem; line-height: 1.5; }
.anagram-answer { display: flex; gap: 4px; margin: 0 12px 12px; justify-content: center; }
.anagram-answer span { display: grid; width: min(9vw,34px); height: min(10vw,38px); place-items: center; border-bottom: 3px solid var(--navy); color: var(--navy); font-size: .9rem; font-weight: 950; }

.day-neighbor-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.day-neighbor-nav button { min-height: 54px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 13px; color: var(--teal); text-align: left; background: #fff; }
.day-neighbor-nav button:last-child { text-align: right; }
.day-neighbor-nav span,.day-neighbor-nav strong { display: block; }
.day-neighbor-nav span { font-size: .58rem; }
.day-neighbor-nav strong { margin-top: 2px; font-size: .72rem; }

.dialog-tabs { z-index: 14; display: grid; grid-template-columns: .8fr 1.2fr .85fr .95fr; gap: 4px; overflow: visible; padding: 10px 62px 10px 14px; }
.dialog-tabs button { min-width: 0; padding: 0 4px; font-size: .64rem; }
.day-dialog[data-active-panel]:not([data-active-panel="plan"]) .day-detail-hero { height: 116px; }
.day-dialog[data-active-panel]:not([data-active-panel="plan"]) .day-detail-hero figcaption { bottom: 15px; }
.day-dialog[data-active-panel]:not([data-active-panel="plan"]) .day-detail-hero figcaption p,
.day-dialog[data-active-panel]:not([data-active-panel="plan"]) .day-detail-hero figcaption span,
.day-dialog[data-active-panel]:not([data-active-panel="plan"]) .day-detail-lead { display: none; }
.day-dialog[data-active-panel]:not([data-active-panel="plan"]) .day-detail-hero figcaption h2 { font-size: 1.55rem; }

@media (max-width: 359px) {
  .dialog-tabs { padding: 10px 58px 10px 10px; }
  .dialog-tabs button { min-height: 44px; font-size: .59rem; }
  .location-game-card summary { grid-template-columns: 38px minmax(0,1fr) 18px; gap: 8px; padding: 11px; }
  .location-stop-number { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .filter-chip { width: 100%; justify-content: space-between; }
  .location-games-panel { margin-right: -10px; margin-left: -10px; padding-inline: 10px; }
  .day-panel[data-day-panel="jugar"] .location-game-list { margin-right: -12px; margin-left: -12px; }
  .location-game-body { padding-right: 7px; padding-left: 7px; }
  .wordsearch-grid { width: 100%; gap: 2px; }
}

/* Version 2.9 · trayectos y mapas de bolsillo */
.journey-card {
  margin: 18px 0;
  padding: 16px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(240,184,57,.2), transparent 34%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  box-shadow: 0 18px 42px rgba(18,52,59,.18);
}
.journey-card-header { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; align-items: center; }
.journey-card-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--navy); font-size: 1.15rem; font-weight: 950; background: var(--gold); }
.journey-card-header p { color: rgba(255,255,255,.65); font-size: .59rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.journey-card-header h3 { margin-top: 3px; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: 1.12rem; line-height: 1.1; }
.journey-card-header > strong { display: grid; min-width: 48px; height: 48px; padding: 0 8px; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: var(--gold); font-size: .95rem; line-height: 1; background: rgba(255,255,255,.08); }
.journey-card-header > strong small { margin-top: 2px; color: rgba(255,255,255,.65); font-size: .52rem; }
.journey-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(72px,.9fr) minmax(0,1fr); gap: 8px; margin-top: 17px; align-items: center; }
.journey-overview > p span,.journey-overview > p strong { display: block; }
.journey-overview > p span { color: rgba(255,255,255,.58); font-size: .57rem; font-weight: 850; text-transform: uppercase; }
.journey-overview > p strong { margin-top: 3px; color: #fff; font-size: .72rem; line-height: 1.25; }
.journey-overview > p:last-child { text-align: right; }
.journey-road { display: grid; grid-template-columns: 1fr; gap: 3px; min-width: 0; align-items: center; text-align: center; }
.journey-road i { position: relative; display: block; height: 1px; background: rgba(255,255,255,.3); }
.journey-road i:first-child::after { content: ""; position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.journey-road small { overflow: hidden; color: rgba(255,255,255,.63); font-size: .49rem; text-overflow: ellipsis; white-space: nowrap; }
.journey-meta { display: flex; gap: 7px; margin: 12px 0; flex-wrap: wrap; }
.journey-meta span { padding: 6px 8px; border-radius: 999px; color: rgba(255,255,255,.8); font-size: .58rem; font-weight: 800; background: rgba(255,255,255,.09); }
.journey-segments { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.journey-segments li { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; padding: 9px; align-items: center; border-radius: 12px; background: rgba(255,255,255,.07); }
.journey-segment-number { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; color: var(--navy); font-size: .62rem; font-weight: 950; background: var(--teal-light); }
.journey-segments li div strong,.journey-segments li div small,.journey-segments li > p strong,.journey-segments li > p span { display: block; }
.journey-segments li div strong { color: #fff; font-size: .65rem; line-height: 1.3; }
.journey-segments li div strong b { color: var(--gold); }
.journey-segments li div small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: .55rem; }
.journey-segments li > p { min-width: 62px; text-align: right; }
.journey-segments li > p strong { color: var(--gold); font-size: .66rem; }
.journey-segments li > p span { margin-top: 2px; color: rgba(255,255,255,.62); font-size: .53rem; }
.journey-watch { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 9px; margin-top: 11px; padding: 10px; align-items: start; border-radius: 13px; color: var(--navy); background: #fff1bb; }
.journey-watch > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #fff; font-size: .75rem; font-weight: 950; background: var(--coral); }
.journey-watch p { font-size: .64rem; line-height: 1.45; }
.journey-watch p strong { display: block; margin-bottom: 2px; font-size: .66rem; }
.journey-checklist { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.journey-checklist summary { display: grid; grid-template-columns: minmax(0,1fr) auto 20px; gap: 8px; min-height: 46px; align-items: center; cursor: pointer; list-style: none; }
.journey-checklist summary::-webkit-details-marker { display: none; }
.journey-checklist summary span { color: #fff; font-size: .66rem; font-weight: 900; }
.journey-checklist summary small { color: rgba(255,255,255,.55); font-size: .56rem; }
.journey-checklist summary b { color: var(--gold); font-size: 1rem; text-align: center; transition: transform .2s ease; }
.journey-checklist[open] summary b { transform: rotate(45deg); }
.journey-checklist ul { display: grid; gap: 7px; padding: 0 0 12px; list-style: none; }
.journey-checklist li { color: rgba(255,255,255,.77); font-size: .62rem; line-height: 1.4; }
.journey-actions { display: flex; gap: 7px; margin-top: 12px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.journey-actions::-webkit-scrollbar { display: none; }
.journey-actions a { display: inline-flex; min-height: 44px; padding: 0 12px; align-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; font-size: .63rem; font-weight: 900; background: rgba(255,255,255,.07); }
.journey-actions .journey-live { color: var(--navy); border-color: var(--gold); background: var(--gold); }
.journey-live span { margin-right: 6px; color: #e75c40; font-size: .55rem; }
.journey-freshness { margin-top: 8px; color: rgba(255,255,255,.48); font-size: .54rem; line-height: 1.4; }

.pocket-map { margin: 14px 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(18,52,59,.08); }
.pocket-map > summary { display: grid; grid-template-columns: 42px minmax(0,1fr) 24px; gap: 10px; min-height: 72px; padding: 11px 13px; align-items: center; cursor: pointer; list-style: none; background: linear-gradient(110deg,#fff 0,#f3f0e6 100%); }
.pocket-map > summary::-webkit-details-marker { display: none; }
.pocket-map-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; font-size: 1.05rem; font-weight: 950; background: var(--teal); }
.pocket-map > summary small,.pocket-map > summary strong,.pocket-map > summary em { display: block; }
.pocket-map > summary small { color: var(--coral); font-size: .56rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.pocket-map > summary strong { margin-top: 2px; color: var(--navy); font-family: Georgia,"Times New Roman",serif; font-size: 1rem; line-height: 1.1; }
.pocket-map > summary em { margin-top: 3px; color: var(--ink-soft); font-size: .58rem; font-style: normal; }
.pocket-map > summary > b { color: var(--teal); font-size: 1.2rem; text-align: center; transition: transform .2s ease; }
.pocket-map[open] > summary > b { transform: rotate(45deg); }
.pocket-map-body { padding: 10px; border-top: 1px solid var(--line); }
.pocket-map-stage { position: relative; height: 228px; overflow: hidden; border-radius: 14px; background: #e8e1cb; isolation: isolate; }
.pocket-map-stage iframe { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.pocket-map.map-loaded iframe { opacity: 1; }
.pocket-map-loading { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--teal); background: radial-gradient(circle at 50% 50%,#f8f4e8,#e7dfc6); }
.pocket-map-loading span { font-size: 1.5rem; }
.pocket-map-loading strong { font-size: .68rem; }
.pocket-map-pins { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.pocket-map-pin { position: absolute; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; transform: translate(-50%,-50%); border: 0; border-radius: 50%; color: #fff; font-size: .68rem; font-weight: 950; background: transparent; pointer-events: auto; isolation: isolate; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.map-x-5 { left: 5%; }.map-x-10 { left: 10%; }.map-x-15 { left: 15%; }.map-x-20 { left: 20%; }.map-x-25 { left: 25%; }.map-x-30 { left: 30%; }.map-x-35 { left: 35%; }.map-x-40 { left: 40%; }.map-x-45 { left: 45%; }.map-x-50 { left: 50%; }.map-x-55 { left: 55%; }.map-x-60 { left: 60%; }.map-x-65 { left: 65%; }.map-x-70 { left: 70%; }.map-x-75 { left: 75%; }.map-x-80 { left: 80%; }.map-x-85 { left: 85%; }.map-x-90 { left: 90%; }.map-x-95 { left: 95%; }
.map-y-5 { top: 5%; }.map-y-10 { top: 10%; }.map-y-15 { top: 15%; }.map-y-20 { top: 20%; }.map-y-25 { top: 25%; }.map-y-30 { top: 30%; }.map-y-35 { top: 35%; }.map-y-40 { top: 40%; }.map-y-45 { top: 45%; }.map-y-50 { top: 50%; }.map-y-55 { top: 55%; }.map-y-60 { top: 60%; }.map-y-65 { top: 65%; }.map-y-70 { top: 70%; }.map-y-75 { top: 75%; }.map-y-80 { top: 80%; }.map-y-85 { top: 85%; }.map-y-90 { top: 90%; }.map-y-95 { top: 95%; }
.pocket-map-pin::before { content: ""; position: absolute; z-index: -1; inset: 7px; border: 3px solid #fff; border-radius: 50% 50% 50% 8px; background: var(--coral); transform: rotate(-45deg); }
.pocket-map-pin:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.pocket-map-north { position: absolute; z-index: 2; top: 8px; right: 8px; padding: 5px 7px; border-radius: 8px; color: var(--navy); font-size: .57rem; font-weight: 950; background: rgba(255,255,255,.88); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.pocket-map-help { margin: 9px 2px 7px; color: var(--ink-soft); font-size: .6rem; }
.pocket-map-legend { display: flex; gap: 6px; padding-bottom: 3px; overflow-x: auto; scrollbar-width: none; }
.pocket-map-legend::-webkit-scrollbar { display: none; }
.pocket-map-legend button { display: inline-flex; min-height: 44px; padding: 5px 9px 5px 5px; align-items: center; gap: 6px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); background: #fff; }
.pocket-map-legend button b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; font-size: .61rem; background: var(--coral); }
.pocket-map-legend button span { max-width: 150px; overflow: hidden; font-size: .6rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.pocket-map-note { margin: 7px 2px 0; padding: 8px; border-radius: 10px; color: #776330; font-size: .58rem; line-height: 1.4; background: #fff5cf; }
.pocket-map footer { display: flex; gap: 10px; margin-top: 8px; align-items: center; justify-content: space-between; }
.pocket-map footer span { color: var(--ink-soft); font-size: .49rem; }
.pocket-map footer a { min-height: 36px; padding: 0 5px; color: var(--teal); font-size: .6rem; font-weight: 900; }

@media (max-width: 359px) {
  .journey-card { margin-right: -2px; margin-left: -2px; padding: 14px; }
  .journey-card-header { grid-template-columns: 38px minmax(0,1fr) auto; gap: 8px; }
  .journey-card-icon { width: 38px; height: 38px; }
  .journey-card-header h3 { font-size: 1rem; }
  .journey-segments li { grid-template-columns: 24px minmax(0,1fr); }
  .journey-segments li > p { grid-column: 2; display: flex; gap: 7px; min-width: 0; text-align: left; }
  .pocket-map-stage { height: 210px; }
}

/* Version 2.8 · selector de juegos y tablero estable */
.passport-card-compact { margin-top: 16px; }
.location-games-panel {
  overflow: hidden;
  border-color: rgba(18,52,59,.13);
  background: linear-gradient(180deg,#fff 0,#fbf8ef 100%);
}
.game-picker {
  display: flex;
  gap: 9px;
  margin: 12px -2px 14px;
  padding: 2px 2px 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}
.game-picker::-webkit-scrollbar { display: none; }
.game-picker-card {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 9px;
  min-width: 186px;
  min-height: 92px;
  padding: 10px;
  flex: 0 0 186px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  box-shadow: 0 6px 16px rgba(18,52,59,.05);
  scroll-snap-align: start;
}
.game-picker-card > span:last-child { min-width: 0; }
.game-picker-card small,.game-picker-card strong,.game-picker-card em { display: block; }
.game-picker-card small { overflow: hidden; color: var(--coral); font-size: .62rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.game-picker-card strong {
  display: -webkit-box;
  margin: 3px 0;
  overflow: hidden;
  font-size: .78rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.game-picker-card em { color: var(--ink-soft); font-size: .64rem; font-style: normal; }
.game-picker-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #fff; font-size: .76rem; font-weight: 950; background: var(--coral); }
.game-picker-card.active { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: -2px; background: #f4f8f6; }
.game-picker-card.complete .game-picker-number { background: var(--teal); }
.game-picker-card.complete small { color: var(--teal); }

.location-game-stage {
  overflow: hidden;
  border: 1px solid rgba(18,52,59,.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18,52,59,.1);
  scroll-margin-top: 78px;
}
.location-game-stage:focus-visible { outline: 4px solid rgba(230,108,79,.36); outline-offset: 3px; }
.game-stage-header {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) 36px;
  gap: 12px;
  padding: 16px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg,var(--navy),#1e5960);
}
.game-stage-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; color: var(--navy); font-size: 1.25rem; font-weight: 950; background: var(--gold); box-shadow: 0 7px 18px rgba(0,0,0,.13); }
.game-stage-header h4 { margin: 3px 0; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: 1.18rem; line-height: 1.15; }
.game-stage-header p:not(.kicker) { margin: 0; color: rgba(255,255,255,.76); font-size: .73rem; }
.game-stage-status { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--gold); font-size: .9rem; font-weight: 950; background: rgba(255,255,255,.08); }
.location-game-stage.complete .game-stage-status { color: var(--navy); background: var(--gold); }
.game-stage-meta { display: flex; gap: 6px; padding: 10px 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: #f6f3ea; }
.game-stage-meta span { padding: 5px 8px; border-radius: 99px; color: var(--teal); font-size: .64rem; font-weight: 900; background: #fff; }
.game-level-card,.game-field-mission { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; margin: 13px 14px 0; padding: 11px; align-items: center; border-radius: 14px; background: var(--teal-light); }
.game-level-card > span,.game-field-mission > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--teal); font-size: 1rem; background: #fff; }
.game-level-card small,.game-level-card strong,.game-field-mission small,.game-field-mission strong { display: block; }
.game-level-card small,.game-field-mission small { margin-bottom: 3px; color: var(--teal); font-size: .61rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.game-level-card strong,.game-field-mission strong { color: var(--ink); font-size: .75rem; line-height: 1.42; }
.location-game-body { min-width: 0; padding: 13px 14px 16px; }
.game-field-mission { margin: 12px 0 0; background: #f7f1dd; }
.game-field-mission > span { color: var(--coral); }
.game-field-mission small { color: var(--coral); }
.game-stage-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.game-stage-nav > * { min-width: 0; }
.game-stage-nav button { min-width: 0; min-height: 54px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 13px; color: var(--teal); text-align: left; background: #fff; }
.game-stage-nav button:last-child { text-align: right; }
.game-stage-nav button.recommended { border-color: var(--teal); color: #fff; background: var(--teal); }
.game-stage-nav span,.game-stage-nav strong { display: block; }
.game-stage-nav span { font-size: .61rem; }
.game-stage-nav strong { margin-top: 3px; overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.location-game-star { margin-top: 12px; }

.puzzle-book { border-radius: 18px; box-shadow: none; }
.puzzle-book > header { grid-template-columns: 38px minmax(0,1fr); padding: 12px; border-bottom: 1px solid #e5decc; color: var(--ink); background: #fffaf0; }
.puzzle-book > header > span { width: 38px; height: 38px; border-radius: 11px; color: #fff; background: var(--coral); }
.puzzle-book > header small { color: var(--coral); font-size: .62rem; }
.puzzle-book > header h5 { margin: 3px 0 0; color: var(--navy); font-family: Georgia,"Times New Roman",serif; font-size: .9rem; line-height: 1.35; }
.puzzle-feedback,.puzzle-hint,.puzzle-mini-help { font-size: .76rem; }
.puzzle-toolbar button,.puzzle-secondary { font-size: .72rem; }
.puzzle-primary { font-size: .77rem; }
.spot-evidence { display: grid; gap: 7px; padding: 0 12px 2px; }
.spot-evidence button { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 9px; min-height: 48px; padding: 7px 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: .73rem; font-weight: 850; text-align: left; background: #fff; }
.spot-evidence button > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--coral); background: var(--coral-soft); }
.spot-evidence button[aria-pressed="true"] { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.spot-evidence button[aria-pressed="true"] > span { color: #fff; background: var(--teal); }

.crossword-grid.cols-11 { grid-template-columns: repeat(11,minmax(0,1fr)); max-width: 360px; }
.crossword-grid.cols-12 { grid-template-columns: repeat(12,minmax(0,1fr)); max-width: 360px; }
.crossword-grid.cols-13 { grid-template-columns: repeat(13,minmax(0,1fr)); max-width: 360px; }
.crossword-grid.cols-14 { grid-template-columns: repeat(14,minmax(0,1fr)); max-width: 360px; }
.wordsearch-grid.cols-9 { grid-template-columns: repeat(9,minmax(0,1fr)); }
.wordsearch-grid.cols-10 { grid-template-columns: repeat(10,minmax(0,1fr)); }
.wordsearch-grid.cols-11 { grid-template-columns: repeat(11,minmax(0,1fr)); }
.wordsearch-grid.cols-9 .word-cell,.wordsearch-grid.cols-10 .word-cell,.wordsearch-grid.cols-11 .word-cell { border-radius: 4px; font-size: clamp(.61rem,3.5vw,.85rem); }

.maze-mission { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 12px 12px 0; overflow: hidden; border-radius: 12px; background: var(--line); }
.maze-mission span { padding: 8px 4px; color: var(--ink-soft); font-size: .61rem; text-align: center; background: #fff; }
.maze-mission b { display: block; color: var(--navy); font-size: .8rem; }
.maze-grid.cols-7 { grid-template-columns: repeat(7,1fr); }
.maze-grid.cols-8 { grid-template-columns: repeat(8,1fr); }
.maze-grid.cols-9 { grid-template-columns: repeat(9,1fr); }
.maze-grid.cols-10 { grid-template-columns: repeat(10,1fr); }
.maze-grid.cols-8 .maze-cell,.maze-grid.cols-9 .maze-cell,.maze-grid.cols-10 .maze-cell { font-size: .66rem; }
.maze-cell.visited { background: #fff7d7; }
.maze-cell.checkpoint { color: var(--navy); font-weight: 950; background: var(--gold); }
.maze-cell.checkpoint.collected { color: #fff; background: var(--teal); }
.maze-cell.goal { color: #fff; background: var(--coral); }
.maze-cell.current { position: relative; z-index: 1; outline: 3px solid var(--coral); background: #fff; }
.maze-controls { grid-template-columns: repeat(3,58px); grid-template-rows: repeat(3,48px); padding-top: 12px; justify-content: center; }
.maze-controls button { min-height: 48px; }
.maze-controls .maze-n { grid-column: 2; grid-row: 1; }
.maze-controls .maze-w { grid-column: 1; grid-row: 2; }
.maze-controls .maze-e { grid-column: 3; grid-row: 2; }
.maze-controls .maze-s { grid-column: 2; grid-row: 3; }

@media (min-width: 700px) {
  .location-trail { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 14px; align-items: start; }
  .location-trail-progress { grid-column: 1 / -1; }
  .game-picker { position: sticky; top: 12px; display: grid; max-height: 70vh; margin: 0; padding: 2px 6px 2px 2px; overflow-y: auto; scroll-snap-type: none; }
  .game-picker-card { min-width: 0; width: 100%; min-height: 76px; flex-basis: auto; }
}

@media (max-width: 480px) {
  .location-games-panel { margin-inline: -10px; padding-inline: 10px; }
  .game-stage-header { grid-template-columns: 44px minmax(0,1fr) 32px; gap: 9px; padding: 13px 12px; }
  .game-stage-icon { width: 44px; height: 44px; border-radius: 14px; }
  .game-stage-header h4 { font-size: 1.02rem; }
  .game-level-card { margin-inline: 10px; }
  .location-game-body { padding-inline: 9px; }
  .crossword-wrap { padding-right: 2px; padding-left: 2px; }
  .anagram-answer { gap: 1px; }
  .maze-grid { width: min(calc(100% - 14px),310px); padding: 4px; }
  .maze-cell.wall-n { border-top-width: 2px; }
  .maze-cell.wall-e { border-right-width: 2px; }
  .maze-cell.wall-s { border-bottom-width: 2px; }
  .maze-cell.wall-w { border-left-width: 2px; }
}

/* Versión 2.9 · cuadrículas dinámicas completas */
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-4 { --puzzle-columns: 4; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-5 { --puzzle-columns: 5; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-6 { --puzzle-columns: 6; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-7 { --puzzle-columns: 7; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-8 { --puzzle-columns: 8; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-9 { --puzzle-columns: 9; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-10 { --puzzle-columns: 10; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-11 { --puzzle-columns: 11; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-12 { --puzzle-columns: 12; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-13 { --puzzle-columns: 13; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid).cols-14 { --puzzle-columns: 14; }
:is(.crossword-grid,.wordsearch-grid,.maze-grid)[class*="cols-"] {
  grid-template-columns: repeat(var(--puzzle-columns),minmax(0,1fr));
}

/* ---------------------------------------------------------------
   Bases, emergencias y equipaje
   --------------------------------------------------------------- */

.tonight-panel { margin-top: 16px; }

.tonight-card { display: grid; gap: 12px; }

.tonight-top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.tonight-flag {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--teal-light);
  font-size: 1.4rem;
}

.tonight-top strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.15;
}

.tonight-top small { color: var(--ink-soft); font-size: 0.78rem; }

.tonight-address {
  margin: 0;
  padding: 11px 13px;
  border-radius: 13px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.35;
}

.tonight-address em { color: var(--ink-soft); font-style: normal; }

.tonight-alert,
.base-alert {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0;
  padding: 12px 13px;
  border-radius: 13px;
  background: var(--coral-soft);
  color: #8f331e;
  font-size: 0.82rem;
  line-height: 1.4;
}

.tonight-alert span,
.base-alert span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
}

.tonight-actions,
.base-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tonight-actions > *,
.base-actions > * {
  flex: 1 1 auto;
  min-height: 44px;
  min-width: 140px;
  display: grid;
  place-items: center;
  padding: 0 15px;
  border: 0;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.tonight-actions .ghost-button,
.base-actions .ghost-button {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

/* --- Lista de bases --- */

.bases-count {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.bases-list { display: grid; gap: 14px; }

.base-card {
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--cream);
}

.base-card.base-current {
  border-color: var(--coral);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(230, 108, 79, 0.16);
}

.base-card.base-past { opacity: 0.62; }

.base-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.base-order {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
}

.base-card.base-current .base-order { background: var(--coral); }

.base-title h4 {
  margin: 2px 0 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.15;
}

.base-title small { color: var(--ink-soft); font-size: 0.78rem; }

.base-state {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.base-state-current { background: var(--coral); color: #fff; }
.base-state-future { background: var(--teal-light); color: var(--teal); }
.base-state-past { background: rgba(19, 47, 53, 0.1); color: var(--ink-soft); }

.base-role {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.base-address {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0;
  padding: 11px 13px;
  border-radius: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.35;
}

.base-card.base-current .base-address { background: var(--cream); }

.base-address em { color: var(--ink-soft); font-style: normal; font-size: 0.78rem; }

.base-facts {
  display: grid;
  gap: 9px;
  margin: 0;
}

.base-facts > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.base-facts dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.base-facts dd { margin: 0; font-size: 0.84rem; line-height: 1.35; }

.base-why { margin: 0; color: var(--ink-soft); font-size: 0.84rem; line-height: 1.45; }

.base-more > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.base-more[open] > summary { margin-bottom: 8px; }

.base-logistics,
.emergency-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 19px;
  font-size: 0.83rem;
  line-height: 1.45;
}

.base-logistics li::marker,
.emergency-checklist li::marker { color: var(--coral); }

.base-bonus {
  margin-top: 12px;
  padding: 13px;
  border-radius: 13px;
  background: var(--gold-soft);
}

.base-bonus strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.base-bonus p { margin: 0 0 9px; font-size: 0.82rem; line-height: 1.45; }

.base-bonus a { color: #8a5a08; font-size: 0.8rem; font-weight: 800; }

.base-emergency {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.base-emergency a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.3;
  text-decoration: none;
}

/* --- Emergencias --- */

.emergency-call {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 44px;
  padding: 15px 17px;
  border-radius: 16px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
}

.emergency-call strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.emergency-call span { display: grid; gap: 3px; font-size: 0.88rem; font-weight: 800; }
.emergency-call small { font-weight: 500; font-size: 0.76rem; opacity: 0.92; }

.emergency-countries { display: grid; gap: 10px; margin: 14px 0; }

.emergency-country {
  padding: 13px;
  border-radius: 13px;
  background: var(--cream);
}

.emergency-country p { margin: 0 0 6px; font-size: 0.82rem; line-height: 1.4; }
.emergency-country a { color: var(--teal); font-size: 0.8rem; font-weight: 800; }

/* --- Equipaje --- */

.packing-status {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
}

.packing-list { display: grid; gap: 9px; }

.packing-group {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
  overflow: hidden;
}

.packing-group > summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 56px;
  padding: 9px 14px;
  cursor: pointer;
}

.packing-group > summary::-webkit-details-marker { display: none; }

.packing-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 900;
}

.packing-summary-copy { display: grid; gap: 1px; min-width: 0; }
.packing-summary-copy strong { font-size: 0.92rem; }
.packing-summary-copy small { color: var(--ink-soft); font-size: 0.74rem; }

.packing-group-count {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.packing-row {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 44px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.4;
  cursor: pointer;
}

.packing-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.packing-row input:focus-visible + .checkmark {
  outline: 3px solid rgba(230, 108, 79, 0.35);
  outline-offset: 2px;
}

.packing-row input:checked + .checkmark {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.packing-row.done > span:last-child {
  color: var(--ink-soft);
  text-decoration: line-through;
}

@media (max-width: 359px) {
  .base-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tonight-actions > *,
  .base-actions > * { min-width: 100%; }
  .emergency-call { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------------------------------------------------------------
   Juegos curados: historia + mecánica
   --------------------------------------------------------------- */

.puzzle-book.curated .curated-story {
  margin: 0 0 14px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 0 13px 13px 0;
  background: var(--gold-soft);
}

.puzzle-book.curated .curated-story p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
}

.curated-instruction {
  margin: 0 0 11px;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 800;
}

.curated-feedback {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: #8f331e;
  font-size: .84rem;
  line-height: 1.4;
}

.curated-feedback.good { background: var(--teal-light); color: var(--teal); }

.curated-hint {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: .82rem;
}

.curated-reveal {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--teal-light);
}

.curated-reveal p { margin: 0; font-size: .85rem; line-height: 1.45; }

.curated-entry input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* --- La apuesta --- */

.bet-board { display: grid; gap: 10px; }

.bet-hint { margin: 0 0 4px; color: var(--ink-soft); font-size: .8rem; line-height: 1.4; }

.bet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
}

.bet-row.winner { border-color: var(--gold); background: var(--gold-soft); }

.bet-who { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 800; }

.bet-row input {
  min-height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.bet-unit, .bet-gap { color: var(--ink-soft); font-size: .72rem; }

.bet-reveal {
  margin-top: 4px;
  padding: 15px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.bet-reveal strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.bet-reveal p { margin: 6px 0 0; font-size: .82rem; line-height: 1.45; opacity: .92; }

/* --- Dos verdades y una mentira --- */

.truelie-board { display: grid; gap: 9px; }

.truelie-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 52px;
  padding: 13px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  font-size: .86rem;
  line-height: 1.4;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.truelie-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--cream);
  font-weight: 900;
}

.truelie-option.is-false { border-color: var(--teal); background: var(--teal-light); }
.truelie-option.is-false .truelie-mark { background: var(--teal); color: #fff; }
.truelie-option.is-wrong { border-color: var(--coral); background: var(--coral-soft); }

/* --- Sesenta segundos --- */

.sprint-clock {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 15px;
  background: var(--cream);
}

.sprint-clock.running { background: var(--coral); color: #fff; }

.sprint-clock strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sprint-clock span { font-size: .78rem; font-weight: 800; }

.sprint-list { display: grid; gap: 7px; }

.sprint-item, .spot-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 13px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: .85rem;
  line-height: 1.35;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.sprint-item[disabled] { opacity: .5; }
.sprint-item.found, .spot-item.found { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

.spot-board { display: grid; gap: 7px; }

/* --- Cuaderno --- */

.notebook-preview {
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  background: var(--cream);
}

.notebook-preview img { display: block; width: 100%; height: auto; }

.notebook-capture {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 2px dashed var(--line);
  border-radius: 15px;
  background: var(--cream);
  color: var(--teal);
  font-size: .9rem;
  font-weight: 850;
  cursor: pointer;
}

.draw-wrap { display: grid; gap: 10px; }

.draw-wrap canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 440;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  touch-action: none;
}

.draw-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.draw-colour {
  width: 44px;
  height: 44px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}

.draw-colour.tone-tinta { background: #12343b; }
.draw-colour.tone-coral { background: #e66c4f; }
.draw-colour.tone-oro { background: #e8ad47; }
.draw-colour.tone-verde { background: #2e7067; }
.draw-colour.active { border-color: var(--ink); outline: 2px solid var(--paper); outline-offset: -5px; }

.draw-clear {
  min-height: 44px;
  margin-left: auto;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}

/* --- Letras --- */

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.slot {
  display: grid;
  width: 34px;
  height: 42px;
  place-items: center;
  border-bottom: 3px solid var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.slot.given { color: var(--teal); border-color: var(--teal); }
.slot.has { color: var(--coral); }

.tray-row { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }

.tray-letter {
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--coral);
  border-radius: 11px;
  color: var(--coral);
  font-size: 1.05rem;
  font-weight: 900;
  background: #fff;
  cursor: pointer;
}

.tray-letter.used { border-color: var(--line); color: transparent; background: var(--cream); }

.ws-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 800;
  background: #fff;
  cursor: pointer;
}

.ws-cell.start { border-color: var(--coral); background: var(--coral-soft); }
.ws-cell.found { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

/* ---------------------------------------------------------------
   Marcador familiar
   --------------------------------------------------------------- */

.family-lead {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5a08;
  font-size: .74rem;
  font-weight: 850;
}

.family-podium { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

.family-row {
  display: grid;
  grid-template-columns: 26px 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.family-row.is-leader { border-color: var(--gold); background: var(--gold-soft); }
.family-row.is-active { outline: 2px solid var(--navy); outline-offset: -2px; }

.family-rank { color: var(--ink-soft); font-size: .9rem; font-weight: 900; text-align: center; }
.family-row.is-leader .family-rank { color: #8a5a08; }
.family-face { font-size: 1.3rem; text-align: center; }
.family-copy { display: grid; gap: 1px; min-width: 0; }
.family-copy strong { font-size: .9rem; }
.family-copy small { color: var(--ink-soft); font-size: .72rem; }
.family-score { text-align: right; }
.family-score b { display: block; font-size: 1.1rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.family-score small { color: var(--ink-soft); font-size: .68rem; }

.family-total { margin-top: 12px; }
.family-total p { margin: 0 0 7px; font-size: .82rem; line-height: 1.4; }
.family-total progress { width: 100%; height: 9px; }

@media (max-width: 359px) {
  .bet-row { grid-template-columns: minmax(0, 1fr) 76px; }
  .bet-row .bet-unit, .bet-row .bet-gap { grid-column: 1 / -1; }
  .family-row { grid-template-columns: 22px 28px minmax(0, 1fr) auto; gap: 7px; }
}

.curated-story.standalone {
  margin: 0 14px 12px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 0 13px 13px 0;
  background: var(--gold-soft);
}

.curated-story.standalone p { margin: 0; font-size: .88rem; line-height: 1.5; }

/* ---------------------------------------------------------------
   Durante el viaje: portada compacta y días ya vividos
   --------------------------------------------------------------- */

body[data-trip="during"] .hero-copy h1,
body[data-trip="during"] .hero-subtitle,
body[data-trip="during"] .hero-journey,
body[data-trip="during"] .hero-stats,
body[data-trip="during"] .mountain-scene {
  display: none;
}

body[data-trip="during"] .hero {
  min-height: 0;
  padding-bottom: 18px;
}

body[data-trip="during"] .hero-copy {
  margin: 0;
}

body[data-trip="during"] #trip-state {
  margin: 0;
  font-size: .95rem;
  letter-spacing: .01em;
  text-transform: none;
}

.day-card.past { opacity: .55; }
.day-card.past .day-card-photo img { filter: grayscale(0.7); }

.day-card.past .day-number {
  background: rgba(19, 47, 53, .55);
}

.day-card.past .guide-chip::after {
  content: " · ya vivido";
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   Álbum de cromos
   --------------------------------------------------------------- */

.album-status {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .76rem;
  font-weight: 850;
}

.album-country + .album-country { margin-top: 16px; }

.album-country-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin-bottom: 9px;
}

.album-country-head h4 { margin: 0; font-size: .92rem; }

.album-country-count {
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.album-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 7px;
}

.album-card {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 74px;
  padding: 8px 5px;
  border: 1.5px dashed var(--line);
  border-radius: 11px;
  background: var(--cream);
  cursor: pointer;
}

.album-card.owned {
  border-style: solid;
  border-color: var(--teal);
  background: var(--teal-light);
}

.album-icon { font-size: 1.3rem; line-height: 1.1; }
.album-card:not(.owned) .album-icon { color: var(--ink-soft); opacity: .5; }

.album-name {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: .58rem;
  font-weight: 800;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.album-card.owned .album-name { color: var(--teal); }

/* Los cromos pendientes son solo un hueco: sin texto repetido 67 veces. */
.album-cards { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }

.album-card:not(.owned) {
  min-height: 56px;
  place-content: center;
  place-items: center;
}

.album-card:not(.owned) .album-icon { font-size: 1.1rem; }

/* ---------------------------------------------------------------
   Juegos de carretera
   --------------------------------------------------------------- */

.road-panel {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.road-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin-bottom: 8px;
}

.road-head h4 { margin: 0; font-size: 1.02rem; }

.road-count {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5a08;
  font-size: .74rem;
  font-weight: 850;
}

.road-bingo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.road-cell {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 74px;
  padding: 9px 5px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  cursor: pointer;
}

.road-cell span { font-size: 1.15rem; }
.road-cell small { color: var(--ink-soft); font-size: .62rem; font-weight: 800; line-height: 1.2; }
.road-cell.found { border-color: var(--teal); background: var(--teal-light); }
.road-cell.found span, .road-cell.found small { color: var(--teal); }

.road-plates-title { margin: 14px 0 8px; }

.road-plates { display: flex; flex-wrap: wrap; gap: 7px; }

.road-plate {
  min-width: 52px;
  min-height: 44px;
  padding: 0 9px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.road-plate b {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.road-plate.found { border-color: var(--navy); background: var(--navy); }
.road-plate.found b { color: #fff; }

@media (max-width: 359px) {
  .road-bingo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Version 3.2 · vista de juegos más clara: niños, selector de juegos y bonus */

/* 1 · Selector de niños como control segmentado y fijo mientras se juega */
#player-switch {
  position: sticky;
  top: 4px;
  z-index: 24;
  gap: 4px;
  margin: -2px 0 16px;
  padding: 5px;
  border: 1px solid rgba(19,47,53,.14);
  border-radius: 17px;
  background: rgba(255,253,248,.85);
  box-shadow: 0 10px 26px rgba(18,52,59,.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
#player-switch .player-button {
  min-height: 58px;
  padding: 8px 4px;
  gap: 0;
  border: 0;
  border-radius: 12px;
  color: var(--ink-soft);
  background: transparent;
  transition: background .2s ease, color .2s ease, transform .18s ease, box-shadow .2s ease;
}
#player-switch .player-button span { font-size: 1.02rem; line-height: 1; }
#player-switch .player-button strong { margin-top: 4px; font-size: .74rem; }
#player-switch .player-button small { margin-top: 1px; font-size: .55rem; opacity: .82; }
#player-switch .player-button.active {
  color: #fff;
  background: linear-gradient(140deg, var(--teal), #1c5a53);
  box-shadow: 0 9px 20px rgba(46,112,103,.32);
  transform: translateY(-1px);
}
#player-switch .player-button.active small { color: rgba(255,255,255,.85); opacity: 1; }
#player-switch .player-button:active { transform: scale(.97); }

/* 2 · Selector de la jornada y de los juegos del día, más legibles */
.game-day-button { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.game-day-button.active { transform: translateY(-1px); }
.game-day-button.done:not(.active) { border-color: rgba(46,112,103,.42); }

.game-picker-hint { display: flex; margin: 4px 2px -2px; align-items: center; justify-content: space-between; }
.game-picker-hint span { color: var(--ink); font-size: .72rem; font-weight: 850; }
.game-picker-hint b { display: inline-flex; padding: 3px 8px; align-items: center; border-radius: 99px; color: var(--coral); font-size: .58rem; font-weight: 900; background: var(--coral-soft); }
.game-picker-card { position: relative; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.game-picker-card.active {
  border-color: var(--coral);
  outline: none;
  background: #fff;
  box-shadow: 0 11px 24px rgba(230,108,79,.22);
  transform: translateY(-1px);
}
.game-picker-card.active::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}
.game-picker-card.active .game-picker-number { background: var(--coral); box-shadow: 0 6px 14px rgba(230,108,79,.32); }
.game-picker-card.complete.active { border-color: var(--teal); box-shadow: 0 11px 24px rgba(46,112,103,.22); }
.game-picker-card.complete.active::before { background: linear-gradient(90deg, var(--teal), #4f9b8f); }

/* 3 · El juego bonus con identidad dorada propia, distinta del juego principal */
.daily-game-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(232,173,71,.55);
  background:
    radial-gradient(130% 92% at 100% 0, rgba(232,173,71,.24), transparent 58%),
    linear-gradient(165deg, #fffaf0, #fbecc9);
  box-shadow: 0 14px 32px rgba(197,148,49,.18);
}
.daily-game-panel::after {
  content: "✦";
  position: absolute;
  top: 12px;
  right: 16px;
  color: rgba(232,173,71,.42);
  font-size: 1.35rem;
  pointer-events: none;
}
.daily-game-panel .panel-icon.coral { color: var(--navy); background: linear-gradient(135deg, var(--gold), #d98a2b); box-shadow: 0 6px 14px rgba(200,140,40,.32); }
.daily-game-panel .kicker { color: #a86e12; }
.daily-game-panel .mission-card { border-color: rgba(232,173,71,.4); background: rgba(255,255,255,.62); }
.daily-game-panel .mission-card small { color: #b26f10; }
.daily-game-panel .mission-tick { color: var(--navy); background: linear-gradient(135deg, var(--gold), #cf8a25); }
.daily-game-panel .mission-card b { color: #8a5a0a; background: rgba(232,173,71,.24); }
.daily-game-panel .mission-action { background: linear-gradient(135deg, #e8a53a, #ce7d1e); }
.daily-game-panel .mission-card.complete { background: rgba(232,173,71,.18); }
.daily-game-panel .mission-card.complete .mission-tick { color: #fff; background: var(--teal); }
.daily-game-panel .mission-card.complete .mission-action { color: var(--teal); background: rgba(255,255,255,.8); }

/* Bonus dentro del propio juego, a juego con la misma identidad dorada */
.game-field-mission { border: 1px solid rgba(232,173,71,.42); background: linear-gradient(160deg, #fffaf0, #f6ead0); }
.game-field-mission > span { color: var(--navy); background: linear-gradient(135deg, var(--gold), #d98a2b); }
.game-field-mission small { color: #a86e12; }

@media (min-width: 700px) {
  .game-picker-hint { display: none; }
}
