
.plato-page {
  --pd-vino: var(--sabor-color-brand-burgundy); --pd-crema: var(--sabor-color-brand-cream); --pd-rojo: var(--sabor-color-brand-red);
  --pd-amarillo: var(--sabor-color-brand-yellow); --pd-noche: #1E0309; --pd-tinta-2: #6E2A3C; --pd-papel: #F3EBCB; --pd-papel-2: #E9DFB7;
  
  --pd-alto: calc(100vh - var(--blog-header-height, 72px));
}
@supports (height: 100svh) { .plato-page { --pd-alto: calc(100svh - var(--blog-header-height, 72px)); } }
.plato-page .demo-banner a { color: inherit; font-weight: 600; text-decoration: underline; }
.plato { display: grid; gap: clamp(24px, 4vw, 40px); padding-block: 20px clamp(32px, 5vw, 56px); }
.plato .crumbs { margin: 0; }


html:not(.pd-on) .pd__juego, html:not(.pd-on) .pd__form { display: none; }
html:not(.pd-on) .pd__grilla { grid-template-columns: minmax(0, 560px); justify-content: center; }
.pd-on .pd__sinjs { display: none; }
.pd__sinjs { display: grid; justify-items: center; gap: 10px; max-width: 30rem; margin: 0 auto; text-align: center; font-weight: 500; }
.pd__sinjs p { margin: 0; }
.pd__sinjs .btn { margin-top: 6px; }

.pd { position: relative; display: grid; gap: 18px; padding: 26px max(16px, 3vw) 30px; border-radius: 28px; background: var(--pd-vino); color: var(--pd-crema); overflow: hidden; }
.pd :focus-visible { outline: 3px solid var(--pd-amarillo); outline-offset: 2px; }
.pd__confeti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.pd__pizarra { display: grid; gap: 4px; justify-items: center; text-align: center; }
.pd__titulo { margin: 0; font: 600 clamp(2.6rem, 9vw, 4.2rem)/0.9 var(--blog-font-hand); color: var(--pd-crema); }
.pd__sub { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pd-amarillo); }
.pd__grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.pd__izq { display: grid; gap: 14px; min-width: 0; container-type: inline-size; }


.pd__foto { position: relative; width: 100%; margin: 0; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; transform: rotate(-1.2deg); box-shadow: 0 18px 36px rgb(0 0 0 / 0.35); background: var(--pd-noche); }

.pd__fotos { position: absolute; inset: 0; display: flex; overflow: hidden; border-radius: inherit; }
.pd__foto--varias .pd__fotos { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd__foto--varias .pd__fotos::-webkit-scrollbar { display: none; }
.pd__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd__credito { position: absolute; left: 12px; bottom: 10px; max-width: calc(100% - 24px); padding: 3px 10px; border-radius: 999px; background: rgb(30 3 9 / 0.72); font-size: 0.72rem; line-height: 1.3; }
.pd__credito a { color: inherit; text-decoration: none; }
.pd__credito a:hover { text-decoration: underline; }

.pd-on .pd__credito { display: none; }

.pd__ampliar { position: relative; flex: 0 0 100%; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--pd-crema); cursor: zoom-in; scroll-snap-align: start; -webkit-tap-highlight-color: transparent; }
.pd__ampliar:focus-visible { outline: 3px solid var(--pd-amarillo); outline-offset: -6px; }
.pd__ampliar-icono { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(30 3 9 / 0.62); color: var(--pd-crema); box-shadow: 0 4px 12px rgb(0 0 0 / 0.25); pointer-events: none; }
.pd__ampliar-icono svg { width: 18px; height: 18px; }
html:not(.pd-on) .pd__ampliar { cursor: default; pointer-events: none; }
html:not(.pd-on) .pd__ampliar-icono, html:not(.pd-on) .pd__fotos-ir { display: none; }

