* {
  box-sizing: border-box;
}

:root {
  --bg: #071126;
  --panel: #111d3d;
  --panel2: #162650;
  --gold: #ffc928;
  --white: #ffffff;
  --green: #23c86d;
  --red: #ec3f4f;
  --muted: #adb8d3;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  color: var(--white);

  background:
    radial-gradient(
      circle at top,
      #29418d 0%,
      #121f45 30%,
      #071126 70%
    );
}

.wrap {
  width: min(900px, 94%);
  margin: auto;
  padding-bottom: 40px;
}

.hero {
  text-align: center;
  padding: 25px 10px;
}

.ten {
  font-size: 70px;
  font-weight: 900;
  line-height: .9;
  color: var(--gold);
}

.hero h1 {
  margin: 8px 0;
}

.gold {
  color: var(--gold);
}

.card {
  background:
    rgba(255,255,255,.07);

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius: 22px;

  padding: 24px;
  margin: 16px 0;

  box-shadow:
    0 20px 50px
    rgba(0,0,0,.25);
}

input,
select {
  width: 100%;

  border: none;
  border-radius: 12px;

  padding: 14px 16px;
  margin: 7px 0;

  font-size: 16px;
}

button {
  border: none;
  border-radius: 12px;

  padding: 14px 18px;
  margin: 6px 4px 6px 0;

  cursor: pointer;

  font-size: 15px;
  font-weight: 800;
}

.primary {
  background: var(--gold);
  color: #111a33;
}

.danger {
  background: var(--red);
  color: white;
}

.success {
  background: var(--green);
  color: white;
}

.dark {
  background: #223566;
  color: white;
}

.full {
  width: 100%;
}

.hidden {
  display: none !important;
}

.status {
  padding: 12px 14px;
  margin: 12px 0;

  border-radius: 12px;

  background:
    rgba(255,255,255,.08);
}

.ok {
  border:
    1px solid
    rgba(35,200,109,.5);

  background:
    rgba(35,200,109,.15);
}

.error {
  border:
    1px solid
    rgba(236,63,79,.5);

  background:
    rgba(236,63,79,.15);
}

.grid {
  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 7px;

  margin-top: 10px;
}

.cell {
  aspect-ratio: 1;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: white;
  color: #101a35;

  font-size: 23px;
  font-weight: 900;
}

.head {
  aspect-ratio: auto;
  padding: 12px;

  background: var(--gold);
}

.marked {
  background: var(--green);
  color: white;
}

.free {
  background: var(--gold);
  font-size: 13px;
}

.big-number {
  text-align: center;

  color: var(--gold);

  font-size: 100px;
  font-weight: 900;

  line-height: 1.1;
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ball {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: white;
  color: #111;

  font-weight: 900;
}

.kpis {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 10px;
}

.kpi {
  padding: 14px;

  border-radius: 14px;

  text-align: center;

  background:
    rgba(255,255,255,.07);
}

.kpi b {
  display: block;

  color: var(--gold);

  font-size: 27px;
}

.muted {
  color: var(--muted);
}

@media(max-width:650px) {

  .wrap {
    width: 96%;
  }

  .cell {
    font-size: 18px;
    border-radius: 8px;
  }

  .big-number {
    font-size: 75px;
  }

  .kpis {
    grid-template-columns: 1fr;
  }
}
