:root{
  --cal:#f7f1e6;
  --piedra:#e9dcc4;
  --piedra-honda:#d8c6a6;
  --obsidiana:#1f1a17;
  --hule:#3b2f28;
  --ocre:#a4532b;
  --jade:#2f6b55;
  --jade-claro:#d7e7dd;
  --tinta-suave:#5a4d44;
  --ancho-pista:46rem;
  --letra-titulo:"Macondo","Palatino Linotype","Book Antiqua",Georgia,serif;
  --letra-texto:"Kreon","Rockwell","Roboto Slab",Georgia,serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{display:flex;flex-direction:column;min-height:100vh;margin:0;background:var(--piedra);color:var(--obsidiana);font-family:var(--letra-texto);font-size:1.075rem;line-height:1.62}
img,svg{max-width:100%;height:auto}
a{color:var(--jade)}
a:hover{color:var(--ocre)}
.saltar-pista{position:absolute;left:-999px;top:0;background:var(--obsidiana);color:var(--cal);padding:.5rem 1rem;z-index:30}
.saltar-pista:focus{left:1rem}

/* testera norte: barra superior de la I */
.l-testera-norte{background:var(--obsidiana);color:var(--cal);border-bottom:6px solid var(--ocre)}
.l-testera-norte .l-franja-i{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;max-width:78rem;margin:0 auto;padding:.85rem 1.5rem}
.sello-hule{display:flex;align-items:center;gap:.6rem;color:var(--cal);text-decoration:none;font-family:var(--letra-titulo);font-size:1.3rem;line-height:1.1}
.sello-hule:hover{color:var(--piedra)}
.sello-hule img{width:38px;height:38px}
.sello-hule small{display:block;font-family:var(--letra-texto);font-size:.72rem;letter-spacing:.06em;color:var(--piedra-honda)}
.ruta-guarnicion{display:flex;gap:1.1rem;list-style:none;margin:0;padding:0;font-size:.95rem}
.ruta-guarnicion a{color:var(--cal);text-decoration:none;padding:.25rem 0;border-bottom:2px solid transparent}
.ruta-guarnicion a:hover,.ruta-guarnicion a.is-current{border-bottom-color:var(--ocre);color:var(--cal)}

/* boton: aro de piedra */
.anillo-tiro{display:inline-flex;align-items:center;gap:.6rem;background:var(--jade);color:#fff;text-decoration:none;font-weight:700;border-radius:999px;padding:.55rem 1.15rem .55rem .55rem;line-height:1.2;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
.anillo-tiro::before{content:"";flex:0 0 auto;width:1.35rem;height:1.35rem;border-radius:50%;border:4px solid var(--piedra);background:transparent}
.anillo-tiro:hover{background:var(--ocre);color:#fff}
.anillo-tiro.is-alto{font-size:.92rem;white-space:nowrap}

/* callejon: el cuerpo largo de la I */
.l-callejon{flex:1 0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--ancho-pista)) minmax(0,1fr)}
.l-talud{position:relative;background:
  repeating-linear-gradient(0deg,transparent 0 46px,rgba(59,47,40,.08) 46px 48px),
  linear-gradient(90deg,var(--piedra) 0%,var(--piedra-honda) 100%)}
.l-talud.is-oriente{background:
  repeating-linear-gradient(0deg,transparent 0 46px,rgba(59,47,40,.08) 46px 48px),
  linear-gradient(270deg,var(--piedra) 0%,var(--piedra-honda) 100%)}
.ojo-aro{position:sticky;top:42vh;display:block;width:74px;height:74px;margin:42vh auto 0;border-radius:50%;border:13px solid var(--hule);background:transparent;opacity:.55}
.l-talud.is-poniente .ojo-aro{margin-right:1.2rem}
.l-talud.is-oriente .ojo-aro{margin-left:1.2rem}
.l-pista{background:var(--cal);padding:2.4rem 2.6rem 3rem;border-left:3px solid var(--ocre);border-right:3px solid var(--ocre);min-width:0}

.miga-hule{font-size:.85rem;color:var(--tinta-suave);margin:0 0 1rem}
.miga-hule a{color:var(--tinta-suave)}
h1,h2,h3{font-family:var(--letra-titulo);font-weight:400;line-height:1.18;color:var(--obsidiana)}
h1{font-size:2.35rem;margin:.2rem 0 1rem}
h2{font-size:1.7rem;margin:0 0 .8rem}
h3{font-size:1.25rem;margin:1.6rem 0 .5rem}
p{margin:0 0 1rem}
.fecha-glifo{font-size:.88rem;color:var(--tinta-suave);margin-bottom:1.4rem}
.entrada-pista{font-size:1.14rem}

/* marcadores de seccion con numeral de puntos y rayas */
.tanto{margin:2.8rem 0 0;padding-top:1.6rem;border-top:2px dashed var(--piedra-honda)}
.tanto-cabeza{display:flex;align-items:center;gap:1rem;margin-bottom:.8rem}
.tanto-cabeza h2{margin:0}
.estela-num{flex:0 0 auto;display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;gap:4px;width:3.4rem;height:3.4rem;border-radius:50%;background:var(--piedra);border:3px solid var(--hule)}
.estela-num .fila-puntos{display:flex;gap:4px}
.estela-num .punto{display:block;width:7px;height:7px;border-radius:50%;background:var(--ocre)}
.estela-num .raya{display:block;width:26px;height:5px;border-radius:2px;background:var(--hule)}

.losa-dato{background:var(--jade-claro);border-left:6px solid var(--jade);padding:1rem 1.2rem;margin:1.2rem 0}
.losa-dato p:last-child{margin-bottom:0}
.nota-obsidiana{background:var(--hule);color:var(--cal);padding:1rem 1.2rem;border-radius:4px;margin:1.2rem 0}
.nota-obsidiana a{color:#f2c9a8}
.nota-obsidiana p:last-child{margin-bottom:0}
.rebote-nota{margin:2.2rem 0 .7rem;font-style:italic;color:var(--tinta-suave)}
.tiro-libre{margin:0 0 2rem}

.losa-scroll{overflow-x:auto;margin:1.2rem 0;border:2px solid var(--piedra-honda)}
.tabla-tanto{border-collapse:collapse;width:100%;font-size:.95rem;min-width:30rem}
.tabla-tanto caption{caption-side:bottom;text-align:left;font-size:.82rem;color:var(--tinta-suave);padding:.5rem .7rem}
.tabla-tanto th,.tabla-tanto td{padding:.55rem .7rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--piedra-honda)}
.tabla-tanto thead th{background:var(--obsidiana);color:var(--cal);font-weight:400;font-family:var(--letra-titulo)}
.tabla-tanto tbody th{background:var(--piedra);font-weight:700}

.lista-hule{padding-left:1.2rem}
.lista-hule li{margin-bottom:.45rem}
.pasos-hule{counter-reset:paso;list-style:none;padding:0}
.pasos-hule li{counter-increment:paso;position:relative;padding-left:2.6rem;margin-bottom:.9rem}
.pasos-hule li::before{content:counter(paso);position:absolute;left:0;top:.05rem;width:1.8rem;height:1.8rem;border-radius:50%;border:3px solid var(--ocre);text-align:center;line-height:1.25rem;font-weight:700;font-size:.9rem}

.cancha-plano{display:block;margin:1.4rem auto;width:100%;max-width:520px}
.duda-hule{border:2px solid var(--piedra-honda);border-radius:4px;margin-bottom:.7rem;background:#fff}
.duda-hule summary{cursor:pointer;padding:.8rem 1rem;font-weight:700}
.duda-hule[open] summary{border-bottom:1px solid var(--piedra-honda)}
.duda-hule .duda-caucho{padding:.8rem 1rem .2rem}

/* testera sur */
.l-testera-sur{background:var(--hule);color:var(--piedra);border-top:6px solid var(--ocre)}
.l-testera-sur .l-franja-i{max-width:78rem;margin:0 auto;padding:2rem 1.5rem 2.4rem;display:grid;grid-template-columns:2fr 1fr;gap:2rem}
.l-testera-sur a{color:#f2c9a8}
.l-testera-sur p{font-size:.92rem}
.indice-pie{list-style:none;margin:0;padding:0;font-size:.92rem}
.indice-pie li{margin-bottom:.35rem}
.edad-aro{display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;border-radius:50%;border:3px solid #f2c9a8;font-weight:700;margin-right:.6rem;vertical-align:middle}
.firma-piedra{grid-column:1/-1;border-top:1px solid rgba(233,220,196,.25);padding-top:1rem;font-size:.85rem}

/* tabbar inferior */
.menu-bordillo{display:none}

@media (min-width:1700px){
  :root{--ancho-pista:50rem}
  body{font-size:1.12rem}
}
@media (max-width:1100px){
  .ruta-guarnicion{display:none}
}
@media (max-width:860px){
  .l-callejon{grid-template-columns:10px minmax(0,1fr) 10px}
  .ojo-aro{display:none}
  .l-pista{padding:1.6rem 1.15rem 2.4rem;border-width:2px}
  h1{font-size:1.85rem}
  h2{font-size:1.45rem}
  .l-testera-sur .l-franja-i{grid-template-columns:1fr;padding-bottom:6rem}
  .menu-bordillo{display:grid;grid-template-columns:repeat(6,1fr);position:fixed;left:0;right:0;bottom:0;z-index:20;background:var(--obsidiana);border-top:4px solid var(--ocre);padding:.3rem .2rem calc(.3rem + env(safe-area-inset-bottom))}
  .menu-bordillo a{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--piedra);text-decoration:none;font-size:.68rem;padding:.25rem 0}
  .menu-bordillo a::before{content:"";width:14px;height:14px;border-radius:50%;border:3px solid var(--piedra-honda)}
  .menu-bordillo a.is-current{color:#fff}
  .menu-bordillo a.is-current::before{border-color:var(--ocre);background:var(--ocre)}
  body{padding-bottom:0}
}
@media (max-width:520px){
  .l-testera-norte .l-franja-i{padding:.7rem .8rem;gap:.6rem}
  .sello-hule{font-size:1.05rem}
  .sello-hule small{display:none}
  .sello-hule img{width:30px;height:30px}
  .anillo-tiro.is-alto{font-size:.78rem;padding:.4rem .7rem .4rem .4rem;white-space:normal;max-width:11rem}
  .anillo-tiro.is-alto::before{width:1rem;height:1rem;border-width:3px}
  .estela-num{width:2.8rem;height:2.8rem}
}