.pd__puntos { position: absolute; z-index: 2; left: 50%; bottom: 12px; display: flex; gap: 6px; padding: 6px 9px; border-radius: 999px; background: rgb(30 3 9 / 0.55); transform: translateX(-50%); pointer-events: none; }
.pd__puntos i { width: 7px; height: 7px; border-radius: 50%; background: rgb(254 255 237 / 0.45); transition: background-color 0.2s ease, transform 0.2s ease; }
.pd__puntos i.activo { background: var(--pd-crema); transform: scale(1.2); }
.pd__fotos-ir { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(254 255 237 / 0.9); color: var(--pd-vino); box-shadow: 0 6px 16px rgb(30 3 9 / 0.3); cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity 0.2s ease; }
.pd__fotos-ir[hidden] { display: none; }
.pd__fotos-ir svg { width: 22px; height: 22px; }
.pd__fotos-ir--ant { left: 10px; }
.pd__fotos-ir--sig { right: 10px; }
.pd__foto:hover .pd__fotos-ir, .pd__fotos-ir:focus-visible { opacity: 1; }
.pd__fotos-ir:focus-visible { outline: 3px solid var(--pd-amarillo); outline-offset: 2px; }
@media (hover: none) { .pd__fotos-ir { display: none; } }

.pd__nombre { position: absolute; z-index: 3; top: 10px; left: 10px; max-width: calc(100% - 20px); margin: 0; padding: 7px 12px 8px; border-radius: 14px; background: var(--pd-amarillo); color: var(--pd-vino); font: 500 0.95rem/1.15 var(--blog-font-ui); box-shadow: 0 8px 20px rgb(30 3 9 / 0.35); pointer-events: none; }
.pd__nombre[hidden] { display: none; }
.pd__nombre span { display: block; font: 600 1.05rem/1 var(--blog-font-hand); color: var(--pd-rojo); }
.pd__nombre b { font-weight: 600; font-size: 1.15rem; }
.pd__nombre.entra { animation: pd-nombre 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes pd-nombre { 0% { opacity: 0; transform: translateY(-8px) scale(0.6) rotate(-4deg); } 70% { opacity: 1; transform: scale(1.06) rotate(1deg); } 100% { transform: none; } }

.pd-grande-on { overflow: hidden; }
.pd-grande { position: fixed; inset: 0; z-index: 1000; display: grid; align-content: center; justify-items: center; gap: 10px; padding: max(64px, env(safe-area-inset-top)) 0 max(20px, env(safe-area-inset-bottom)); background: rgb(30 3 9 / 0.94); color: var(--pd-crema); cursor: zoom-out; animation: pd-grande 0.22s ease both; }
.pd-grande[hidden] { display: none; }
.pd-grande__fotos { display: flex; width: 100%; overflow-x: auto; overscroll-behavior: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-grande__fotos::-webkit-scrollbar { display: none; }
.pd-grande__foto { flex: 0 0 100%; display: grid; justify-items: center; align-content: center; gap: 10px; margin: 0; padding: 0 12px; scroll-snap-align: start; }
.pd-grande__img { display: block; width: min(100%, 800px); height: auto; max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); object-fit: contain; border-radius: 12px; }
.pd-grande__ir { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(254 255 237 / 0.9); color: var(--pd-vino); cursor: pointer; transform: translateY(-50%); }
.pd-grande__ir[hidden] { display: none; }
.pd-grande__ir svg { width: 24px; height: 24px; }
.pd-grande__ir--ant { left: 10px; }
.pd-grande__ir--sig { right: 10px; }
.pd-grande__ir:focus-visible { outline: 3px solid var(--pd-amarillo); outline-offset: 3px; }
@media (hover: none) { .pd-grande__ir { display: none; } }
.pd-grande__n { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: rgb(254 255 237 / 0.85); }
.pd-grande__cerrar { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--pd-crema); color: var(--pd-vino); cursor: pointer; }
.pd-grande__cerrar svg { width: 22px; height: 22px; }
.pd-grande__cerrar:focus-visible { outline: 3px solid var(--pd-amarillo); outline-offset: 3px; }
.pd-grande__credito { max-width: 40rem; margin: 0; font-size: 0.8rem; line-height: 1.4; text-align: center; color: rgb(254 255 237 / 0.85); }
.pd-grande__credito a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pd-grande__credito a:focus-visible { outline: 2px solid var(--pd-amarillo); outline-offset: 2px; }
@keyframes pd-grande { from { opacity: 0; } to { opacity: 1; } }
.pd__foto.gano { animation: pd-salto 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pd__sello {
  position: absolute; left: 6%; right: 6%; top: 42%; width: fit-content; margin: 0 auto; padding: 10px 22px 12px; border: 5px solid currentColor; border-radius: 14px;
  font: 600 clamp(1.6rem, 5vw, 2.8rem)/1 var(--blog-font-ui); letter-spacing: 0.02em; text-transform: uppercase; text-align: center; text-wrap: balance;
  color: var(--pd-amarillo); background: rgb(88 2 27 / 0.55); transform: translateY(-50%) rotate(-9deg);
  animation: pd-sello 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.pd__sello--era { color: var(--pd-crema); }
.pd__sello { pointer-events: none; }
.pd__sello.quieto { animation: none; }
@keyframes pd-sello { 0% { opacity: 0; transform: translateY(-50%) rotate(-9deg) scale(2.4); } 70% { opacity: 1; transform: translateY(-50%) rotate(-9deg) scale(0.92); } 100% { transform: translateY(-50%) rotate(-9deg) scale(1); } }
@keyframes pd-salto { 0% { transform: rotate(-1.2deg) scale(1); } 40% { transform: rotate(0deg) scale(1.04); } 100% { transform: rotate(-1.2deg) scale(1); } }


.pd__mundo { display: grid; justify-items: center; gap: 6px; animation: pd-aparece 0.7s ease both; }
.pd__mundo[hidden] { display: none; }
.pd__mundo canvas { width: min(100%, 300px); height: auto; aspect-ratio: 1; touch-action: none; cursor: grab; animation: pd-flota 5s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.4)); }
.pd__mundo canvas:active { cursor: grabbing; }
.pd__mundo-pie { margin: 0; max-width: 24rem; text-align: center; font-size: 0.82rem; color: rgb(254 255 237 / 0.8); }
.pd__mundo-pie b { color: var(--pd-amarillo); }
@keyframes pd-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pd-aparece { from { opacity: 0; transform: translateY(16px) scale(0.9); } to { opacity: 1; transform: none; } }


