/* v46: match-only navigation / supplied MONSTARICA card back and pack artwork. */
body:not(.lobby-ui) .app.battle-focus-app,
body.tutorial-first-run .app.battle-focus-app{
  height:100dvh; min-height:0; display:grid;
  grid-template-columns:1fr; grid-template-rows:54px minmax(0,1fr) !important;
  background:#09111e;
}
.battle-focus-header{
  position:relative;z-index:45;min-width:0;display:flex;align-items:center;
  padding:0 18px 0 22px;gap:15px;
  border-bottom:1px solid #2b3e59;background:#0b1524;
}
.battle-focus-brand{font-size:14px;font-weight:900;letter-spacing:.14em;color:#edf5ff;white-space:nowrap}
.battle-focus-phase{font-size:11px;color:#9ab0ca;padding-left:14px;border-left:1px solid #34475d}
.battle-menu-trigger{margin-left:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  width:40px;height:38px;background:#14243a;border:1px solid #405f83;border-radius:7px;color:#d5e8fa;cursor:pointer}
.battle-menu-trigger span{display:block;width:19px;height:2px;background:currentColor;border-radius:2px}
.battle-focus-app .battle-focus-content{min-height:0;overflow:hidden;position:relative}
.battle-focus-app .battle-screen{height:100%;margin:0}
.match-options-shade{z-index:300}
.match-options-card{width:min(390px,94vw);border:1px solid #476381;background:#101a29;padding:16px;border-radius:10px;overflow:visible}
.match-options-head{display:flex;align-items:center;justify-content:space-between;padding:4px 3px 13px;border-bottom:1px solid #334a63;color:#e7effa}
.match-options-head strong{font-size:15px;letter-spacing:.04em}
.match-options-head button{border:1px solid #3c526f;background:#162943;color:#cce3ff;border-radius:5px;font-size:20px;width:32px;height:31px;cursor:pointer}
.match-options-entry{display:block;text-align:left;width:100%;margin-top:12px;padding:13px 14px;background:#19283d;border:1px solid #365778;color:#f1f6fc;border-radius:6px;font-size:14px;font-weight:800;cursor:pointer}
.match-options-entry span{display:block;margin-top:5px;font-size:11px;font-weight:400;color:#a0b4cd}
.match-options-entry.danger{background:#301b25;border-color:#8b4b5f;color:#ffd8df}
.match-options-entry.danger span{color:#e4a7b3}
.match-options-entry:disabled{cursor:not-allowed;opacity:.45}
/* Only the battle menu opens the in-arena log. */
.battle-focus-app .battle-log-panel{top:16px;right:12px;z-index:42;max-height:min(68dvh,520px)}
.battle-focus-app .battle-log-history{max-height:calc(min(68dvh,520px) - 98px)}
.battle-focus-app .battle-log-toggle{display:none!important}
:root{
 --monstarica-card-back:url('../assets/branding/card-back.webp');
 --monstarica-pack-art:url('../assets/branding/pack-first.webp');
}
.flip-back,.mobile-flow-back,.mobile-stack-card{
  background-color:#07172d!important;background-image:var(--monstarica-card-back)!important;
  background-position:center center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;
  border:0!important;box-shadow:0 9px 23px #0007!important;
}
.flip-back::before,.flip-back::after,.mobile-flow-back::before,.mobile-flow-back::after,.mobile-stack-card::before,.mobile-stack-card::after{display:none!important}
.flip-back span,.mobile-flow-back b,.mobile-stack-card b{display:none!important}
.lobby-ui .pack-object,.pack-showcase .pack-object,.sealed-pack,.shop-pack-art{
  background-color:transparent!important;background-image:var(--monstarica-pack-art)!important;
  background-position:center center!important;background-repeat:no-repeat!important;background-size:contain!important;
  border:0!important;box-shadow:none!important;
}
.lobby-ui .pack-object::before,.lobby-ui .pack-object::after,.sealed-pack::before,.sealed-pack::after{display:none!important}
.lobby-ui .pack-object b,.lobby-ui .pack-object small,.pack-symbol,.sealed-pack b,.shop-pack-art small{display:none!important}
.sealed-pack{cursor:pointer;aspect-ratio:.59;height:auto!important;max-height:min(60vh,430px);width:min(255px,61vw)!important;filter:drop-shadow(0 24px 24px #0009)}
.sealed-pack.cue-sr,.sealed-pack.cue-ssr,.sealed-pack.cue-hr,.sealed-pack.cue-sp{box-shadow:none!important}
.lobby-ui .pack-object{aspect-ratio:.59!important;transform:rotate(-5deg);height:auto!important;max-height:65vh;filter:drop-shadow(0 19px 20px #0009)}
@media(max-width:900px){.battle-focus-header{height:49px;padding:0 10px 0 13px}.battle-focus-brand{font-size:12px}.battle-focus-phase{font-size:10px}.battle-menu-trigger{height:34px;width:37px}.battle-focus-app .battle-log-panel{top:9px;right:7px;width:min(350px,calc(100vw - 14px))}}
@media(max-width:520px){body:not(.lobby-ui) .app.battle-focus-app,body.tutorial-first-run .app.battle-focus-app{grid-template-rows:49px minmax(0,1fr)!important}.battle-focus-header{padding-left:11px}.battle-focus-brand{font-size:11px;letter-spacing:.08em}.battle-focus-phase{font-size:9px;padding-left:9px}.lobby-ui .pack-object{max-height:39vh}.sealed-pack{max-height:43vh}}
/* Suppress old literal text in shop's image panel; the supplied pack art replaces it. */
.shop-pack-art{font-size:0!important;color:transparent!important}
