/* Telqo Baron — WWI dogfight easter egg. Speelser dan Clay; blijft in overlay. */
.tb-root {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: none;
  font-family: "Special Elite", "Nunito Sans", serif;
  color: #f4ead4;
  background: #120e0a;
}
.tb-root.is-open { display: flex; flex-direction: column; }
html.telqo-baron-open, html.telqo-baron-open body { overflow: hidden; }

.tb-view {
  flex: 1;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
  background: #6ea0c8;
}
.tb-root.is-menu .tb-view { cursor: default; }

.tb-esc {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 6;
  border: 0;
  background: rgba(28, 18, 10, 0.72);
  color: #e6d2a8;
  font: 600 12px/1 "Nunito Sans", sans-serif;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(176, 141, 87, 0.35);
}
.tb-esc:hover { color: #fff; background: #3a2414; }

.tb-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.tb-hud[hidden] { display: none !important; }

.tb-brass {
  background: rgba(22, 14, 8, 0.62);
  border: 1px solid rgba(176, 141, 87, 0.45);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.tb-stat {
  position: absolute;
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 2px;
}
.tb-stat span {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a574;
}
.tb-stat b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #f7edd4;
  letter-spacing: 0.02em;
}
.tb-vne {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-family: "Nunito Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4a574;
}
.tb-vne.is-ready { color: #d4e8a8; }
.tb-alt { left: 16px; top: 16px; }
.tb-spd { left: 16px; top: 78px; }
.tb-ammo { right: 16px; top: 16px; text-align: right; }
.tb-score { right: 16px; top: 78px; text-align: right; }
.tb-hp {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(280px, 70vw);
  padding: 8px 12px 10px;
  border-radius: 2px;
}
.tb-hp span {
  font-family: "Nunito Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a574;
}
.tb-hp-bar {
  margin-top: 6px;
  height: 7px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(176, 141, 87, 0.35);
}
.tb-hp-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #7a1515, #d4a017);
  transform-origin: left center;
}

.tb-cross {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  opacity: 0.55;
}
.tb-cross::before, .tb-cross::after {
  content: "";
  position: absolute;
  background: #f4ead4;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.tb-cross::before { left: 13px; top: 4px; width: 2px; height: 20px; }
.tb-cross::after { left: 4px; top: 13px; width: 20px; height: 2px; }

.tb-msg {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  letter-spacing: 0.12em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  opacity: 0;
}
.tb-msg.show { opacity: 1; transition: opacity 0.12s linear; }

.tb-hint {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
  opacity: 0;
  color: #f4ead4;
  white-space: nowrap;
  pointer-events: none;
}
.tb-hint.show { opacity: 1; transition: opacity 0.25s linear; }

.tb-kill {
  position: absolute;
  right: 18px;
  bottom: 22px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  color: #e6d2a8;
  text-shadow: 0 2px 8px #000;
}

.tb-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(18, 10, 6, 0.35), rgba(18, 10, 6, 0.78));
  padding: 24px;
}
.tb-panel:not([hidden]) { display: flex; }

.tb-card {
  width: min(640px, 100%);
  background: #e9dcc3;
  color: #2a2118;
  border-radius: 4px;
  padding: 28px 28px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(80, 50, 20, 0.18);
  border: 2px solid #b08d57;
}
.tb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.tb-brand img { width: 40px; height: 40px; }
.tb-card h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: #7a1515;
}
.tb-card .tb-lede {
  margin: 6px 0 18px;
  color: #5c4a36;
  font-size: 14px;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.45;
}
.tb-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tb-btn {
  border: 0;
  border-radius: 3px;
  padding: 11px 18px;
  font: 700 14px/1 "Nunito Sans", sans-serif;
  cursor: pointer;
}
.tb-btn-primary { background: #7a1515; color: #f7edd4; box-shadow: 0 6px 14px rgba(122, 21, 21, 0.28); }
.tb-btn-primary:hover { filter: brightness(1.08); }
.tb-btn-ghost { background: #d7c4a2; color: #2a2118; }
.tb-help {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  font-size: 13px;
  font-family: "Nunito Sans", sans-serif;
  color: #3d3226;
  margin: 0 0 16px;
}
.tb-help dt { font-weight: 700; color: #7a1515; }
.tb-scores h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b5438;
  font-family: "Nunito Sans", sans-serif;
}
.tb-scores ol { margin: 0; padding: 0; list-style: none; }
.tb-scores li {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #d2c09a;
  font-size: 13px;
  font-family: "Nunito Sans", sans-serif;
  align-items: center;
}
.tb-scores li span:first-child { font-weight: 700; color: #7a1515; }
.tb-scores .tb-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.tb-scores .tb-hits { color: #6b5438; font-size: 12px; }
.tb-empty { color: #6b5438; font-size: 13px; margin: 0; font-family: "Nunito Sans", sans-serif; }
.tb-load {
  font-family: "Nunito Sans", sans-serif;
  color: #6b5438;
  font-size: 13px;
  min-height: 1.2em;
}

@media (max-width: 720px) {
  .tb-card { padding: 20px; }
  .tb-msg { font-size: 32px; }
  .tb-stat b { font-size: 18px; }
}
