/* The matchup follows the two-board read order on phones. FairUI owns the
   deadline and dismissal; these panels never start or delay the match. */
#vsStrip.bvScreen {
  --bv-cream: #fff8e7;
  --bv-paper: #ffdc68;
  --bv-ink: #0a1629;
  --bv-dim: #cde5fa;
  position: fixed;
  inset: 0;
  z-index: 63;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: auto;
  overscroll-behavior: contain;
  cursor: pointer;
  color: var(--bv-cream);
  background: radial-gradient(ellipse at 30% 12%, #2a6c9a 0, transparent 59%),
    radial-gradient(ellipse at 110% 76%, #524779 0, transparent 64%), #10243f;
  transform: none;
  opacity: 1;
  transition: none;
}
#vsStrip.bvScreen::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #122948f2, #143e64bb 52%, #10243f91),
    url('../art/ui/result-city-press-v1.svg') center bottom / cover no-repeat;
}
#vsStrip.bvScreen.hidden { display: none; }
#vsStrip.bvScreen, #vsStrip.bvScreen * { box-sizing: border-box; }
#vsStrip.bvScreen .bvStage { position: relative; z-index: 1; width: 100%; max-width: 930px; margin: auto; }
#vsStrip.bvScreen .bvMasthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 10px;
}
#vsStrip.bvScreen .bvBrand { display: block; width: 102px; height: 36px; object-fit: contain; object-position: left center; }
#vsStrip.bvScreen .bvMatchLabel {
  color: var(--bv-cream);
  font: 400 clamp(21px, 4.8vw, 31px)/1 'Bangers', Impact, sans-serif;
  text-align: right;
  letter-spacing: .06em;
  text-shadow: 2px 2px 0 var(--bv-ink);
}
#vsStrip.bvScreen .bvFight { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 7px; }
#vsStrip.bvScreen .bvPlayer {
  --bv-side: #73d6f4;
  --bv-side-plate: #153450;
  --bv-side-shadow: #11233c;
  --bv-side-txt: #b7edfc;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 6px;
  padding: 7px 8px 8px;
  border: 2px solid var(--bv-side);
  border-left-width: 5px;
  border-radius: 13px;
  background: linear-gradient(155deg, var(--bv-side-plate), var(--bv-side-shadow));
  box-shadow: 0 4px 0 var(--bv-ink);
}
#vsStrip.bvScreen .bvPlayer.vsThem {
  --bv-side: #ffa19b;
  --bv-side-plate: #502b42;
  --bv-side-shadow: #2c1d34;
  --bv-side-txt: #ffd4ce;
}
#vsStrip.bvScreen.bvCoop .bvPlayer.vsThem {
  --bv-side: #cbb5ff;
  --bv-side-plate: #3a3262;
  --bv-side-shadow: #292246;
  --bv-side-txt: #ebdeff;
}
#vsStrip.bvScreen .bvCardHead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3px 8px;
  min-height: 21px;
}
#vsStrip.bvScreen .bvSideLabel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  color: var(--bv-side-txt);
  font: 900 12px/1.2 'Nunito', system-ui, sans-serif;
  letter-spacing: .10em;
}
#vsStrip.bvScreen .bvSideLabel .bvBand { margin: 0; }
#vsStrip.bvScreen .bvValues { display: flex; flex-wrap: wrap; gap: 4px 6px; }
#vsStrip.bvScreen .bvValue {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border: 1px solid #c9deff3b;
  border-radius: 5px;
  background: #10182dd9;
}
#vsStrip.bvScreen .bvValueLabel { color: var(--bv-dim); font: 800 10px/1.1 'Nunito', system-ui, sans-serif; }
#vsStrip.bvScreen .bvValue b {
  color: var(--bv-paper);
  font: 400 15px/1 'Bangers', Impact, sans-serif;
  font-variant-numeric: tabular-nums;
}
#vsStrip.bvScreen .bvPlayerPlate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 6px; }
#vsStrip.bvScreen .bvIdentity { display: flex; min-width: 0; }
#vsStrip.bvScreen .cppCard, #vsStrip.bvScreen .bvLegacyIdentity {
  flex: 1;
  min-width: 0;
  max-width: none;
  min-height: 60px;
  padding: 5px;
  border: 1px solid #bce2ff40;
  border-radius: 9px;
}
#vsStrip.bvScreen .cppIdentity { gap: 7px; min-height: 49px; padding: 3px 4px; border-radius: 6px; }
#vsStrip.bvScreen .cppName, #vsStrip.bvScreen .bvName { font-size: 23px; line-height: 1.05; }
#vsStrip.bvScreen .cppTitle { font-size: 10px; line-height: 1.2; letter-spacing: .02em; margin: 2px 0 0; }
#vsStrip.bvScreen .cppMeta { margin: 2px 0 0; font-size: 10px; line-height: 1.2; }
#vsStrip.bvScreen .cppIdentity > .clAvatar, #vsStrip.bvScreen .bvLegacyIdentity > .clAvatar,
#vsStrip.bvScreen .cppAvatar, #vsStrip.bvScreen .bvNeutralAvatar {
  --cl-avatar-art: 42px;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0;
  font-size: 30px;
}
#vsStrip.bvScreen .cppIdentity > .clAvatar canvas, #vsStrip.bvScreen .bvLegacyIdentity > .clAvatar canvas { width: 42px; height: 42px; }
#vsStrip.bvScreen .cppBadges { display: flex; flex-wrap: wrap; gap: 4px; margin: 3px 0 0; padding-left: 4px; }
#vsStrip.bvScreen .cppBadgeSlot { width: 24px; min-height: 25px; padding: 1px; border: 0; background: transparent; box-shadow: none; }
#vsStrip.bvScreen .cppBadgeSvg { width: 22px; height: 25px; }
#vsStrip.bvScreen .cppBadgeLabel { display: none; }
#vsStrip.bvScreen .bvLegacyIdentity {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(122deg, #101a2bdd 55%, #131b31aa),
    repeating-linear-gradient(130deg, transparent 0 16px, #ffffff26 17px 19px), var(--bv-side-plate);
}
#vsStrip.bvScreen .bvNeutralAvatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bv-side);
  border-radius: 8px;
  background: #15192f;
  color: var(--bv-cream);
  font-family: 'Bangers', Impact, sans-serif;
}
#vsStrip.bvScreen .bvName {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-align: left;
  font-family: 'Bangers', Impact, sans-serif;
  font-weight: 400;
  color: var(--bv-cream);
  background: none;
}
#vsStrip.bvScreen .bvSideLabel .bvLineupName { margin: 0; padding: 0; font-size: 12px; overflow-wrap: anywhere; text-align: left; }
#vsStrip.bvScreen .bvLineup {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 5px;
  align-items: stretch;
  margin: auto 0 0;
  padding: 0;
}
#vsStrip.bvScreen .bvHero {
  position: relative;
  width: 100%;
  height: 50px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0 9px;
  border: 1px solid #c0d6fa46;
  border-radius: 8px;
  background: linear-gradient(180deg, #23365a, #0d192d);
  cursor: pointer;
}
#vsStrip.bvScreen .bvHeroArt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 44px);
  height: 38px;
  margin: 0 auto;
  border-radius: 7px 7px 4px 4px;
  background-color: #202b47;
  overflow: hidden;
}
#vsStrip.bvScreen .bvHero .bvHeroArt :is(canvas, img, svg) { display: block; width: 36px; height: 36px; object-fit: contain; }
#vsStrip.bvScreen .bvHeroLevel {
  position: absolute;
  right: 2px;
  bottom: 1px;
  min-width: 29px;
  width: auto;
  height: auto;
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 3px;
  border: 1px solid var(--bv-ink);
  border-radius: 4px;
  background: #ffe68c;
  color: #21152e;
  font: 900 10px/12px 'Nunito', system-ui, sans-serif;
  text-align: center;
}
#vsStrip.bvScreen .bvHeroFallback { color: var(--bv-cream); font: 400 22px/1 'Bangers', Impact, sans-serif; }
#vsStrip.bvScreen .bvLeaderDock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 3px;
  border: 1px solid #ffe68c55;
  border-radius: 8px;
  background: #0e1a30;
}
#vsStrip.bvScreen .bvLeader { width: 44px; border-color: #ffe68c81; }
#vsStrip.bvScreen .bvLeaderLabel { color: #ffe8a5; font: 900 9px/1.1 'Nunito', system-ui, sans-serif; letter-spacing: .03em; }
#vsStrip.bvScreen .bvMiddle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 3px;
}
#vsStrip.bvScreen .bvMiddle::before, #vsStrip.bvScreen .bvMiddle::after {
  content: '';
  flex: 1 0 6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffe17e8c);
}
#vsStrip.bvScreen .bvMiddle::after { transform: scaleX(-1); }
#vsStrip.bvScreen .bvSeal {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 37px;
  border: 2px solid var(--bv-ink);
  border-radius: 5px 10px 5px 10px;
  background: var(--bv-paper);
  box-shadow: 2px 3px 0 var(--bv-ink);
  transform: skew(-7deg);
}
#vsStrip.bvScreen .bvSeal span {
  color: #231833;
  font: 400 26px/1 'Bangers', Impact, sans-serif;
  letter-spacing: .02em;
  -webkit-text-stroke: 0;
  text-shadow: 1px 1px 0 #fff2be;
}
#vsStrip.bvScreen .bvInfo { min-width: 0; text-align: left; }
#vsStrip.bvScreen .bvChip {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #ffe68c;
  font: 400 17px/1.1 'Bangers', Impact, sans-serif;
  letter-spacing: .04em;
}
#vsStrip.bvScreen .bvSub {
  margin: 0;
  color: var(--bv-dim);
  font: 800 10px/1.25 'Nunito', system-ui, sans-serif;
  letter-spacing: .03em;
}
#vsStrip.bvScreen .bvDismiss {
  display: block;
  width: fit-content;
  min-width: 144px;
  min-height: 44px;
  margin: 10px auto 0;
  padding: 7px 15px;
  border: 2px solid #fff0ad;
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--bv-ink);
  background: var(--bv-paper);
  color: #241833;
  font: 400 19px/1.1 'Bangers', Impact, sans-serif;
  letter-spacing: .07em;
  cursor: pointer;
}
#vsStrip.bvScreen button:focus-visible { outline: 3px solid #7ee8fa; outline-offset: 2px; }
@media (max-width: 307px) {
  #vsStrip.bvScreen .bvLineup { grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); }
}
@media (min-width: 700px), (orientation: landscape) and (min-width: 625px) {
  #vsStrip.bvScreen { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  #vsStrip.bvScreen .bvFight { grid-template-columns: minmax(0,1fr) minmax(48px, .34fr) minmax(0,1fr); gap: 10px; }
  #vsStrip.bvScreen .bvMiddle { flex-direction: column; align-self: stretch; }
  #vsStrip.bvScreen .bvMiddle::before, #vsStrip.bvScreen .bvMiddle::after { display: none; }
  #vsStrip.bvScreen .bvSeal { width: 49px; height: 48px; flex-basis: 48px; }
  #vsStrip.bvScreen .bvInfo { text-align: center; }
  #vsStrip.bvScreen .bvLineup { grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-anim="full"][data-passport-fx="full"] body:not(.cc-some):not(.cc-rm) #vsStrip.bvScreen.vsIn:not(.vsStill) .bvPlayer.vsThem { animation: bvRivalIn 320ms cubic-bezier(.2,.8,.3,1) both; }
  html[data-anim="full"][data-passport-fx="full"] body:not(.cc-some):not(.cc-rm) #vsStrip.bvScreen.vsIn:not(.vsStill) .bvPlayer.vsYou { animation: bvPlayerIn 320ms cubic-bezier(.2,.8,.3,1) both; }
  html[data-anim="full"][data-passport-fx="full"] body:not(.cc-some):not(.cc-rm) #vsStrip.bvScreen.vsIn:not(.vsStill) .bvSeal { animation: bvSealIn 380ms cubic-bezier(.2,.8,.3,1) both; }
}
@keyframes bvPlayerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bvRivalIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bvSealIn { from { opacity: 0; transform: skew(-7deg) scale(.8); } to { opacity: 1; transform: skew(-7deg) scale(1); } }
