/* =========================================================
   CAPINI SIMULATOR — style.css (v2 "premium")
   UI da JRPG: font pixel, pannelli decorati, animazioni,
   canvas 2880×1620 (campo visivo ampio, alta nitidezza) che scala a tutta finestra.
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #ffd75e;
  --panel-bg: #16131f;
  --panel-bg2: #1d1a2b;
  --panel-border: #6e66a3;
  --text: #e8e4d8;
  --muted: #8d87a8;
}

body {
  background: #0a0810;
  color: var(--text);
  font-family: "VT323", "Courier New", monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* Lo stage scala a tutta finestra mantenendo il 16:9 */
#stage {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
}

#game {
  display: block;
  width: 100%; height: 100%;
  image-rendering: pixelated;
  background: #000;
}

.hidden { display: none !important; }

/* ---------- HUD ---------- */
#hud {
  position: absolute; top: 10px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none; gap: 10px;
}
.hud-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(12, 9, 20, 0.82);
  border: 2px solid #3a3550;
  border-bottom-color: #14111f;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: clamp(14px, 1.6vw, 21px);
  box-shadow: 0 3px 0 rgba(0,0,0,0.5);
}
.hud-label { color: var(--gold); font-weight: bold; letter-spacing: 1px; }
.hud-rank-sep { color: var(--muted); }
#hud-rank { color: #9fe08d; }
.hud-right { max-width: 56%; text-align: right; }
.hud-obj-chip { border-color: #4a4378; }

#stressbar {
  display: inline-block; width: clamp(70px, 9vw, 130px); height: 12px;
  background: #241f36; border: 1px solid #000; vertical-align: middle;
  border-radius: 2px; overflow: hidden;
}
#stressfill { display: block; height: 100%; width: 0%; transition: width 0.35s ease; }
#stressfill.s-low  { background: linear-gradient(90deg, #5fae4e, #8ec84e); }
#stressfill.s-mid  { background: linear-gradient(90deg, #c8a83a, #e8a03a); }
#stressfill.s-high { background: linear-gradient(90deg, #e0533d, #ff3b30); }

.pulse { animation: pulse 0.45s ease; }
@keyframes pulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); filter: brightness(1.5); }
  100% { transform: scale(1); }
}

#helpbar {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 9px; max-width: 96%;
  padding: 6px 14px;
  background: rgba(10, 8, 16, 0.86);
  border: 2px solid var(--panel-border);
  border-radius: 10px;
  font-size: clamp(12px, 1.25vw, 17px);
  color: var(--text); text-shadow: 1px 1px 0 #000;
  pointer-events: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}
#helpbar span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
#helpbar kbd {
  font-family: inherit; font-weight: bold; font-size: 0.95em; line-height: 1;
  color: #0a0810; background: var(--gold);
  border-radius: 4px; padding: 2px 7px;
  box-shadow: 0 2px 0 #b8932f;
}

/* ---------- Title card area ---------- */
#areacard {
  position: absolute; top: 18%; left: 50%;
  transform: translateX(-50%);
  font-family: "Press Start 2P", "VT323", monospace;
  font-size: clamp(13px, 1.8vw, 24px);
  color: var(--gold);
  background: rgba(10, 8, 16, 0.85);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 12px 34px;
  letter-spacing: 2px;
  pointer-events: none;
  opacity: 0;
}
.areacard-anim { animation: areacard 1.9s ease forwards; }
@keyframes areacard {
  0% { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  12% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- Dialogo ---------- */
#dialog {
  position: absolute; left: 3%; right: 3%; bottom: 4%;
  display: flex; align-items: flex-start; gap: 16px;
  background: linear-gradient(180deg, rgba(24,20,38,0.96), rgba(14,11,24,0.96));
  border: 3px solid var(--panel-border);
  border-radius: 8px;
  padding: 16px 20px;
  min-height: 19%;
  box-shadow: 0 6px 0 rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.dlg-anim { animation: dlgin 0.22s ease-out; }
@keyframes dlgin {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

#dlg-face {
  width: clamp(72px, 9vw, 128px);
  height: clamp(72px, 9vw, 128px);
  image-rendering: pixelated;
  border: 3px solid #3a3550;
  border-radius: 6px;
  background: #241f36;
  flex-shrink: 0;
}

.dlg-body { flex: 1; min-width: 0; }

#dlg-name {
  display: inline-block;
  font-family: "Press Start 2P", "VT323", monospace;
  font-size: clamp(10px, 1.1vw, 15px);
  color: #0d0a16;
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-shadow: none;
}
#dlg-text {
  font-size: clamp(17px, 2vw, 27px);
  line-height: 1.35;
  white-space: pre-wrap;
  min-height: 2.6em;
}
#dlg-more {
  position: absolute; right: 18px; bottom: 8px;
  color: var(--gold); animation: bob 0.7s infinite alternate;
  font-size: clamp(13px, 1.4vw, 19px);
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(4px); } }

