/* ===== Seccoban =====
   Regola del progetto: dentro il gioco NON si scorre mai. Solo CSS che i Chrome vecchi conoscono. */

.sk { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 6px; overflow: hidden; }

.sk-header { position: relative; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.sk-centro { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; }
.sk-punti { background: #ffe8cc; }
.sk-livello { background: #e5dbff; }
.sk-su { font-size: .75em; opacity: .7; font-weight: bold; margin-left: 1px; }

.sk-arena { position: relative; min-height: 0; border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); background: #f6efe6; }
/* il campo prende tutto lo spazio: si gioca solo con tocchi e scorrimenti */
.sk-corpo { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); }
.sk-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; }

.sk-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(255, 245, 251, .82); padding: 8px; }
.sk-overlay[hidden] { display: none; }
.sk-card { background: #fff; border-radius: 26px; padding: 14px 18px; width: min(420px, 100%); max-height: 100%; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sk-big { font-size: clamp(2.2rem, 10vmin, 4rem); line-height: 1.1; }
.sk-h2 { font-size: clamp(1.1rem, 4.5vmin, 1.7rem); font-weight: 900; color: var(--ttitolo); }
.sk-p { margin: 0; font-size: clamp(.8rem, 3vmin, 1rem); font-weight: bold; opacity: .85; }
.sk-record { background: var(--sfondo); border-radius: 999px; padding: 4px 14px; font-weight: bold; }
.sk-start { font-size: 1.2rem; padding: 12px 28px; }

@media (max-height: 520px) {
  .sk-card { padding: 8px 12px; gap: 3px; border-width: 4px; }
  .sk-p { display: none; }
  .sk-start { font-size: 1rem; padding: 8px 20px; }
}
