:root {
  color-scheme: light;
  --green: #549166;
  --green-deep: #3f7a52;
  --ink: #1b1b1c;
  --card: #f3f3f3;
  --muted: #3c3c40;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #f4f6f4;
}

.top {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.brand {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.age-small {
  width: 36px;
  height: 36px;
  margin: 0;
  font-size: 12px;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.page h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

.lead,
.note {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.operators {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.operator {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.operator-row {
  display: grid;
  grid-template-columns: auto minmax(190px, 1.15fr) minmax(190px, 1fr) minmax(150px, 0.9fr) 148px;
  gap: 16px 18px;
  align-items: center;
  padding: 18px 16px 14px;
}

.rank {
  width: 28px;
  height: 28px;
  border: 1.5px solid #111;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px;
}

.operator h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.rating svg {
  display: block;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #1b1b1c;
  font-size: 14px;
  line-height: 1.3;
}

.points svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.bonus {
  margin: 0;
  min-height: 72px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.verify {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #00fb99;
  color: #06281a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.verify:hover {
  background: #00e68a;
}

.verify:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .operator-row {
    grid-template-columns: auto 1fr;
  }

  .points,
  .bonus,
  .verify {
    grid-column: 1 / -1;
  }

  .rank {
    display: none;
  }
}

.splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(900px 420px at 50% 100%, rgba(255, 255, 255, 0.16), transparent 55%),
    var(--green);
}

.card {
  width: min(100%, 460px);
  background: var(--card);
  border: 1.5px solid var(--green);
  border-radius: 8px;
  box-shadow: 4px 4px 0 0 var(--green-deep);
  padding: 36px 36px 28px;
  text-align: center;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.copy p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
}

.copy p:first-child {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}

.nowrap {
  white-space: nowrap;
}

.bar {
  height: 8px;
  margin: 18px 0 10px;
  border: 1px solid var(--green);
  border-radius: 999px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
  border-radius: inherit;
}

.card.is-armed .bar > span {
  animation: splash-load 3s linear forwards;
}

.count {
  min-height: 2.6em;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

#exit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

#exit:hover {
  background: #000;
}

#exit:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .card.is-armed .bar > span {
    animation: none;
    width: 100%;
  }
}

@keyframes splash-load {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.top .age {
  margin: 0;
}