#dlg-choices { list-style: none; margin-top: 10px; }
#dlg-choices li {
  padding: 4px 10px; font-size: clamp(15px, 1.7vw, 23px);
  color: #cfc9e8; border-radius: 3px;
  cursor: pointer; touch-action: manipulation;
}
#dlg-choices li.sel { color: #fff; background: #4a4378; }
#dlg-choices li.sel::before { content: "▶ "; color: var(--gold); }
/* Touch: riga più alta e feedback al tocco (niente frecce su telefono, si tocca direttamente) */
body.touch #dlg-choices li { padding: 12px 10px; }
#dlg-choices li:active { background: #5c5490; }

/* ---------- Pannelli ---------- */
#panel {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
  width: min(680px, 80%); max-height: 76%; overflow-y: auto;
  background: var(--panel-bg2);
  border: 3px solid var(--panel-border); border-radius: 8px;
  padding: 16px 22px;
  box-shadow: 0 8px 0 rgba(0,0,0,0.5);
}
.panel-anim { animation: panelin 0.2s ease-out; }
@keyframes panelin {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#panel-title {
  font-family: "Press Start 2P", "VT323", monospace;
  color: var(--gold); font-size: clamp(11px, 1.3vw, 17px);
  margin-bottom: 14px; letter-spacing: 1px;
  border-bottom: 2px solid #3a3550; padding-bottom: 10px;
}
#panel-body { font-size: clamp(16px, 1.7vw, 22px); line-height: 1.4; }
.panel-hint { margin-top: 12px; font-size: clamp(12px, 1.2vw, 15px); color: var(--muted); }

/* ---------- Menù di pausa / opzioni ---------- */
#pausemenu {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, 84%);
  background: var(--panel-bg2);
  border: 3px solid var(--panel-border); border-radius: 10px;
  padding: 20px 26px;
  box-shadow: 0 10px 0 rgba(0,0,0,0.55), 0 0 0 100vmax rgba(6,4,12,0.55);
  text-align: center;
}
#pm-title {
  font-family: "Press Start 2P", "VT323", monospace;
  color: var(--gold); font-size: clamp(13px, 1.6vw, 20px);
  letter-spacing: 2px; margin-bottom: 16px;
}
#pm-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
#pm-list li {
  font-size: clamp(15px, 1.7vw, 21px); color: var(--text);
  padding: 8px 12px; border-radius: 6px; border: 2px solid transparent;
}
#pm-list li.sel {
  background: rgba(255,215,94,0.12); border-color: var(--gold);
  color: var(--gold); font-weight: bold;
}

/* opzione accessibilità: testo dialoghi più grande */
#dialog.dlg-big #dlg-text { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.4; }
#dialog.dlg-big #dlg-name { font-size: clamp(17px, 1.8vw, 24px); }

