/* Hidden Hunt Arena — public game screen */
.hha-app, .hha-app * { box-sizing: border-box; }
.hha-app { --hha-ink:#f9f8ff; --hha-muted:rgba(244,241,255,.66); --hha-panel:rgba(18,15,41,.82); --hha-panel-2:rgba(36,27,69,.78); --hha-line:rgba(255,255,255,.13); --hha-pink:#ff4ca6; --hha-purple:#8c5cff; --hha-cyan:#33ddff; --hha-gold:#ffd65d; width:100%; max-width:100%; min-width:0; min-height:100vh; margin:0; color:var(--hha-ink); font-family:ui-rounded, "Nunito", "Segoe UI", sans-serif; background:#090716; overflow:visible; }
.hha-game-page #masthead, .hha-game-page .site-header, .hha-game-page header#header, .hha-game-page footer, .hha-game-page #colophon, .hha-game-page .site-footer, .hha-game-page .sidebar, .hha-game-page .widget-area, .hha-game-page .breadcrumb, .hha-game-page .page-header { display:none!important; }
.hha-game-page, .hha-game-page #page, .hha-game-page .site, .hha-game-page #content, .hha-game-page .site-content, .hha-game-page main#main, .hha-game-page .container, .hha-game-page .content-area, .hha-game-page .entry-content { max-width:none!important; width:100%!important; min-width:0!important; margin:0!important; padding:0!important; overflow:visible!important; }
.hha-game-page { overflow-x:clip!important; }
.hha-game-page .entry-content > *:not(.hha-app) { display:none!important; }
.hha-loader, .hha-load-error { min-height:100vh; display:grid; place-content:center; text-align:center; gap:8px; background:radial-gradient(circle at 20% 20%,rgba(140,92,255,.3),transparent 34%),radial-gradient(circle at 80% 78%,rgba(255,76,166,.25),transparent 30%),#080612; }
.hha-loader strong, .hha-load-error strong { font-size:clamp(26px,4vw,48px); letter-spacing:-.05em; }
.hha-loader small, .hha-load-error p { color:var(--hha-muted); font-size:15px; }
.hha-loader-orb { width:58px; height:58px; margin:auto; border-radius:50%; border:4px solid rgba(255,255,255,.13); border-top-color:var(--hha-cyan); border-right-color:var(--hha-pink); animation:hhaSpin 1s linear infinite; }
.hha-load-error span { font-size:42px; }
.hha-load-error button { margin:10px auto; border:0; padding:11px 17px; border-radius:14px; color:#151126; background:var(--hha-gold); font:inherit; font-weight:800; cursor:pointer; }
@keyframes hhaSpin { to { transform:rotate(360deg); } }
.hha-shell { width:100%; min-width:0; min-height:100vh; padding:16px; overflow:visible; background:radial-gradient(circle at 7% 5%,rgba(125,92,255,.3),transparent 22%),radial-gradient(circle at 93% 15%,rgba(255,76,166,.2),transparent 28%),linear-gradient(145deg,#080611,#14102a 52%,#080714); position:relative; }
.hha-shell:before { content:""; position:absolute; inset:0; opacity:.22; pointer-events:none; background-image:radial-gradient(rgba(255,255,255,.45) .6px,transparent .8px); background-size:11px 11px; mix-blend-mode:soft-light; }
.hha-shell > * { position:relative; }
.hha-topbar { position:relative; z-index:60; min-width:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr); gap:14px; align-items:center; width:min(100%,1620px); margin:0 auto 14px; padding:11px 14px; min-height:74px; border:1px solid var(--hha-line); border-radius:24px; background:rgba(16,12,37,.76); box-shadow:0 18px 50px rgba(0,0,0,.27), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter:blur(20px); }
.hha-brand, .hha-top-actions, .hha-profile-chip, .hha-round-title, .hha-game-meta, .hha-panel header, .hha-player-card, .hha-ledger-tile, .hha-target-card, .hha-message-person { display:flex; align-items:center; }
.hha-brand { gap:10px; min-width:0; }
.hha-brand-orb { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border-radius:14px; color:#251635; background:linear-gradient(135deg,var(--hha-gold),#ff9b7b); box-shadow:0 8px 20px rgba(255,205,91,.25); font-weight:900; }
.hha-brand strong { display:block; font-size:15px; letter-spacing:-.03em; line-height:1; }
.hha-brand small { color:var(--hha-gold); display:block; margin-top:3px; font-size:11px; text-transform:uppercase; letter-spacing:.18em; font-weight:900; }
.hha-round-title { flex-direction:column; gap:2px; text-align:center; min-width:0; }
.hha-round-title span, .hha-timer small, .hha-panel-kicker, .hha-target-card small, .hha-winner-kicker { color:var(--hha-muted); font-size:10px; letter-spacing:.12em; text-transform:uppercase; font-weight:900; }
.hha-round-title strong { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px; }
.hha-top-actions { min-width:0; justify-content:flex-end; gap:9px; flex-wrap:wrap; }
.hha-timer { min-width:85px; border-radius:14px; text-align:center; padding:5px 9px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); }
.hha-timer small { display:block; font-size:8px; }
.hha-timer strong { display:block; color:var(--hha-gold); font-variant-numeric:tabular-nums; font-size:17px; letter-spacing:.04em; }
.hha-bell, .hha-signin { border:1px solid rgba(255,255,255,.12); min-width:39px; height:39px; border-radius:13px; display:grid; place-items:center; position:relative; color:#fff; text-decoration:none; background:rgba(255,255,255,.075); cursor:pointer; font:inherit; }
.hha-directory-link { min-width:0; height:39px; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:0 11px; border:1px solid rgba(255,255,255,.12); border-radius:13px; color:#fff; text-decoration:none; background:linear-gradient(135deg,rgba(140,92,255,.34),rgba(255,76,166,.24)); font-size:11px; font-weight:900; white-space:nowrap; transition:transform .17s ease,filter .17s ease,background .17s ease; }
.hha-directory-link:hover { color:#fff; background:linear-gradient(135deg,rgba(140,92,255,.58),rgba(255,76,166,.43)); filter:brightness(1.08); transform:translateY(-1px); }
.hha-directory-link span { font-size:15px; line-height:1; }
.hha-bell:hover, .hha-signin:hover { background:rgba(255,255,255,.15); transform:translateY(-1px); }
.hha-bell b { position:absolute; top:-7px; right:-6px; min-width:18px; height:18px; padding:0 5px; display:grid; place-items:center; border-radius:50%; background:var(--hha-pink); color:#fff; font-size:10px; box-shadow:0 0 0 3px #17102d; }
.hha-notification-wrap { position:relative; z-index:70; }
.hha-notification-popover { max-width:calc(100vw - 22px); position:absolute; top:47px; right:0; z-index:999; width:min(360px,calc(100vw - 32px)); overflow:hidden; border:1px solid rgba(255,255,255,.15); border-radius:19px; background:#17112e; box-shadow:0 22px 60px rgba(0,0,0,.48); }
.hha-notification-popover > header { justify-content:space-between; padding:14px 14px 9px; border-bottom:1px solid rgba(255,255,255,.09); }
.hha-notification-popover > header strong { font-size:14px; }
.hha-notification-popover > header button { border:0; background:transparent; color:var(--hha-cyan); font:inherit; font-size:11px; cursor:pointer; }
.hha-notice-item { display:grid; width:100%; grid-template-columns:35px 1fr 8px; gap:9px; padding:12px 13px; border:0; border-bottom:1px solid rgba(255,255,255,.065); color:#fff; text-align:left; background:transparent; cursor:pointer; font:inherit; }
.hha-notice-item:hover { background:rgba(255,255,255,.06); }
.hha-notice-item.is-unread { background:linear-gradient(90deg,rgba(140,92,255,.16),transparent); }
.hha-notice-icon { width:33px; height:33px; border-radius:11px; display:grid; place-items:center; background:rgba(255,255,255,.08); }
.hha-notice-item strong, .hha-notice-item small, .hha-notice-item em { display:block; }
.hha-notice-item strong { font-size:12px; }
.hha-notice-item small { margin-top:3px; color:var(--hha-muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hha-notice-item em { margin-top:3px; color:rgba(255,255,255,.42); font-size:10px; font-style:normal; }
.hha-notice-item i { align-self:center; width:6px; height:6px; border-radius:50%; background:var(--hha-pink); }
.hha-empty-note { padding:15px; margin:0; color:var(--hha-muted); font-size:12px; text-align:center; }
.hha-profile-chip { max-width:175px; gap:7px; padding:5px 8px 5px 5px; border-radius:15px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); }
.hha-profile-chip img { width:29px; height:29px; object-fit:cover; border-radius:10px; }
.hha-profile-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:800; }
.hha-signin { padding:0 12px; font-size:12px; font-weight:800; }
.hha-main-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(310px,390px); gap:14px; width:min(100%,1620px); min-width:0; margin:0 auto; }
.hha-topbar > *, .hha-main-grid > *, .hha-sidebar, .hha-panel, .hha-bottom-grid { min-width:0; }
.hha-game-zone { min-width:0; }
.hha-game-meta { gap:8px; flex-wrap:wrap; margin:0 3px 9px; color:var(--hha-muted); font-size:11px; }
.hha-game-meta > span:not(.hha-live-chip) { padding-left:9px; border-left:1px solid rgba(255,255,255,.16); }
.hha-live-chip { padding:5px 8px; border-radius:999px; color:#d4c8ff; background:rgba(140,92,255,.15); font-weight:900; font-size:10px; letter-spacing:.06em; }
.hha-live-chip.is-live { color:#fff5f8; background:rgba(255,76,166,.22); box-shadow:0 0 17px rgba(255,76,166,.25); }
.hha-scene { position:relative; aspect-ratio:16/9; min-height:520px; overflow:hidden; isolation:isolate; border:1px solid rgba(255,255,255,.16); border-radius:28px; background-color:#281a4d; background-size:cover; background-position:center; box-shadow:0 28px 75px rgba(0,0,0,.33), inset 0 1px 0 rgba(255,255,255,.13); }
.hha-scene:not([style]) { background-image:linear-gradient(145deg,rgba(9,8,28,.15),rgba(14,9,34,.5)),linear-gradient(130deg,#271747 0%,#801a75 45%,#1c4372 100%); }
.hha-scene.is-lobby { filter:saturate(.8); }
.hha-scene-noise { position:absolute; inset:0; z-index:-1; opacity:.22; background-image:linear-gradient(40deg,transparent 45%,rgba(255,255,255,.05) 46%,transparent 48%),linear-gradient(-35deg,transparent 43%,rgba(255,255,255,.06) 44%,transparent 46%); background-size:46px 48px,60px 60px; mix-blend-mode:overlay; }
.hha-scene-glow { position:absolute; z-index:-1; width:45%; aspect-ratio:1; border-radius:50%; filter:blur(28px); opacity:.52; }
.hha-glow-one { top:4%; left:6%; background:#ff4ca6; }
.hha-glow-two { right:2%; bottom:0; background:#00d6ff; }
.hha-scene-caption { position:absolute; z-index:2; top:15px; left:15px; display:flex; gap:8px; align-items:center; padding:7px 10px; border:1px solid rgba(255,255,255,.12); border-radius:12px; background:rgba(6,6,18,.47); backdrop-filter:blur(8px); color:#fff; }
.hha-scene-caption span { font-size:11px; font-weight:900; }
.hha-scene-caption b { padding:3px 6px; border-radius:999px; color:#1a1233; background:var(--hha-gold); font-size:9px; text-transform:uppercase; }
.hha-hidden-object { position:absolute; z-index:4; width:var(--item-size); height:var(--item-size); transform:translate(-50%,-50%); border:0; padding:0; border-radius:13px; display:grid; place-items:center; background:transparent; cursor:pointer; transition:transform .17s ease, filter .17s ease; -webkit-tap-highlight-color:transparent; }
.hha-hidden-object span { font-size:calc(var(--item-size) * .7); line-height:1; filter:drop-shadow(0 6px 5px rgba(0,0,0,.42)); user-select:none; }
.hha-hidden-object img { display:block; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 6px 5px rgba(0,0,0,.45)); user-select:none; }
.hha-hidden-object:not(.is-claimed):hover, .hha-hidden-object:not(.is-claimed):focus-visible { transform:translate(-50%,-50%) scale(1.15) rotate(-4deg); outline:0; filter:drop-shadow(0 0 12px rgba(255,221,104,.8)); }
.hha-hidden-object i { position:absolute; bottom:-16px; display:none; padding:2px 5px; border-radius:5px; color:#221631; background:var(--hha-gold); font-size:9px; font-weight:900; font-style:normal; }
.hha-hidden-object.is-claimed { opacity:.2; filter:grayscale(1); cursor:default; pointer-events:none; }
.hha-hidden-object.is-claimed i { display:block; }
.hha-lobby-card { position:absolute; z-index:5; top:50%; left:50%; width:min(430px,80%); transform:translate(-50%,-50%); padding:28px; text-align:center; border:1px solid rgba(255,255,255,.18); border-radius:24px; background:rgba(11,8,27,.62); box-shadow:0 22px 50px rgba(0,0,0,.28); backdrop-filter:blur(13px); }
.hha-lobby-card span { color:var(--hha-gold); font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.hha-lobby-card strong { display:block; margin:7px 0; font-size:clamp(23px,3vw,39px); letter-spacing:-.05em; }
.hha-lobby-card small { color:var(--hha-muted); font-size:13px; }
.hha-target-card { width:fit-content; max-width:100%; min-height:68px; gap:11px; margin:12px 0 0; padding:10px 13px; border:1px solid rgba(255,255,255,.13); border-radius:18px; color:#fff; background:linear-gradient(135deg,rgba(140,92,255,.25),rgba(255,76,166,.13)),rgba(20,14,48,.75); text-decoration:none; box-shadow:0 13px 34px rgba(0,0,0,.16); }
.hha-target-card > span { display:grid; place-items:center; flex:0 0 43px; width:43px; height:43px; border-radius:14px; background:rgba(255,255,255,.12); font-size:23px; }
.hha-target-card small, .hha-target-card strong, .hha-target-card em { display:block; }
.hha-target-card strong { margin:2px 0; font-size:14px; }
.hha-target-card em { color:var(--hha-gold); font-size:11px; font-style:normal; font-weight:800; }
.hha-login-target:hover { transform:translateY(-2px); }
.hha-target-card.is-waiting { opacity:.78; }
.hha-sidebar { display:grid; align-content:start; gap:14px; min-width:0; }
.hha-panel { padding:15px; border:1px solid var(--hha-line); border-radius:23px; background:linear-gradient(150deg,rgba(31,22,63,.85),rgba(12,10,30,.86)); box-shadow:0 18px 47px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07); }
.hha-panel header { justify-content:space-between; gap:10px; margin-bottom:12px; }
.hha-panel h2 { margin:2px 0 0; color:#fff; font-size:19px; letter-spacing:-.045em; }
.hha-panel h2 em { padding:4px 7px; margin-left:4px; vertical-align:2px; border-radius:999px; color:#acffcf; background:rgba(70,225,154,.14); font-size:9px; font-style:normal; letter-spacing:.04em; }
.hha-winner-spotlight { padding:10px; margin-bottom:10px; border:1px solid rgba(255,214,93,.36); border-radius:19px; background:radial-gradient(circle at 50% 0%,rgba(255,214,93,.18),transparent 67%),rgba(255,255,255,.045); text-align:center; }
.hha-winner-kicker { display:block; margin-bottom:7px; color:var(--hha-gold); }
.hha-winner-spotlight > small { display:block; margin-top:7px; color:var(--hha-muted); font-size:10px; }
.hha-competitor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.hha-player-card { position:relative; min-width:0; gap:8px; padding:9px; border:1px solid rgba(255,255,255,.09); border-radius:17px; background:rgba(255,255,255,.05); transition:transform .18s ease, background .18s ease; }
.hha-player-card:hover { transform:translateY(-2px); background:rgba(255,255,255,.08); }
.hha-player-card > img { flex:0 0 36px; width:36px; height:36px; border-radius:13px; object-fit:cover; border:1px solid rgba(255,255,255,.3); }
.hha-player-card-name { min-width:0; flex:1; }
.hha-player-card-name strong { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.hha-player-card-name small { display:block; margin-top:2px; color:var(--hha-muted); font-size:9px; }
.hha-online-dot { display:inline-block; width:6px; height:6px; margin-right:3px; border-radius:50%; background:#52ed9d; box-shadow:0 0 7px #52ed9d; }
.hha-player-stat { text-align:right; }
.hha-player-stat b, .hha-player-stat span { display:block; }
.hha-player-stat b { color:var(--hha-gold); font-size:11px; white-space:nowrap; }
.hha-player-stat span { color:var(--hha-muted); font-size:8px; text-transform:uppercase; letter-spacing:.05em; }
.hha-message-button, .hha-tiny-message, .hha-invite-button, .hha-tiny-invite { border:0; border-radius:9px; color:#fff; background:linear-gradient(135deg,var(--hha-purple),#b45bff); cursor:pointer; font:inherit; font-weight:800; }
.hha-message-button, .hha-invite-button { width:100%; margin-top:2px; padding:6px 5px; font-size:10px; }
.hha-invite-button, .hha-tiny-invite { background:linear-gradient(135deg,#2bc6ff,#1d86ff); }
.hha-tiny-message, .hha-tiny-invite { padding:6px 7px; font-size:9px; }
.hha-player-actions, .hha-ledger-actions { display:grid; gap:6px; width:100%; }
.hha-you-pill { padding:4px 6px; border-radius:7px; color:#2c224b; background:var(--hha-gold); font-size:9px; font-weight:900; }
.hha-player-card.is-winner { display:grid; grid-template-columns:58px 1fr auto; gap:10px; padding:13px; border-color:rgba(255,214,93,.33); text-align:left; background:linear-gradient(135deg,rgba(255,214,93,.12),rgba(255,255,255,.05)); }
.hha-player-card.is-winner > img { width:58px; height:58px; border-radius:19px; border:2px solid var(--hha-gold); }
.hha-player-card.is-winner .hha-player-card-name strong { font-size:16px; }
.hha-crown { position:absolute; top:-14px; left:29px; font-size:20px; filter:drop-shadow(0 3px 5px rgba(255,214,93,.55)); }
.hha-trophy, .hha-ledger-mark { display:grid; place-items:center; width:36px; height:36px; border-radius:13px; background:rgba(255,255,255,.08); font-size:18px; }
.hha-leader-list { display:grid; gap:7px; }
.hha-leaderboard .hha-player-card { display:grid; grid-template-columns:31px minmax(0,1fr) auto auto; gap:7px; align-items:center; padding:7px; }
.hha-leaderboard .hha-player-card > img { width:31px; height:31px; border-radius:11px; }
.hha-leaderboard .hha-message-button { grid-column:1/-1; margin:0; }
.hha-rank-badge { width:20px; height:20px; display:grid; place-items:center; position:absolute; top:2px; left:2px; border-radius:0 8px 8px 0; color:#251932; background:var(--hha-gold); font-size:9px; font-weight:950; }
.hha-bottom-grid { display:grid; width:min(100%,1620px); min-width:0; margin:14px auto 0; }
.hha-ledger-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.hha-ledger-tile { min-width:0; gap:8px; padding:10px; border:1px solid rgba(255,255,255,.1); border-radius:17px; background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035)); }
.hha-ledger-tile > img { width:35px; height:35px; flex:0 0 35px; object-fit:cover; border-radius:12px; }
.hha-ledger-copy { min-width:0; flex:1; }
.hha-ledger-copy strong, .hha-ledger-copy span, .hha-ledger-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hha-ledger-copy strong { font-size:11px; }
.hha-ledger-copy span { margin-top:2px; color:#ebdfff; font-size:10px; }
.hha-ledger-copy small { margin-top:3px; color:var(--hha-muted); font-size:9px; }
.hha-points { color:var(--hha-gold); font-size:11px; }
.hha-ledger-tile .hha-tiny-message, .hha-ledger-tile .hha-you-pill { align-self:flex-end; }
.hha-no-cards { min-height:110px; grid-column:1/-1; display:grid; place-content:center; gap:4px; padding:15px; text-align:center; border:1px dashed rgba(255,255,255,.16); border-radius:16px; color:var(--hha-muted); }
.hha-no-cards span { font-size:24px; }
.hha-no-cards strong { color:#fff; font-size:12px; }
.hha-no-cards small { font-size:10px; }
.hha-no-cards.compact { min-height:80px; }
.hha-toast-stack { position:fixed; z-index:300; right:22px; bottom:22px; display:grid; gap:9px; width:min(380px,calc(100vw - 32px)); pointer-events:none; }
.hha-toast { pointer-events:auto; display:grid; grid-template-columns:40px 1fr 22px; gap:9px; padding:10px; border:1px solid rgba(255,255,255,.17); border-radius:18px; background:rgba(23,16,50,.94); box-shadow:0 17px 45px rgba(0,0,0,.4); backdrop-filter:blur(12px); animation:hhaToast .3s ease both; }
@keyframes hhaToast { from { transform:translateY(12px); opacity:0; } to { transform:translateY(0); opacity:1; } }
.hha-toast-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:13px; background:linear-gradient(135deg,rgba(140,92,255,.45),rgba(255,76,166,.33)); font-size:18px; }
.hha-toast strong { display:block; font-size:12px; }
.hha-toast p { margin:3px 0 0; color:var(--hha-muted); font-size:11px; line-height:1.35; }
.hha-toast > button { border:0; background:transparent; color:var(--hha-muted); font-size:19px; cursor:pointer; }
.hha-message-modal { position:fixed; inset:0; z-index:400; display:grid; place-items:center; padding:18px; }
.hha-message-backdrop { position:absolute; inset:0; background:rgba(4,3,13,.72); backdrop-filter:blur(7px); }
.hha-message-shell { position:relative; z-index:1; width:min(680px,100%); height:min(760px,calc(100vh - 36px)); display:grid; grid-template-rows:auto 1fr auto; overflow:hidden; border:1px solid rgba(255,255,255,.17); border-radius:26px; background:linear-gradient(160deg,#241946,#100c27); box-shadow:0 34px 100px rgba(0,0,0,.58); }
.hha-message-shell > header { display:flex; justify-content:space-between; gap:10px; align-items:center; padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); }
.hha-message-person { gap:9px; }
.hha-message-person > img { width:39px; height:39px; object-fit:cover; border-radius:14px; border:1px solid rgba(255,255,255,.25); }
.hha-message-person strong, .hha-message-person small { display:block; }
.hha-message-person strong { font-size:14px; }
.hha-message-person small { margin-top:2px; color:var(--hha-muted); font-size:10px; }
.hha-message-person small i { display:inline-block; width:6px; height:6px; margin-right:3px; border-radius:50%; background:#53ec9c; }
.hha-close-message { width:35px; height:35px; border:1px solid rgba(255,255,255,.12); border-radius:12px; color:#fff; background:rgba(255,255,255,.06); font-size:24px; line-height:1; cursor:pointer; }
.hha-message-thread { min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:10px; padding:17px; background:radial-gradient(circle at 5% 0%,rgba(140,92,255,.18),transparent 24%),rgba(6,5,19,.26); }
.hha-chat-bubble { max-width:min(78%,460px); align-self:flex-start; padding:10px 11px 7px; border-radius:15px 15px 15px 4px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.09); }
.hha-chat-bubble.is-own { align-self:flex-end; border-radius:15px 15px 4px 15px; background:linear-gradient(135deg,#7f4df0,#c04ce5); }
.hha-chat-bubble p { margin:0; color:#fff; font-size:13px; line-height:1.4; white-space:pre-wrap; }
.hha-chat-bubble small { display:block; margin-top:4px; color:rgba(255,255,255,.62); font-size:9px; text-align:right; }
.hha-message-empty { align-self:center; margin:auto; text-align:center; color:var(--hha-muted); }
.hha-message-empty span { display:block; margin-bottom:7px; font-size:29px; }
.hha-message-empty strong, .hha-message-empty small { display:block; }
.hha-message-empty strong { color:#fff; font-size:14px; }
.hha-message-empty small { margin-top:3px; font-size:11px; }
.hha-message-compose { display:grid; grid-template-columns:1fr auto; gap:9px; align-items:end; padding:12px; border-top:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05); }
.hha-message-compose textarea { resize:none; min-height:42px; max-height:110px; padding:11px 12px; border:1px solid rgba(255,255,255,.13); border-radius:14px; outline:0; color:#fff; background:rgba(7,5,20,.5); font:inherit; font-size:13px; }
.hha-message-compose textarea:focus { border-color:rgba(90,225,255,.65); box-shadow:0 0 0 3px rgba(51,221,255,.11); }
.hha-message-compose button { min-width:64px; height:42px; border:0; border-radius:13px; color:#fff; background:linear-gradient(135deg,var(--hha-purple),var(--hha-pink)); font:inherit; font-size:12px; font-weight:900; cursor:pointer; }
/* Zoom-safe responsive reflow: browser zoom changes the effective CSS viewport width. */
@media (max-width:1120px) {
  .hha-topbar { grid-template-columns:minmax(0,1fr) auto; }
  .hha-round-title { display:none; }
  .hha-main-grid { grid-template-columns:1fr; }
  .hha-sidebar { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
  .hha-competition { grid-row:span 2; }
}
@media (max-width:760px) {
  .hha-shell { padding:9px; }
  .hha-topbar { grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:10px; border-radius:20px; }
  .hha-top-actions { gap:6px; }
  .hha-profile-chip { padding:4px; }
  .hha-profile-chip span { display:none; }
  .hha-sidebar { grid-template-columns:1fr; }
  .hha-competition { grid-row:auto; }
  .hha-notification-popover { position:fixed; top:76px; right:11px; left:auto; width:min(360px,calc(100vw - 22px)); z-index:1000; }
  .hha-scene { min-height:420px; border-radius:23px; }
  .hha-ledger-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1200px) { .hha-main-grid { grid-template-columns:1fr; } .hha-sidebar { grid-template-columns:1fr 1fr; align-items:start; } .hha-competition { grid-row:span 2; } }
@media (max-width:1080px) { .hha-directory-link { width:39px; min-width:39px; padding:0; border-radius:13px; } .hha-directory-link b { display:none; } .hha-topbar { grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:10px; border-radius:20px; } .hha-round-title { display:none; } .hha-top-actions { gap:6px; flex-wrap:nowrap; } .hha-profile-chip span { display:none; } .hha-profile-chip { padding:4px; } }
@media (max-width:860px) { .hha-shell { padding:9px; } .hha-scene { min-height:420px; border-radius:23px; } .hha-ledger-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hha-sidebar { grid-template-columns:1fr; } .hha-competition { grid-row:auto; } }
@media (max-width:620px) {
  .hha-brand small { display:none; }
  .hha-timer { min-width:68px; }
  .hha-competitor-grid { grid-template-columns:1fr 1fr; }
  .hha-player-card { min-width:0; }
  .hha-player-card.is-winner { grid-template-columns:52px minmax(0,1fr); }
  .hha-player-card.is-winner .hha-player-stat { grid-column:2; text-align:left; }
  .hha-player-card.is-winner .hha-message-button, .hha-player-card.is-winner .hha-you-pill { grid-column:1/-1; }
}
@media (max-width:540px) { .hha-directory-link { width:34px; min-width:34px; height:34px; border-radius:11px; } .hha-directory-link span { font-size:14px; } .hha-brand strong { font-size:13px; } .hha-brand-orb { width:33px; height:33px; flex-basis:33px; border-radius:11px; } .hha-timer { min-width:72px; padding:4px 6px; } .hha-timer strong { font-size:15px; } .hha-bell { min-width:34px; height:34px; border-radius:11px; } .hha-scene { aspect-ratio:3/4; min-height:490px; } .hha-game-meta { margin-left:0; } .hha-lobby-card { padding:19px; } .hha-lobby-card strong { font-size:27px; } .hha-hidden-object { --item-size:42px!important; } .hha-target-card { width:100%; } .hha-competitor-grid { grid-template-columns:1fr 1fr; } .hha-player-card { padding:8px; } .hha-player-card-name strong { font-size:11px; } .hha-player-stat { display:none; } .hha-ledger-grid { grid-template-columns:1fr; } .hha-ledger-tile { min-height:59px; } .hha-toast-stack { right:10px; bottom:10px; } .hha-message-modal { padding:0; } .hha-message-shell { height:100vh; max-height:none; border-radius:0; border:0; } }

/* Keep the existing ArtistFlow notification preview above the arena when both plugins are active. */
.hha-game-page .af-notification-bell { position:relative!important; z-index:2147483000!important; }
.hha-game-page .af-notification-popover { z-index:2147483001!important; }
/* v0.3: audience-specific arena treatments and Web Audio controls */
.hha-sound-toggle, .hha-music-toggle { width:39px; min-width:39px; height:39px; display:grid; place-items:center; padding:0; border:1px solid rgba(255,255,255,.12); border-radius:13px; color:#fff; background:rgba(255,255,255,.075); cursor:pointer; font:inherit; font-size:16px; }
.hha-sound-toggle:hover, .hha-music-toggle:hover, .hha-music-toggle.is-active { background:rgba(255,255,255,.16); }
.hha-sound-toggle.is-muted { opacity:.6; }
.hha-audience-kids { --hha-pink:#ff6aa7; --hha-purple:#7b67ff; --hha-cyan:#39dcd4; --hha-gold:#ffd95c; background:#162b61; }
.hha-audience-kids .hha-shell { background:radial-gradient(circle at 8% 4%,rgba(255,218,89,.36),transparent 22%),radial-gradient(circle at 95% 9%,rgba(255,105,174,.34),transparent 26%),radial-gradient(circle at 65% 95%,rgba(69,223,207,.26),transparent 30%),linear-gradient(145deg,#163b83,#703b9d 52%,#168b95); }
.hha-audience-kids .hha-topbar { background:rgba(47,49,125,.78); }
.hha-audience-kids .hha-scene:not([style]) { background-image:linear-gradient(145deg,rgba(255,255,255,.08),rgba(7,75,144,.28)),linear-gradient(135deg,#47c7e4 0%,#84e5ae 34%,#f9d868 65%,#ff8aac 100%); }
.hha-audience-kids .hha-panel, .hha-audience-kids .hha-ledger-tile { background:linear-gradient(145deg,rgba(104,72,179,.68),rgba(35,91,155,.7)); }
.hha-bonus-target { border-color:rgba(255,214,93,.6)!important; box-shadow:0 0 0 3px rgba(255,214,93,.12), 0 12px 35px rgba(255,145,84,.22); }
.hha-access-guard .hha-load-error__button { display:inline-flex; width:max-content; margin:12px auto 0; padding:10px 15px; border-radius:13px; color:#211432; background:var(--hha-gold); font-weight:900; text-decoration:none; }
@media (max-width:540px) { .hha-sound-toggle,.hha-music-toggle { width:34px; min-width:34px; height:34px; border-radius:11px; font-size:14px; } }

/* v0.3.2 — Kids Cheer Corner: fixed kid-only, preset messages only. */
.hha-audience-kids { overflow:visible; }
.hha-kids-chat { position:fixed; right:20px; bottom:20px; z-index:360; width:min(332px,calc(100vw - 34px)); overflow:hidden; border:2px solid rgba(255,255,255,.58); border-radius:22px; color:#25184f; background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(244,247,255,.95)); box-shadow:0 20px 54px rgba(22,30,95,.45),0 0 0 6px rgba(255,217,92,.2); font-family:ui-rounded,"Nunito","Segoe UI",sans-serif; }
.hha-kids-chat header { padding:0; border:0; background:linear-gradient(100deg,#7353de,#ff6cad 54%,#ffbc51); }
.hha-kids-chat-toggle { width:100%; min-height:58px; display:flex; align-items:center; gap:9px; padding:8px 11px; border:0; color:#fff; text-align:left; background:transparent; cursor:pointer; font:inherit; }
.hha-kids-chat-title-icon { width:37px; height:37px; flex:0 0 37px; display:grid; place-items:center; border-radius:14px; background:rgba(255,255,255,.24); font-size:18px; }
.hha-kids-chat-toggle > span:nth-child(2) { min-width:0; flex:1; }
.hha-kids-chat-toggle strong,.hha-kids-chat-toggle small { display:block; }
.hha-kids-chat-toggle strong { font-size:14px; font-weight:950; letter-spacing:-.02em; }
.hha-kids-chat-toggle small { margin-top:1px; color:rgba(255,255,255,.86); font-size:10px; font-weight:700; }
.hha-kids-chat-toggle i { font-style:normal; font-size:21px; line-height:1; }
.hha-kids-chat-body { padding:9px 10px 11px; background:radial-gradient(circle at 3% 0%,rgba(255,232,105,.42),transparent 33%),linear-gradient(150deg,rgba(250,254,255,.98),rgba(241,238,255,.94)); }
.hha-kids-chat-note { margin:0 2px 8px; color:#625e86; font-size:10px; line-height:1.35; }
.hha-kids-chat-list { min-height:104px; max-height:170px; display:flex; flex-direction:column; gap:6px; overflow-y:auto; margin:0; padding:0 2px 1px; list-style:none; scrollbar-width:thin; }
.hha-kids-chat-line { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:6px; align-items:center; padding:6px; border:1px solid rgba(117,83,222,.12); border-radius:13px; background:rgba(255,255,255,.83); box-shadow:0 3px 8px rgba(55,51,115,.06); }
.hha-kids-chat-emoji { width:25px; height:25px; display:grid; place-items:center; border-radius:9px; background:linear-gradient(135deg,#ffe66a,#ff98cb); font-size:14px; }
.hha-kids-chat-line strong,.hha-kids-chat-line em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hha-kids-chat-line strong { color:#4d368c; font-size:10px; font-weight:950; }
.hha-kids-chat-line em { margin-top:1px; color:#2c2452; font-size:11px; font-style:normal; font-weight:800; }
.hha-kids-chat-line time { align-self:start; color:#8e89a6; font-size:8px; white-space:nowrap; }
.hha-kids-chat-empty { min-height:104px; display:grid; place-content:center; gap:2px; padding:12px; border:1px dashed rgba(117,83,222,.25); border-radius:15px; text-align:center; color:#625e86; }
.hha-kids-chat-empty span { font-size:25px; }
.hha-kids-chat-empty strong { color:#543c9c; font-size:12px; }
.hha-kids-chat-empty small { font-size:10px; }
.hha-kids-chat-quick { display:flex; flex-wrap:wrap; gap:5px; margin-top:9px; }
.hha-kids-chat-quick button { display:inline-flex; align-items:center; gap:3px; min-height:29px; padding:5px 7px; border:1px solid rgba(106,78,200,.2); border-radius:999px; color:#43317f; background:#fff; box-shadow:0 3px 7px rgba(68,45,130,.08); cursor:pointer; font:inherit; transition:transform .15s ease,background .15s ease; }
.hha-kids-chat-quick button:hover:not(:disabled) { transform:translateY(-1px); background:#fff2b8; }
.hha-kids-chat-quick button:disabled { opacity:.55; cursor:wait; }
.hha-kids-chat-quick button span { font-size:13px; }
.hha-kids-chat-quick button b { font-size:9px; white-space:nowrap; }
.hha-kids-chat.is-closed { width:205px; border-radius:19px; }
.hha-kids-chat.is-closed .hha-kids-chat-toggle { min-height:49px; }
.hha-kids-chat.is-closed .hha-kids-chat-title-icon { width:32px; height:32px; flex-basis:32px; border-radius:11px; }
.hha-kids-chat.is-open + .hha-toast-stack { bottom:390px; }
@media (max-width:620px) {
  .hha-kids-chat { right:10px; bottom:10px; width:min(320px,calc(100vw - 20px)); border-radius:19px; }
  .hha-kids-chat-list { max-height:132px; }
  .hha-kids-chat.is-open + .hha-toast-stack { right:10px; bottom:318px; }
}

/* v0.4 — Adult Team Battle: configurable teams, live score, roster and MVP. */
.hha-team-battle { margin:0 0 11px; overflow:hidden; border:1px solid rgba(255,255,255,.17); border-radius:22px; background:linear-gradient(135deg,rgba(41,24,78,.86),rgba(15,29,62,.84)); box-shadow:0 14px 36px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.08); }
.hha-team-battle > header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px 9px; border-bottom:1px solid rgba(255,255,255,.11); }
.hha-team-battle h2 { margin:1px 0 0; font-size:17px; letter-spacing:-.025em; }
.hha-team-battle h2 em { color:var(--hha-gold); font-style:normal; }
.hha-team-battle-status { padding:6px 8px; border:1px solid rgba(255,255,255,.12); border-radius:999px; color:#f3eaff; background:rgba(255,255,255,.07); font-size:10px; font-weight:850; text-align:right; }
.hha-team-scoreboard { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:9px; padding:10px; }
.hha-team-card { min-width:0; position:relative; overflow:hidden; padding:11px; border:1px solid color-mix(in srgb,var(--hha-team-color) 55%,rgba(255,255,255,.12)); border-radius:17px; background:linear-gradient(145deg,color-mix(in srgb,var(--hha-team-color) 18%,rgba(255,255,255,.06)),rgba(6,7,28,.34)); box-shadow:inset 0 1px 0 rgba(255,255,255,.08); }
.hha-team-card:before { content:""; position:absolute; width:100px; height:100px; right:-42px; top:-50px; border-radius:50%; background:var(--hha-team-color); filter:blur(30px); opacity:.2; pointer-events:none; }
.hha-team-card.is-selected { border-color:var(--hha-team-color); box-shadow:0 0 0 2px color-mix(in srgb,var(--hha-team-color) 40%,transparent),inset 0 1px 0 rgba(255,255,255,.13); }
.hha-team-card.is-winner { border-color:var(--hha-gold); box-shadow:0 0 0 2px rgba(255,214,93,.3),0 12px 32px rgba(255,214,93,.12); }
.hha-team-card-top { position:relative; display:flex; min-width:0; align-items:center; gap:6px; }
.hha-team-dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:var(--hha-team-color); box-shadow:0 0 12px var(--hha-team-color); }
.hha-team-card-top strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.hha-team-crown { margin-left:auto; color:var(--hha-gold); font-size:9px; font-weight:900; white-space:nowrap; }
.hha-team-score { display:block; position:relative; margin:8px 0 5px; color:#fff; font-size:25px; line-height:1; letter-spacing:-.06em; }
.hha-team-score small { display:inline; margin-left:5px; color:var(--hha-muted); font-size:9px; letter-spacing:0; text-transform:uppercase; }
.hha-team-roster { display:flex; align-items:center; justify-content:space-between; gap:6px; color:var(--hha-muted); font-size:9px; }
.hha-team-roster > div { display:flex; align-items:center; min-width:0; }
.hha-team-roster img { width:22px; height:22px; margin-left:-5px; border:2px solid #261c51; border-radius:50%; object-fit:cover; }
.hha-team-roster img:first-child { margin-left:0; }
.hha-team-empty-roster { color:rgba(255,255,255,.48); font-size:9px; font-style:italic; }
.hha-team-mvp { min-height:16px; margin:7px 0 8px; color:var(--hha-muted); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hha-team-mvp b { color:#fff; }
.hha-team-join,.hha-team-joined { display:flex; width:100%; min-height:30px; align-items:center; justify-content:center; padding:6px 8px; border-radius:10px; font:inherit; font-size:10px; font-weight:900; }
.hha-team-join { border:0; color:#15102a; background:var(--hha-team-color); cursor:pointer; box-shadow:0 6px 16px color-mix(in srgb,var(--hha-team-color) 32%,transparent); }
.hha-team-join:hover:not(:disabled) { filter:brightness(1.12); transform:translateY(-1px); }
.hha-team-join:disabled { cursor:not-allowed; color:rgba(255,255,255,.7); background:rgba(255,255,255,.13); box-shadow:none; }
.hha-team-joined { border:1px solid color-mix(in srgb,var(--hha-team-color) 65%,white); color:#fff; background:color-mix(in srgb,var(--hha-team-color) 26%,transparent); }
.hha-admin-wrap .hha-team-battle-settings { margin:15px 0; padding:12px; border:1px solid #d7d3e7; border-radius:10px; background:#fbfaff; }
.hha-admin-wrap .hha-team-battle-settings legend { padding:0 6px; color:#3d286b; font-weight:800; }
.hha-admin-wrap .hha-team-battle-settings p { margin:7px 0 10px; color:#5e5a73; font-size:12px; }
@media (max-width:620px) { .hha-team-battle > header { align-items:flex-start; flex-direction:column; } .hha-team-battle-status { text-align:left; } .hha-team-scoreboard { gap:6px; padding:7px; } .hha-team-card { padding:8px; border-radius:14px; } .hha-team-card-top strong { font-size:10px; } .hha-team-crown { display:none; } .hha-team-score { font-size:21px; } .hha-team-score small { display:block; margin:2px 0 0; font-size:8px; } .hha-team-roster > span { display:none; } .hha-team-mvp { margin:6px 0; font-size:9px; } }

/* v0.4.1 — race countdown and optional start voice */
.hha-voice-toggle { width:39px; min-width:39px; height:39px; display:grid; place-items:center; padding:0; border:1px solid rgba(255,255,255,.12); border-radius:13px; color:#fff; background:rgba(255,255,255,.075); cursor:pointer; font:inherit; font-size:16px; }
.hha-voice-toggle:hover, .hha-voice-toggle:not(.is-muted) { background:rgba(255,255,255,.16); }
.hha-voice-toggle.is-muted { opacity:.58; }
.hha-audience-kids .hha-voice-toggle:not(.is-muted) { box-shadow:0 0 0 2px rgba(255,217,92,.20),0 0 18px rgba(255,105,174,.22); }
@media (max-width:540px) { .hha-voice-toggle { width:34px; min-width:34px; height:34px; border-radius:11px; font-size:14px; } }


/* v0.4.3 — Notification copy wraps instead of being cut off. */
.hha-notification-popover {
  max-height:min(72vh, 620px);
  overflow-x:hidden;
  overflow-y:auto;
}
.hha-notice-item {
  grid-template-columns:35px minmax(0,1fr) 8px;
  align-items:start;
}
.hha-notice-item > span:nth-child(2),
.hha-notice-item strong,
.hha-notice-item small,
.hha-notice-item em,
.hha-toast > div,
.hha-toast strong,
.hha-toast p {
  min-width:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hha-notice-item small {
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.35;
}
.hha-notice-item strong {
  line-height:1.3;
}
.hha-toast {
  grid-template-columns:40px minmax(0,1fr) 22px;
  align-items:start;
}
.hha-toast p {
  max-height:5.55em;
  overflow-y:auto;
  white-space:normal;
}

/* Big kid-safe emoji reactions, with preset server-approved messages only. */
.hha-kids-emoji-bar {
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:6px;
  margin-top:9px;
}
.hha-kids-big-emoji {
  min-width:0;
  min-height:58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  padding:5px 3px 4px;
  border:1px solid rgba(106,78,200,.20);
  border-radius:15px;
  color:#493683;
  background:linear-gradient(145deg,#fff,#f8f2ff);
  box-shadow:0 4px 10px rgba(68,45,130,.10),inset 0 1px 0 rgba(255,255,255,.92);
  cursor:pointer;
  font:inherit;
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease;
}
.hha-kids-big-emoji > span {
  font-size:29px;
  line-height:1;
  filter:drop-shadow(0 2px 1px rgba(76,54,150,.16));
}
.hha-kids-big-emoji b {
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:950;
}
.hha-kids-big-emoji:hover:not(:disabled),
.hha-kids-big-emoji:focus-visible {
  outline:0;
  transform:translateY(-2px) scale(1.035);
  background:linear-gradient(145deg,#fff9bb,#ffe9f4);
  box-shadow:0 7px 15px rgba(68,45,130,.16),0 0 0 3px rgba(117,83,222,.13);
}
.hha-kids-big-emoji:active:not(:disabled) { transform:translateY(0) scale(.96); }
.hha-kids-big-emoji:disabled { opacity:.55; cursor:wait; }
@media (max-width:620px) {
  .hha-kids-emoji-bar { gap:5px; }
  .hha-kids-big-emoji { min-height:52px; border-radius:13px; }
  .hha-kids-big-emoji > span { font-size:25px; }
  .hha-kids-big-emoji b { font-size:8px; }
}

/* Advanced Hunt Mechanics: Adult blending, private move-and-reveal covers, and Kids Balloon Pop Finale. */
.hha-hidden-object { opacity:var(--item-opacity,1); }
.hha-audience-adult .hha-hidden-object:not(.is-claimed) { mix-blend-mode:normal; }
.hha-interactive-cover { position:absolute; z-index:5; width:calc(var(--item-size) * 1.22); height:calc(var(--item-size) * 1.22); transform:translate(-50%,-50%); border:0; padding:0; display:grid; place-items:center; background:transparent; color:#fff; cursor:pointer; -webkit-tap-highlight-color:transparent; transition:transform .18s ease, filter .18s ease; }
.hha-interactive-cover span { display:block; font-size:calc(var(--item-size) * .96); line-height:1; filter:drop-shadow(0 7px 6px rgba(0,0,0,.42)); }
.hha-interactive-cover b { display:none; }
.hha-interactive-cover:hover, .hha-interactive-cover:focus-visible { transform:translate(-50%,-50%) scale(1.15) rotate(-3deg); outline:0; filter:drop-shadow(0 0 14px rgba(255,220,96,.8)); }
.hha-audience-kids .hha-interactive-cover b { color:#153974; background:rgba(255,255,255,.84); }
.hha-cover-open span { animation:hhaCoverNudge 1.4s ease-in-out infinite; }
.hha-cover-move span { animation:hhaCoverWiggle 1.8s ease-in-out infinite; }
.hha-cover-lift span { animation:hhaCoverLift 1.5s ease-in-out infinite; }
.hha-cover-slide span { animation:hhaCoverSlide 1.7s ease-in-out infinite; }
@keyframes hhaCoverNudge { 50% { transform:scale(1.08); } }
@keyframes hhaCoverWiggle { 45% { transform:rotate(-7deg); } 75% { transform:rotate(6deg); } }
@keyframes hhaCoverLift { 50% { transform:translateY(-5px); } }
@keyframes hhaCoverSlide { 50% { transform:translateX(6px); } }

.hha-balloon-finale { position:absolute; inset:0; z-index:8; overflow:hidden; background:linear-gradient(180deg,rgba(26,177,236,.22),rgba(52,33,132,.2)); }
.hha-balloon-finale:after { content:""; position:absolute; inset:auto 0 0; height:24%; pointer-events:none; background:linear-gradient(0deg,rgba(16,52,134,.55),transparent); }
.hha-balloon-finale > header { position:absolute; z-index:3; top:52px; left:50%; transform:translateX(-50%); width:min(520px,88%); display:flex; gap:10px; align-items:center; padding:10px 13px; border:1px solid rgba(255,255,255,.36); border-radius:20px; color:#243463; background:rgba(255,255,255,.86); box-shadow:0 15px 34px rgba(12,43,118,.27); text-align:left; }
.hha-balloon-finale > header > span { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; border-radius:15px; background:linear-gradient(135deg,#ff74b4,#fece54); font-size:25px; }
.hha-balloon-finale header small, .hha-balloon-finale header strong, .hha-balloon-finale header em { display:block; }
.hha-balloon-finale header small { color:#597bb7; font-size:9px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.hha-balloon-finale header strong { margin:2px 0; color:#273b72; font-size:16px; }
.hha-balloon-finale header em { color:#4b679d; font-size:10px; font-style:normal; }
.hha-balloon-score { position:absolute; z-index:3; top:142px; left:18px; display:grid; grid-template-columns:auto auto; align-items:end; gap:1px 7px; padding:9px 11px; border:1px solid rgba(255,255,255,.28); border-radius:16px; color:#fff; background:rgba(12,47,124,.62); backdrop-filter:blur(7px); }
.hha-balloon-score b { grid-row:span 2; color:#ffed72; font-size:26px; line-height:.9; }
.hha-balloon-score span, .hha-balloon-score strong { font-size:9px; }
.hha-balloon-score span { color:rgba(255,255,255,.77); text-transform:uppercase; letter-spacing:.08em; }
.hha-balloon-score strong { color:#fff; }
.hha-balloon-leader { position:absolute; z-index:3; top:145px; right:18px; max-width:42%; margin:0; padding:7px 10px; border-radius:13px; color:#263f76; background:rgba(255,255,255,.84); font-size:10px; }
.hha-balloon-stage { position:absolute; inset:0; z-index:2; overflow:hidden; }
.hha-finale-balloon { position:absolute; z-index:2; top:-105px; left:var(--hha-balloon-x); transform:translateX(-50%); width:67px; height:86px; border:0; padding:0; color:#fff; background:transparent; cursor:pointer; animation:hhaBalloonFall var(--hha-balloon-duration) linear var(--hha-balloon-delay) infinite; -webkit-tap-highlight-color:transparent; }
.hha-finale-balloon span { display:block; filter:drop-shadow(0 7px 6px rgba(0,0,0,.25)); font-size:61px; line-height:.85; }
.hha-finale-balloon b { display:block; margin-top:-2px; color:#fff; font-size:10px; text-shadow:0 1px 3px rgba(0,0,0,.5); opacity:.9; }
.hha-finale-balloon.is-rare span { filter:drop-shadow(0 0 10px rgba(255,239,82,.85)); }
.hha-finale-balloon.is-rare b { color:#fff374; }
.hha-finale-balloon:hover, .hha-finale-balloon:focus-visible { transform:translateX(-50%) scale(1.22); outline:0; }
@keyframes hhaBalloonFall { 0% { top:-100px; } 100% { top:calc(100% + 100px); } }
.hha-balloon-target { border-color:rgba(255,193,75,.52); background:linear-gradient(135deg,rgba(255,115,182,.31),rgba(67,209,255,.24)),rgba(29,45,112,.78); }
@media (prefers-reduced-motion:reduce) { .hha-finale-balloon, .hha-cover-open span, .hha-cover-move span, .hha-cover-lift span, .hha-cover-slide span { animation:none!important; } .hha-finale-balloon { top:30%; } }
@media (max-width:540px) { .hha-balloon-finale > header { top:52px; padding:8px 10px; } .hha-balloon-finale header strong { font-size:13px; } .hha-balloon-finale header em { font-size:9px; } .hha-balloon-score { top:132px; left:10px; } .hha-balloon-leader { top:136px; right:10px; max-width:48%; font-size:9px; } .hha-finale-balloon { width:57px; height:73px; } .hha-finale-balloon span { font-size:53px; } .hha-interactive-cover b { display:none; } }

/* v0.5.4 — dynamic multi-game lobby and room slider */
.hha-room-lobby { position:relative; z-index:2; width:min(100%,1620px); margin:0 auto 14px; padding:14px; overflow:hidden; border:1px solid var(--hha-line); border-radius:24px; background:rgba(16,12,37,.72); box-shadow:0 16px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter:blur(18px); }
.hha-room-lobby > header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 11px; }
.hha-room-lobby h2 { margin:2px 0 0; font-size:18px; letter-spacing:-.03em; }
.hha-room-lobby h2 em { display:inline-grid; min-width:22px; height:22px; padding:0 7px; place-items:center; border-radius:999px; vertical-align:2px; color:#201630; background:var(--hha-gold); font-size:11px; font-style:normal; }
.hha-room-slider-controls { display:flex; gap:7px; }
.hha-room-slider-controls button { width:34px; height:34px; border:1px solid rgba(255,255,255,.15); border-radius:12px; color:#fff; background:rgba(255,255,255,.07); cursor:pointer; font:inherit; font-size:25px; line-height:1; transition:transform .16s ease,background .16s ease; }
.hha-room-slider-controls button:hover { transform:translateY(-1px); background:rgba(255,255,255,.16); }
.hha-room-carousel { display:flex; gap:11px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.28) transparent; padding:1px 1px 8px; }
.hha-room-carousel::-webkit-scrollbar { height:8px; }
.hha-room-carousel::-webkit-scrollbar-thumb { border-radius:999px; background:rgba(255,255,255,.25); }
.hha-room-card { position:relative; isolation:isolate; overflow:hidden; flex:0 0 min(292px,82vw); min-width:0; min-height:190px; scroll-snap-align:start; border:1px solid rgba(255,255,255,.13); border-radius:19px; color:#fff; background:linear-gradient(145deg,rgba(91,58,164,.43),rgba(21,22,58,.70)); box-shadow:inset 0 1px 0 rgba(255,255,255,.07); }
.hha-room-art { position:absolute; z-index:-2; inset:0; background-position:center; background-size:cover; opacity:.45; filter:saturate(1.12) contrast(1.04); }
.hha-room-card::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(145deg,rgba(23,15,54,.35),rgba(15,12,36,.92) 72%); }
.hha-room-card-content { min-height:188px; display:flex; flex-direction:column; gap:8px; padding:12px; }
.hha-room-card.is-live { background:linear-gradient(145deg,rgba(149,42,120,.52),rgba(48,22,77,.78)); }
.hha-room-card.is-selected { border-color:rgba(255,214,93,.74); box-shadow:0 0 0 2px rgba(255,214,93,.16),inset 0 1px 0 rgba(255,255,255,.14); }
.hha-room-card-top, .hha-room-details, .hha-room-time { display:flex; align-items:center; justify-content:space-between; gap:7px; }
.hha-room-status { color:#cfc5ff; font-size:9px; font-weight:950; letter-spacing:.12em; }
.hha-room-card.is-live .hha-room-status { color:#ffe1f0; }
.hha-room-difficulty { padding:3px 6px; border-radius:999px; color:#261531; background:rgba(255,216,105,.92); font-size:9px; font-weight:950; text-transform:uppercase; }
.hha-room-card > strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; letter-spacing:-.025em; }
.hha-room-scene { display:block; overflow:hidden; color:var(--hha-muted); text-overflow:ellipsis; white-space:nowrap; font-size:10px; }
.hha-room-details { justify-content:flex-start; flex-wrap:wrap; color:rgba(255,255,255,.76); font-size:10px; }
.hha-room-details span { padding-right:7px; border-right:1px solid rgba(255,255,255,.16); }
.hha-room-details span:last-child { padding-right:0; border-right:0; }
.hha-room-time { margin-top:auto; padding-top:7px; border-top:1px solid rgba(255,255,255,.11); color:var(--hha-muted); font-size:10px; }
.hha-room-time b { color:var(--hha-gold); font-size:14px; font-variant-numeric:tabular-nums; }
.hha-room-join { width:100%; padding:8px 10px; border:0; border-radius:11px; color:#201630; background:linear-gradient(135deg,var(--hha-gold),#ffad75); cursor:pointer; font:inherit; font-size:11px; font-weight:950; transition:transform .16s ease,filter .16s ease; }
.hha-room-join:hover:not(:disabled) { transform:translateY(-1px); filter:brightness(1.06); }
.hha-room-join:disabled { color:rgba(255,255,255,.85); background:rgba(255,255,255,.12); cursor:default; }
.hha-audience-kids .hha-room-card { background:linear-gradient(145deg,rgba(65,130,207,.68),rgba(104,72,179,.68)); }
.hha-audience-kids .hha-room-card.is-live { background:linear-gradient(145deg,rgba(255,105,174,.56),rgba(72,121,202,.74)); }
@media (max-width:720px) { .hha-room-lobby { padding:11px; border-radius:19px; } .hha-room-card { flex-basis:min(270px,82vw); } .hha-room-lobby h2 { font-size:16px; } }