.pd__platos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pd__platos .txt { margin-left: 6px; font-size: 0.82rem; color: rgb(254 255 237 / 0.8); }
.pd__plato { position: relative; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, var(--pd-amarillo) 0 38%, var(--pd-crema) 40% 60%, rgb(254 255 237 / 0.6) 62%); transition: transform 0.3s ease; }
.pd__plato.comido { background: radial-gradient(circle, transparent 0 38%, rgb(254 255 237 / 0.35) 40% 60%, rgb(254 255 237 / 0.2) 62%); }
.pd__plato.nuevo { animation: pd-comido 0.55s ease; }
@keyframes pd-comido { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-14deg); } 60% { transform: scale(0.8) rotate(10deg); } 100% { transform: scale(1); } }

.pd__juego { display: grid; gap: 14px; min-width: 0; }
.pd__form { display: grid; gap: 8px; }
.pd__form label { font-weight: 600; }
.pd__fila { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pd__fila input { min-width: 0; padding: 12px 14px; border: 2px solid var(--pd-crema); border-radius: 14px; background: var(--pd-crema); color: var(--pd-vino); font: 500 1rem var(--blog-font-ui); }
.pd__fila input::placeholder { color: rgb(88 2 27 / 0.6); }
.pd__fila input:disabled { opacity: 0.6; }
.pd__fila.mal { animation: pd-sacudon 0.42s ease; }
@keyframes pd-sacudon { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(4px); } }
.pd__probar { padding: 12px 18px; border: 0; border-radius: 14px; background: var(--pd-amarillo); color: var(--pd-vino); font: 600 1rem var(--blog-font-ui); cursor: pointer; transition: transform 0.15s ease; }
.pd__probar:active { transform: scale(0.95); }
.pd__probar:disabled { opacity: 0.5; cursor: default; }
.pd__sugerencias { position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; border-radius: 14px; background: var(--pd-crema); color: var(--pd-vino); box-shadow: 0 14px 30px rgb(0 0 0 / 0.3); max-height: 220px; overflow: auto; }
.pd__sugerencias li { padding: 8px 10px; border-radius: 10px; cursor: pointer; }

