/*! Card Battle Lab. Copyright (c) 2026 Dave Skilton. All rights reserved. See /LICENSE. https://cardbattlelab.com/ */
#bootOverlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #d7dbe0;
  font-family: var(--font-body, system-ui, -apple-system, Segoe UI, Roboto, sans-serif);
  transition: opacity var(--t-fade-page, .8s) ease;
}
#bootOverlay.settling,
#bootOverlay.done {
  opacity: 0;
}
#bootOverlay .boot-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 26px 34px;
  width: 360px;
  box-sizing: border-box;
}
#bootOverlay .boot-brand {
  display: block;
  width: min(280px, 100%);
  height: auto;
  max-height: 116px;
  object-fit: contain;
}
#bootTip {
  width: min(430px, 90vw);
}
#bootTipBody {
  height: 78px;
  padding-top: 9px;
  padding-bottom: 9px;
}
#bootMsg {
  font-size: 13px;
  color: #aab3c2;
  min-height: 36px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12px;
  border: 1px solid var(--c-border-subtle, rgba(255,255,255,.08));
  border-radius: var(--r-m, 8px);
}
#bootOverlay.error #bootMsg {
  color: #ff7b72;
  cursor: auto;
}
#bootOverlay.error #bootMsg::after {
  animation: none;
  display: none;
}
#bootOverlay .boot-hint {
  font-size: 11px;
  color: #55607a;
  max-width: 340px;
  text-align: center;
  line-height: 1.5;
}
#serverBuildChip {
  display: none;
  position: fixed;
  bottom: 6px;
  right: 6px;
  z-index: 9998;
  background: rgba(20, 22, 28, .9);
  color: var(--c-success);
  font: 600 11px/1.4 var(--mono);
  width: min(320px, calc(100vw - 12px));
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 5px;
  pointer-events: none;
  letter-spacing: .3px;
  white-space: nowrap;
}
#serverBuildChip.bad {
  color: var(--c-danger);
}
#serverBuildChip.diag-version {
  width: auto;
  max-width: min(320px, calc(100vw - 12px));
}
#serverBuildChip.layout-debug {
  left: 6px;
  width: auto;
  overflow: visible;
  text-overflow: clip;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.5;
}
#bootVersion {
  font: 700 13px/1.4 var(--mono);
  letter-spacing: .6px;
  padding: 3px 12px;
  border-radius: 12px;
  min-height: 26px;
  box-sizing: border-box;
}
#bootVersion.rel {
  background: rgba(30, 60, 35, .7);
  color: #7ddc7d;
  border: 1px solid #2f5a34;
}
#bootVersion.dev {
  background: rgba(74, 45, 18, .7);
  color: #f0883e;
  border: 1px solid #7a4a1c;
}
