.history-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0, #7339a333, transparent 30%),
    radial-gradient(circle at 10% 25%, #00798d2b, transparent 28%), #050b14;
  color: #f4f7ff;
}
.history-shell {
  width: min(1180px, calc(100% - 38px));
  margin: auto;
  padding: 70px 0;
}
.history-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
}
.history-hero h1 {
  margin: 8px 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
}
.history-hero h1 span {
  background: linear-gradient(100deg, #43eff2, #df54ff);
  background-clip: text;
  color: transparent;
}
.history-hero p {
  max-width: 720px;
  color: #a8b7c8;
  line-height: 1.7;
}
.history-stats {
  display: grid;
  grid-template-columns: repeat(3, 110px);
  gap: 8px;
}
.history-stats article {
  padding: 18px;
  border: 1px solid #29455e;
  border-radius: 14px;
  background: #0b1827;
  text-align: center;
}
.history-stats b,
.history-stats span {
  display: block;
}
.history-stats b {
  font-size: 30px;
  color: #56ebed;
}
.history-stats span {
  font-size: 9px;
  color: #91a4b5;
  text-transform: uppercase;
}
.history-tools {
  display: flex;
  gap: 10px;
  margin: 38px 0 12px;
}
.history-tools input,
.history-tools select {
  border: 1px solid #344b64;
  border-radius: 11px;
  background: #091421;
  color: #fff;
  padding: 13px;
}
.history-tools input {
  flex: 1;
}
.history-note,
.history-status {
  padding: 14px 16px;
  border: 1px solid #34465d;
  border-radius: 12px;
  background: #0b1421;
  color: #91a5b8;
  font-size: 10px;
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.history-card {
  position: relative;
  padding: 22px;
  border: 1px solid #2c4259;
  border-radius: 17px;
  background: linear-gradient(145deg, #0e1e2d, #0c0d1c);
}
.history-card.is-ended {
  opacity: 0.72;
}
.history-badge {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  background: #223247;
  color: #9fafbf;
  font-size: 8px;
  font-weight: 900;
}
.is-active .history-badge {
  background: #0f483c;
  color: #83ffd4;
}
.history-card h2 {
  margin: 13px 0 5px;
  font-size: 24px;
}
.history-platform {
  margin: 0;
  color: #60dfe8;
  font-size: 10px;
}
.history-timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 22px 0;
}
.history-timeline i {
  height: 2px;
  background: linear-gradient(90deg, #32dfe8, #c54fee);
}
.history-timeline span:last-child {
  text-align: right;
}
.history-timeline small,
.history-meta small {
  display: block;
  color: #72869a;
  font-size: 7px;
}
.history-timeline b,
.history-meta b {
  font-size: 10px;
}
.history-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.history-meta span {
  padding: 10px;
  border-radius: 10px;
  background: #07111d;
}
.history-card > a {
  display: block;
  margin-top: 17px;
  padding: 11px;
  border: 1px solid #35dfe8;
  border-radius: 9px;
  background: #103b46;
  color: #eaffff;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}
@media (max-width: 760px) {
  .history-shell {
    padding-top: 36px;
  }
  .history-hero {
    display: block;
  }
  .history-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
  }
  .history-grid {
    grid-template-columns: 1fr;
  }
  .history-tools {
    display: grid;
  }
  .history-timeline {
    grid-template-columns: 1fr;
  }
  .history-timeline i {
    display: none;
  }
  .history-timeline span:last-child {
    text-align: left;
  }
}
