
/*
 * 21 Millionen gegen unendliches Geld
 * Sämtliche Regeln sind absichtlich auf bfg- Klassen begrenzt, damit das Spiel
 * auch direkt in bestehende Webseiten eingebettet werden kann.
 */

.bfg-standalone-page {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -20%, #233252 0, transparent 46%), #03050a;
}

.bfg-standalone-shell {
  --bfg-page-gap: clamp(0px, 1.3vw, 22px);
  display: grid;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: var(--bfg-page-gap);
  box-sizing: border-box;
}

.bfg-standalone-shell > .bfg-host {
  width: 100%;
}

@media (min-aspect-ratio: 17 / 10) {
  .bfg-standalone-shell > .bfg-host {
    width: auto;
    height: calc(100vh - 2 * var(--bfg-page-gap));
    aspect-ratio: 16 / 9;
  }
}

.bfg-host {
  width: 100%;
  max-width: 1600px;
}

.bfg-container,
.bfg-container * {
  box-sizing: border-box;
}

.bfg-container {
  --bfg-orange: #f7931a;
  --bfg-orange-bright: #ffad32;
  --bfg-gold: #ffd166;
  --bfg-ink: #050811;
  --bfg-panel: rgba(8, 14, 28, 0.88);
  --bfg-line: rgba(255, 255, 255, 0.12);
  --bfg-text: #f7f9ff;
  --bfg-muted: #a9b2c6;
  --bfg-green: #55d99a;
  --bfg-red: #ff5964;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: var(--bfg-max-width, 1600px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(247, 147, 26, 0.26);
  border-radius: clamp(0px, 1.2vw, 22px);
  color: var(--bfg-text);
  background: #070b14;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 60px rgba(247, 147, 26, 0.08);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: clamp(9px, 0.9vw, 16px);
  line-height: 1.35;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bfg-container:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #03050a;
}

.bfg-container::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 5.4% 100%,
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px) 0 0 / 100% 8%;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.bfg-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: none;
}

.bfg-vignette {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 36%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22),
      transparent 24%,
      transparent 72%,
      rgba(0, 0, 0, 0.56)
    );
}

.bfg-topline {
  position: absolute;
  z-index: 5;
  top: clamp(8px, 1.1vw, 18px);
  right: clamp(8px, 1.15vw, 20px);
  left: clamp(8px, 1.15vw, 20px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
  pointer-events: none;
}

.bfg-brand-chip {
  display: flex;
  align-items: center;
  gap: 0.65em;
  min-width: 0;
  padding: 0.48em 0.72em 0.48em 0.52em;
  border: 1px solid rgba(247, 147, 26, 0.24);
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.66);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.bfg-brand-mark {
  display: grid;
  width: 2em;
  height: 2em;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ffb02e, #e67606);
  box-shadow: 0 0 18px rgba(247, 147, 26, 0.42);
  font-weight: 900;
  transform: rotate(12deg);
}

.bfg-brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.02em;
}