.pd__sugerencias li[aria-selected="true"] { background: var(--pd-amarillo); }
.pd__aviso { min-height: 1.3em; margin: 0; font-size: 0.86rem; color: var(--pd-amarillo); }


.pd__intentos { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pd__intento { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 46px; padding: 6px 12px; border-radius: 12px; background: rgb(254 255 237 / 0.1); }
.pd__intento.entra { animation: pd-entra 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes pd-entra { from { opacity: 0; transform: translateX(-24px) scale(0.96); } to { opacity: 1; transform: none; } }
.pd__intento--vacio { grid-template-columns: 1fr; border: 1.5px dashed rgb(254 255 237 / 0.3); background: none; color: rgb(254 255 237 / 0.6); font-size: 0.84rem; }
.pd__intento--bien { grid-template-columns: minmax(0, 1fr) auto 34px; background: var(--pd-amarillo); color: var(--pd-vino); }
.pd__pais { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd__km { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pd__km small { display: block; font-size: 0.72rem; font-weight: 500; opacity: 0.8; }

.pd__km-dist { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.pd__km .pd__flecha { width: 22px; height: 22px; margin-block: -3px; }
.pd__km .pd__flecha svg { width: 20px; height: 20px; }
.pd__temp { padding: 3px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.pd__temp--caliente { background: var(--pd-rojo); color: var(--pd-crema); }
.pd__temp--tibio { background: var(--pd-amarillo); color: var(--pd-vino); }
.pd__temp--frio { background: rgb(254 255 237 / 0.85); color: var(--pd-vino); }
.pd__temp--lejos { background: rgb(254 255 237 / 0.18); color: var(--pd-crema); }
.pd__flecha { width: 34px; height: 34px; display: grid; place-items: center; }
.pd__flecha svg { display: block; width: 26px; height: 26px; transform: rotate(var(--rumbo, 0deg)) scale(var(--escala, 1)); transform-origin: 50% 50%; }
.pd__flecha.gira svg { animation: pd-flecha 1s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
@keyframes pd-flecha { 0% { transform: rotate(0deg) scale(0.2); } 45% { transform: rotate(calc(var(--rumbo) + 25deg)) scale(1.45); } 100% { transform: rotate(var(--rumbo)) scale(1); } }
.pd__calor { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgb(254 255 237 / 0.15); overflow: hidden; }
.pd__calor i { display: block; height: 100%; width: var(--cerca, 0%); border-radius: 4px; background: linear-gradient(90deg, var(--pd-amarillo), var(--pd-rojo)); transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s; }
.pd__calor.vacia i { width: 0; }


.pd__km-n { position: relative; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-decoration: underline dotted currentColor; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pd__km-n::before { content: ""; position: absolute; inset: -8px -6px; }

.pd-globitos { position: absolute; top: 0; left: 0; z-index: 9; width: 0; height: 0; }
.pd-globito { position: absolute; top: 0; left: 0; box-sizing: border-box; width: max-content; max-width: min(17.5rem, calc(100vw - 24px)); padding: 9px 13px 10px; border: 2px solid var(--pd-vino); border-radius: 14px; background: var(--pd-crema); color: var(--pd-vino); font: 400 0.875rem/1.35 var(--blog-font-ui); text-align: left; white-space: normal; box-shadow: 0 10px 24px rgb(30 3 9 / 0.3); animation: pd-globito 0.18s ease-out both; }
.pd-globito[hidden] { display: none; }
.pd-globito b { font-weight: 700; white-space: nowrap; }
.pd-globito::after { content: ""; position: absolute; left: var(--colita, 50%); bottom: -8px; box-sizing: border-box; width: 13px; height: 13px; margin-left: -6.5px; border: solid var(--pd-vino); border-width: 0 2px 2px 0; background: var(--pd-crema); transform: rotate(45deg); }
.pd-globito.abajo { animation-name: pd-globito-abajo; }
.pd-globito.abajo::after { top: -8px; bottom: auto; border-width: 2px 0 0 2px; }
@keyframes pd-globito { from { opacity: 0; transform: translateY(4px); } }
@keyframes pd-globito-abajo { from { opacity: 0; transform: translateY(-4px); } }


.pd__pistas { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; perspective: 600px; }
.pd__pistas-t { margin: 4px 0 6px; font: 600 1.35rem/1 var(--blog-font-hand); color: var(--pd-amarillo); }
.pd__pista { padding: 8px 12px; border-left: 3px solid var(--pd-amarillo); background: rgb(254 255 237 / 0.08); border-radius: 0 10px 10px 0; font-size: 0.94rem; line-height: 1.35; transform-origin: 50% 0; }
.pd__pista--tapada { border-left-color: rgb(254 255 237 / 0.25); color: rgb(254 255 237 / 0.6); font-size: 0.84rem; }

.pd__pista-n, .pd__pista--tapada .pd__pista-txt { display: none; }
.pd__pista.nueva { animation: pd-pista 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.1) both; }
@keyframes pd-pista { 0% { transform: rotateX(-90deg); background: var(--pd-amarillo); color: var(--pd-vino); } 55% { transform: rotateX(12deg); background: var(--pd-amarillo); color: var(--pd-vino); } 100% { transform: none; } }


.pd__pistas-caja[hidden] { display: none; }
.pd__final { display: grid; gap: 12px; padding: 20px 18px; border-radius: 22px; background: var(--pd-crema); color: var(--pd-vino); animation: pd-aparece 0.6s ease both; }
.pd__final[hidden] { display: none; }
.pd__final :focus-visible, .pd-mas :focus-visible { outline-color: var(--pd-vino); }
.pd__final-t { margin: 0; font: 600 1.7rem/1.05 var(--blog-font-ui); letter-spacing: -0.01em; text-wrap: balance; }
.pd__final-t:focus { outline: none; }
.pd__final-ojo { margin: 0; font: 600 1.4rem/1 var(--blog-font-hand); color: var(--pd-rojo); }
.pd__final p, .pd-mas p { margin: 0; line-height: 1.45; }
.pd-mas { padding: 18px max(16px, 3vw) 20px; border-radius: 28px; background: var(--pd-vino); scroll-margin-top: 16px; animation: pd-aparece 0.6s ease both; }
.pd-mas[hidden] { display: none; }
.pd-mas:focus { outline: none; }
.pd-mas:focus-visible { outline: 3px solid var(--pd-rojo); outline-offset: 3px; }
.pd-mas :focus-visible { outline: 3px solid var(--pd-vino); outline-offset: 2px; }
.pd-mas__tarjeta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px 28px; padding: 20px 18px; border-radius: 20px; background: var(--pd-crema); color: var(--pd-vino); }
.pd-mas__col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.pd-mas__partida:empty { display: none; }
.pd-mas__t { margin: 0; font: 600 1.7rem/1.05 var(--blog-font-ui); letter-spacing: -0.01em; text-wrap: balance; }
.pd-mas__t:focus { outline: none; }
.pd-mas .pd__botones { margin-top: 4px; }
.pd-mas__resultado { font: 600 1.35rem/1.1 var(--blog-font-hand); color: var(--pd-rojo); }
.pd__final-sub { margin: 4px 0 0; font: 600 1rem/1.2 var(--blog-font-ui); }
.pd__donde { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pd__donde li { padding: 8px 10px; border-radius: 12px; background: var(--pd-papel); font-size: 0.9rem; line-height: 1.3; }
.pd__donde b { display: block; }
.pd__numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
.pd__numeros div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; padding: 8px 4px; border-radius: 12px; background: var(--pd-papel); text-align: center; }
.pd__numeros dt { font-size: 0.7rem; line-height: 1.2; color: var(--pd-tinta-2); }
.pd__numeros dd { margin: 0; font: 600 1.5rem/1 var(--blog-font-ui); font-variant-numeric: tabular-nums; }
.pd__manana { font-size: 0.86rem; color: var(--pd-tinta-2); }
.pd__manana b { font-variant-numeric: tabular-nums; color: var(--pd-vino); }
.pd__manana a { color: var(--pd-vino); font-weight: 600; }
.pd__otra { position: relative; padding: 0; border: 0; background: none; color: var(--pd-vino); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pd__otra::after { content: ""; position: absolute; inset: -13px -4px; }
.pd__botones { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__botones a, .pd__botones button { padding: 10px 16px; border: 2px solid var(--pd-vino); border-radius: 14px; background: none; color: var(--pd-vino); font: 600 1rem/1.2 var(--blog-font-ui); text-decoration: none; cursor: pointer; }
.pd__botones .lleno { background: var(--pd-vino); color: var(--pd-crema); }
.pd__copia { display: grid; gap: 6px; }
.pd__copia textarea[hidden] { display: none; }
.pd__copia[hidden] { display: none; }
.pd__copia p { font-size: 0.86rem; font-weight: 600; }
.pd__copia textarea { width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--pd-papel); color: var(--pd-vino); font: 500 0.86rem/1.4 var(--blog-font-ui); resize: none; }
.pd__fuentes { font-size: 0.8rem; color: var(--pd-tinta-2); }
.pd__fuentes summary { cursor: pointer; font-weight: 600; }
.pd__fuentes ol { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 1.1rem; }
.pd__fuentes a { color: var(--pd-vino); overflow-wrap: anywhere; }


.pd--fin .pd__form { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


@media (min-width: 761px) {
  .pd { gap: 12px; padding: 18px 24px 20px; }
  .pd__pizarra { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 14px; text-align: left; }
  .pd__titulo { font-size: 2.4rem; }
  .pd__sub { font-size: 0.78rem; }
  .pd__grilla { gap: 12px 24px; }
  .pd__izq { gap: 12px; }
  .pd__foto { max-height: calc(var(--pd-alto) - 274px); }
  .pd__form { gap: 6px; }
  .pd__fila input { padding: 10px 14px; }
  .pd__probar { padding: 10px 18px; }
  .pd__aviso { min-height: 1.25em; font-size: 0.84rem; }
  
  .pd__sugerencias { top: auto; bottom: calc(100% + 4px); }
  
  .pd__mundo { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; gap: 16px; }
  .pd__mundo canvas { width: clamp(140px, calc(var(--pd-alto) - 104px - min(75cqw, var(--pd-alto) - 274px)), 260px); }
  .pd__mundo-pie { text-align: left; font-size: 0.86rem; line-height: 1.4; }

  .pd__juego { gap: 10px; }
  .pd__plato { width: 24px; height: 24px; }
  .pd__intentos { gap: 5px; }
  .pd__intento { position: relative; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; min-height: 40px; padding: 3px 12px 6px; }
  .pd__intento--vacio { grid-template-columns: 1fr; padding-block: 3px; }
  .pd__intento--bien { grid-template-columns: minmax(0, 1fr) auto 28px; }
  .pd__km { font-size: 0.95rem; line-height: 1.1; }
  .pd__km small { font-size: 0.75rem; line-height: 1.15; }
  .pd__temp { font-size: 0.75rem; }
  .pd__flecha { width: 28px; height: 28px; }
  .pd__flecha svg { width: 22px; height: 22px; }
  .pd__calor { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; }
  .pd__pistas-t { margin: 2px 0 6px; font-size: 1.3rem; }
  .pd__pistas { gap: 5px; }
  .pd__pista { padding: 5px 10px; font-size: 0.88rem; line-height: 1.3; }
  .pd__pista--tapada { font-size: 0.82rem; }

  .pd__final { gap: 8px; padding: 14px 16px 16px; }
  .pd__final-t { font-size: 1.4rem; }
  .pd__final-ojo { font-size: 1.35rem; }
  .pd__numeros div { padding: 6px 4px; }
  .pd__numeros dt { font-size: 0.75rem; }
  .pd__numeros dd { font-size: 1.35rem; }
  .pd__botones a, .pd__botones button { padding: 8px 14px; font-size: 0.95rem; }
}


.plato__como { display: grid; gap: 12px; max-width: 46rem; }
.plato__como-t { margin: 0; font-size: var(--blog-title-section); line-height: 1.05; letter-spacing: -0.01em; }
.plato__pasos { display: grid; gap: 8px; margin: 0; padding-left: 1.2rem; }
.plato__guardado { margin: 0; font-size: 0.9rem; color: var(--sabor-color-text-secondary); }


.pd-revisar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 0.95rem; font-weight: 600; }
.pd-revisar a { color: var(--sabor-color-brand-burgundy); }
.revisar { display: grid; gap: clamp(28px, 4vw, 40px); }
.revisar__t { margin: 0; font-size: var(--blog-title-page); line-height: 1; letter-spacing: -0.02em; }
.revisar__bajada { margin: 0; max-width: 44rem; color: var(--sabor-color-text-secondary); }
.revisar__semana { display: grid; gap: 14px; }
.revisar__semana-t { margin: 0; font-size: var(--blog-title-section); line-height: 1.05; }
.revisar__dias { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.revisar__dia { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; border-radius: 20px; background: var(--pd-papel); }
.revisar__dia img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.revisar__txt { display: grid; gap: 6px; min-width: 0; }
.revisar__fecha { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pd-tinta-2); }
.revisar__plato { margin: 0; font-size: 1.35rem; line-height: 1.1; }
.revisar__plato span { color: var(--sabor-color-brand-red); }
.revisar__datos { margin: 0; font-size: 0.9rem; line-height: 1.4; }
.revisar__txt details { font-size: 0.9rem; line-height: 1.4; }
.revisar__txt summary { cursor: pointer; font-weight: 600; }
.revisar__txt details ol { margin: 6px 0; padding-left: 1.2rem; }
.revisar__jugar { justify-self: start; }


@media (max-width: 760px) {
  .pd {
    container-type: inline-size; margin-inline: -6px;
    grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; padding: 12px 10px 14px; border-radius: 22px;
  }
  .pd__grilla, .pd__izq, .pd__juego { display: contents; }
  .pd__pizarra { display: contents; }
  .pd__titulo { grid-column: 1; grid-row: 1; justify-self: start; text-align: left; }
  .pd__sub { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: -4px; text-align: left; }
  .pd__titulo { font-size: 1.7rem; }
  .pd__sub { font-size: 0.75rem; letter-spacing: 0.08em; }
  .pd__platos { grid-column: 2; grid-row: 1; justify-self: end; gap: 3px; }
  .pd__plato { width: 18px; height: 18px; }
  .pd__platos .txt { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pd__foto, .pd__pistas-caja, .pd__intentos, .pd__form, .pd__final, .pd__mundo, .pd__sinjs { grid-column: 1 / -1; }
  .pd__foto { order: 1; } .pd__pistas-caja { order: 2; } .pd__intentos { order: 3; } .pd__form { order: 4; } .pd__final { order: 5; } .pd__mundo { order: 6; } .pd__sinjs { order: 7; }

  
  .pd__foto { aspect-ratio: auto; height: clamp(130px, calc(var(--pd-alto) - var(--pd-resto, 470px) - 8px), 62.5cqw); border-radius: 18px; transform: rotate(-0.8deg); }
  html:not(.pd-on) .pd__foto { height: 62.5cqw; }
  .pd__puntos { bottom: 9px; padding: 5px 8px; }
  .pd__nombre { top: 8px; left: 8px; padding: 6px 10px 7px; }
  .pd__nombre span { font-size: 0.95rem; }
  .pd__nombre b { font-size: 1.05rem; }
  .pd__foto.gano { animation-name: pd-salto-celu; }
  @keyframes pd-salto-celu { 0% { transform: rotate(-0.8deg) scale(1); } 40% { transform: rotate(0deg) scale(1.03); } 100% { transform: rotate(-0.8deg) scale(1); } }
  .pd__credito { left: 10px; bottom: 8px; font-size: 0.75rem; }
  .pd__sello { top: 50%; padding: 8px 16px 10px; border-width: 4px; font-size: clamp(1.4rem, 8cqw, 2.2rem); }

  
  .pd__pistas-t { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pd__pistas { position: relative; grid-auto-flow: column; grid-auto-columns: calc(100% - 24px); gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pd__pistas::-webkit-scrollbar { display: none; }
  .pd__pista, .pd__pista--tapada { position: relative; scroll-snap-align: start; padding: 7px 10px; font-size: 0.875rem; line-height: 1.3; }
  .pd__pista-n { display: inline; font-weight: 600; color: var(--pd-amarillo); }
  .pd__pista--tapada .pd__pista-txt { display: inline; visibility: hidden; }
  .pd__pista-tapa { position: absolute; left: 10px; right: 10px; top: 7px; font-size: 0.82rem; }

  
  .pd__intentos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .pd__intento { position: relative; grid-template-columns: minmax(0, 1fr); grid-template-areas: "pais" "km" "temp"; gap: 0 6px; align-content: center; min-height: 60px; padding: 3px 7px 9px 8px; overflow: hidden; white-space: nowrap; }
  .pd__pais { grid-area: pais; font-size: 0.92rem; line-height: 1.1; }
  .pd__flecha { grid-area: flecha; justify-self: end; width: 20px; height: 20px; }
  .pd__flecha svg { width: 18px; height: 18px; }
  .pd__km { grid-area: km; font-size: 0.8rem; line-height: 1.2; text-align: left; }
  .pd__km-dist { justify-content: flex-start; gap: 3px; }
  .pd__km .pd__flecha { width: 16px; height: 16px; margin-block: 0; }
  .pd__km .pd__flecha svg { width: 16px; height: 16px; }
  .pd__km small { display: none; }
  .pd__temp { grid-area: temp; justify-self: start; padding: 1px 5px; font-size: 0.75rem; line-height: 1.1; letter-spacing: 0; }
  .pd__calor { position: absolute; left: 8px; right: 7px; bottom: 3px; height: 3px; }
  .pd__intento--vacio { grid-template-areas: none; grid-template-columns: 1fr; font-size: 0.8rem; }
  .pd__intento--bien { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pais flecha" "km km"; }
  .pd__ampliar-icono { right: 8px; bottom: 8px; width: 30px; height: 30px; }
  .pd__ampliar-icono svg { width: 16px; height: 16px; }

  
  .pd__form { grid-template-areas: "msg" "fila"; gap: 4px; }
  .pd__form label, .pd__aviso { grid-area: msg; align-self: end; }
  .pd__form label { font-size: 0.88rem; }
  .pd__aviso { display: flex; align-items: flex-end; min-height: 2.6em; font-size: 0.8rem; line-height: 1.3; }
  .pd__form:has(.pd__aviso:not(:empty)) label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pd__fila input { min-height: 44px; padding: 10px 12px; }
  .pd__probar { min-height: 44px; padding: 10px 16px; }
  .pd__sugerencias { top: auto; bottom: calc(100% + 4px); max-height: min(220px, 40vh); }
  .pd__sugerencias li { padding: 11px 10px; }

  
  .pd__final { gap: 6px; padding: 12px 14px 14px; border-radius: 18px; }
  .pd__final-t { font-size: 1.3rem; }
  .pd__final-ojo { font-size: 1.3rem; }
  .pd__numeros { gap: 5px; }
  .pd__numeros div { padding: 5px 2px; }
  .pd__numeros dt { font-size: 0.75rem; }
  .pd__numeros dd { font-size: 1.3rem; }
  .pd__manana { font-size: 0.8rem; }
  .pd__final .pd__botones { display: grid; gap: 6px; }
  .pd__botones a, .pd__botones button { min-height: 44px; padding: 10px 14px; font-size: 0.95rem; text-align: center; }
  .pd__otra { min-height: 0; padding: 0; }
  .pd__copia p { font-size: 0.8rem; }

  
  .pd-mas { display: grid; gap: 12px; margin-inline: -6px; padding: 12px 10px; border-radius: 22px; }
  .pd-mas[hidden] { display: none; }
  .pd-mas__partida { display: grid; gap: 12px; color: var(--pd-crema); }
  .pd-mas__partida .pd__mundo canvas { width: min(100%, 260px); }
  .pd-mas__tarjeta { padding: 16px 14px; }
  .revisar__dia { grid-template-columns: minmax(0, 1fr); }
  .revisar__dia img { max-width: 320px; }
  .pd-revisar { display: grid; justify-content: start; gap: 6px; font-size: 0.9rem; }
  .pd-revisar span:empty { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pd *, .pd *::before, .pd *::after, .pd-mas, .pd-mas *, .pd-grande, .pd-grande *, .pd-globito { animation: none !important; transition: none !important; }
}
