/* 📖 Guía: páginas de texto con el estilo retro del juego (fondo blanco, tinta violeta, bordes gruesos). */
body { background: #fff; color: var(--tinta); font-size: 17px; line-height: 1.6; margin: 0; }
a { color: #1c7fa8; }
.muted { color: var(--muted); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: var(--borde); background: #fff; position: sticky; top: 0; z-index: 2; }
.top .logo { font-size: 26px; font-weight: 900; color: var(--tinta); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 14px; }
.top nav a { font-weight: 700; text-decoration: none; color: var(--tinta); }

.cta { display: inline-block; padding: 8px 16px; border: var(--borde); border-radius: 14px; background: var(--verde); color: var(--tinta) !important; font-weight: 800; text-decoration: none; box-shadow: var(--sombra); }
.cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--tinta); }

main { max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; margin: 6px 0 16px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 22px 0 6px; }
li { margin: 4px 0; }

table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; border: var(--borde); }
th, td { padding: 8px 10px; border-bottom: 1px solid #d9d4ee; text-align: left; vertical-align: top; }
thead th { background: #f4f1ff; border-bottom: var(--borde); }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.words th:first-child { font-size: 20px; text-align: center; }

.cols { columns: 2 220px; column-gap: 28px; padding-left: 20px; }
.cols li { break-inside: avoid; }

.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cards a { display: block; height: 100%; box-sizing: border-box; padding: 14px; border: var(--borde); border-radius: 16px; box-shadow: var(--sombra); text-decoration: none; color: var(--tinta); background: #fff; }
.cards a:hover { background: #fffbe6; }
.cards b { display: block; font-size: 18px; margin-bottom: 4px; }
.cards span { font-size: 14px; color: var(--muted); line-height: 1.4; }

.play { margin: 36px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.more { margin-top: 30px; padding: 4px 18px 10px; border: var(--borde); border-radius: 16px; background: #fbfaff; }
.more h2 { font-size: 18px; margin-top: 14px; }
.more ul { columns: 2 200px; padding-left: 18px; }

.foot { border-top: var(--borde); padding: 18px 16px 28px; text-align: center; font-size: 14px; color: var(--muted); }
.foot p { margin: 6px 0; }

@media (max-width: 480px) {
  .top .logo { font-size: 22px; }
  .top nav { gap: 10px; }
  .top nav a:not(.cta) { display: none; }
}

.langs { margin-top: 28px; font-size: 15px; line-height: 2; color: var(--muted); }
.langs a { white-space: nowrap; }
