/* «Reserva tu cocido» (cocido-reserva.js): panel lateral, barra en el panel de la mesa y aviso */
.cr { position: fixed; inset: 0; z-index: 310; }
.cr[hidden] { display: none; }

.cr__fondo {
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 8, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cr__cortina {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100%);
  background: linear-gradient(160deg, #d79a5c, #a8642c);
  transform: translateX(100%);
  pointer-events: none;
}
.cr.sin-animacion .cr__cortina { display: none; }
.cr__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100%);
  display: flex;
  flex-direction: column;
  background: #120d0a;
  border-left: 1px solid rgba(200, 137, 74, 0.3);
  color: var(--tinta, #f3eadb);
  font-family: var(--sans, system-ui, sans-serif);
}

/* Cabecera */
.cr__cabecera {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(22px, 4vh, 38px) clamp(20px, 3vw, 36px) 16px;
  border-bottom: 1px solid rgba(243, 234, 219, 0.1);
}
.cr__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ambar, #c8894a);
}
.cr__prueba {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.5rem;
  border: 1px dashed currentColor;
  border-radius: 999px;
  letter-spacing: 0.12em;
  color: #f0c08a;
}
.cr__titulo {
  margin-top: 0.5rem;
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 0.95;
}
.cr__linea { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.cr__linea > span { display: inline-block; }
.cr__titulo em { color: var(--ambar, #c8894a); }
.cr__cerrar {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 234, 219, 0.3);
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.4s;
}
.cr__cerrar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cr__cerrar:hover { background: var(--tinta, #f3eadb); color: #0d0a08; transform: rotate(90deg); }

/* Cuerpo desplazable */
.cr__cuerpo {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px clamp(20px, 3vw, 36px) 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 137, 74, 0.4) transparent;
}
.cr-vista[hidden] { display: none; }
.cr-bloque { padding: 20px 0; }
.cr-bloque + .cr-bloque, .cr-form > .cr-bloque:first-child { border-top: 1px solid rgba(243, 234, 219, 0.08); }
.cr-form, .cr-form fieldset { border: 0; min-width: 0; }

.cr-intro p, .cr-texto {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--tinta-suave, rgba(243, 234, 219, 0.72));
}
.cr-intro p { font-family: var(--serif, Georgia, serif); font-size: 1.2rem; line-height: 1.4; color: var(--tinta, #f3eadb); }
.cr-intro__mesa { margin-top: 1rem; }
.cr-texto strong { color: var(--tinta, #f3eadb); font-weight: 500; }
.cr-texto--aviso { color: #f0c08a; }

.cr-paso {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tinta, #f3eadb);
}
.cr-paso > span { font-family: var(--serif, Georgia, serif); font-size: 1rem; letter-spacing: 0; color: var(--ambar, #c8894a); }

/* Botones */
.cr-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.75rem 1.3rem;
  border: 1px solid rgba(243, 234, 219, 0.4);
  border-radius: 999px;
  background: none;
  color: var(--tinta, #f3eadb);
  font: 500 0.72rem/1.2 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cr-boton svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.3s; }
.cr-boton:hover { background: var(--tinta, #f3eadb); color: #0d0a08; border-color: var(--tinta, #f3eadb); }
.cr-boton:hover svg { transform: translateX(3px); }
.cr-boton--relleno { background: var(--ambar, #c8894a); border-color: var(--ambar, #c8894a); color: #0d0a08; }
.cr-boton--whatsapp svg { fill: none; stroke-width: 1.6; }
.cr-boton[disabled] { cursor: progress; opacity: 0.75; }

/* Días */
.cr-dias {
  display: flex;
  gap: 8px;
  margin: 0 calc(-1 * clamp(20px, 3vw, 36px));
  padding: 4px clamp(20px, 3vw, 36px) 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 clamp(20px, 3vw, 36px);
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 137, 74, 0.4) transparent;
}
.cr-dia {
  position: relative;
  flex: 0 0 auto;
  width: 104px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 12px 11px;
  border: 1px solid rgba(243, 234, 219, 0.18);
  border-radius: 14px;
  background: rgba(243, 234, 219, 0.03);
  scroll-snap-align: start;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.cr-dia input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.cr-dia__sem { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-dia__num { margin-top: 0.15rem; font-family: var(--serif, Georgia, serif); font-size: 2.3rem; line-height: 1; }
.cr-dia__mes { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-dia__quedan { margin-top: 0.6rem; font-size: 0.7rem; line-height: 1.25; color: #9fd29a; }
.cr-dia--pocas .cr-dia__quedan { color: #f0c08a; }
.cr-dia:hover { border-color: rgba(200, 137, 74, 0.6); }
.cr-dia:has(input:checked) {
  border-color: var(--ambar, #c8894a);
  background: rgba(200, 137, 74, 0.16);
  box-shadow: 0 0 0 1px var(--ambar, #c8894a) inset;
}
.cr-dia:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ambar, #c8894a);
}
.cr-dia:has(input:focus-visible) { outline: 2px solid var(--tinta, #f3eadb); outline-offset: 3px; }
.cr-dia--agotado, .cr-dia--cerrado { cursor: not-allowed; border-style: dashed; background: none; }
.cr-dia--agotado .cr-dia__num, .cr-dia--cerrado .cr-dia__num { color: rgba(243, 234, 219, 0.4); }
.cr-dia--agotado .cr-dia__quedan { color: #e39a86; }
.cr-dia--cerrado .cr-dia__quedan { color: rgba(243, 234, 219, 0.55); }
.cr-dia--agotado:hover, .cr-dia--cerrado:hover { border-color: rgba(243, 234, 219, 0.18); }
.cr-dia--agotado .cr-dia__num { text-decoration: line-through; text-decoration-thickness: 1px; }
.cr-dia--hueco {
  height: 118px;
  border-style: solid;
  background: linear-gradient(100deg, rgba(243, 234, 219, 0.03) 30%, rgba(243, 234, 219, 0.09) 50%, rgba(243, 234, 219, 0.03) 70%) 0 0 / 300% 100%;
  animation: cr-brillo 1.4s linear infinite;
}
@keyframes cr-brillo { to { background-position: -150% 0; } }
.cr-dias__estado:empty { display: none; }
.cr-dias__estado { display: grid; gap: 0.8rem; justify-items: start; margin-top: 0.4rem; }

.cr-cargando { display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-puntos { display: inline-flex; gap: 5px; }
.cr-puntos i { width: 6px; height: 6px; border-radius: 50%; background: var(--ambar, #c8894a); animation: cr-salto 1s ease-in-out infinite; }
.cr-puntos i:nth-child(2) { animation-delay: 0.15s; }
.cr-puntos i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cr-salto { 50% { transform: translateY(-6px); opacity: 0.5; } }

/* Raciones */
.cr-raciones { justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; padding: 6px; border: 1px solid rgba(243, 234, 219, 0.18); border-radius: 999px; }
.cr-raciones__boton {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(243, 234, 219, 0.08);
  color: var(--tinta, #f3eadb);
  font: 400 1.4rem/1 var(--sans, system-ui, sans-serif);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.cr-raciones__boton:hover:not([disabled]) { background: var(--ambar, #c8894a); color: #0d0a08; }
.cr-raciones__boton[disabled] { opacity: 0.3; cursor: not-allowed; }
.cr-raciones__num {
  width: 3.2ch;
  border: 0;
  background: none;
  color: var(--tinta, #f3eadb);
  font: 400 2.2rem/1 var(--serif, Georgia, serif);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cr-raciones__num::-webkit-outer-spin-button, .cr-raciones__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cr-raciones__num:disabled { color: rgba(243, 234, 219, 0.35); }

/* Campos */
.cr-datos { display: grid; gap: 16px; }
.cr-datos > .cr-paso { margin-bottom: 0; }
.cr-campo { display: grid; gap: 6px; min-width: 0; }
.cr-campo > label { font-size: 0.8rem; color: var(--tinta, #f3eadb); }
.cr-req, .cr-opc { font-size: 0.72rem; color: rgba(243, 234, 219, 0.55); }
.cr-campo input:not([type="checkbox"]):not([type="radio"]):not(.cr-raciones__num), .cr-campo textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(243, 234, 219, 0.22);
  border-radius: 10px;
  background: rgba(243, 234, 219, 0.04);
  color: var(--tinta, #f3eadb);
  font: 400 1rem/1.4 var(--sans, system-ui, sans-serif); /* 16 px: iOS no amplía al enfocar */
  transition: border-color 0.3s, background 0.3s;
}
.cr-campo textarea { resize: vertical; min-height: 84px; }
.cr-campo input:focus, .cr-campo textarea:focus { border-color: var(--ambar, #c8894a); background: rgba(243, 234, 219, 0.07); }
.cr-campo input::placeholder { color: rgba(243, 234, 219, 0.35); }
.cr-campo [aria-invalid="true"] { border-color: #e39a86 !important; }
.cr-fila { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 12px; }
.cr-ayuda { font-size: 0.75rem; line-height: 1.45; color: rgba(243, 234, 219, 0.6); }
.cr-ayuda--derecha { text-align: right; }
.cr-error { font-size: 0.78rem; line-height: 1.4; color: #f2a893; }
.cr-error[hidden] { display: none; }
.cr-error--general { padding: 0.7rem 0.9rem; border-left: 2px solid #e39a86; background: rgba(227, 154, 134, 0.08); }

.cr-acepto { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.7rem; }
.cr-acepto input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ambar, #c8894a); }
.cr-acepto label { font-size: 0.8rem; line-height: 1.5; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-acepto label a, .cr-texto a { color: var(--ambar, #c8894a); text-decoration: underline; text-underline-offset: 3px; }
.cr-acepto .cr-error { grid-column: 1 / -1; }

.cr-trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Enviar */
.cr-enviar { display: grid; gap: 12px; }
.cr-resumen { font-size: 0.9rem; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-resumen:empty { display: none; }
.cr-resumen strong { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.35rem; color: var(--tinta, #f3eadb); }
.cr-enviar__boton, .cr-anular__boton { width: 100%; min-height: 54px; font-size: 0.78rem; }
.cr-enviar__boton .cr-puntos, .cr-anular__boton .cr-puntos { display: none; }
.cr-ocupado .cr-puntos { display: inline-flex; }
.cr-ocupado .cr-puntos i { background: #0d0a08; }
.cr-letra { font-size: 0.74rem; line-height: 1.5; color: rgba(243, 234, 219, 0.55); }

/* Resultado */
.cr-resultado { text-align: left; }
.cr-sello { display: block; width: 72px; height: 72px; margin-bottom: 1.1rem; color: #9fd29a; }
.cr-sello svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cr-sello--no { color: #e39a86; }
.cr-resultado__titulo {
  margin: 0.5rem 0 0.8rem;
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 7vw, 3.2rem);
  line-height: 1;
}
.cr-resultado--ok .cr-resultado__titulo { color: var(--tinta, #f3eadb); }
/* Los titulares reciben el foco por programa (para el lector de pantalla): sin recuadro */
.cr [data-foco]:focus, .cr [data-foco]:focus-visible { outline: none; box-shadow: none; }
.cr-resultado__linea { font-size: 1.05rem; line-height: 1.5; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-resultado__linea strong { color: #9fd29a; font-weight: 500; }
.cr-resultado .cr-boton { margin-top: 1rem; }
.cr-codigo {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.2rem 1rem;
  margin: 1.4rem 0 1rem;
  padding: 1rem 1.2rem;
  border: 1px dashed rgba(200, 137, 74, 0.6);
  border-radius: 14px;
  background: rgba(200, 137, 74, 0.08);
}
.cr-codigo__etiqueta { grid-column: 1; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ambar, #c8894a); }
.cr-codigo__valor { grid-column: 1; font: 500 clamp(1.5rem, 6vw, 1.9rem)/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.12em; color: var(--tinta, #f3eadb); }
.cr-codigo__copiar {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(243, 234, 219, 0.3);
  border-radius: 999px;
  background: none;
  color: var(--tinta, #f3eadb);
  font: 500 0.66rem/1 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.cr-codigo__copiar:hover { background: var(--tinta, #f3eadb); color: #0d0a08; }
.cr-nota { display: grid; gap: 0.2rem; justify-items: start; }
.cr-nota p { font-size: 0.9rem; line-height: 1.55; color: #f0c08a; }
.cr-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-acciones .cr-boton { margin-top: 0; }

.cr-alternativas { list-style: none; display: grid; gap: 8px; }
.cr-alternativa {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.1rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(243, 234, 219, 0.18);
  border-radius: 12px;
  background: rgba(243, 234, 219, 0.03);
  color: var(--tinta, #f3eadb);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.cr-alternativa__dia { font-family: var(--serif, Georgia, serif); font-size: 1.2rem; }
.cr-alternativa__dia::first-letter { text-transform: uppercase; }
.cr-alternativa__quedan { grid-column: 1; font-size: 0.75rem; color: #9fd29a; }
.cr-alternativa svg { grid-column: 2; grid-row: 1 / 3; width: 16px; height: 16px; fill: none; stroke: var(--ambar, #c8894a); stroke-width: 1.8; transition: transform 0.3s; }
.cr-alternativa:hover { border-color: var(--ambar, #c8894a); background: rgba(200, 137, 74, 0.1); }
.cr-alternativa:hover svg { transform: translateX(3px); }

.cr-contacto { display: grid; gap: 0.8rem; }
.cr-contacto p { font-size: 0.88rem; line-height: 1.55; color: var(--tinta-suave, rgba(243, 234, 219, 0.72)); }
.cr-contacto__botones { display: flex; flex-wrap: wrap; gap: 8px; }

.cr-volver {
  margin-bottom: 1rem;
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: var(--tinta-suave, rgba(243, 234, 219, 0.72));
  font: 500 0.72rem/1 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.cr-volver:hover { color: var(--tinta, #f3eadb); }
.cr-vista__titulo { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 2rem; line-height: 1.05; margin-bottom: 0.6rem; }
.cr-vista__titulo:focus { outline: none; }
.cr-anular { display: grid; gap: 16px; }
.cr-anular[hidden], .cr-anular__resultado[hidden] { display: none; }
.cr-anular__resultado { display: grid; gap: 0.8rem; justify-items: start; }
.cr-anular__resultado .cr-resultado__titulo { font-size: 2.2rem; }
.cr-anular__resultado [data-foco]:focus { outline: none; }

/* Pie */
.cr__pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px clamp(20px, 3vw, 36px) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(243, 234, 219, 0.08);
}
.cr__anular {
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--tinta-suave, rgba(243, 234, 219, 0.72));
  font: 400 0.78rem/1.3 var(--sans, system-ui, sans-serif);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(243, 234, 219, 0.35);
  cursor: pointer;
}
.cr__anular:hover { color: var(--tinta, #f3eadb); }
.cr__anular[hidden] { display: none; }
.cr__cerrar-pie {
  margin-left: auto;
  min-height: 36px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(243, 234, 219, 0.3);
  border-radius: 999px;
  background: none;
  color: var(--tinta, #f3eadb);
  font: 400 0.68rem/1 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.cr__cerrar-pie:hover { background: var(--tinta, #f3eadb); color: #0d0a08; }

/* Barra discreta dentro del panel de la mesa (reservas.js) */
.cr-barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0 clamp(12px, 2vw, 24px) 12px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(200, 137, 74, 0.35);
  border-radius: 12px;
  background: rgba(200, 137, 74, 0.07);
  color: var(--tinta-suave, rgba(243, 234, 219, 0.72));
  font: 400 0.8rem/1.35 var(--sans, system-ui, sans-serif);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.cr-barra strong { font-weight: 500; color: var(--ambar, #c8894a); }
.cr-barra svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ambar, #c8894a); stroke-width: 1.8; transition: transform 0.3s; }
.cr-barra:hover { border-color: var(--ambar, #c8894a); background: rgba(200, 137, 74, 0.14); color: var(--tinta, #f3eadb); }
.cr-barra:hover svg { transform: translateX(3px); }

/* Aviso tras cerrar la mesa */
.cr-aviso {
  position: fixed;
  left: var(--margen, 16px);
  bottom: calc(var(--margen, 16px) + env(safe-area-inset-bottom));
  z-index: 290;
  display: flex;
  align-items: center;
  gap: 0.6rem 1rem;
  max-width: min(460px, calc(100vw - 2 * var(--margen, 16px)));
  padding: 0.8rem 0.8rem 0.8rem 1.1rem;
  border: 1px solid rgba(200, 137, 74, 0.45);
  border-radius: 16px;
  background: rgba(18, 13, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  color: var(--tinta, #f3eadb);
  font-family: var(--sans, system-ui, sans-serif);
}
.cr-aviso[hidden] { display: none; }
.cr-aviso__texto { font-size: 0.85rem; line-height: 1.4; }
.cr-aviso__botones { display: flex; align-items: center; gap: 0.3rem; flex: none; }
.cr-aviso__si {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--ambar, #c8894a);
  color: #0d0a08;
  font: 500 0.66rem/1.1 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.cr-aviso__si svg, .cr-aviso__no svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cr-aviso__si:hover { background: #dba066; }
.cr-aviso__no {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--tinta-suave, rgba(243, 234, 219, 0.72));
  cursor: pointer;
}
.cr-aviso__no:hover { color: var(--tinta, #f3eadb); background: rgba(243, 234, 219, 0.08); }

/* Con el panel abierto: la página no se mueve y los flotantes se apartan */
html.cr-abierta { overflow: hidden; }
.cr-abierta .cocido, .cr-abierta .ruta-boton, .cr-abierta .cr-aviso { opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }

/* Foco visible */
.cr :where(button, a, input, textarea):focus-visible, .cr-barra:focus-visible, .cr-aviso :where(button):focus-visible {
  outline: 2px solid var(--tinta, #f3eadb);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(13, 10, 8, 0.85);
}
.cr-campo input:focus-visible, .cr-campo textarea:focus-visible { outline-offset: 1px; }
.cr-dia input:focus-visible { outline: none; box-shadow: none; }

/* Móvil */
@media (max-width: 560px) {
  .cr__panel, .cr__cortina { width: 100%; border-left: 0; }
  .cr__titulo { font-size: 2.1rem; }
  .cr-intro p { font-size: 1.08rem; }
  .cr-fila { grid-template-columns: 1fr; }
  .cr-dia { width: 96px; }
  .cr-aviso { left: 12px; right: 12px; max-width: none; flex-wrap: wrap; }
  .cr-aviso__texto { flex: 1 1 100%; }
  .cr-aviso__botones { width: 100%; justify-content: space-between; }
  .cr__pie { flex-wrap: wrap; }
}

@media (forced-colors: active) {
  .cr-dia, .cr-alternativa, .cr-codigo, .cr-barra, .cr-aviso { border: 1px solid CanvasText; }
  .cr-dia:has(input:checked) { outline: 3px solid Highlight; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-puntos i, .cr-dia--hueco { animation: none; }
  .cr *, .cr-barra, .cr-aviso { transition: none !important; }
}
