/* WICK Grand suite games */
.hg-dlg { margin: auto; inset: 0; padding: 0; border: 1px solid rgba(233,196,106,.32); border-radius: 18px; background: #07070b; color: var(--bone, #F4F6F1); width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hg-dlg::backdrop { background: rgba(3,3,8,.78); backdrop-filter: blur(6px); }
.hg-shell { max-height: calc(100dvh - 26px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: radial-gradient(900px 360px at 50% -120px, rgba(233,196,106,.1), transparent 70%); }
.hg-top { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 18px 12px; background: rgba(7,7,11,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #1a1c24; }
.hg-id { min-width: 0; }
.hg-id small { display: block; font-size: .6rem; letter-spacing: .2em; color: #E9C46A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-id h2 { margin: 2px 0; font-size: clamp(1.1rem, 1rem + .8vw, 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-id p { margin: 0; max-width: none; font-size: .78rem; line-height: 1.4; color: var(--steel-2, #9aa0ab); overflow-wrap: anywhere; }
.hg-x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid #23262f; background: #0d0d12; color: var(--bone, #F4F6F1); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hg-x:hover { border-color: rgba(233,196,106,.6); }
.hg-body { display: grid; justify-items: center; gap: 12px; padding: 14px 18px; min-width: 0; }
.hg-cv { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 14px; border: 1px solid rgba(233,196,106,.25); touch-action: none; user-select: none; -webkit-user-select: none; background: #050508; }
.hg-pool { max-width: 800px; cursor: crosshair; }
.hg-p3 { position: relative; width: 100%; max-width: 800px; touch-action: none; user-select: none; -webkit-user-select: none; }
.hg-p3.on3 { max-width: none; aspect-ratio: 16 / 9; max-height: min(62dvh, 520px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(233,196,106,.25); background: #040309; cursor: crosshair; margin-inline: auto; }
.hg-p3.on3 .hg-pool { display: none; }
.hg-p3c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hg-p3m { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 7px 14px; border-radius: 999px; background: rgba(5,6,7,.82); border: 1px solid rgba(233,196,106,.35); color: #F7E2A8; font: 700 .82rem/1.2 Satoshi, system-ui, sans-serif; text-align: center; pointer-events: none; white-space: normal; overflow-wrap: anywhere; }
.hg-p3m.ok { color: #C8FF2E; border-color: rgba(200,255,46,.45); }
.hg-p3m[hidden], .hg-p3w[hidden] { display: none; }
.hg-p3w { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(180px, 50%); height: 10px; border-radius: 999px; background: rgba(5,6,7,.82); border: 1px solid rgba(200,255,46,.35); overflow: hidden; pointer-events: none; }
.hg-p3w i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2ef2ff, #C8FF2E); box-shadow: 0 0 10px rgba(200,255,46,.6); }
.hg-d3 { aspect-ratio: 16 / 10; max-height: min(64dvh, 540px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(233,196,106,.25); background: #050309; cursor: grab; margin-inline: auto; max-width: none; }
.hg-d3:active { cursor: grabbing; }
.hg-d3h { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(5,6,7,.75); border: 1px solid rgba(200,255,46,.35); color: #C8FF2E; font: 700 .74rem/1 Satoshi, system-ui, sans-serif; letter-spacing: .04em; pointer-events: none; white-space: nowrap; }
.hg-d3h[hidden] { display: none; }
@media (max-width: 640px) { .hg-d3 { aspect-ratio: 3 / 4; max-height: 62dvh; width: auto; height: min(62dvh, calc((100vw - 60px) * 4 / 3)); } }
@media (max-width: 640px) { .hg-p3.on3 { aspect-ratio: 3 / 4; max-height: 64dvh; width: auto; height: min(64dvh, calc((100vw - 60px) * 4 / 3)); } }
.hg-darts { max-width: min(440px, 60dvh); cursor: crosshair; }
.hg-mix { max-width: min(420px, 100%, calc((100dvh - 280px) * 0.9)); min-width: min(300px, 100%); margin-inline: auto; display: block; border-radius: 14px; border: 1px solid rgba(233,196,106,.25); }
.hg-snake { max-width: min(360px, 52dvh); }
.hg-p3.hg-s3 { max-width: min(360px, 52dvh); }
.hg-p3.hg-s3.on3 { aspect-ratio: 5 / 4; max-width: none; width: min(100%, 920px, calc((100dvh - 270px) * 1.25)); min-width: min(100%, 520px); height: auto; max-height: none; cursor: default; }
@media (max-width: 640px) { .hg-p3.hg-s3.on3 { aspect-ratio: 1 / 1; width: 100%; min-width: 0; height: auto; } }
.hg-kara { max-width: min(420px, 100%); cursor: pointer; }
.hg-bar { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; font-size: .82rem; color: var(--steel-2, #b4b9c3); min-width: 0; }
.hg-bar b { color: var(--bone, #F4F6F1); }
.hg-last { flex: 1 1 180px; min-width: 0; text-align: center; color: #F7E2A8; overflow-wrap: anywhere; }
.hg-chips { width: 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hg-chips::-webkit-scrollbar { display: none; }
.hg-chips button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #23262f; background: #0d0d12; color: var(--steel-2, #b4b9c3); font: 600 .78rem/1 Satoshi, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.hg-chips button small { color: var(--steel, #7d838f); font-size: .66rem; margin-left: 4px; }
.hg-chips button.on { color: #F7E2A8; border-color: rgba(233,196,106,.7); background: rgba(233,196,106,.1); }
.hg-dlg .ht-go, .hg-dlg .ht-ghost { flex: 0 0 auto; }
.hg-dlg button:focus-visible, .hg-dlg a:focus-visible { outline: 2px solid #E9C46A; outline-offset: 2px; }

/* piano */
.hg-keys { --wk: calc(100% / 14); position: relative; width: 100%; max-width: 760px; height: clamp(150px, 26vw, 220px); user-select: none; -webkit-user-select: none; touch-action: none; }
.hg-k { position: absolute; top: 0; bottom: 0; left: calc(var(--wk) * var(--i)); width: var(--wk); padding: 0 0 8px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; border: 1px solid #2b2b30; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #f3efe6, #ddd6c6); color: #4a4636; font: 600 .6rem/1 Satoshi, system-ui, sans-serif; cursor: pointer; transition: background .08s; }
.hg-k kbd { font: 700 .62rem/1 ui-monospace, monospace; color: #7a7462; }
.hg-k span { white-space: nowrap; }
.hg-k.b { z-index: 2; bottom: 38%; width: calc(var(--wk) * .62); left: calc(var(--wk) * (var(--i) + 1) - var(--wk) * .31); border-color: #000; background: linear-gradient(180deg, #24242a, #050507); color: #9aa0ab; padding-bottom: 6px; }
.hg-k.b kbd { color: #8a8f99; }
.hg-k.dn { background: linear-gradient(180deg, #F7E2A8, #E9C46A); }
.hg-k.b.dn { background: linear-gradient(180deg, #5b4a1c, #2a210a); }
.hg-k.nx { box-shadow: inset 0 -5px 0 #C8FF2E, 0 0 18px rgba(200,255,46,.45); }
.hg-k.b.nx { box-shadow: inset 0 -5px 0 #C8FF2E, 0 0 18px rgba(200,255,46,.6); }
@media (max-width: 560px) { .hg-k span { display: none; } .hg-k kbd { font-size: .52rem; } }

/* jukebox */
.hg-juke { width: 100%; display: grid; gap: 10px; min-width: 0; }
.hg-now { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid rgba(233,196,106,.35); background: linear-gradient(90deg, rgba(233,196,106,.08), rgba(122,60,255,.06)); min-width: 0; }
.hg-now > span { flex: 1 1 auto; display: grid; gap: 1px; min-width: 0; }
.hg-now small { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #E9C46A; }
.hg-now b { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-now em { font-style: normal; font-size: .74rem; color: var(--steel-2, #9aa0ab); overflow-wrap: anywhere; }
.hg-eq { display: flex; align-items: flex-end; gap: 3px; width: 22px; height: 22px; flex: 0 0 auto; }
.hg-eq b { flex: 1; background: #C8FF2E; border-radius: 2px; height: 40%; animation: hgEq .9s ease-in-out infinite; }
.hg-eq b:nth-child(2) { animation-delay: -.3s; } .hg-eq b:nth-child(3) { animation-delay: -.6s; }
@keyframes hgEq { 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .hg-eq b { animation: none; height: 70%; } }
.hg-vol { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--steel-2, #9aa0ab); }
.hg-vol input { flex: 1 1 auto; accent-color: #C8FF2E; }
.hg-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 6px; }
.hg-tl li { max-width: none; min-width: 0; }
.hg-tr { width: 100%; display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid #23262f; background: #0d0d12; color: var(--bone, #F4F6F1); cursor: pointer; font: 600 .84rem/1.2 Satoshi, system-ui, sans-serif; min-width: 0; }
.hg-tr b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-tr span { font-size: .68rem; font-weight: 500; color: var(--steel-2, #9aa0ab); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-tr:hover { border-color: rgba(200,255,46,.45); }
.hg-tr.on { border-color: rgba(200,255,46,.75); box-shadow: 0 0 14px rgba(200,255,46,.2); }

/* arcade */
.hg-pad { display: none; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(2, 48px); gap: 6px; }
.hg-pad button { border-radius: 12px; border: 1px solid #2a2d36; background: #0d0d12; color: var(--bone, #F4F6F1); font: 600 .72rem/1 Satoshi, system-ui, sans-serif; touch-action: none; }
.hg-pad [data-dir="u"] { grid-column: 2; grid-row: 1; } .hg-pad [data-dir="l"] { grid-column: 1; grid-row: 2; } .hg-pad [data-dir="d"] { grid-column: 2; grid-row: 2; } .hg-pad [data-dir="r"] { grid-column: 3; grid-row: 2; }
@media (pointer: coarse) { .hg-pad { display: grid; } }
.hg-floor { width: 100%; display: grid; gap: 8px; padding-top: 6px; border-top: 1px solid #1a1c24; }
.hg-floor > b { font-size: .8rem; color: #F7E2A8; }
.hg-floor > div { display: flex; flex-wrap: wrap; gap: 6px; }
.hg-ga { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(46,242,255,.35); background: #0b0d12; color: #CFF9FF; font-size: .76rem; font-weight: 600; text-decoration: none; }
.hg-ga:hover { border-color: #2EF2FF; }

/* suite board */
.hg-foot { padding: 4px 18px 18px; display: grid; gap: 8px; }
.hg-bh { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; color: var(--steel-2, #9aa0ab); }
.hg-bh b { color: #F7E2A8; }
.hg-bd { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 6px; }
.hg-bd li { max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: #0d0d12; font-size: .78rem; }
.hg-bd i { font-style: normal; color: #E9C46A; font-weight: 700; }
.hg-bd span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-fine { margin: 0; max-width: none; font-size: .74rem; color: var(--steel, #7d838f); text-align: center; }
@media (pointer: coarse), (max-width: 560px) { .hg-k kbd { display: none; } }
.hg-p3h { bottom: 34px; white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .hg-p3h { font-size: .66rem; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 24px); line-height: 1.25; } }

/* ---------- phone piano: only the keys, full screen ---------- */
.hg-kw { position: relative; width: 100%; display: flex; justify-content: center; }
.hg-dlg.hg-pf { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
.hg-dlg.hg-pf .hg-shell { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.hg-dlg.hg-pf .hg-top { padding: 6px 8px 0; min-height: 0; border: 0; }
.hg-dlg.hg-pf .hg-id { display: none; }
.hg-dlg.hg-pf .hg-top { position: absolute; top: 0; right: 0; z-index: 5; background: transparent; }
.hg-dlg.hg-pf .hg-foot { display: none; }
.hg-dlg.hg-pf .hg-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); overflow: hidden; }
.hg-dlg.hg-pf .hg-chips { flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; padding-right: 52px; scrollbar-width: none; }
.hg-dlg.hg-pf .hg-chips::-webkit-scrollbar { display: none; }
.hg-dlg.hg-pf .hg-chips button { flex: 0 0 auto; white-space: nowrap; }
.hg-dlg.hg-pf .hg-bar { flex: 0 0 auto; order: 2; min-height: 0; padding: 0 4px; font-size: .72rem; }
.hg-dlg.hg-pf .hg-bar > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hg-dlg.hg-pf .hg-kw { order: 1; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.hg-dlg.hg-pf .hg-keys { max-width: none; width: 100%; height: 100%; }
.hg-dlg.hg-pf .hg-kw.rot .hg-keys { position: absolute; left: 50%; top: 50%; width: var(--kh); height: var(--kw); transform: translate(-50%, -50%) rotate(90deg); }
.hg-dlg.hg-pf .hg-k { transition: background .06s linear, transform .06s linear; }
.hg-dlg.hg-pf .hg-k.dn { transform: scaleY(.985); transform-origin: top; box-shadow: 0 0 22px rgba(233,196,106,.55); }
.hg-dlg.hg-pf .hg-k.b.dn { box-shadow: 0 0 18px rgba(233,196,106,.45); }

/* pool and darts with friends: lobby, invite card, player chips */
.hg-lob { width: 100%; max-width: 460px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; padding: 6px 0; min-width: 0; }
.hg-lh { margin: 0; font: 700 .95rem/1.2 Satoshi, system-ui, sans-serif; color: #F7E2A8; }
.hg-who { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hg-who li > span, .hg-who label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid #23262f; background: #0d0d12; color: var(--bone, #F4F6F1); font-size: .86rem; min-width: 0; cursor: pointer; }
.hg-who li { display: flex; align-items: center; gap: 8px; min-width: 0; position: relative; }
.hg-who li > span, .hg-who label { flex: 1 1 auto; }
.hg-who label span, .hg-who li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }
.hg-who em { font-style: normal; font-size: .66rem; color: var(--steel, #7d838f); margin-left: 4px; }
.hg-who small { flex: 0 0 auto; font-size: .7rem; color: var(--steel-2, #b4b9c3); white-space: nowrap; }
.hg-who li > small { position: absolute; right: 12px; }
.hg-who .s-y { color: #7CF2B0; } .hg-who .s-n { color: #f19a9a; }
.hg-who input { accent-color: #E9C46A; width: 18px; height: 18px; flex: 0 0 auto; margin: 0; }
.hg-who label:has(input:checked) { border-color: rgba(233,196,106,.6); background: rgba(233,196,106,.07); }
.hg-who label:has(input:disabled) { opacity: .5; cursor: default; }
.hg-lb { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.hg-lob .hg-fine { margin: 0; }
.hg-pls { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; flex: 1 1 100%; min-width: 0; }
.hg-pl { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid #23262f; background: #0d0d12; max-width: 100%; min-width: 0; }
.hg-pl i { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12ch; color: var(--steel-2, #b4b9c3); }
.hg-pl i em { font-style: normal; font-size: .62rem; color: var(--steel, #7d838f); }
.hg-pl b { font-size: .8rem; }
.hg-pl.up { border-color: rgba(233,196,106,.75); background: rgba(233,196,106,.1); box-shadow: 0 0 12px rgba(233,196,106,.25); }
.hg-pl.up i { color: #F7E2A8; }
.hg-pl.out { opacity: .45; text-decoration: line-through; }
.hg-inv { position: fixed; inset: auto 0 18px 0; margin: 0 auto; width: min(360px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(233,196,106,.55); background: rgba(10,10,14,.96); color: var(--bone, #F4F6F1); box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 24px rgba(233,196,106,.18); z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.hg-inv:popover-open { inset: auto 0 18px 0; }
.hg-inv p { margin: 0; font-size: .88rem; line-height: 1.35; overflow-wrap: anywhere; max-width: none; }
.hg-inv b { color: #F7E2A8; }
/* aquarium */
.hg-aq { position: relative; width: 100%; max-width: 920px; margin: 0 auto; }
.hg-aqc { cursor: pointer; border-color: rgba(120,210,255,.28); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 18px 50px rgba(0,40,80,.45); }
.hg-aq + .hg-bar { max-width: 920px; margin-left: auto; margin-right: auto; flex-wrap: wrap; }
.hg-aqp, .hg-aqn { white-space: nowrap; }
@media (max-width: 560px) { .hg-aq + .hg-bar { font-size: 13px; gap: 6px 12px; } .hg-aq + .hg-bar .hg-last { order: 3; flex-basis: 100%; } }

/* fish store (inside the aquarium, over the tank so nothing jumps) */
.hg-aq { overflow: hidden; border-radius: 14px; }
.hg-fs { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: rgba(4,10,16,.94); backdrop-filter: blur(6px); border: 1px solid rgba(120,210,255,.28); border-radius: 14px; padding: 12px; min-width: 0; }
.hg-fs[hidden] { display: none; }
.hg-fsh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.hg-fsh b { font-size: 16px; }
.hg-fsx, .hg-fsr { min-height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(var(--ng,61,255,154),.5); background: #05070b; color: rgb(var(--ng,61,255,154)); font: 700 13px var(--font-body, system-ui); cursor: pointer; white-space: nowrap; }
.hg-fsx:hover, .hg-fsr:hover { box-shadow: 0 0 14px rgba(var(--ng,61,255,154),.3); }
.hg-fst { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: #05070b; margin-bottom: 10px; }
.hg-fst.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hg-fst button { min-width: 0; padding: 8px 4px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: #9aa3b2; font: 700 13px var(--font-body, system-ui); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-fst button.on { color: rgb(var(--ng,61,255,154)); border-color: rgba(var(--ng,61,255,154),.55); box-shadow: 0 0 12px rgba(var(--ng,61,255,154),.25); }
.hg-fsbody { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-right: 2px; }
.hg-fsn { margin: 0 0 10px; font-size: 13px; color: #aeb6c4; max-width: none; }
.hg-fsg { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.hg-fsc { position: relative; display: grid; gap: 3px; align-content: start; text-align: left; min-width: 0; padding: 10px; border-radius: 11px; border: 1px solid rgba(255,255,255,.12); background: #0a1119; color: #e8edf5; font: inherit; cursor: pointer; }
button.hg-fsc:hover:not([disabled]) { border-color: rgba(var(--ng,61,255,154),.55); box-shadow: 0 0 14px rgba(var(--ng,61,255,154),.2); }
.hg-fsc[disabled] { opacity: .55; cursor: default; }
.hg-fsc b, .hg-fsc span, .hg-fsc em, .hg-fsc small { min-width: 0; overflow-wrap: anywhere; }
.hg-fsc b { font-size: 14px; }
.hg-fsc span { font-size: 12px; color: #9aa3b2; line-height: 1.35; }
.hg-fsc em { font-style: normal; font-weight: 700; color: rgb(var(--ng,61,255,154)); font-size: 13px; margin-top: 2px; }
.hg-fx small { color: var(--tc); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hg-fx img { width: 100%; height: 64px; object-fit: contain; margin-bottom: 4px; }
.hg-fx.sh { border-color: rgba(242,200,121,.35); background: linear-gradient(135deg, rgba(242,200,121,.08), transparent 55%), #0a1119; }
.hg-fx.sh img { filter: drop-shadow(0 0 8px rgba(255,230,160,.45)); }
.hg-fsr { margin-top: 6px; justify-self: start; }
.hg-fsb { white-space: nowrap; }
@media (max-width: 560px) { .hg-fs { padding: 8px; } .hg-fsg { grid-template-columns: repeat(2, minmax(0,1fr)); } .hg-fx img { height: 48px; } .hg-fsc { padding: 8px; } .hg-fsc span { display: none; } }
.ht-go.hg-fsb { background: #05070b; color: rgb(var(--ng,61,255,154)); border-color: rgba(var(--ng,61,255,154),.55); box-shadow: 0 0 14px rgba(var(--ng,61,255,154),.22); }
.ht-go.hg-fsb:hover { border-color: rgb(var(--ng,61,255,154)); box-shadow: 0 0 22px rgba(var(--ng,61,255,154),.38); }

/* ---------- suite bowling lane ---------- */
.hg-bw { position: relative; width: 100%; max-width: 820px; height: clamp(420px, 64dvh, 600px); border-radius: 14px; overflow: hidden; background: #050814; border: 1px solid rgba(255,79,154,.28); box-shadow: 0 0 0 1px rgba(46,242,255,.08) inset, 0 18px 40px -18px rgba(0,0,0,.8); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hg-bw .bw-spin { opacity: 1; pointer-events: auto; bottom: 14px; }
.hg-bw.watch .bw-spin { opacity: .3; pointer-events: none; }
.hg-bw.watch .bw-ui { cursor: default; }
.hg-bwno { padding: 40px 18px; }
@media (max-width: 560px) { .hg-bw { height: clamp(380px, 62dvh, 540px); } .hg-bw .bw-spin { left: 8px; bottom: 10px; } }

/* 3D loading card */
.hg-ld3 { position: absolute; inset: 0; z-index: 6; display: grid; align-content: end; justify-items: center; gap: 10px; padding: 18px 18px 22px; background: #040309; transition: opacity .25s ease; pointer-events: none; text-align: center; overflow: hidden; }
.hg-ld3.out { opacity: 0; }
.hg-ld3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hgLdZ 6s ease-out forwards; }
.hg-ld3::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,3,9,0) 45%, rgba(4,3,9,.86) 100%); }
.hg-ld3 b, .hg-ld3 i { position: relative; z-index: 1; }
.hg-ld3 b { font: 800 clamp(11px, 2.6vw, 13px) var(--font-body, system-ui); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--ng,61,255,154)); text-shadow: 0 0 12px rgba(var(--ng,61,255,154),.45), 0 1px 3px #000; max-width: 100%; overflow-wrap: anywhere; }
.hg-ld3 i { display: block; width: min(200px, 60%); height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.hg-ld3 i s { display: block; width: 40%; height: 100%; border-radius: 3px; background: rgb(var(--ng,61,255,154)); box-shadow: 0 0 10px rgba(var(--ng,61,255,154),.6); animation: hgLdB 1.1s ease-in-out infinite; }
@keyframes hgLdZ { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hgLdB { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .hg-ld3 img, .hg-ld3 i s { animation: none; } }
.hg-p3.ld3 > .hg-cv { display: none; }
.hg-p3.ld3 { min-height: 260px; }

/* ---------- Ping pong ---------- */
.hg-pg { position: relative; width: 100%; max-width: 880px; aspect-ratio: 16 / 10; max-height: min(62dvh, 560px); margin-inline: auto; border-radius: 14px; overflow: hidden; background: #05030b; border: 1px solid rgba(179,107,255,.3); box-shadow: 0 0 0 1px rgba(46,242,255,.06) inset, 0 18px 40px -18px rgba(0,0,0,.8); touch-action: none; user-select: none; -webkit-user-select: none; cursor: none; }
.hg-pg .pg-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hg-pg.ld3 .pg-cv, .hg-pg.ld3 .pg-hud { visibility: hidden; }
.pg-hud { position: absolute; inset: 0; pointer-events: none; font-family: Satoshi, system-ui, sans-serif; }
.pg-sb { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 999px; background: rgba(5,6,10,.78); border: 1px solid rgba(179,107,255,.35); }
.pg-sb > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pg-sb i { font-style: normal; font-weight: 700; font-size: .74rem; color: #cfc6e6; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-sb b { display: inline-grid; place-items: center; min-width: 2.1em; height: 1.9em; padding: 0 4px; border-radius: 8px; background: #0b0814; border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.pg-sb .pg-me b { color: #8ff7ff; border-color: rgba(46,242,255,.35); }
.pg-sb .pg-op b { color: #ffb0cf; border-color: rgba(255,92,168,.35); }
.pg-sb span.srv i::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; vertical-align: 1px; }
.pg-sb em { font-style: normal; font-size: .6rem; letter-spacing: .14em; color: rgba(230,220,255,.55); white-space: nowrap; }
.pg-co { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; max-width: calc(100% - 24px); }
.pg-co b { display: block; font: 900 clamp(1.3rem, 4.6vw, 2.4rem)/1.05 'Clash Display', Satoshi, system-ui, sans-serif; letter-spacing: .04em; color: var(--c, #2ef2ff); text-shadow: 0 0 22px var(--c, #2ef2ff), 0 2px 0 rgba(0,0,0,.6); overflow-wrap: anywhere; }
.pg-co small { display: block; margin-top: 6px; font: 700 .8rem/1.2 Satoshi, system-ui, sans-serif; color: rgba(240,235,255,.85); letter-spacing: .06em; }
.pg-co.on { animation: pgCo .38s cubic-bezier(.2,1.4,.4,1); }
@keyframes pgCo { from { transform: translate(-50%, -50%) scale(.7); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.pg-co[hidden], .pg-tip[hidden] { display: none; }
.pg-tip { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 999px; background: rgba(5,6,10,.75); border: 1px solid rgba(var(--ng, 61,255,154), .4); color: rgb(var(--ng, 61,255,154)); font: 700 .74rem/1.2 Satoshi, system-ui, sans-serif; letter-spacing: .04em; text-align: center; }
.pg-tip:empty { display: none; }
.hg-pgd { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.hg-pgd .ht-ghost.on { background: #05070b; border-color: rgba(var(--ng, 61,255,154), .7); color: rgb(var(--ng, 61,255,154)); box-shadow: 0 0 12px rgba(var(--ng, 61,255,154), .35); }
@media (max-width: 640px) { .hg-pg { aspect-ratio: 3 / 4; max-height: 64dvh; width: auto; height: min(64dvh, calc((100vw - 60px) * 4 / 3)); } .pg-sb { gap: 6px; padding: 5px 8px; } .pg-sb em { display: none; } }
@media (prefers-reduced-motion: reduce) { .pg-co.on { animation: none; } }
