/* Выше-ниже (cards come from blackjack.css: .pcard) */
.g-hilo .g-stage { padding: 0; }
.hl-wrap { position: relative; height: 284px; background: radial-gradient(70% 50% at 50% 36%, rgba(125,92,255, .1), transparent 70%); }
.hl-card { --cw: 92px; position: absolute; left: calc(50% - 46px); top: 50px; z-index: 2; }
.hl-card.hl-ok .pcard-f { box-shadow: 0 0 0 3px var(--win), 0 10px 26px rgba(212,255,58, .3); }
.hl-card.hl-bad .pcard-f { box-shadow: 0 0 0 3px var(--loss), 0 10px 26px rgba(255,93,99, .25); }
.hl-shoe { position: absolute; right: -12px; top: 44px; width: 40px; height: 56px; z-index: 1; }
.hl-shoe .pcard { --cw: 40px; position: absolute; left: 0; top: 0; }
.hl-shoe .pcard:nth-child(1) { transform: translate(-3px, 5px) rotate(10deg); }
.hl-shoe .pcard:nth-child(2) { transform: translate(-1px, 2px) rotate(13deg); }
.hl-shoe .pcard:nth-child(3) { transform: rotate(16deg); }
.hl-hint { position: absolute; top: 120px; width: 104px; height: 46px; padding: 0 10px; border-radius: 12px; background: var(--s2); display: flex; align-items: center; gap: 8px; }
.hl-hint.l { left: 12px; }
.hl-hint.r { right: 12px; }
.hl-hint i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.hl-hint b { display: block; font-size: 15px; font-weight: 900; line-height: 1.05; }
.hl-hint small { display: block; font-size: 11.5px; font-weight: 700; color: var(--fg2); }
.hl-wrap i.up, .hl-g.up .hl-gi { background: rgba(255,195,55, .16); color: var(--gold); }
.hl-wrap i.down, .hl-g.down .hl-gi { background: rgba(157,123,255, .2); color: #b9a3ff; }
.hl-g.eq .hl-gi { background: rgba(139,123,255, .16); color: #b5acff; }
.hl-pop { position: absolute; left: 50%; top: 30px; z-index: 5; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--win); color: #0b0c10; font-size: 16px; font-weight: 900; display: inline-flex; align-items: center; box-shadow: 0 8px 20px rgba(0,0,0, .4); opacity: 0; pointer-events: none; }
.hl-row { position: absolute; left: 12px; right: 12px; top: 196px; height: 78px; display: flex; justify-content: center; gap: 6px; overflow: hidden; }
.hl-row.over { justify-content: flex-end; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.hl-item { flex: none; min-width: 44px; display: grid; justify-items: center; align-content: start; gap: 5px; }
.hl-item .pcard { --cw: 36px; }
.hl-tag { height: 18px; padding: 0 5px; border-radius: 9px; background: var(--s3); color: var(--fg2); font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.hl-tag svg { flex: none; }
.hl-tag.ok { background: rgba(212,255,58, .16); color: var(--win); }
.hl-tag.bad { background: rgba(255,93,99, .16); color: var(--loss); }
.hl-ctl { display: grid; gap: 8px; }
.hl-guess { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hl-g { min-height: 58px; padding: 8px 8px 8px 9px; border-radius: var(--r-ctl); background: var(--s3); display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px; text-align: left; }
.hl-g[disabled] { opacity: .5; cursor: default; }
.hl-gi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.hl-gt b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.15; }
.hl-gt small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--fg2); white-space: nowrap; }
.hl-gt small em { font-style: normal; color: var(--fg); }
.hl-skip svg { color: var(--fg2); flex: none; }

/* tile art */
.hl-tile { background: radial-gradient(80% 55% at 50% 32%, #6a4be0 0%, #33228a 55%, #16123a 100%); overflow: hidden; }
.hl-tile-c { position: absolute; left: 29cqw; top: 13cqw; transform: rotate(-6deg); }
.hl-tile-c .pcard { --cw: 42cqw; }
.hl-tile-c .pcard-f { box-shadow: 0 2.5cqw 6cqw rgba(0,0,0, .45); }
.hl-tile-ar { position: absolute; width: 21cqw; height: 21cqw; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 1.5cqw 4cqw rgba(0,0,0, .4); }
.hl-tile-ar svg { width: 12cqw; height: 12cqw; }
.hl-tile-ar.up { left: 67cqw; top: 9cqw; background: var(--gold); color: #2a1d00; }
.hl-tile-ar.dn { left: 12cqw; top: 54cqw; background: #9d7bff; color: #160c3a; }
