/* ==== JPM KIT v1 — base visual dos jogos (sincronizado; regras do jogo vêm depois do "fim da base") ==== */
.jpm-game[data-game="aeroporto"] {
  --g-glass: rgba(23, 27, 52, .72);
  --g-accent: var(--primary, #6046FF);
  font-family: inherit;
  color: var(--ink, #172033);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  container-type: size;
  font-size: clamp(11px, 2.1cqw, 17px);
}
.jpm-game[data-game="aeroporto"] [hidden] { display: none; }
.jpm-game[data-game="aeroporto"] button { font: inherit; color: inherit; cursor: pointer; }
.jpm-game[data-game="aeroporto"] button:focus-visible { outline: 3px solid var(--ink, #172033); outline-offset: 2px; }
.jpm-game[data-game="aeroporto"] .g-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.jpm-game[data-game="aeroporto"] .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* HUD numa faixa só */
.jpm-game[data-game="aeroporto"] .g-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; pointer-events: none; }
.jpm-game[data-game="aeroporto"] .g-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: var(--r-pill, 999px); background: var(--g-glass); color: var(--surface, #fff); font-weight: 900; font-size: clamp(13px, 2.3cqw, 19px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jpm-game[data-game="aeroporto"] .g-chip--right { margin-left: auto; }
.jpm-game[data-game="aeroporto"] .g-chip--warn { background: var(--coral, #FF6868); }
.jpm-game[data-game="aeroporto"] .g-ico { width: 1.2em; height: 1.2em; flex: none; }
.jpm-game[data-game="aeroporto"] .g-bar { position: relative; width: clamp(70px, 18cqw, 180px); height: .7em; border-radius: var(--r-pill, 999px); background: rgba(255, 255, 255, .25); overflow: hidden; }
.jpm-game[data-game="aeroporto"] .g-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--yellow, #FFD43B); transition: width .2s linear; }
.jpm-game[data-game="aeroporto"] .g-hearts { display: flex; gap: 4px; padding: 6px 10px; border-radius: var(--r-pill, 999px); background: var(--g-glass); }
.jpm-game[data-game="aeroporto"] .g-heart { width: clamp(16px, 3cqw, 26px); height: clamp(16px, 3cqw, 26px); color: var(--coral, #FF6868); transition: transform .2s, opacity .2s; }
.jpm-game[data-game="aeroporto"] .g-heart.is-lost { color: rgba(255, 255, 255, .35); transform: scale(.85); }

/* telas */
.jpm-game[data-game="aeroporto"] .g-screen { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 12px; }
.jpm-game[data-game="aeroporto"] .g-intro, .jpm-game[data-game="aeroporto"] .g-over, .jpm-game[data-game="aeroporto"] .g-paused { background: rgba(23, 27, 52, .32); }
.jpm-game[data-game="aeroporto"] .g-intro { background: linear-gradient(90deg, rgba(23, 27, 52, .38), rgba(23, 27, 52, .05) 70%); justify-items: start; padding-left: 6cqw; }
.jpm-game[data-game="aeroporto"] .g-card { width: min(92%, 420px); padding: clamp(14px, 3.4cqw, 28px); border-radius: var(--r-card, 16px); background: var(--surface, #fff); color: var(--ink, #172033); text-align: center; box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); }
.jpm-game[data-game="aeroporto"] .g-intro .g-card { width: min(56%, 400px); }
.jpm-game[data-game="aeroporto"] .g-card--small { width: auto; padding: 16px 22px; }
.jpm-game[data-game="aeroporto"] .g-kicker { margin: 0; font-size: clamp(10px, 1.8cqw, 13px); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #606B80); }
.jpm-game[data-game="aeroporto"] .g-title { margin: 4px 0 6px; font-size: clamp(20px, 4.6cqw, 34px); line-height: 1.05; letter-spacing: -.04em; font-weight: 900; }
.jpm-game[data-game="aeroporto"] .g-text { margin: 0 0 14px; color: var(--muted, #606B80); font-weight: 600; font-size: clamp(12px, 2.2cqw, 16px); }
.jpm-game[data-game="aeroporto"] .g-btn { min-height: 46px; padding: 0 26px; border: 0; border-radius: var(--r-pill, 999px); background: var(--g-accent); color: var(--surface, #fff); font-weight: 900; font-size: clamp(15px, 2.6cqw, 19px); box-shadow: 0 8px 18px rgba(23, 32, 51, .22); transition: transform .12s; }
.jpm-game[data-game="aeroporto"] .g-btn:active { transform: scale(.96); }
.jpm-game[data-game="aeroporto"] .g-btn--ghost { background: var(--bg, #F3F6FA); color: var(--ink, #172033); box-shadow: inset 0 0 0 2px var(--line, #E3E8EF); }
.jpm-game[data-game="aeroporto"] .g-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jpm-game[data-game="aeroporto"] .g-results { display: flex; justify-content: center; gap: clamp(12px, 4cqw, 30px); margin: 10px 0; }
.jpm-game[data-game="aeroporto"] .g-num { display: block; font-size: clamp(20px, 4.4cqw, 32px); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.jpm-game[data-game="aeroporto"] .g-lbl { font-size: clamp(11px, 1.8cqw, 13px); color: var(--muted, #606B80); font-weight: 700; }
.jpm-game[data-game="aeroporto"] .g-best { margin: 0 0 14px; font-weight: 800; color: var(--g-accent); min-height: 1.2em; }
.jpm-game[data-game="aeroporto"] .g-stars { display: flex; justify-content: center; gap: 6px; margin: 4px 0 8px; font-size: clamp(22px, 5cqw, 36px); }
.jpm-game[data-game="aeroporto"] .g-star { width: 1em; height: 1em; color: var(--line, #E3E8EF); }
.jpm-game[data-game="aeroporto"] .g-star.is-on { color: var(--yellow, #FFD43B); }

.jpm-game[data-game="aeroporto"] .g-ready { pointer-events: none; align-content: center; gap: 12px; }
.jpm-game[data-game="aeroporto"] .g-howto { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jpm-game[data-game="aeroporto"] .g-howto-item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill, 999px); background: var(--g-glass); color: var(--surface, #fff); font-weight: 700; font-size: clamp(12px, 2.1cqw, 16px); }
.jpm-game[data-game="aeroporto"] .g-key { padding: 3px 9px; border-radius: 8px; background: var(--surface, #fff); color: var(--ink, #172033); font-weight: 900; }
.jpm-game[data-game="aeroporto"] .g-touch-only { display: none; }
.jpm-game[data-game="aeroporto"] .g-count { font-size: clamp(48px, 14cqw, 120px); font-weight: 900; color: var(--surface, #fff); text-shadow: 0 6px 0 rgba(23, 27, 52, .35); line-height: 1; animation: aeroporto-pop .8s ease-out infinite; }
@keyframes aeroporto-pop { from { transform: scale(1.25); opacity: .4; } 30% { transform: scale(1); opacity: 1; } }

/* botões de toque */
.jpm-game[data-game="aeroporto"] .g-touch { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 10px; pointer-events: none; }
.jpm-game[data-game="aeroporto"] .g-touch-group { display: flex; gap: 10px; align-items: flex-end; }
.jpm-game[data-game="aeroporto"] .g-tbtn { pointer-events: auto; width: clamp(52px, 13cqw, 80px); height: clamp(52px, 13cqw, 80px); border: 0; border-radius: 50%; background: rgba(23, 27, 52, .45); color: var(--surface, #fff); display: grid; place-items: center; touch-action: none; font-weight: 900; font-size: clamp(11px, 2cqw, 14px); }
.jpm-game[data-game="aeroporto"] .g-tbtn svg { width: 55%; height: 55%; }
.jpm-game[data-game="aeroporto"] .g-tbtn--action { background: rgba(96, 70, 255, .78); }
.jpm-game[data-game="aeroporto"] .g-tbtn.is-on, .jpm-game[data-game="aeroporto"] .g-tbtn:active { transform: scale(.94); background: rgba(96, 70, 255, .9); }

/* aviso curto no meio da tela (+10, Combo!, Errou) */
.jpm-game[data-game="aeroporto"] .g-toast { position: absolute; left: 50%; top: 22%; z-index: 3; transform: translateX(-50%); padding: .4em 1em; border-radius: var(--r-pill, 999px); background: var(--surface, #fff); color: var(--ink, #172033); font-weight: 900; font-size: clamp(14px, 3cqw, 24px); white-space: nowrap; box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); pointer-events: none; animation: aeroporto-toast .9s ease-out forwards; }
.jpm-game[data-game="aeroporto"] .g-toast.is-good { background: var(--green, #46D68C); color: var(--surface, #fff); }
.jpm-game[data-game="aeroporto"] .g-toast.is-bad { background: var(--coral, #FF6868); color: var(--surface, #fff); }
@keyframes aeroporto-toast { from { opacity: 0; transform: translate(-50%, 10px) scale(.9); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 80% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -12px) scale(1); } }

@media (pointer: coarse) {
  .jpm-game[data-game="aeroporto"] .g-touch-only { display: inline-flex; }
}
@container (max-width: 520px) {
  .jpm-game[data-game="aeroporto"] .g-intro { justify-items: center; padding-left: 12px; background: rgba(23, 27, 52, .3); }
  .jpm-game[data-game="aeroporto"] .g-intro .g-card { width: min(92%, 400px); }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="aeroporto"] .g-count, .jpm-game[data-game="aeroporto"] .g-toast { animation: none; }
}
/* ==== fim da base ==== */

/* jogo */
.jpm-game[data-game="aeroporto"] { --g-accent: #6046FF; --ap-gold: #FFC928; --ap-ok: #2FBF71; }

/* HUD */
.jpm-game[data-game="aeroporto"] .ap-hud { gap: 6px; padding: 8px 10px; }
.jpm-game[data-game="aeroporto"] .ap-hbtn { pointer-events: auto; width: clamp(34px, 6.2cqw, 46px); height: clamp(34px, 6.2cqw, 46px); flex: none; border: 0; border-radius: 50%; background: var(--g-glass); color: var(--surface, #fff); display: grid; place-items: center; }
.jpm-game[data-game="aeroporto"] .ap-hbtn svg { width: 50%; height: 50%; }
.jpm-game[data-game="aeroporto"] .ap-hbtn:active { transform: scale(.94); }
.jpm-game[data-game="aeroporto"] .ap-lvl { padding-left: 11px; }
.jpm-game[data-game="aeroporto"] .ap-flights.is-hit { animation: aeroporto-bump .4s ease-out; }
.jpm-game[data-game="aeroporto"] .ap-time.is-low { background: var(--coral, #FF6868); animation: aeroporto-blink .7s ease-in-out infinite alternate; }
.jpm-game[data-game="aeroporto"] .ap-pstars { gap: 2px; padding: 6px 10px; }
.jpm-game[data-game="aeroporto"] .ap-pstar { width: clamp(14px, 2.7cqw, 22px); height: clamp(14px, 2.7cqw, 22px); color: rgba(255, 255, 255, .28); transition: color .25s, transform .25s; }
.jpm-game[data-game="aeroporto"] .ap-pstar.is-on { color: var(--ap-gold); }
.jpm-game[data-game="aeroporto"] .ap-pstars.is-hit { animation: aeroporto-bump .45s ease-out; }
.jpm-game[data-game="aeroporto"] .ap-combo { background: #FF8A3D; padding-left: 11px; animation: aeroporto-bump .35s ease-out; }
@keyframes aeroporto-bump { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes aeroporto-blink { from { opacity: 1; } to { opacity: .6; } }

/* etiquetas em cima dos aviões */
.jpm-game[data-game="aeroporto"] .ap-tags { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.jpm-game[data-game="aeroporto"] .ap-tag { --s: clamp(15px, 3.3cqw, 32px); position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 3px; padding: 2px; border-radius: var(--r-pill, 999px); background: rgba(255, 255, 255, .92); box-shadow: 0 3px 8px rgba(23, 32, 51, .22); will-change: transform; }
.jpm-game[data-game="aeroporto"] .ap-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: rgba(255, 255, 255, .92); transform: rotate(45deg); border-radius: 2px; z-index: -1; }
.jpm-game[data-game="aeroporto"] .ap-badge { position: relative; display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); color: var(--surface, #fff); }
.jpm-game[data-game="aeroporto"] .ap-badge svg { width: 72%; height: 72%; }
.jpm-game[data-game="aeroporto"] .ap-badge.is-vip { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ap-gold); background: conic-gradient(var(--c) var(--v, 100%), #c9ced8 0); }
.jpm-game[data-game="aeroporto"] .ap-badge .ap-crown { position: absolute; left: 50%; top: -62%; width: 80%; height: 80%; transform: translateX(-50%); }
.jpm-game[data-game="aeroporto"] .ap-wait { display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; background: #FFE9A8; color: #9a6a00; animation: aeroporto-tick 1s ease-in-out infinite; }
.jpm-game[data-game="aeroporto"] .ap-wait svg { width: 74%; height: 74%; }
@keyframes aeroporto-tick { 50% { transform: rotate(-12deg) scale(1.06); } }
.jpm-game[data-game="aeroporto"] .ap-needs { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: calc(var(--s) * 2 + 3px); }
.jpm-game[data-game="aeroporto"] .ap-need { position: relative; display: grid; place-items: center; width: var(--s); height: var(--s); padding: 0; border: 0; border-radius: 50%; background: var(--surface, #fff); box-shadow: inset 0 0 0 2px #E3E8EF; pointer-events: auto; touch-action: manipulation; }
.jpm-game[data-game="aeroporto"] .ap-need svg { width: 74%; height: 74%; }
.jpm-game[data-game="aeroporto"] .ap-need.is-todo { animation: aeroporto-hop .9s ease-in-out infinite; box-shadow: inset 0 0 0 2px #FFD23F; }
.jpm-game[data-game="aeroporto"] .ap-need.is-come { opacity: .7; box-shadow: inset 0 0 0 2px #B8C2D6; }
.jpm-game[data-game="aeroporto"] .ap-need.is-work { background: conic-gradient(#BFF3D6 var(--p, 0%), #fff 0); box-shadow: inset 0 0 0 2px var(--ap-ok); }
.jpm-game[data-game="aeroporto"] .ap-need.is-done { background: #E6F9EE; }
.jpm-game[data-game="aeroporto"] .ap-ok { position: absolute; right: -18%; bottom: -18%; display: grid; place-items: center; width: 56%; height: 56%; border-radius: 50%; background: var(--ap-ok); }
.jpm-game[data-game="aeroporto"] .ap-ok svg { width: 80%; height: 80%; }
@keyframes aeroporto-hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-3px) scale(1.06); } }
.jpm-game[data-game="aeroporto"] .ap-ready { display: grid; place-items: center; width: calc(var(--s) * 1.15); height: calc(var(--s) * 1.15); border-radius: 50%; background: var(--ap-ok); color: var(--surface, #fff); animation: aeroporto-hop .7s ease-in-out infinite; }
.jpm-game[data-game="aeroporto"] .ap-ready svg { width: 70%; height: 70%; transform: rotate(-35deg); }
.jpm-game[data-game="aeroporto"] .ap-pop { position: absolute; z-index: 2; transform: translate(-50%, -50%); padding: .15em .6em; border-radius: var(--r-pill, 999px); background: rgba(23, 27, 52, .78); color: var(--surface, #fff); font-weight: 900; font-size: clamp(11px, 2.2cqw, 18px); white-space: nowrap; pointer-events: none; animation: aeroporto-pop 1s ease-out forwards; }
.jpm-game[data-game="aeroporto"] .ap-pop.is-good { background: var(--ap-ok); }
@keyframes aeroporto-pop { from { opacity: 0; transform: translate(-50%, -30%) scale(.8); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.05); } 75% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -170%) scale(1); } }

/* dica curta embaixo */
.jpm-game[data-game="aeroporto"] .ap-hint { position: absolute; left: 50%; bottom: 3%; z-index: 2; margin: 0; transform: translateX(-50%); max-width: 90%; padding: .45em 1.1em; border-radius: var(--r-pill, 999px); background: rgba(23, 27, 52, .8); color: var(--surface, #fff); font-weight: 900; font-size: clamp(12px, 2.5cqw, 20px); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; animation: aeroporto-hint .3s ease-out; }
.jpm-game[data-game="aeroporto"] .ap-hint.is-go { background: #6046FF; }
.jpm-game[data-game="aeroporto"] .ap-hint.is-warn { background: var(--coral, #FF6868); }
.jpm-game[data-game="aeroporto"] .ap-hint.is-ok { background: #1FA866; }
@keyframes aeroporto-hint { from { opacity: 0; transform: translate(-50%, 6px) scale(.95); } to { opacity: 1; transform: translateX(-50%); } }
.jpm-game[data-game="aeroporto"] .g-toast { top: 30%; }

/* faixa de início da fase */
.jpm-game[data-game="aeroporto"] .ap-banner { align-content: center; }
.jpm-game[data-game="aeroporto"] .ap-bcard { display: grid; justify-items: center; gap: 4px; max-width: 86%; padding: clamp(10px, 2.2cqw, 18px) clamp(14px, 3cqw, 26px); border-radius: var(--r-card, 16px); background: rgba(255, 255, 255, .95); box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); text-align: center; animation: aeroporto-in .35s ease-out; }
.jpm-game[data-game="aeroporto"] .ap-bcard p { margin: 0; }
.jpm-game[data-game="aeroporto"] .ap-bnum { font-size: clamp(10px, 1.8cqw, 13px); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #6046FF; }
.jpm-game[data-game="aeroporto"] .ap-bname { font-size: clamp(18px, 3.8cqw, 30px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.jpm-game[data-game="aeroporto"] .ap-btip { font-size: clamp(12px, 2.2cqw, 16px); font-weight: 700; color: var(--muted, #606B80); }
.jpm-game[data-game="aeroporto"] .ap-bcard .g-howto { margin-top: 6px; }
@keyframes aeroporto-in { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }

/* escolha de fase */
.jpm-game[data-game="aeroporto"] .ap-levels { background: rgba(23, 27, 52, .42); padding: 10px; }
.jpm-game[data-game="aeroporto"] .ap-panel { display: flex; flex-direction: column; width: min(96%, 720px); max-height: 94%; padding: clamp(10px, 2.4cqw, 20px); border-radius: var(--r-card, 16px); background: var(--surface, #fff); box-shadow: var(--shadow2, 0 18px 44px rgba(23, 32, 51, .16)); }
.jpm-game[data-game="aeroporto"] .ap-phead { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(6px, 1.6cqw, 12px); }
.jpm-game[data-game="aeroporto"] .ap-ptitle { margin: 0; font-size: clamp(16px, 3.6cqw, 26px); font-weight: 900; letter-spacing: -.03em; }
.jpm-game[data-game="aeroporto"] .ap-total { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--r-pill, 999px); background: #FFF6D6; color: #8a6200; font-weight: 900; font-size: clamp(12px, 2.2cqw, 16px); }
.jpm-game[data-game="aeroporto"] .ap-total svg { width: 1.1em; height: 1.1em; color: #F5B700; }
.jpm-game[data-game="aeroporto"] .ap-x { margin-left: auto; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--bg, #F3F6FA); display: grid; place-items: center; }
.jpm-game[data-game="aeroporto"] .ap-x svg { width: 55%; height: 55%; }
.jpm-game[data-game="aeroporto"] .ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(70px, 14.5cqw, 120px), 1fr)); gap: clamp(6px, 1.4cqw, 10px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 4px; min-height: 0; }
.jpm-game[data-game="aeroporto"] .ap-card { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: clamp(64px, 14cqw, 104px); padding: 6px 4px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #E9ECFF, #D6DBFF); color: var(--ink, #172033); box-shadow: inset 0 -4px 0 rgba(96, 70, 255, .25); transition: transform .12s; }
.jpm-game[data-game="aeroporto"] .ap-card:active { transform: scale(.95); }
.jpm-game[data-game="aeroporto"] .ap-card.is-next { background: linear-gradient(180deg, #FFF3C4, #FFE48A); box-shadow: inset 0 -4px 0 rgba(245, 183, 0, .45); }
.jpm-game[data-game="aeroporto"] .ap-card.is-done { background: linear-gradient(180deg, #DDF8EA, #C3F0D9); box-shadow: inset 0 -4px 0 rgba(61, 220, 132, .45); }
.jpm-game[data-game="aeroporto"] .ap-card:disabled { cursor: default; background: #EEF1F5; color: #A3ADBD; box-shadow: none; }
.jpm-game[data-game="aeroporto"] .ap-cnum { font-size: clamp(18px, 4cqw, 30px); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.jpm-game[data-game="aeroporto"] .ap-cname { font-size: clamp(9px, 1.6cqw, 12px); font-weight: 800; line-height: 1.1; color: var(--muted, #606B80); text-align: center; }
.jpm-game[data-game="aeroporto"] .ap-cstars { display: flex; gap: 1px; }
.jpm-game[data-game="aeroporto"] .ap-cstars svg { width: clamp(11px, 2.4cqw, 18px); height: clamp(11px, 2.4cqw, 18px); color: rgba(23, 32, 51, .16); }
.jpm-game[data-game="aeroporto"] .ap-cstars svg.is-on { color: #F5B700; }
.jpm-game[data-game="aeroporto"] .ap-lock { width: clamp(16px, 3.4cqw, 24px); height: clamp(16px, 3.4cqw, 24px); }

/* resultado */
.jpm-game[data-game="aeroporto"] .ap-rcard { animation: aeroporto-in .35s ease-out; }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-title { margin-bottom: 2px; }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-results { margin: 6px 0; }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-best { margin-bottom: 10px; }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-star { transform: scale(.4); opacity: 0; }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-star.is-pop { animation: aeroporto-star .45s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes aeroporto-star { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-row { flex-wrap: nowrap; gap: 6px; }
.jpm-game[data-game="aeroporto"] .ap-rcard .g-btn { min-height: 44px; padding: 0 clamp(10px, 2cqw, 18px); white-space: nowrap; }
.jpm-game[data-game="aeroporto"] .ap-btn-ico { width: 46px; padding: 0; display: inline-grid; place-items: center; }
.jpm-game[data-game="aeroporto"] .ap-btn-ico svg { width: 20px; height: 20px; }

@media (pointer: coarse) {
  .jpm-game[data-game="aeroporto"] .ap-desk { display: none; }
}
@container (max-width: 620px) {
  .jpm-game[data-game="aeroporto"] .ap-lvl, .jpm-game[data-game="aeroporto"] .ap-score { display: none; }
  .jpm-game[data-game="aeroporto"] .ap-hud { gap: 3px; padding: 4px 5px; }
  .jpm-game[data-game="aeroporto"] .ap-hud .g-chip { gap: 3px; padding: 2px 6px 2px 4px; font-size: 11px; }
  .jpm-game[data-game="aeroporto"] .ap-hud .g-ico { width: 1.05em; height: 1.05em; }
  .jpm-game[data-game="aeroporto"] .ap-hbtn { width: 22px; height: 22px; }
  .jpm-game[data-game="aeroporto"] .ap-pstars { padding: 3px 5px; }
  .jpm-game[data-game="aeroporto"] .ap-pstar { width: 11px; height: 11px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard { padding: 10px 12px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-best { margin-bottom: 6px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-btn { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .jpm-game[data-game="aeroporto"] .ap-btn-ico { width: 38px; }
  .jpm-game[data-game="aeroporto"] .ap-bcard .g-howto { display: none; }
  .jpm-game[data-game="aeroporto"] .ap-hint { font-size: 11px; padding: .35em .9em; bottom: 2%; }
  .jpm-game[data-game="aeroporto"] .ap-tag { --s: 15px; gap: 2px; }
  .jpm-game[data-game="aeroporto"] .ap-tag::after { width: 7px; height: 7px; margin-left: -3.5px; bottom: -3px; }
}
@container (max-height: 260px) {
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-kicker { display: none; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-title { font-size: 18px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-stars { margin: 0 0 2px; font-size: 20px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-results { margin: 2px 0; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-num { font-size: 16px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-lbl { font-size: 10px; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-best { font-size: 11px; margin-bottom: 4px; min-height: 0; }
  .jpm-game[data-game="aeroporto"] .ap-bcard { padding: 6px 12px; }
  .jpm-game[data-game="aeroporto"] .ap-btip { font-size: 11px; }
  .jpm-game[data-game="aeroporto"] .g-intro .g-text { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="aeroporto"] .ap-bcard, .jpm-game[data-game="aeroporto"] .ap-rcard, .jpm-game[data-game="aeroporto"] .ap-hint, .jpm-game[data-game="aeroporto"] .ap-time.is-low, .jpm-game[data-game="aeroporto"] .ap-pstars.is-hit, .jpm-game[data-game="aeroporto"] .ap-flights.is-hit, .jpm-game[data-game="aeroporto"] .ap-need, .jpm-game[data-game="aeroporto"] .ap-ready, .jpm-game[data-game="aeroporto"] .ap-wait, .jpm-game[data-game="aeroporto"] .ap-combo { animation: none; }
  .jpm-game[data-game="aeroporto"] .ap-rcard .g-star { transform: none; opacity: 1; }
}
