/* ==== JPM KIT v1 — base visual dos jogos (sincronizado; regras do jogo vêm depois do "fim da base") ==== */
.jpm-game[data-game="hotel"] {
  --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="hotel"] [hidden] { display: none; }
.jpm-game[data-game="hotel"] button { font: inherit; color: inherit; cursor: pointer; }
.jpm-game[data-game="hotel"] button:focus-visible { outline: 3px solid var(--ink, #172033); outline-offset: 2px; }
.jpm-game[data-game="hotel"] .g-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.jpm-game[data-game="hotel"] .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="hotel"] .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="hotel"] .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="hotel"] .g-chip--right { margin-left: auto; }
.jpm-game[data-game="hotel"] .g-chip--warn { background: var(--coral, #FF6868); }
.jpm-game[data-game="hotel"] .g-ico { width: 1.2em; height: 1.2em; flex: none; }
.jpm-game[data-game="hotel"] .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="hotel"] .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="hotel"] .g-hearts { display: flex; gap: 4px; padding: 6px 10px; border-radius: var(--r-pill, 999px); background: var(--g-glass); }
.jpm-game[data-game="hotel"] .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="hotel"] .g-heart.is-lost { color: rgba(255, 255, 255, .35); transform: scale(.85); }

/* telas */
.jpm-game[data-game="hotel"] .g-screen { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 12px; }
.jpm-game[data-game="hotel"] .g-intro, .jpm-game[data-game="hotel"] .g-over, .jpm-game[data-game="hotel"] .g-paused { background: rgba(23, 27, 52, .32); }
.jpm-game[data-game="hotel"] .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="hotel"] .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="hotel"] .g-intro .g-card { width: min(56%, 400px); }
.jpm-game[data-game="hotel"] .g-card--small { width: auto; padding: 16px 22px; }
.jpm-game[data-game="hotel"] .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="hotel"] .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="hotel"] .g-text { margin: 0 0 14px; color: var(--muted, #606B80); font-weight: 600; font-size: clamp(12px, 2.2cqw, 16px); }
.jpm-game[data-game="hotel"] .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="hotel"] .g-btn:active { transform: scale(.96); }
.jpm-game[data-game="hotel"] .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="hotel"] .g-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.jpm-game[data-game="hotel"] .g-results { display: flex; justify-content: center; gap: clamp(12px, 4cqw, 30px); margin: 10px 0; }
.jpm-game[data-game="hotel"] .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="hotel"] .g-lbl { font-size: clamp(11px, 1.8cqw, 13px); color: var(--muted, #606B80); font-weight: 700; }
.jpm-game[data-game="hotel"] .g-best { margin: 0 0 14px; font-weight: 800; color: var(--g-accent); min-height: 1.2em; }
.jpm-game[data-game="hotel"] .g-stars { display: flex; justify-content: center; gap: 6px; margin: 4px 0 8px; font-size: clamp(22px, 5cqw, 36px); }
.jpm-game[data-game="hotel"] .g-star { width: 1em; height: 1em; color: var(--line, #E3E8EF); }
.jpm-game[data-game="hotel"] .g-star.is-on { color: var(--yellow, #FFD43B); }

.jpm-game[data-game="hotel"] .g-ready { pointer-events: none; align-content: center; gap: 12px; }
.jpm-game[data-game="hotel"] .g-howto { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jpm-game[data-game="hotel"] .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="hotel"] .g-key { padding: 3px 9px; border-radius: 8px; background: var(--surface, #fff); color: var(--ink, #172033); font-weight: 900; }
.jpm-game[data-game="hotel"] .g-touch-only { display: none; }
.jpm-game[data-game="hotel"] .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: hotel-pop .8s ease-out infinite; }
@keyframes hotel-pop { from { transform: scale(1.25); opacity: .4; } 30% { transform: scale(1); opacity: 1; } }

/* botões de toque */
.jpm-game[data-game="hotel"] .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="hotel"] .g-touch-group { display: flex; gap: 10px; align-items: flex-end; }
.jpm-game[data-game="hotel"] .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="hotel"] .g-tbtn svg { width: 55%; height: 55%; }
.jpm-game[data-game="hotel"] .g-tbtn--action { background: rgba(96, 70, 255, .78); }
.jpm-game[data-game="hotel"] .g-tbtn.is-on, .jpm-game[data-game="hotel"] .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="hotel"] .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: hotel-toast .9s ease-out forwards; }
.jpm-game[data-game="hotel"] .g-toast.is-good { background: var(--green, #46D68C); color: var(--surface, #fff); }
.jpm-game[data-game="hotel"] .g-toast.is-bad { background: var(--coral, #FF6868); color: var(--surface, #fff); }
@keyframes hotel-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="hotel"] .g-touch-only { display: inline-flex; }
}
@container (max-width: 520px) {
  .jpm-game[data-game="hotel"] .g-intro { justify-items: center; padding-left: 12px; background: rgba(23, 27, 52, .3); }
  .jpm-game[data-game="hotel"] .g-intro .g-card { width: min(92%, 400px); }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="hotel"] .g-count, .jpm-game[data-game="hotel"] .g-toast { animation: none; }
}
/* ==== fim da base ==== */


/* jogo */
.jpm-game[data-game="hotel"] { --ht-pink: #FF7AA2; --ht-mint: #3CC9A0; --ht-cream: #FFF7EE; --ht-gold: #FFC928; background: #BFE6FF; }
.jpm-game[data-game="hotel"] .ht-hud { padding: 8px 10px; gap: 6px; }
.jpm-game[data-game="hotel"] .ht-lv { pointer-events: auto; border: 0; cursor: pointer; }
.jpm-game[data-game="hotel"] .ht-more { width: .9em; height: .9em; opacity: .8; }
.jpm-game[data-game="hotel"] .ht-cnum { min-width: 1.6em; }
.jpm-game[data-game="hotel"] .ht-bar { overflow: visible; width: clamp(60px, 16cqw, 170px); }
.jpm-game[data-game="hotel"] .ht-fill { background: linear-gradient(90deg, #FFD43B, #FFB000); }
.jpm-game[data-game="hotel"] .ht-tick { position: absolute; top: 50%; width: .9em; height: .9em; margin: -.45em 0 0 -.45em; border-radius: 50%; background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 2px rgba(23, 27, 52, .5); transition: background .2s, transform .2s; }
.jpm-game[data-game="hotel"] .ht-tick.is-on { background: var(--ht-gold); transform: scale(1.25); }
.jpm-game[data-game="hotel"] .ht-combo { background: var(--ht-pink); animation: hotel-pulse .6s ease-in-out infinite alternate; }

/* camada de efeitos (toasts, números e moedas voando) */
.jpm-game[data-game="hotel"] .ht-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.jpm-game[data-game="hotel"] .ht-layer .g-toast { top: 15%; }
.jpm-game[data-game="hotel"] .ht-float { position: absolute; transform: translate(-50%, -50%); font-weight: 900; font-size: clamp(14px, 3cqw, 26px); color: #fff; padding: .15em .55em; border-radius: 999px; background: rgba(23, 27, 52, .7); white-space: nowrap; animation: hotel-float 1.1s ease-out forwards; }
.jpm-game[data-game="hotel"] .ht-float.is-coin { background: #FFB000; text-shadow: 0 2px 0 rgba(150, 90, 0, .4); }
.jpm-game[data-game="hotel"] .ht-float.is-good { background: #2FBF71; }
.jpm-game[data-game="hotel"] .ht-float.is-bad { background: #8592A3; }
.jpm-game[data-game="hotel"] .ht-fly { position: absolute; width: clamp(14px, 2.6cqw, 24px); height: clamp(14px, 2.6cqw, 24px); margin: -12px 0 0 -12px; animation: hotel-fly .75s cubic-bezier(.5, -.3, .7, 1) both; }
.jpm-game[data-game="hotel"] .ht-fly svg { width: 100%; height: 100%; display: block; }

/* abertura */
.jpm-game[data-game="hotel"] .ht-intro .g-card { width: min(48%, 380px); }
.jpm-game[data-game="hotel"] .ht-row { margin-top: 10px; }
.jpm-game[data-game="hotel"] .g-btn { min-height: 44px; }

/* painéis de fases e loja (rolagem só dentro do painel) */
.jpm-game[data-game="hotel"] .ht-panel { background: rgba(23, 27, 52, .38); padding: 8px; }
.jpm-game[data-game="hotel"] .ht-pcard { width: min(96%, 720px); max-height: calc(100cqh - 16px); display: flex; flex-direction: column; padding: clamp(10px, 2.4cqw, 22px); text-align: left; }
.jpm-game[data-game="hotel"] .ht-phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jpm-game[data-game="hotel"] .ht-phead .g-title { margin: 0; }
.jpm-game[data-game="hotel"] .ht-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--bg, #F3F6FA); font-weight: 900; font-variant-numeric: tabular-nums; }
.jpm-game[data-game="hotel"] .ht-pill svg { width: 1.3em; height: 1.3em; }
.jpm-game[data-game="hotel"] .ht-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 8px -4px 0; padding: 2px 4px 6px; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.jpm-game[data-game="hotel"] .ht-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(74px, 15cqw, 112px), 1fr)); gap: 8px; }
.jpm-game[data-game="hotel"] .ht-lvc { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; padding: 8px 4px 6px; border: 0; border-radius: 14px; background: #FFF0F5; box-shadow: inset 0 -3px 0 #FFC6D8; transition: transform .12s; }
.jpm-game[data-game="hotel"] .ht-lvc:active { transform: scale(.95); }
.jpm-game[data-game="hotel"] .ht-lvc.is-cur { background: #FFE3EC; box-shadow: inset 0 0 0 3px var(--ht-pink), inset 0 -3px 0 #FFC6D8; }
.jpm-game[data-game="hotel"] .ht-lvc.is-lock { background: #F1F3F7; box-shadow: inset 0 -3px 0 #E3E8EF; color: #A6AFBD; cursor: default; }
.jpm-game[data-game="hotel"] .ht-lvn { font-size: clamp(18px, 3.4cqw, 28px); font-weight: 900; line-height: 1; }
.jpm-game[data-game="hotel"] .ht-lvn svg { width: .9em; height: .9em; }
.jpm-game[data-game="hotel"] .ht-lvs { display: flex; gap: 1px; font-size: clamp(11px, 1.9cqw, 15px); }
.jpm-game[data-game="hotel"] .ht-lvs .g-star { width: 1em; height: 1em; color: #E3D9DF; }
.jpm-game[data-game="hotel"] .ht-lvs .g-star.is-on { color: var(--ht-gold); }
.jpm-game[data-game="hotel"] .ht-lvs svg, .jpm-game[data-game="hotel"] .g-stars svg { width: 100%; height: 100%; display: block; }
.jpm-game[data-game="hotel"] .ht-lvt { font-size: clamp(9px, 1.5cqw, 12px); font-weight: 700; line-height: 1.1; color: var(--muted, #606B80); text-align: center; }
.jpm-game[data-game="hotel"] .ht-sub { margin: 10px 0 6px; font-weight: 900; font-size: clamp(12px, 2cqw, 15px); }
.jpm-game[data-game="hotel"] .ht-sub:first-child { margin-top: 2px; }
.jpm-game[data-game="hotel"] .ht-note { font-weight: 600; color: var(--muted, #606B80); font-size: .85em; }
.jpm-game[data-game="hotel"] .ht-shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 30cqw, 220px), 1fr)); gap: 8px; }
.jpm-game[data-game="hotel"] .ht-item { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 8px; border: 0; border-radius: 14px; background: #FFF7EE; box-shadow: inset 0 0 0 2px #FFE0C2; text-align: left; transition: transform .12s; }
.jpm-game[data-game="hotel"] .ht-item:active { transform: scale(.96); }
.jpm-game[data-game="hotel"] .ht-item.is-own { background: #E8FAF1; box-shadow: inset 0 0 0 2px #A8E8C8; cursor: default; }
.jpm-game[data-game="hotel"] .ht-item.is-lock { background: #F3F5F8; box-shadow: inset 0 0 0 2px #E3E8EF; cursor: default; opacity: .8; }
.jpm-game[data-game="hotel"] .ht-item.is-no { animation: hotel-no .35s; }
.jpm-game[data-game="hotel"] .ht-iico { flex: none; width: clamp(30px, 5.4cqw, 42px); height: clamp(30px, 5.4cqw, 42px); }
.jpm-game[data-game="hotel"] .ht-iico svg { width: 100%; height: 100%; display: block; }
.jpm-game[data-game="hotel"] .ht-itxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: clamp(11px, 1.9cqw, 14px); line-height: 1.15; }
.jpm-game[data-game="hotel"] .ht-itxt small { color: var(--muted, #606B80); font-weight: 600; font-size: .86em; }
.jpm-game[data-game="hotel"] .ht-price, .jpm-game[data-game="hotel"] .ht-own, .jpm-game[data-game="hotel"] .ht-lock { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px 4px 5px; border-radius: 999px; font-weight: 900; font-size: clamp(11px, 1.9cqw, 14px); }
.jpm-game[data-game="hotel"] .ht-price { background: #FFE9A8; color: #7A4B00; }
.jpm-game[data-game="hotel"] .ht-price.is-poor { background: #F1F3F7; color: #8592A3; }
.jpm-game[data-game="hotel"] .ht-own { background: #2FBF71; color: #fff; padding-left: 9px; }
.jpm-game[data-game="hotel"] .ht-lock { background: #E3E8EF; color: #606B80; }
.jpm-game[data-game="hotel"] .ht-price svg, .jpm-game[data-game="hotel"] .ht-lock svg { width: 1.2em; height: 1.2em; }
.jpm-game[data-game="hotel"] .ht-walls { display: flex; gap: 10px; flex-wrap: wrap; }
.jpm-game[data-game="hotel"] .ht-wall { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 3px rgba(23, 27, 52, .12); }
.jpm-game[data-game="hotel"] .ht-wall.is-on { box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--ht-pink); }

/* preparação da fase */
.jpm-game[data-game="hotel"] .ht-ready { pointer-events: auto; background: rgba(23, 27, 52, .28); gap: 8px; cursor: pointer; }
.jpm-game[data-game="hotel"] .ht-rlevel { margin: 0; padding: .3em 1em; border-radius: 999px; background: #fff; color: var(--ink, #172033); font-weight: 900; font-size: clamp(15px, 3.4cqw, 28px); box-shadow: 0 8px 20px rgba(23, 32, 51, .2); }
.jpm-game[data-game="hotel"] .ht-goal { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.jpm-game[data-game="hotel"] .ht-goal > span { display: inline-flex; align-items: center; gap: 3px; padding: 4px 12px; border-radius: 999px; background: var(--g-glass); color: #fff; font-weight: 800; font-size: clamp(12px, 2.2cqw, 17px); }
.jpm-game[data-game="hotel"] .ht-goal svg { width: 1.1em; height: 1.1em; color: var(--ht-gold); }
.jpm-game[data-game="hotel"] .ht-new { position: relative; padding: clamp(8px, 1.8cqw, 16px) clamp(10px, 2.4cqw, 22px); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(23, 32, 51, .22); max-width: 94%; }
.jpm-game[data-game="hotel"] .ht-newtag { position: absolute; top: -.8em; left: 14px; padding: 2px 10px; border-radius: 999px; background: var(--ht-pink); color: #fff; font-weight: 900; font-size: clamp(11px, 1.9cqw, 14px); }
.jpm-game[data-game="hotel"] .ht-newt { margin: 2px 0 6px; font-weight: 900; text-align: center; font-size: clamp(13px, 2.4cqw, 19px); }
.jpm-game[data-game="hotel"] .ht-srow { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.2cqw, 10px); }
.jpm-game[data-game="hotel"] .ht-step { display: flex; flex-direction: column; align-items: center; gap: 2px; width: clamp(58px, 12cqw, 100px); text-align: center; }
.jpm-game[data-game="hotel"] .ht-step svg { width: clamp(30px, 6.6cqw, 54px); height: clamp(30px, 6.6cqw, 54px); }
.jpm-game[data-game="hotel"] .ht-step small { font-weight: 700; line-height: 1.1; font-size: clamp(10px, 1.7cqw, 13px); color: var(--muted, #606B80); }
.jpm-game[data-game="hotel"] .ht-arr { font-weight: 900; font-size: clamp(16px, 3cqw, 26px); color: var(--ht-pink); }
.jpm-game[data-game="hotel"] .ht-keys { margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--g-glass); color: #fff; font-weight: 600; font-size: clamp(10px, 1.6cqw, 13px); text-align: center; }
.jpm-game[data-game="hotel"] .ht-keys b { color: #FFE066; }

/* fim da fase */
.jpm-game[data-game="hotel"] .ht-ocard { max-height: calc(100cqh - 16px); overflow-y: auto; padding: clamp(10px, 2.6cqw, 24px); }
.jpm-game[data-game="hotel"] .ht-ocard .g-title { margin: 2px 0; }
.jpm-game[data-game="hotel"] .ht-ocard .g-stars { margin: 2px 0 4px; }
.jpm-game[data-game="hotel"] .ht-ocard .g-results { margin: 4px 0; }
.jpm-game[data-game="hotel"] .ht-ocard .g-best { margin: 0 0 8px; }
.jpm-game[data-game="hotel"] .ht-links { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.jpm-game[data-game="hotel"] .ht-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--g-accent); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.jpm-game[data-game="hotel"] .ht-wal { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: #FFE9A8; color: #7A4B00; text-decoration: none; font-size: .9em; }

@keyframes hotel-float { from { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); } 75% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -160%) scale(1); } }
@keyframes hotel-fly { from { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translate(0, -14px) scale(1.1); } to { transform: translate(var(--dx), var(--dy)) scale(.7); opacity: .9; } }
@keyframes hotel-pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes hotel-no { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

@container (max-width: 560px) {
  .jpm-game[data-game="hotel"] .ht-hud { padding: 5px 6px; gap: 4px; }
  .jpm-game[data-game="hotel"] .g-chip { padding: 3px 8px 3px 5px; font-size: 12px; }
  .jpm-game[data-game="hotel"] .ht-bar { width: 48px; }
  .jpm-game[data-game="hotel"] .ht-more { display: none; }
  .jpm-game[data-game="hotel"] .ht-intro .g-card { width: min(92%, 380px); padding: 10px 14px; }
  .jpm-game[data-game="hotel"] .ht-intro .g-text { display: none; }
  .jpm-game[data-game="hotel"] .ht-keys { display: none; }
  .jpm-game[data-game="hotel"] .g-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .jpm-game[data-game="hotel"] .ht-row { margin-top: 6px; }
  .jpm-game[data-game="hotel"] .ht-ocard .g-results { gap: 12px; }
  .jpm-game[data-game="hotel"] .ht-ocard .g-num { font-size: 18px; }
  .jpm-game[data-game="hotel"] .ht-ocard .g-stars { font-size: 22px; }
  .jpm-game[data-game="hotel"] .ht-links { margin-top: 2px; }
}
@container (max-height: 260px) {
  .jpm-game[data-game="hotel"] .ht-ocard { padding: 8px 12px; width: min(96%, 520px); }
  .jpm-game[data-game="hotel"] .ht-ocard .g-kicker, .jpm-game[data-game="hotel"] .ht-ocard .g-best { display: none; }
  .jpm-game[data-game="hotel"] .ht-ocard .g-title { font-size: 18px; }
  .jpm-game[data-game="hotel"] .ht-ocard .g-lbl { font-size: 10px; }
  .jpm-game[data-game="hotel"] .ht-new { padding: 6px 8px; }
  .jpm-game[data-game="hotel"] .ht-newt { margin: 0 0 3px; font-size: 12px; }
  .jpm-game[data-game="hotel"] .ht-step { width: 52px; }
  .jpm-game[data-game="hotel"] .ht-step svg { width: 26px; height: 26px; }
  .jpm-game[data-game="hotel"] .ht-step small { font-size: 9px; }
  .jpm-game[data-game="hotel"] .ht-goal > span { font-size: 11px; padding: 2px 8px; }
  .jpm-game[data-game="hotel"] .ht-rlevel { font-size: 14px; }
  .jpm-game[data-game="hotel"] .ht-panel { padding: 4px; }
  .jpm-game[data-game="hotel"] .ht-pcard { padding: 6px 10px; max-height: calc(100cqh - 8px); }
  .jpm-game[data-game="hotel"] .ht-phead .g-title { font-size: 17px; }
  .jpm-game[data-game="hotel"] .ht-pill { font-size: 12px; padding: 2px 8px 2px 4px; }
  .jpm-game[data-game="hotel"] .ht-scroll { margin-top: 4px; padding-bottom: 2px; }
  .jpm-game[data-game="hotel"] .ht-grid { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 5px; }
  .jpm-game[data-game="hotel"] .ht-lvc { min-height: 44px; padding: 4px 2px; border-radius: 10px; }
  .jpm-game[data-game="hotel"] .ht-lvn { font-size: 16px; }
  .jpm-game[data-game="hotel"] .ht-lvt { display: none; }
  .jpm-game[data-game="hotel"] .ht-shopgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px; }
  .jpm-game[data-game="hotel"] .ht-item { min-height: 44px; padding: 3px 6px; gap: 5px; border-radius: 10px; }
  .jpm-game[data-game="hotel"] .ht-itxt small { display: none; }
  .jpm-game[data-game="hotel"] .ht-iico { width: 26px; height: 26px; }
  .jpm-game[data-game="hotel"] .ht-sub { margin: 6px 0 4px; font-size: 12px; }
  .jpm-game[data-game="hotel"] .ht-note { display: none; }
  .jpm-game[data-game="hotel"] .ht-pcard .g-row { margin-top: 4px; }
  .jpm-game[data-game="hotel"] .ht-pcard .g-btn { min-height: 40px; font-size: 14px; padding: 0 16px; }
  .jpm-game[data-game="hotel"] .ht-wall { width: 40px; height: 40px; }
}
@media (pointer: coarse) {
  .jpm-game[data-game="hotel"] .ht-keys { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="hotel"] .ht-combo, .jpm-game[data-game="hotel"] .ht-float, .jpm-game[data-game="hotel"] .ht-fly { animation-duration: .01s; }
}

/* hotel: mãos do mensageiro, balões e marcadores que seguem a cena */
.jpm-game[data-game="hotel"] .ht-gs { gap: 2px; }
.jpm-game[data-game="hotel"] .ht-gs svg { width: 1.1em; height: 1.1em; }
.jpm-game[data-game="hotel"] .ht-hands { gap: 4px; padding: 4px 6px; }
.jpm-game[data-game="hotel"] .ht-slot { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 10px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.jpm-game[data-game="hotel"] .ht-slot.is-full { background: #fff; box-shadow: none; animation: hotel-pop2 .3s ease-out; }
.jpm-game[data-game="hotel"] .ht-slot svg { width: 1.5em; height: 1.5em; display: block; }
.jpm-game[data-game="hotel"] .ht-bagi { position: relative; display: block; width: 1.5em; height: 1.5em; }
.jpm-game[data-game="hotel"] .ht-bagi > svg { width: 100%; height: 100%; }
.jpm-game[data-game="hotel"] .ht-bsh { position: absolute; left: 22%; top: 34%; width: 56%; height: 56%; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.jpm-game[data-game="hotel"] .ht-bsh svg { width: 82%; height: 82%; }
.jpm-game[data-game="hotel"] .ht-layer .ht-bub, .jpm-game[data-game="hotel"] .ht-layer .ht-rbub, .jpm-game[data-game="hotel"] .ht-layer .ht-mk, .jpm-game[data-game="hotel"] .ht-layer .ht-arrow { position: absolute; left: 0; top: 0; will-change: transform; }
.jpm-game[data-game="hotel"] .ht-bub { translate: -50% -100%; display: flex; align-items: center; gap: 2px; padding: 3px 5px 7px; border-radius: 14px; background: #fff; box-shadow: 0 4px 10px rgba(23, 32, 51, .22); }
.jpm-game[data-game="hotel"] .ht-bub::after, .jpm-game[data-game="hotel"] .ht-rbub::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.jpm-game[data-game="hotel"] .ht-bub.is-q { padding: 2px; border-radius: 50%; }
.jpm-game[data-game="hotel"] .ht-bub.is-desk, .jpm-game[data-game="hotel"] .ht-bub.is-co { animation: hotel-bob .9s ease-in-out infinite alternate; }
.jpm-game[data-game="hotel"] .ht-bub.is-vip { background: #FFF3C4; box-shadow: 0 0 0 2px #FFC928, 0 4px 10px rgba(23, 32, 51, .22); }
.jpm-game[data-game="hotel"] .ht-bub.is-low { box-shadow: 0 0 0 2px #FF6B6B, 0 4px 10px rgba(23, 32, 51, .22); }
.jpm-game[data-game="hotel"] .ht-bi { display: flex; align-items: center; gap: 2px; }
.jpm-game[data-game="hotel"] .ht-bi > svg { width: clamp(20px, 3.4cqw, 32px); height: clamp(20px, 3.4cqw, 32px); }
.jpm-game[data-game="hotel"] .ht-face svg { display: block; width: clamp(14px, 2.4cqw, 22px); height: clamp(14px, 2.4cqw, 22px); }
.jpm-game[data-game="hotel"] .ht-pat { position: absolute; left: 8px; right: 8px; bottom: 3px; height: 3px; border-radius: 2px; background: #E3E8EF; overflow: hidden; }
.jpm-game[data-game="hotel"] .ht-pat b { display: block; height: 100%; width: 100%; border-radius: inherit; background: #2FBF71; }
.jpm-game[data-game="hotel"] .ht-beds { display: flex; gap: 2px; }
.jpm-game[data-game="hotel"] .ht-beds i { width: .55em; height: .55em; border-radius: 50%; background: #4DABF7; }
.jpm-game[data-game="hotel"] .ht-rbub { translate: -50% -100%; display: flex; gap: 3px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 4px 10px rgba(23, 32, 51, .22); }
.jpm-game[data-game="hotel"] .ht-rbub.is-req { background: #FFF7D6; box-shadow: 0 0 0 2px #FFC928, 0 4px 10px rgba(23, 32, 51, .22); animation: hotel-bob .8s ease-in-out infinite alternate; }
.jpm-game[data-game="hotel"] .ht-rbub.is-dirty { background: #F1F3F7; }
.jpm-game[data-game="hotel"] .ht-rbub.is-cleaning { background: #E3F4FF; animation: hotel-wig .25s ease-in-out infinite alternate; }
.jpm-game[data-game="hotel"] .ht-rbub.is-ok { background: #E8FAF1; box-shadow: 0 0 0 2px #2FBF71, 0 4px 10px rgba(23, 32, 51, .22); animation: hotel-bob .5s ease-in-out infinite alternate; }
.jpm-game[data-game="hotel"] .ht-req { position: relative; display: grid; place-items: center; width: clamp(24px, 4.2cqw, 40px); height: clamp(24px, 4.2cqw, 40px); padding-bottom: 3px; }
.jpm-game[data-game="hotel"] .ht-req > svg, .jpm-game[data-game="hotel"] .ht-req > .ht-bagi { width: 100%; height: 100%; }
.jpm-game[data-game="hotel"] .ht-req .ht-pat { left: 2px; right: 2px; bottom: 0; }
.jpm-game[data-game="hotel"] .ht-req.is-late { opacity: .5; }
.jpm-game[data-game="hotel"] .ht-mk { translate: -50% -50%; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #fff; color: var(--ink, #172033); font-weight: 900; font-size: clamp(11px, 1.9cqw, 15px); box-shadow: 0 0 0 2px #2D3A6B, 0 3px 8px rgba(23, 32, 51, .25); }
.jpm-game[data-game="hotel"] .ht-mk.is-cur { background: #2D3A6B; color: #FFD43B; }
.jpm-game[data-game="hotel"] .ht-arrow { translate: -50% -100%; width: clamp(26px, 4.6cqw, 44px); height: clamp(26px, 4.6cqw, 44px); }
.jpm-game[data-game="hotel"] .ht-arrow svg { width: 100%; height: 100%; display: block; animation: hotel-hop .5s ease-in-out infinite alternate; }
.jpm-game[data-game="hotel"] .ht-tapgo { position: relative; margin: 0; padding: 4px 14px; border-radius: 999px; background: #FFD43B; color: #172033; font-weight: 900; font-size: clamp(12px, 2.2cqw, 17px); animation: hotel-bob .7s ease-in-out infinite alternate; }
.jpm-game[data-game="hotel"] .ht-lv { gap: 4px; }
@keyframes hotel-bob { from { top: 0; } to { top: -4px; } }
@keyframes hotel-hop { from { transform: translateY(-8px); } to { transform: translateY(2px); } }
@keyframes hotel-wig { from { rotate: -6deg; } to { rotate: 6deg; } }
@keyframes hotel-pop2 { from { transform: scale(.4); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
@container (max-width: 560px) {
  .jpm-game[data-game="hotel"] .ht-slot { width: 1.6em; height: 1.6em; border-radius: 7px; }
  .jpm-game[data-game="hotel"] .ht-slot svg { width: 1.3em; height: 1.3em; }
  .jpm-game[data-game="hotel"] .ht-bub { padding: 2px 3px 6px; border-radius: 10px; }
  .jpm-game[data-game="hotel"] .ht-rbub { padding: 2px; border-radius: 10px; }
  .jpm-game[data-game="hotel"] .ht-tapgo { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .jpm-game[data-game="hotel"] .ht-bub, .jpm-game[data-game="hotel"] .ht-rbub, .jpm-game[data-game="hotel"] .ht-arrow svg, .jpm-game[data-game="hotel"] .ht-tapgo { animation: none; }
}
@container (max-width: 560px) {
  .jpm-game[data-game="hotel"] .ht-mk { font-size: 9px; box-shadow: 0 0 0 1.5px #2D3A6B; }
  .jpm-game[data-game="hotel"] .ht-req { width: 20px; height: 20px; }
  .jpm-game[data-game="hotel"] .ht-bi > svg { width: 18px; height: 18px; }
  .jpm-game[data-game="hotel"] .ht-face svg { width: 13px; height: 13px; }
  .jpm-game[data-game="hotel"] .ht-arrow { width: 22px; height: 22px; }
  .jpm-game[data-game="hotel"] .ht-bub::after, .jpm-game[data-game="hotel"] .ht-rbub::after { width: 8px; height: 8px; margin-left: -4px; bottom: -4px; }
}
