[hidden]{display:none!important}
html{height:100%}
.arena-page{height:100svh;max-width:1104px;margin:auto;padding:22px 28px 18px;display:flex;flex-direction:column;font-size:20px;line-height:1.4}
.arena-header{flex:none;display:flex;align-items:center;justify-content:space-between;height:48px;margin-bottom:24px}
.brand-link{display:block;width:52px;height:52px;margin-left:-9px}
.social-link{display:block;width:34px;height:35px}.social-link svg{width:100%;height:100%}
.arena-page main{flex:1;min-height:0;display:flex;flex-direction:column}
.arena-heading{flex:none;display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}
.arena-heading h1{font-size:26px;line-height:1.2;font-weight:500;margin:0}
.arena-heading a{font-size:16px;white-space:nowrap;text-decoration:none}
.arena-play{flex:0 1 380px;min-height:0;position:relative}
#arena-game{display:block;width:100%;height:100%;border:0;background:var(--slaue-bg)}
#arena-unavailable{margin:24px 0}
.arena-footer{flex:none;display:flex;justify-content:flex-end;align-items:center;gap:16px;padding-top:14px;font-size:15px}
.hook-explainer{flex:none;margin-top:16px}
.explainer-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:18px}
.hook-flow{list-style:none;padding:0;margin:4px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hook-flow li{position:relative;text-align:center;font-size:17px;line-height:1.2}
.hook-flow li:not(:last-child)::after{content:'→';position:absolute;right:-20px;top:25px;font-size:24px}
.hook-flow svg{display:block;width:100%;height:76px;overflow:visible}
.hook-flow span{display:block}.hook-flow b{font-weight:500}
.arena-sources{display:flex;align-items:center;gap:22px;padding-bottom:4px}
.arena-sources a{text-decoration:none;white-space:nowrap}
.arena-heading a:hover,.arena-sources a:hover,#hook-help:hover{text-decoration:underline}
#hook-help{border:0;background:none;padding:6px 0;color:inherit;font:inherit;cursor:pointer;text-underline-offset:4px}
button:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
#hook-details{color:var(--slaue-ink);background:var(--slaue-bg);border:0;max-width:530px;width:calc(100% - 36px);max-height:calc(100svh - 36px);padding:32px;box-shadow:none}
#hook-details::backdrop{background:var(--slaue-border)}
#hook-details h2{font-size:28px;line-height:1.2;font-weight:500;margin:0 30px 24px 0}
#hook-details p{font-size:21px;line-height:1.4;margin:0 0 20px}
#hook-details .hook-detail-note{font-size:16px;line-height:1.4}
#hook-details p:last-child{margin-bottom:0}
#close-help{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;background:none;color:inherit;font:32px Newsreader,serif;cursor:pointer}
body:is([data-game-stage="playing"],[data-game-stage="leaderboard"]) .arena-header{height:36px;margin-bottom:10px}
body:is([data-game-stage="playing"],[data-game-stage="leaderboard"]) .arena-heading{display:none}
body:is([data-game-stage="playing"],[data-game-stage="leaderboard"]) .arena-footer,body:is([data-game-stage="playing"],[data-game-stage="leaderboard"]) .hook-explainer{display:none}
body:is([data-game-stage="playing"],[data-game-stage="leaderboard"]) .arena-play{flex:1}
@media(max-width:700px){
 .arena-page{padding:14px 20px 12px}
 .arena-header{height:44px;margin-bottom:14px}
 .brand-link{width:46px;height:46px;margin-left:-8px}.brand-link svg{width:46px;height:46px}
 .social-link{width:29px;height:30px}
 .arena-heading h1{font-size:24px;max-width:240px}.arena-heading a{font-size:15px}
 .arena-heading{align-items:center;margin-bottom:8px}
 .arena-footer{font-size:15px;gap:8px;padding-top:8px}.arena-sources{gap:14px}
 .hook-explainer{margin-top:8px}.explainer-heading{font-size:16px}
 .hook-flow{gap:14px;margin-top:0}.hook-flow li{font-size:14px}.hook-flow b{display:block}.hook-flow svg{height:54px}
 .hook-flow li:not(:last-child)::after{font-size:18px;right:-12px;top:15px}
 #hook-details{padding:24px}#hook-details h2{font-size:25px;margin-bottom:20px}
 #hook-details p{font-size:18px;margin-bottom:16px}#hook-details .hook-detail-note{font-size:15px}
}
@media(max-width:360px){.arena-heading h1{font-size:22px;max-width:175px}.arena-footer{align-items:center}.arena-sources{flex-direction:column;align-items:flex-end;gap:4px;padding:0}.explainer-heading{flex-wrap:wrap;gap:0}.hook-flow li{font-size:12px}.hook-flow svg{height:42px}.hook-flow li:not(:last-child)::after{top:10px}}
@media(max-height:540px) and (min-width:701px){.arena-page{padding-top:12px}.arena-header{height:36px;margin-bottom:10px}.arena-footer{padding-top:4px}}
@media(max-height:500px){
 .arena-page{padding:10px 20px 8px}.arena-header{height:32px;margin-bottom:6px}
 .brand-link,.brand-link svg{width:40px;height:40px}.social-link{width:26px;height:27px}
 .arena-heading{margin-bottom:6px}.arena-heading h1{font-size:22px;max-width:none}.arena-heading a{font-size:14px}
 .hook-explainer{margin-top:4px}.explainer-heading{font-size:14px}#hook-help{padding:4px 0}
 .hook-flow{gap:16px}.hook-flow svg{height:38px}.hook-flow li{font-size:13px;line-height:1.1}
 .hook-flow li:not(:last-child)::after{top:8px;font-size:18px;right:-14px}
 .arena-footer{font-size:13px;padding-top:4px}
}
@media(max-height:350px){.hook-flow{display:none}}

.arena-product-state{flex:none;font-size:17px;margin:0 0 10px}.arena-product-state p{margin:0}.arena-product-state strong{font-weight:500}.arena-product-state .chain-status{font-size:14px;margin-top:2px}.arena-product-state .chain-status span{font-size:13px}body:is([data-game-stage="playing"],[data-game-stage="leaderboard"]) .arena-product-state{display:none}.arena-page .text-button{color:inherit;font:inherit;border:0;background:none;text-decoration:underline;cursor:pointer;min-height:44px}.arena-play:has(#arena-game[hidden]){min-height:150px}#arena-unavailable{max-width:650px;font-size:18px}

.chain-input-panel{flex:none;margin-top:12px;font-size:14px}.chain-input-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.chain-input-heading h2,.chain-input-heading p{font-size:14px;font-weight:500;margin:0}.chain-input-heading h2 span{font-size:11px;font-weight:400;margin-left:8px}.chain-input-buttons{display:flex;gap:22px;flex-wrap:wrap;margin-top:3px}.chain-input-buttons button{font:inherit;font-size:16px;border:0;padding:7px 0;min-height:44px;background:none;color:inherit;cursor:pointer}.chain-input-buttons button:hover{text-decoration:underline;text-underline-offset:4px}.chain-input-buttons button:focus-visible{outline:1px solid currentColor;outline-offset:3px}.chain-input-panel>p{font-size:13px;margin:0 0 3px}#chain-environment-note{font-size:12px;opacity:.72}.game-stats{display:flex;gap:28px;margin:7px 0 0;font-size:13px}.game-stats div{display:flex;gap:6px}.game-stats dt,.game-stats dd{margin:0}.game-stats dd{font-variant-numeric:tabular-nums;font-weight:500}.chain-fallback{height:100%;min-height:260px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}.chain-fallback svg{display:block;width:min(600px,100%);height:100%;max-height:300px;min-height:170px}.fallback-heading{position:absolute;top:0;left:0;font-size:14px;margin:0}.fallback-heading span{margin-left:10px;font-size:11px}#fallback-effect-label{margin:0;font-size:15px}.fallback-ring,.fallback-shock{opacity:0;transform-origin:300px 161px}.chain-fallback[data-environment=ACTIVE] .fallback-entity{transform:translateY(-5px)}.arena-play:has(#chain-fallback:not([hidden])){flex:0 0 auto;min-height:320px}#arena-unavailable{font-size:14px;margin:8px 0 0}.arena-play:has(#chain-fallback:not([hidden])) #retry-game{font-size:15px}.arena-page{min-height:100svh;height:auto}.arena-page main{min-height:calc(100svh - 112px)}.arena-play{min-height:260px}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .arena-play{min-height:calc(100svh - 265px)}

@media(max-width:700px){.chain-input-panel{margin-top:8px}.chain-input-heading{align-items:start;gap:8px}.chain-input-heading h2{font-size:13px}.chain-input-heading h2 span{display:block;margin-left:0;font-size:10px}.chain-input-heading p{font-size:12px;text-align:right}.chain-input-buttons{justify-content:space-between;gap:10px}.chain-input-buttons button{font-size:14px}.game-stats{gap:14px;font-size:12px}.game-stats div{display:block}.game-stats dd{margin-top:2px}.chain-fallback{min-height:240px}.arena-play{min-height:280px}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .arena-play{min-height:calc(100svh - 295px)}}
@media(prefers-reduced-motion:reduce){.fallback-ring,.fallback-shock{animation:none!important}}

/* Give the embedded viewport a definite height; percentage iframe heights need it. */
.arena-play{height:360px;flex:0 0 360px;min-height:300px}#arena-game{position:absolute;inset:0;width:100%;height:100%}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .arena-play{height:calc(100svh - 245px);flex:0 0 calc(100svh - 245px);min-height:320px}.arena-play:has(#chain-fallback:not([hidden])){height:auto;flex:none}.chain-fallback{height:280px;min-height:260px}
@media(max-width:700px){.arena-play{height:320px;flex-basis:320px}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .arena-play{height:calc(100svh - 285px);flex-basis:calc(100svh - 285px);min-height:300px}.chain-fallback{height:250px;min-height:240px}}

.chain-input-buttons button{min-width:44px}

/* The local fallback is a complete, asset-independent game viewport. */
.chain-fallback{height:360px;min-height:320px;display:block;position:relative}.chain-fallback svg{width:100%;height:100%;max-height:none;max-width:none;min-height:0;display:block;outline:none}.fallback-hud{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;gap:20px;align-items:center;font-size:16px;pointer-events:none}.fallback-hud>span:last-child{margin-left:auto;font-size:13px}.fallback-hud b{font-weight:500}.fallback-menu{position:absolute;inset:20% 0 auto;text-align:center}.fallback-menu p{font-size:23px;margin:10px 0}.fallback-menu button{font:24px Newsreader,serif;color:var(--slaue-ink);background:none;border:0;min-width:70px;min-height:48px;cursor:pointer}.fallback-menu small{display:block;font-size:13px}.fallback-menu strong{font-size:36px;font-weight:400}.fallback-menu button:hover{text-decoration:underline}.fallback-menu button:focus-visible{outline:1px solid currentColor;outline-offset:3px}.fallback-controls{position:absolute;bottom:14px;left:10px;right:10px;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.fallback-controls div{display:flex;gap:8px}.fallback-controls button{pointer-events:auto;touch-action:none;border:1px solid var(--slaue-border);border-radius:50%;background:var(--slaue-surface);color:var(--slaue-ink);width:54px;height:54px;display:flex;align-items:center;justify-content:center;flex-direction:column;font:26px Newsreader,serif;padding:0;cursor:pointer}.fallback-controls button small{font-size:10px}.fallback-controls button.active{background:var(--slaue-ink);color:var(--slaue-surface)}.fallback-controls button:focus-visible{outline:2px solid var(--slaue-ink);outline-offset:3px}.fallback-ring,.fallback-shock{opacity:1;transform:none;animation:none!important}#game-mode{font-size:11px}.game-stats{flex-wrap:wrap;gap:10px 25px}.arena-play:has(#chain-fallback:not([hidden])){height:360px;flex:0 0 360px;min-height:320px}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .arena-play:has(#chain-fallback:not([hidden])){height:calc(100svh - 245px);flex-basis:calc(100svh - 245px);min-height:320px}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .chain-fallback{height:100%}#retry-game{position:absolute;bottom:0;left:0;font-size:13px;z-index:3}
@media(max-width:700px){.chain-fallback{height:320px;min-height:300px}.chain-input-heading{flex-wrap:wrap}.chain-input-heading #chain-environment{margin-left:auto}.arena-play:has(#chain-fallback:not([hidden])){height:320px;flex-basis:320px;min-height:300px}body:is([data-game-stage=playing],[data-game-stage=leaderboard]) .arena-play:has(#chain-fallback:not([hidden])){height:calc(100svh - 285px);flex-basis:calc(100svh - 285px);min-height:300px}.fallback-hud{gap:12px;font-size:14px}.fallback-hud>span:last-child{font-size:12px}.game-stats{gap:6px 18px}.fallback-menu p{font-size:21px}.fallback-menu small{font-size:12px}}

#retry-game{left:auto;right:0;bottom:auto;top:28px;font-size:12px}.fallback-ring,.fallback-shock{transform-origin:center}
