/* A real, readable backdrop under actors and effects; no canvas or game-state changes. */
html[data-hanq-theme=terminal] body .battle-island .bi-arena,
.battle-island .bi-arena[data-background]{background:#020b08!important}
html[data-hanq-theme=terminal] body .battle-island .bi-scene,
.battle-island .bi-scene{background:radial-gradient(ellipse at 50% 65%,#10462b99,transparent 65%),#020b08!important;opacity:1}
.battle-island .bi-scene>i{display:none!important}
.battle-island .bi-scene::before,.battle-island .bi-scene::after{content:"";position:absolute;pointer-events:none;display:block}
html[data-hanq-theme=terminal] body .battle-island .bi-scene::before,
.battle-island .bi-scene::before{inset:0;background:linear-gradient(90deg,#36e38d40 1px,transparent 1px),linear-gradient(#36e38d40 1px,transparent 1px)!important;background-size:48px 48px!important;mask-image:linear-gradient(#0009,transparent 80%);-webkit-mask-image:linear-gradient(#0009,transparent 80%)}
html[data-hanq-theme=terminal] body .battle-island .bi-scene::after,
.battle-island .bi-scene::after{inset:48% -30% -25%;background:linear-gradient(90deg,#55ffa578 1px,transparent 1px),linear-gradient(#55ffa578 1px,transparent 1px)!important;background-size:54px 54px!important;transform-origin:center top;transform:perspective(600px) rotateX(48deg) scale(1.3);animation:bi-digital-drift 18s ease-in-out infinite alternate!important;will-change:transform;mask-image:linear-gradient(transparent,#000 30%);-webkit-mask-image:linear-gradient(transparent,#000 30%)}
@keyframes bi-digital-drift{from{transform:perspective(600px) rotateX(48deg) scale(1.3) translateY(0)}to{transform:perspective(600px) rotateX(48deg) scale(1.3) translateY(12px)}}
html[data-hanq-theme=terminal] body .battle-island .bi-floor{background:transparent!important;border:0;box-shadow:none!important}
.battle-island .bi-owner-name{position:relative;z-index:5;display:block;margin:3px auto 0;padding:0 3px;max-width:100%;color:#f2fff7!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:14px;font-weight:800;line-height:1.25;overflow-wrap:anywhere;text-align:center;text-shadow:-1px -1px 0 #001c0e,1px -1px 0 #001c0e,-1px 1px 0 #001c0e,1px 1px 0 #001c0e,0 2px 4px #000}
.bi-in-match .bi-fighter{padding-bottom:32px}
.bi-in-match .bi-owner-name{min-height:2.5em}
.bi-in-match .bi-question{bottom:185px}
html[data-hanq-theme=terminal] body .battle-island .bi-fighter .bi-stats,
.battle-island .bi-fighter .bi-stats{background:rgba(4,23,16,.68)!important;background-image:none!important;color:#f3fff7!important;border:1px solid #8dccacb3;opacity:1;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);text-shadow:0 1px 2px #000;box-shadow:0 3px 12px #0005!important}
.bi-end-arena .bi-owner-name{font-size:13px;min-height:2.5em}
@media(max-width:500px){.battle-island .bi-owner-name{font-size:12px;line-height:1.3}.bi-in-match .bi-fighter{padding:0 4px 30px}.bi-in-match .bi-question{bottom:180px}}
@media(prefers-reduced-motion:reduce){html[data-hanq-theme=terminal] body .battle-island .bi-scene::after,.battle-island .bi-scene::after{animation:none!important;will-change:auto}}
/* Keep long owner labels inside the result arena rather than clipping their second line. */
.battle-island.bi-in-match .bi-end-screen .bi-end-arena{height:280px!important;min-height:280px!important}
.bi-end-arena .bi-fighter-head .bi-name{display:none}
/* The owner label stays readable while the tooltip is open. Only panel paint is translucent. */
html[data-hanq-theme=terminal] body .battle-island .bi-fighter .bi-stats,
.battle-island .bi-fighter .bi-stats{bottom:82px;background:rgba(4,23,16,.62)!important}