/* inventario a griglia */
.inv-grid { display: flex; flex-direction: column; gap: 10px; }
.inv-cell {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid #3a3550; border-radius: 5px; padding: 8px 12px;
}
.item-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: #241f36; border: 2px solid #888; border-radius: 5px;
  font-size: 18px; color: var(--text);
}
.item-name { color: #9fe08d; font-weight: bold; }
.item-desc { color: #b8b2cc; }

/* ticket stile ITSM */
.ticket {
  background: rgba(255,255,255,0.03);
  border: 1px solid #3a3550; border-left-width: 5px;
  border-radius: 5px; padding: 10px 14px; margin-bottom: 12px;
}
.ticket.q-active { border-left-color: var(--gold); }
.ticket.q-solved { border-left-color: #5fae4e; }
.ticket.q-done { border-left-color: #4a4560; opacity: 0.62; }
.ticket-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.ticket-id {
  font-family: "Press Start 2P", "VT323", monospace;
  font-size: clamp(9px, 1vw, 13px); color: #5fb5e0;
}
.ticket-pri {
  font-size: clamp(12px, 1.2vw, 16px); padding: 1px 8px; border-radius: 3px; color: #0d0a16;
}
.pri-alta { background: #e8a03a; }
.pri-media { background: #c8c84a; }
.pri-critica { background: #ff3b30; color: #fff; animation: blink 1.1s steps(2) infinite; }
.ticket-state { font-size: clamp(12px, 1.2vw, 16px); color: var(--muted); margin-left: auto; }
.ticket-title { font-weight: bold; color: var(--text); font-size: clamp(17px, 1.8vw, 23px); }
.ticket-desc { color: #b8b2cc; }
.ticket-req { color: var(--muted); font-style: italic; margin-top: 3px; }
.q-done .ticket-title { text-decoration: line-through; }
.queue-head { margin: 12px 2px 5px; color: #e8a05a; font-size: 0.82em; letter-spacing: 0.5px; border-top: 1px solid #322b46; padding-top: 8px; }
.queue-row { color: #9890ac; font-size: 0.86em; padding: 2px 4px; }

/* ---------- Minigioco ---------- */
#minigame {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  width: min(640px, 84%);
  background: var(--panel-bg);
  border: 3px solid #d9a23c; border-radius: 8px;
  padding: 18px 24px;
  box-shadow: 0 8px 0 rgba(0,0,0,0.5);
}
.mg-title {
  font-family: "Press Start 2P", "VT323", monospace;
  color: var(--gold); font-size: clamp(10px, 1.2vw, 15px);
  text-align: center; margin-bottom: 10px; letter-spacing: 1px;
}
#mg-hint { font-size: clamp(14px, 1.4vw, 18px); color: #b0aac9; text-align: center; min-height: 34px; margin-bottom: 10px; }
.mg-cols { display: flex; justify-content: space-between; align-items: center; }
.mg-mid { color: var(--panel-border); font-size: 28px; }
#mg-left, #mg-right { list-style: none; width: 44%; }
#mg-left li, #mg-right li {
  padding: 8px 12px; margin: 6px 0; font-size: clamp(15px, 1.5vw, 20px);
  background: #241f36; border: 2px solid #3a3550; border-radius: 4px;
}
#mg-left li.sel, #mg-right li.sel { border-color: var(--gold); background: #3a3260; }
#mg-left li.lockok, #mg-right li.lockok { border-color: #5fae4e; color: #9fe08d; }
#mg-left li .dot { display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 2px; }

/* ---------- Minigioco ticket (diagnostica) ---------- */
#mgx {
  position: absolute; top: 11%; left: 50%; transform: translateX(-50%);
  width: min(660px, 86%);
  background: var(--panel-bg);
  border: 3px solid #d9a23c; border-radius: 8px;
  padding: 18px 24px;
}
#mgx-prompt { font-size: clamp(14px, 1.5vw, 19px); color: #d8d2ec; text-align: center; margin: 4px 0 14px; line-height: 1.45; }
#mgx-list { list-style: none; }
#mgx-list li {
  padding: 9px 14px; margin: 7px 0; font-size: clamp(14px, 1.5vw, 19px);
  background: #241f36; border: 2px solid #3a3550; border-radius: 4px; color: #cfc8e6;
}
#mgx-list li.sel { border-color: var(--gold); background: #3a3260; color: #fff; }

/* ---------- Crediti / l'azienda (roll) ---------- */
#credits {
  position: fixed; inset: 0; z-index: 50;
  background: radial-gradient(circle at 50% 40%, #14111f 0%, #07060c 100%);
  overflow: hidden;
}
#credits-roll {
  position: absolute; left: 0; right: 0; top: 0;
  text-align: center; padding: 0 16px;
  animation: creditScroll 46s linear forwards;
}
@keyframes creditScroll { from { transform: translateY(60vh); } to { transform: translateY(-185%); } }
.cr-big { font-family: "Press Start 2P", monospace; color: var(--gold); font-size: clamp(18px, 3vw, 34px); margin: 30px 0 6px; }
.cr-sub { color: #9890b0; font-size: clamp(12px, 1.4vw, 17px); margin: 4px 0; }
.cr-dept { color: #e8a05a; font-family: "Press Start 2P", monospace; font-size: clamp(11px, 1.3vw, 15px); margin: 26px 0 8px; letter-spacing: 1px; }
.cr-name { color: #d8d2ec; font-size: clamp(14px, 1.6vw, 20px); line-height: 1.6; }

/* ---------- Toast ---------- */
#toast {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
  background: rgba(8, 6, 14, 0.92);
  border: 2px solid var(--gold); color: #ffeaa0;
  padding: 8px 20px; font-size: clamp(14px, 1.5vw, 20px);
  border-radius: 4px; max-width: 80%; text-align: center;
  animation: dlgin 0.18s ease-out;
  box-shadow: 0 4px 0 rgba(0,0,0,0.5);
}

/* ---------- Titolo & fine ---------- */
#title, #endbanner {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(110, 102, 163, 0.16), transparent 60%),
    #0c0a14ee;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.title-logo {
  font-family: "Press Start 2P", "VT323", monospace;
  font-size: clamp(34px, 6vw, 72px);
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 4px 4px 0 #a33d2b, 8px 8px 0 #000;
  line-height: 1.25;
}
.title-sub { margin-top: 26px; font-size: clamp(17px, 2vw, 26px); color: var(--text); font-style: italic; }
.title-sub2 { margin-top: 8px; font-size: clamp(13px, 1.3vw, 17px); color: var(--muted); }
.title-press {
  margin-top: 46px;
  font-family: "Press Start 2P", "VT323", monospace;
  font-size: clamp(11px, 1.4vw, 17px); color: #fff;
  animation: blink 1s steps(2) infinite;
}
.title-save { margin-top: 16px; font-size: clamp(13px, 1.4vw, 18px); color: #9fe08d; }
@keyframes blink { 50% { opacity: 0; } }
/* Aree toccabili della schermata titolo (anche col mouse su desktop) */
#title-press, #tc-continue, #tc-new, #title-credits {
  cursor: pointer; touch-action: manipulation;
  padding: 10px 14px; margin: -10px -14px; display: inline-block;
}
#tc-new:active, #tc-continue:active, .title-press:active, #title-credits:active { opacity: 0.6; }

/* --- Su TOUCH la schermata titolo diventa a pulsanti veri ---
   I prefissi da tastiera ("INVIO — ", "N — ", "C — ") non hanno senso senza
   tastiera e facevano leggere le voci come istruzioni, non come bottoni. */
.kbd-only { display: inline; }
body.touch .kbd-only { display: none; }
body.touch #title-press { display: none; }               /* "PREMI INVIO" ridondante: ci sono i bottoni */
body.touch #title-continue { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
body.touch #tc-continue, body.touch #tc-new, body.touch #title-credits {
  display: inline-block; margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(13px, 3.4vw, 20px); line-height: 1.3; color: #0a0810;
  background: var(--gold); border-radius: 12px; padding: 15px 24px;
  box-shadow: 0 4px 0 #a9812c;
}
body.touch #title-credits {
  margin-top: 22px; color: var(--gold); background: transparent;
  box-shadow: none; font-size: clamp(11px, 2.6vw, 16px);
  border: 2px solid rgba(255,215,94,0.5);
}
body.touch #tc-continue:active, body.touch #tc-new:active, body.touch #title-credits:active {
  transform: translateY(2px); opacity: 1;
}
/* Su touch il menu titolo deve stare tutto dentro lo stage 16:9 (telefono in
   orizzontale ~375px d'altezza): logo più piccolo e margini compatti, altrimenti
   i pulsanti in basso ("Nuova partita"/"Crediti") finivano tagliati fuori. */
body.touch #title { justify-content: center; gap: 0; padding: 8px; overflow: auto; }
body.touch .title-logo { font-size: clamp(24px, 7vw, 46px); line-height: 1.1; }
body.touch .title-sub  { margin-top: 10px; font-size: clamp(12px, 2.4vw, 18px); }
body.touch .title-sub2 { margin-top: 4px; }
body.touch #title-continue { margin-top: 16px; gap: 10px; }
body.touch #tc-continue, body.touch #tc-new { padding: 12px 22px; }
body.touch #title-credits { margin-top: 14px; padding: 9px 16px; }
.end-big {
  font-family: "Press Start 2P", "VT323", monospace;
  font-size: clamp(20px, 3vw, 38px); color: var(--gold);
  text-shadow: 3px 3px 0 #000;
}
.end-sub { margin-top: 18px; font-size: clamp(15px, 1.8vw, 23px); color: #cfc9e8; line-height: 1.6; }

/* =========================================================
   CONTROLLI TOUCH (mobile) — nascosti su desktop, mostrati
   da setupTouch() quando il puntatore è "coarse".
   ========================================================= */
#touch { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
#touch button {
  pointer-events: auto;
  font-family: "Press Start 2P", monospace;
  color: #ffe9b0;
  background: rgba(20, 16, 30, 0.55);
  border: 2px solid rgba(255, 215, 94, 0.5);
  border-radius: 12px;
  touch-action: none; user-select: none; -webkit-user-select: none;
  display: flex; align-items: center; justify-content: center;
}
#touch button:active, #touch button.held { background: rgba(255, 215, 94, 0.38); }
#dpad {
  position: absolute; left: 3%; bottom: 5%;
  width: 32vmin; height: 32vmin; max-width: 185px; max-height: 185px;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 0.4vmin;
}
#dpad .t-up    { grid-area: 1 / 2 / 2 / 3; }
#dpad .t-left  { grid-area: 2 / 1 / 3 / 2; }
#dpad .t-right { grid-area: 2 / 3 / 3 / 4; }
#dpad .t-down  { grid-area: 3 / 2 / 4 / 3; }
#dpad button { font-size: clamp(16px, 4vmin, 30px); }
#touch-actions { position: absolute; right: 3%; bottom: 5%; display: flex; align-items: flex-end; gap: 2.4vmin; }
.t-act  { width: 20vmin; height: 20vmin; max-width: 120px; max-height: 120px; font-size: clamp(18px, 5vmin, 38px); border-radius: 50% !important; }
.t-mini { width: 12vmin; height: 12vmin; max-width: 72px;  max-height: 72px;  font-size: clamp(12px, 3vmin, 22px); }
/* =========================================================
   DISPOSITIVI TOUCH — la classe .touch la mette setupTouch()
   ========================================================= */
/* Gli hint da tastiera non servono al tocco (e affollano lo schermo) */
body.touch #helpbar { display: none !important; }

/* Il gioco è 16:9 landscape: in verticale chiediamo di ruotare */
#rotate-hint { display: none; }
@media (orientation: portrait) {
  body.touch #stage { visibility: hidden; }             /* nascondi il gioco schiacciato sotto */
  body.touch #rotate-hint {
    display: flex; position: fixed; inset: 0; z-index: 100;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; text-align: center; padding: 28px;
    background: #0a0810; color: var(--text);
    font-family: "VT323", "Courier New", monospace;
  }
  .rot-emoji { font-size: 72px; line-height: 1; animation: rotWiggle 2s ease-in-out infinite; }
  .rot-title { font-family: "Press Start 2P", monospace; font-size: 20px; line-height: 1.6; color: var(--gold); text-shadow: 2px 2px 0 #000; }
  .rot-sub   { font-size: 24px; line-height: 1.4; color: var(--muted); max-width: 90%; }
}
@keyframes rotWiggle { 0%, 100% { transform: rotate(-15deg); } 50% { transform: rotate(75deg); } }

/* Overlay "schermo intero": touch + orizzontale + non ancora a schermo intero.
   Come l'avviso di ruotare, ma con un bottone grande da toccare una volta.
   La classe .fs-active (fullscreen o app installata) e .fs-skip (l'utente ha scelto
   di giocare così) le gestisce engine.js. */
#fs-hint { display: none; }
@media (orientation: landscape) {
  body.touch:not(.fs-active):not(.fs-skip) #fs-hint {
    display: flex; position: fixed; inset: 0; z-index: 101;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 20px; text-align: center; padding: 24px;
    background: #0a0810; color: var(--text);
    font-family: "VT323", "Courier New", monospace;
  }
}
.fs-emoji { font-size: 60px; line-height: 1; color: var(--gold); }
.fs-title { font-family: "Press Start 2P", monospace; font-size: 20px; line-height: 1.6; color: var(--gold); text-shadow: 2px 2px 0 #000; }
.fs-sub   { font-size: 22px; line-height: 1.35; color: var(--muted); max-width: 90%; }
.fs-btn {
  font-family: "Press Start 2P", monospace; font-size: 15px; line-height: 1.4;
  color: #0a0810; background: var(--gold); border: none; border-radius: 12px;
  padding: 18px 26px; margin-top: 6px; cursor: pointer;
  box-shadow: 0 4px 0 #a9812c; touch-action: manipulation;
}
.fs-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #a9812c; }
.fs-skip {
  font-family: "VT323", monospace; font-size: 20px; color: var(--muted);
  background: none; border: none; text-decoration: underline; cursor: pointer;
  padding: 8px; touch-action: manipulation;
}