.bfg-brand-copy strong {
  overflow: hidden;
  font-size: 0.76em;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bfg-brand-copy span {
  color: var(--bfg-orange-bright);
  font-size: 0.61em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bfg-top-actions {
  display: flex;
  align-items: center;
  gap: 0.45em;
  pointer-events: auto;
}

.bfg-icon-button,
.bfg-button {
  appearance: none;
  border: 1px solid var(--bfg-line);
  color: var(--bfg-text);
  background: rgba(8, 14, 28, 0.84);
  font: inherit;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.bfg-icon-button {
  display: inline-grid;
  min-width: 2.75em;
  height: 2.75em;
  place-items: center;
  padding: 0 0.7em;
  border-radius: 0.8em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.bfg-icon-button:hover,
.bfg-button:hover {
  border-color: rgba(247, 147, 26, 0.7);
  background: rgba(22, 31, 52, 0.96);
  box-shadow: 0 0 24px rgba(247, 147, 26, 0.14);
  transform: translateY(-1px);
}

.bfg-icon-button:active,
.bfg-button:active {
  transform: translateY(1px) scale(0.985);
}

.bfg-icon-button:focus-visible,
.bfg-button:focus-visible,
.bfg-link-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.bfg-icon-button[hidden],
.bfg-button[hidden] {
  display: none;
}

.bfg-icon-label {
  margin-left: 0.4em;
  font-size: 0.72em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bfg-hud {
  position: absolute;
  z-index: 5;
  top: clamp(48px, 5.5vw, 88px);
  right: clamp(8px, 1.15vw, 20px);
  left: clamp(8px, 1.15vw, 20px);
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr 1.45fr 1fr;
  gap: 0.48em;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.bfg-hud[hidden] {
  display: none;
}

.bfg-stat {
  min-width: 0;
  padding: 0.56em 0.72em 0.62em;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 0.78em;
  background: linear-gradient(180deg, rgba(12, 20, 39, 0.84), rgba(5, 10, 22, 0.74));
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(12px);
}

.bfg-stat-label {
  display: block;
  overflow: hidden;
  margin-bottom: 0.05em;
  color: var(--bfg-muted);
  font-size: 0.58em;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bfg-stat-value {
  display: block;
  overflow: hidden;
  font-size: 1.14em;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfg-score-value,
.bfg-combo-value {
  color: var(--bfg-orange-bright);
}

.bfg-timer-value.bfg-critical {
  color: var(--bfg-red);
  animation: bfg-timer-pulse 650ms ease-in-out infinite alternate;
}

.bfg-power-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.55em;
}

.bfg-power-track {
  height: 0.45em;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.bfg-power-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2ebf7c, #6deaac);
  box-shadow: 0 0 12px rgba(85, 217, 154, 0.38);
  transform-origin: left center;
  transition:
    width 220ms ease,
    background 220ms ease;
}

.bfg-power-bar.bfg-warning {
  background: linear-gradient(90deg, #f6ad2f, #ffd166);
}

.bfg-power-bar.bfg-critical {
  background: linear-gradient(90deg, #df3e4d, #ff6b70);
}

.bfg-power-state {
  color: var(--bfg-green);
  font-size: 0.56em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bfg-power-state.bfg-warning {
  color: var(--bfg-gold);
}

.bfg-power-state.bfg-critical {
  color: var(--bfg-red);
}

.bfg-phase-chip {
  position: absolute;
  z-index: 5;
  top: 20%;
  left: 50%;
  padding: 0.55em 1em;
  border: 1px solid rgba(247, 147, 26, 0.34);
  border-radius: 999px;
  color: var(--bfg-orange-bright);
  background: rgba(4, 8, 18, 0.78);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.24);
  font-size: 0.7em;
  font-weight: 850;
  letter-spacing: 0.12em;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.bfg-phase-chip[hidden] {
  display: none;
}

.bfg-screen {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(12px, 3vw, 52px);
  background:
    radial-gradient(circle at 51% 40%, rgba(25, 42, 70, 0.35), transparent 42%),
    linear-gradient(115deg, rgba(2, 5, 11, 0.93), rgba(7, 12, 25, 0.82));
  backdrop-filter: blur(5px);
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.bfg-screen[hidden] {
  display: none;
}

.bfg-menu-screen {
  z-index: 12;
  background:
    radial-gradient(circle at 72% 35%, rgba(247, 147, 26, 0.16), transparent 29%),
    radial-gradient(circle at 28% 85%, rgba(50, 103, 184, 0.16), transparent 33%),
    linear-gradient(112deg, rgba(3, 6, 13, 0.97), rgba(8, 14, 29, 0.88));
}

.bfg-menu-grid {
  display: grid;
  width: min(93%, 1300px);
  grid-template-columns: 1.5fr 0.82fr;
  align-items: center;
  gap: clamp(18px, 4vw, 74px);
}

.bfg-kicker {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1em;
  color: var(--bfg-orange-bright);
  font-size: 0.71em;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.bfg-kicker::before {
  width: 2.7em;
  height: 2px;
  content: '';
  background: linear-gradient(90deg, var(--bfg-orange), transparent);
  box-shadow: 0 0 12px rgba(247, 147, 26, 0.7);
}

.bfg-title {
  max-width: 9.2em;
  margin: 0;
  font-size: clamp(2.1em, 4.1vw, 5.1em);
  font-weight: 920;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.bfg-title-highlight {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #ffb33e, #f7931a 53%, #ffd166);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 24px rgba(247, 147, 26, 0.18));
}

.bfg-subtitle {
  margin: 0.65em 0 0;
  color: #dce4f7;
  font-size: clamp(1.1em, 1.75vw, 2.15em);
  font-weight: 480;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bfg-intro {
  max-width: 45em;
  margin: 1.35em 0 0;
  color: var(--bfg-muted);
  font-size: 0.96em;
  line-height: 1.6;
}

.bfg-warning-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-top: 1em;
  padding: 0.55em 0.8em;
  border: 1px solid rgba(255, 89, 100, 0.28);
  border-radius: 0.75em;
  color: #ffd8da;
  background: rgba(103, 17, 28, 0.18);
  font-size: 0.82em;
  font-weight: 750;
}

.bfg-warning-dot {
  width: 0.58em;
  height: 0.58em;
  border-radius: 50%;
  background: var(--bfg-red);
  box-shadow: 0 0 10px rgba(255, 89, 100, 0.7);
  animation: bfg-warning-blink 1.1s ease-in-out infinite alternate;
}

.bfg-menu-card {
  padding: clamp(16px, 2.2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 1.35em;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.065), transparent 42%), rgba(5, 10, 22, 0.76);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(18px);
}

.bfg-menu-card-title {
  margin: 0 0 0.85em;
  color: var(--bfg-muted);
  font-size: 0.66em;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bfg-meta-list {
  display: grid;
  gap: 0;
  margin: 0 0 1.25em;
}

.bfg-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.62em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bfg-meta-row dt {
  color: var(--bfg-muted);
}

.bfg-meta-row dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.bfg-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7em;
}

.bfg-button {
  min-height: 3.2em;
  padding: 0.8em 1.1em;
  border-radius: 0.85em;
}

.bfg-button-primary {
  grid-column: 1 / -1;
  border-color: rgba(255, 189, 82, 0.62);
  color: #160c02;
  background: linear-gradient(125deg, #ffb43e, #f7931a 62%, #df7306);
  box-shadow:
    0 12px 35px rgba(247, 147, 26, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.43) inset;
  font-size: 1.08em;
}

.bfg-button-primary:hover {
  border-color: #ffd083;
  background: linear-gradient(125deg, #ffc05b, #ffa21e 62%, #ea7d0e);
  box-shadow: 0 15px 42px rgba(247, 147, 26, 0.33);
}

.bfg-button-danger {
  border-color: rgba(255, 89, 100, 0.35);
  color: #ffdfe1;
}

.bfg-button-small {
  min-height: 2.7em;
  padding: 0.55em 0.9em;
  font-size: 0.8em;
}

.bfg-menu-footnote {
  margin: 1.2em 0 0;
  color: #7f899e;
  font-size: 0.64em;
  line-height: 1.5;
  text-align: center;
}

.bfg-bitcoin-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 66%;
  width: 28em;
  aspect-ratio: 1;
  border: 1px solid rgba(247, 147, 26, 0.11);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: bfg-orbit-spin 24s linear infinite;
}

.bfg-bitcoin-orbit::before,
.bfg-bitcoin-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
  content: '';
}

.bfg-bitcoin-orbit::before {
  inset: 14%;
}

.bfg-bitcoin-orbit::after {
  inset: 35%;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.11), transparent 68%);
}

.bfg-dialog-card {
  width: min(92%, 620px);
  max-height: 94%;
  overflow: auto;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35em;
  background: rgba(5, 10, 22, 0.95);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

.bfg-help-screen {
  z-index: 18;
}

.bfg-dialog-card h2,
.bfg-end-title {
  margin: 0;
  font-size: 2.25em;
  letter-spacing: -0.04em;
  line-height: 1;
}

.bfg-dialog-card p {
  color: var(--bfg-muted);
}

.bfg-help-list {
  display: grid;
  gap: 0.75em;
  margin: 1.2em 0 1.5em;
  padding: 0;
  list-style: none;
}

.bfg-help-item {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  align-items: start;
  gap: 0.8em;
}

.bfg-help-icon {
  display: grid;
  width: 2.4em;
  height: 2.4em;
  place-items: center;
  border: 1px solid rgba(247, 147, 26, 0.25);
  border-radius: 0.65em;
  color: var(--bfg-orange-bright);
  background: rgba(247, 147, 26, 0.08);
  font-weight: 900;
}

.bfg-help-copy strong {
  display: block;
  margin-bottom: 0.15em;
}

.bfg-help-copy span {
  color: var(--bfg-muted);
  font-size: 0.86em;
}

.bfg-countdown-screen {
  z-index: 14;
  overflow: hidden;
  background: rgba(2, 5, 11, 0.62);
}

.bfg-countdown {
  display: grid;
  width: 4.2em;
  height: 4.2em;
  place-items: center;
  border: 2px solid rgba(247, 147, 26, 0.64);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.34), rgba(5, 10, 22, 0.84) 64%);
  box-shadow:
    0 0 0 1em rgba(247, 147, 26, 0.06),
    0 0 70px rgba(247, 147, 26, 0.34);
  font-size: clamp(3.6em, 7vw, 7.8em);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  animation: bfg-countdown-pop 760ms cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.bfg-countdown.bfg-go {
  width: 5.1em;
  height: 2.25em;
  border-radius: 999px;
  color: #1a0e02;
  background: linear-gradient(135deg, #ffc358, #f7931a);
  font-size: clamp(3em, 6vw, 6.8em);
}

.bfg-paused-screen {
  z-index: 15;
  background: rgba(2, 5, 11, 0.75);
}

.bfg-pause-symbol {
  display: flex;
  justify-content: center;
  gap: 0.42em;
  margin-bottom: 1.15em;
}

.bfg-pause-symbol span {
  width: 0.62em;
  height: 2.3em;
  border-radius: 0.2em;
  background: var(--bfg-orange);
  box-shadow: 0 0 22px rgba(247, 147, 26, 0.45);
}

.bfg-end-screen {
  z-index: 16;
  background:
    radial-gradient(circle at 50% 15%, rgba(247, 147, 26, 0.16), transparent 32%),
    rgba(2, 5, 11, 0.94);
}

.bfg-end-panel {
  width: min(95%, 1120px);
  max-height: 96%;
  overflow: auto;
  padding: clamp(14px, 2.5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35em;
  background: rgba(6, 11, 24, 0.91);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.bfg-end-screen.bfg-cbdc-takeover {
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 67, 82, 0.2), transparent 34%),
    rgba(2, 5, 11, 0.96);
}

.bfg-end-screen.bfg-cbdc-takeover .bfg-end-panel {
  border-color: rgba(255, 89, 100, 0.38);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 46px rgba(255, 67, 82, 0.08) inset;
}

.bfg-end-screen.bfg-cbdc-takeover .bfg-end-question,
.bfg-end-screen.bfg-cbdc-takeover .bfg-end-evaluation {
  color: #ff8a92;
}

.bfg-supply-showdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4em;
  margin-bottom: 1.25em;
}

.bfg-supply {
  min-width: 0;
  padding: 0.9em 1em;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.bfg-supply span {
  display: block;
  color: var(--bfg-muted);
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bfg-supply strong {
  display: block;
  overflow: hidden;
  margin-top: 0.1em;
  font-size: clamp(1.5em, 3.2vw, 3.5em);
  font-weight: 950;
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bfg-supply-fiat strong {
  color: #ff7780;
}

.bfg-supply-bitcoin {
  border-color: rgba(247, 147, 26, 0.31);
  box-shadow: 0 0 35px rgba(247, 147, 26, 0.08) inset;
}

.bfg-supply-bitcoin strong {
  color: var(--bfg-orange-bright);
}

.bfg-versus {
  color: #7f899e;
  font-size: 0.7em;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.bfg-end-question {
  margin: 0.7em 0 0.25em;
  font-size: 1.35em;
  font-weight: 820;
  text-align: center;
}

.bfg-end-evaluation {
  margin: 0 0 1.2em;
  color: var(--bfg-orange-bright);
  text-align: center;
}

.bfg-results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55em;
  margin: 1em 0;
}

.bfg-result-card {
  min-width: 0;
  padding: 0.72em;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 0.8em;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.bfg-result-card span {
  display: block;
  overflow: hidden;
  color: var(--bfg-muted);
  font-size: 0.54em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bfg-result-card strong {
  display: block;
  margin-top: 0.1em;
  font-size: 1.35em;
  font-variant-numeric: tabular-nums;
}

.bfg-detail-toggle {
  display: flex;
  justify-content: center;
  margin: 0.55em 0;
}

.bfg-link-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(247, 147, 26, 0.5);
  color: var(--bfg-orange-bright);
  background: transparent;
  font: inherit;
  font-size: 0.72em;
  font-weight: 750;
  cursor: pointer;
}

.bfg-currency-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.45em;
  margin: 0.7em 0 1em;
}

.bfg-currency-results[hidden] {
  display: none;
}

.bfg-currency-result {
  padding: 0.48em;
  border-radius: 0.62em;
  color: var(--bfg-muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.7em;
  text-align: center;
}

.bfg-currency-result strong {
  display: block;
  color: #fff;
  font-size: 1.2em;
}

.bfg-end-actions {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0.6em;
  margin-top: 1em;
}

.bfg-end-actions .bfg-button-primary {
  grid-column: auto;
}

.bfg-rotate-screen {
  z-index: 30;
  display: none;
  background: rgba(2, 5, 11, 0.97);
  text-align: center;
}

.bfg-rotate-icon {
  display: inline-grid;
  width: 3em;
  height: 4.6em;
  place-items: center;
  margin-bottom: 1.1em;
  border: 0.18em solid var(--bfg-orange);
  border-radius: 0.55em;
  color: var(--bfg-orange-bright);
  font-size: 1.4em;
  animation: bfg-phone-rotate 2s ease-in-out infinite;
}

.bfg-toast-stack {
  position: absolute;
  z-index: 9;
  right: 1.2em;
  bottom: 8.2em;
  display: grid;
  justify-items: end;
  gap: 0.45em;
  pointer-events: none;
}

.bfg-toast {
  max-width: 26em;
  padding: 0.68em 0.9em;
  border: 1px solid rgba(247, 147, 26, 0.3);
  border-radius: 0.75em;
  color: #fff;
  background: rgba(5, 10, 22, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  font-size: 0.76em;
  font-weight: 780;
  backdrop-filter: blur(10px);
  animation: bfg-toast-in 230ms ease both;
}

.bfg-toast.bfg-toast-warning {
  border-color: rgba(255, 89, 100, 0.55);
  color: #ffd8da;
}

.bfg-toast.bfg-toast-success {
  border-color: rgba(85, 217, 154, 0.5);
  color: #d9ffed;
}

.bfg-container.bfg-glitch {
  animation: bfg-glitch-shake 90ms steps(2) 7;
}

.bfg-container.bfg-glitch::before {
  position: absolute;
  z-index: 25;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    linear-gradient(
      90deg,
      rgba(255, 0, 61, 0.13),
      transparent 21%,
      rgba(0, 229, 255, 0.12) 71%,
      transparent
    ),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, 0.08) 8px 9px);
  mix-blend-mode: screen;
}

.bfg-sr-only,
.bfg-live-region {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.bfg-presentation .bfg-title {
  font-size: clamp(2.5em, 4.7vw, 5.8em);
}

.bfg-presentation .bfg-intro,
.bfg-presentation .bfg-button {
  font-size: 1.06em;
}

.bfg-presentation .bfg-top-actions .bfg-fullscreen-button {
  border-color: rgba(247, 147, 26, 0.72);
  box-shadow: 0 0 24px rgba(247, 147, 26, 0.23);
  animation: bfg-fullscreen-invite 1.2s ease-in-out infinite alternate;
}

@keyframes bfg-timer-pulse {
  to {
    opacity: 0.58;
    transform: scale(1.04);
  }
}

@keyframes bfg-warning-blink {
  to {
    opacity: 0.42;
    box-shadow: 0 0 4px rgba(255, 89, 100, 0.35);
  }
}

@keyframes bfg-orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes bfg-countdown-pop {
  0% {
    opacity: 0;
    transform: scale(0.45) rotate(-8deg);
  }
  35% {
    opacity: 1;
    transform: scale(1.06) rotate(0deg);
  }
  100% {
    opacity: 0.86;
    transform: scale(0.92);
  }
}

@keyframes bfg-phone-rotate {
  0%,
  28% {
    transform: rotate(0deg);
  }
  58%,
  100% {
    transform: rotate(90deg);
  }
}

@keyframes bfg-toast-in {
  from {
    opacity: 0;
    transform: translateX(1em);
  }
}

@keyframes bfg-glitch-shake {
  0% {
    transform: translate(0);
    filter: hue-rotate(0);
  }
  50% {
    transform: translate(-3px, 2px);
    filter: hue-rotate(35deg);
  }
  100% {
    transform: translate(3px, -1px);
  }
}

@keyframes bfg-fullscreen-invite {
  to {
    box-shadow: 0 0 38px rgba(247, 147, 26, 0.48);
  }
}

@media (max-aspect-ratio: 1 / 1) and (max-width: 760px) {
  .bfg-container .bfg-rotate-screen {
    display: grid;
  }
}

@media (max-width: 820px) {
  .bfg-container {
    border-radius: 0;
    font-size: clamp(8px, 1.8vw, 13px);
  }

  .bfg-menu-grid {
    width: min(96%, 740px);
    grid-template-columns: 1.25fr 0.85fr;
    gap: 2em;
  }

  .bfg-title {
    font-size: clamp(2.15em, 6vw, 4.1em);
  }

  .bfg-intro {
    margin-top: 0.8em;
    font-size: 0.82em;
  }

  .bfg-menu-card {
    padding: 1.2em;
  }

  .bfg-meta-row {
    padding: 0.48em 0;
  }

  .bfg-results-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .bfg-container {
    font-size: clamp(7px, 1.55vh, 11px);
  }

  .bfg-screen {
    padding: 1.2em;
  }

  .bfg-menu-grid {
    width: 94%;
  }

  .bfg-menu-card {
    padding: 1.2em;
  }

  .bfg-kicker,
  .bfg-menu-footnote {
    margin-bottom: 0.5em;
  }

  .bfg-intro {
    margin-top: 0.6em;
  }

  .bfg-warning-note {
    margin-top: 0.6em;
  }

  .bfg-result-card {
    padding: 0.48em;
  }

  .bfg-end-panel {
    padding: 1.2em;
  }

  .bfg-end-question,
  .bfg-end-evaluation {
    margin-top: 0.35em;
    margin-bottom: 0.45em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bfg-container *,
  .bfg-container *::before,
  .bfg-container *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


      .bfg-mobile-launch {
        display: none;
      }

      @media (max-width: 480px) {
        html:not(.bfg-force-game) .bfg-standalone-shell {
          display: none;
        }

        html:not(.bfg-force-game) .bfg-mobile-launch {
          display: flex;
          min-height: 100vh;
          align-items: center;
          justify-content: center;
          padding: 12px;
          box-sizing: border-box;
          color: #f7f9ff;
          background:
            radial-gradient(circle at 50% 0, rgba(247, 147, 26, 0.2), transparent 54%),
            #050811;
          font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
          text-align: center;
        }

        .bfg-mobile-launch-card {
          width: 100%;
          max-width: 360px;
        }

        .bfg-mobile-launch-title {
          margin: 0 0 5px;
          font-size: clamp(18px, 7vw, 27px);
          line-height: 1;
        }

        .bfg-mobile-launch-copy {
          margin: 0 0 9px;
          color: #c7cede;
          font-size: clamp(10px, 3.6vw, 14px);
        }

        .bfg-mobile-launch-button {
          display: flex;
          min-height: 46px;
          align-items: center;
          justify-content: center;
          border: 1px solid #ffb14d;
          border-radius: 11px;
          color: #110b03;
          background: linear-gradient(180deg, #ffad32, #f7931a);
          box-shadow: 0 8px 24px rgba(247, 147, 26, 0.3);
          font-size: clamp(14px, 5vw, 18px);
          font-weight: 800;
          text-decoration: none;
        }
      }
    