* { box-sizing: border-box; }
    html { color-scheme: light; overflow-x: clip; }
    body {
      margin: 0;
      background: #fff6ea;
      color: #3a241c;
      font: 16px/1.45 "Segoe UI", "Trebuchet MS", sans-serif;
    }
    a { color: inherit; }
    .barra {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      background: #d4532c;
      color: #fff;
      padding: 11px 18px;
    }
    .marca { font-weight: 700; letter-spacing: 0.03em; text-decoration: none; }
    .mayoria { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
    .cielo {
      position: relative;
      height: 112px;
      overflow: hidden;
      background: linear-gradient(180deg, #f6b15a 0%, #f8d7a0 58%, #fff6ea 100%);
    }
    .sol {
      position: absolute;
      right: 11%;
      top: 16px;
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: radial-gradient(circle at 38% 36%, #fff8d2, #ffc43d 58%, #f08a24);
      box-shadow: 0 0 0 14px rgba(255, 214, 120, 0.45);
    }
    .loma {
      position: absolute;
      left: -8%;
      right: -8%;
      bottom: -34px;
      height: 64px;
      background: #fff6ea;
      border-radius: 50% 50% 0 0;
    }
    .marco { max-width: 1100px; margin: 0 auto; padding: 8px 14px 56px; }
    h1 { margin: 0; text-align: center; font-size: 28px; line-height: 1.15; color: #3a241c; }
    .bajada { margin: 6px 0 4px; text-align: center; color: #7a5340; }
    .edad { margin: 0 0 12px; text-align: center; color: #9a3412; font-size: 14px; font-weight: 700; }
    .reloj {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      list-style: none;
      margin: 0 0 18px;
      padding: 0;
    }
    .reloj li {
      background: #fff;
      border-radius: 12px;
      min-width: 104px;
      padding: 6px 10px 7px;
      text-align: center;
      box-shadow: 0 4px 0 #f0c9a4;
    }
    .reloj b { display: block; font-size: 12px; font-weight: 700; }
    .reloj span { color: #d4532c; font-weight: 800; font-size: 15px; }
    .muro {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
      align-items: start;
    }
    .ficha {
      background: #fff;
      color: #1c1916;
      border-radius: 16px;
      overflow: hidden;
      border-top: 7px solid var(--tinta, #d4532c);
      box-shadow: 0 10px 22px rgba(120, 52, 18, 0.12);
    }
    .ficha.primera { --tinta: #e0a12e; }
    .ficha.matutina { --tinta: #e07a2f; }
    .ficha.vespertina { --tinta: #d4523a; }
    .ficha.tarde { --tinta: #c43d55; }
    .ficha.nocturna { --tinta: #3d4d8f; }
    .tapa { background: #c2412d; color: #fff; text-align: center; padding: 12px 12px 14px; }
    .ficha.nocturna .tapa { background: #31406f; }
    .prov { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
    .cuando { margin: 3px 0 0; font-size: 12px; color: #ffe1c8; }
    .chip {
      display: inline-block;
      margin-top: 8px;
      background: #ffe08a;
      color: #3a1a16;
      font-weight: 700;
      font-size: 13px;
      border-radius: 999px;
      padding: 4px 12px;
    }
    .sello {
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      width: max-content;
      height: 22px;
      margin: 8px auto 0;
      padding: 0 8px;
      background: #fff;
      color: #c2412d;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: 999px;
    }
    .sello:empty { visibility: hidden; }
    .premio { background: #ffe7b0; text-align: center; padding: 14px 8px 16px; }
    .etiqueta { margin: 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #6d5b3a; }
    .bolilla {
      width: 108px;
      height: 108px;
      margin: 8px auto 0;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: radial-gradient(circle at 34% 30%, #fff, #ffe7b0 46%, #e7c56a);
      box-shadow: inset 0 -10px 14px rgba(140, 80, 16, 0.16), 0 7px 0 #e2be6a;
    }
    .numero {
      margin: 0;
      font-size: 26px;
      font-weight: 800;
      letter-spacing: 0.03em;
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }
    .par { margin: 8px 0 0; color: #9d2430; font-weight: 700; font-size: 15px; }
    .ficha.vacia .premio { background: #f3eadc; }
    .ficha.vacia .bolilla { background: #efe6d4; box-shadow: none; }
    .ficha.vacia .numero { color: #a89880; }
    .pares { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; padding: 8px 8px 12px; }
    .col { list-style: none; margin: 0; padding: 0; }
    .linea {
      display: grid;
      grid-template-columns: 1.5rem 1fr;
      align-items: baseline;
      padding: 3px 6px;
      font-size: 15px;
      font-variant-numeric: tabular-nums;
    }
    .linea:nth-child(odd) { background: #f4f0e6; }
    .puesto { color: #8a8175; font-size: 13px; }
    .cifra { font-weight: 700; letter-spacing: 0.03em; }
    .lectura {
      background: #f7f3ec;
      color: #241c18;
      border-radius: 16px;
      padding: 8px 22px 18px;
      margin-top: 26px;
    }
    .lectura h2 { font-size: 1.25rem; margin: 1.2em 0 0.4em; }
    .lectura p { margin: 0.7em 0; }
    .lectura ol, .lectura ul { margin: 8px 0 14px; padding-left: 1.3em; }
    .lectura li { margin: 6px 0; }
    .lectura a { color: #7c2430; }
    .lectura table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: 0.95rem; }
    .lectura caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 6px; }
    .lectura th, .lectura td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #e6dfd4; }
    .lectura th { color: #7c2430; }
    .cierre { color: #6d5648; font-size: 14px; margin-top: 18px; }
    .cierre a { color: #c2412d; }
    .marco { position: relative; }
    .lado { width: min(400px, 100%); margin: 18px auto 0; }
    .lado a { display: block; }
    .lado img { display: block; width: 100%; height: auto; border-radius: 6px; }
    @media (min-width: 1360px) {
      .marco > .lado {
        position: absolute;
        top: 22px;
        bottom: 0;
        left: calc(100% + 18px);
        width: min(272px, calc((100vw - 1100px) / 2 - 40px));
        margin: 0;
      }
      .marco > .lado a { position: sticky; top: 16px; }
    }
    @media (max-width: 560px) {
      h1 { font-size: 23px; }
      .sol { width: 54px; height: 54px; right: 16px; }
      .numero { font-size: 22px; }
      .bolilla { width: 92px; height: 92px; }
      .lectura { padding: 4px 14px 14px; }
    }

    .sendero {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      margin: 0;
      padding: 8px 12px 10px;
      background: #9a3412;
    }
    .sendero a {
      color: #fff6ea;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      padding: 5px 10px;
      border-radius: 999px;
    }
    .sendero a[aria-current="page"] { background: #ffe08a; color: #3a1a16; }
    .busca {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: end;
      margin: 4px 0 14px;
    }
    .busca label { font-weight: 700; }
    .busca input {
      display: block;
      margin-top: 4px;
      border: 0;
      border-radius: 10px;
      padding: 8px 10px;
      font: inherit;
      width: min(220px, 100%);
      background: #fff;
      box-shadow: 0 3px 0 #f0c9a4;
    }
    .busca button {
      border: 0;
      border-radius: 999px;
      background: #d4532c;
      color: #fff;
      font: inherit;
      font-weight: 700;
      padding: 8px 14px;
      cursor: pointer;
    }
    .hallazgo { margin: 0 0 8px; }
    .lectura td.clave { color: #c2412d; font-weight: 800; width: 4.5rem; }

