/* Arena-only finishing rules. The Home theme is kept separate and unchanged. */
body:not(.welcome-mode) #welcome[hidden]{display:none!important}
#game-shell [hidden]{display:none!important}
#game-shell button{border-radius:1px}
#game-shell .hero-card{border:2px solid #812832;border-radius:0;background:linear-gradient(130deg,#32151c,#1a1015)}
#game-shell .hero-card.selected{border-color:#bd6239;background:linear-gradient(130deg,#3d2023,#24131b)}
#game-shell .mode-card{border-width:2px;border-bottom-width:3px}
#game-shell .game-panel{border-width:3px;border-top-color:#ffb82e}
#game-shell .detail-panel{border:2px solid #74232d;border-radius:0}
#game-shell .deploy-button{background:linear-gradient(#ffec4a,#ffc611);border:2px solid #ffdf4b;border-bottom:4px solid #d5820c;border-radius:1px;box-shadow:inset 0 0 0 1px #fff39f,0 3px 12px #ff850a22}
#game-shell .nav-recruit,#game-shell .wallet-account{height:34px;padding:5px 10px;border:1px solid #88502f;background:linear-gradient(#3b241d,#25151a);color:#ffe19b;font-size:14px;white-space:nowrap}
#game-shell .nav-recruit small{font:8px 'Share Tech Mono',monospace;margin-left:4px;color:#c4a576}
#game-shell .wallet-account.connected:before{content:'';display:inline-block;width:5px;height:5px;margin-right:7px;background:#9ed486}
@media(min-width:1181px){
 #game-shell .rightbar .detail-panel{display:block}
 #game-shell .rightbar{align-content:start}
}
@media(max-width:720px){
 #game-shell .topbar{height:auto;min-height:95px;flex-wrap:wrap;align-content:space-between;gap:0;padding:5px 10px 8px}
 #game-shell .brand-tag{display:block;margin-left:auto;font-size:8px}
 #game-shell .top-right{width:100%;justify-content:space-between;gap:5px}
 #game-shell .top-right .save-state,#game-shell #help{display:none}
 #game-shell .nav-recruit,#game-shell .wallet-account{height:29px;font-size:11px;padding:4px 7px}
 #game-shell .nav-recruit small{font-size:7px}
 #game-shell .balance{height:29px}
}
/* Primary recruitment entry; the redundant sidebar hangar entry is removed. */
#game-shell #nav-recruit{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:3px 11px 3px 7px;border:1px solid #ffe5a0;border-bottom:2px solid #ae7624;border-radius:7px;background:linear-gradient(135deg,#ffed9a,#ebbd52 65%,#dba43e);color:#352210;box-shadow:inset 0 1px #fff9c9,0 3px 12px #e59b2929;overflow:hidden;white-space:nowrap;transition:background .18s,box-shadow .18s,transform .18s}
#game-shell #nav-recruit:before{content:'';position:absolute;inset:-20% auto -20% -70%;width:40%;background:linear-gradient(90deg,transparent,#fff8dc88,transparent);transform:skewX(-20deg);transition:left .55s ease;pointer-events:none;z-index:-1}
#game-shell #nav-recruit:hover{filter:none;background:linear-gradient(135deg,#fff1af,#f6cc68 65%,#edb94f);box-shadow:inset 0 1px #fffbe1,0 4px 17px #eaa83d42;transform:translateY(-1px)}
#game-shell #nav-recruit:hover:before{left:145%}
#game-shell #nav-recruit:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #6e461733}
#game-shell #nav-recruit:focus-visible{outline:2px solid #fff4bd;outline-offset:3px}
#game-shell #nav-recruit .recruit-bot-icon{position:relative;width:23px;height:27px;flex-shrink:0;image-rendering:pixelated;filter:drop-shadow(0 1px 1px #5b300d55)}
#game-shell #nav-recruit .recruit-button-label{font:700 15px/1 'Rajdhani',sans-serif;letter-spacing:.25px}
#game-shell #nav-recruit small{margin:0 0 0 1px;padding:3px 4px;border:1px solid #80582466;border-radius:4px;background:#fff1b333;color:#61411b;font:7px/1 'Share Tech Mono',monospace;letter-spacing:.4px}
@media(max-width:720px){
 #game-shell #nav-recruit{height:30px;padding:2px 8px 2px 5px;gap:5px;border-radius:6px}
 #game-shell #nav-recruit .recruit-bot-icon{width:19px;height:23px}
 #game-shell #nav-recruit .recruit-button-label{font-size:12px}
 #game-shell #nav-recruit .recruit-button-label span,#game-shell #nav-recruit small{display:none}
}
@media(prefers-reduced-motion:reduce){#game-shell #nav-recruit,#game-shell #nav-recruit:before{transition:none}#game-shell #nav-recruit:hover{transform:none}}
@media(prefers-reduced-motion:no-preference){
 #game-shell #nav-recruit .recruit-bot-icon{transform-origin:50% 85%;animation:recruit-bot-idle 2.6s ease-in-out infinite;will-change:transform}
 #game-shell #nav-recruit:before{left:-70%;transition:none;animation:recruit-gold-sweep 6s ease-in-out infinite}
 #game-shell #nav-recruit:hover:before{left:-70%}
}
@keyframes recruit-bot-idle{
  0%,100%{transform:translateY(1px) scale(1)}
  45%{transform:translateY(-2px) scale(1.04)}
  65%{transform:translateY(-1px) scale(1.02)}
}
@keyframes recruit-gold-sweep{
  0%,58%{transform:translateX(0) skewX(-20deg);opacity:0}
  64%{opacity:.85}
  85%{transform:translateX(570%) skewX(-20deg);opacity:.85}
  88%,100%{transform:translateX(570%) skewX(-20deg);opacity:0}
}
