.sn-ta {
  --sn-red: #c90d05;
  --sn-yellow: #ffcc00;
  --sn-bg: #111;
  --sn-panel: #181818;
  --sn-line: #303030;
  --sn-muted: #b8b8b8;
  color: #f5f5f5;
  background: var(--sn-bg);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  padding: 18px;
}

.sn-ta * {
  box-sizing: border-box;
}

.sn-ta__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  border-bottom: 1px solid var(--sn-line);
  padding-bottom: 14px;
}

.sn-ta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sn-yellow);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.sn-ta__header h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 26px;
}

.sn-ta__header p {
  max-width: 420px;
  margin: 0;
  color: var(--sn-muted);
  text-align: right;
}

.sn-ta__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 6px;
  background: #151515;
  border: 1px solid #262626;
  border-radius: 8px;
}

.sn-ta .sn-ta__tab,
.sn-ta .sn-ta__tab[type="button"] {
  position: relative;
  min-height: 64px;
  border: 1px solid #2d2d2d;
  border-radius: 7px;
  background: #1c1c1c !important;
  background-color: #1c1c1c !important;
  color: #f1f1f1 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  text-decoration: none;
}

.sn-ta .sn-ta__tab.is-active,
.sn-ta .sn-ta__tab[type="button"].is-active {
  background: linear-gradient(180deg, #2a1a18 0%, #191919 100%) !important;
  background-color: #191919 !important;
  border-color: var(--sn-red);
  color: #fff !important;
  box-shadow: inset 0 -3px 0 var(--sn-red);
}

.sn-ta .sn-ta__tab:hover,
.sn-ta .sn-ta__tab:focus,
.sn-ta .sn-ta__tab[type="button"]:hover,
.sn-ta .sn-ta__tab[type="button"]:focus {
  background: #242424 !important;
  background-color: #242424 !important;
  color: #fff !important;
  border-color: #555;
  transform: translateY(-1px);
  outline: none;
}

.sn-ta .sn-ta__tab.is-active:hover,
.sn-ta .sn-ta__tab.is-active:focus {
  background: linear-gradient(180deg, #2a1a18 0%, #191919 100%) !important;
  background-color: #191919 !important;
}

.sn-ta__tab-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #252525;
  color: var(--sn-yellow);
}

.sn-ta__tab.is-active .sn-ta__tab-icon {
  background: var(--sn-red);
  color: #fff;
}

.sn-ta__tab-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.sn-ta .sn-ta__tab-copy strong {
  font-size: 14px;
  line-height: 1.2;
  color: #fff !important;
}

.sn-ta .sn-ta__tab-copy small {
  max-width: 100%;
  overflow: hidden;
  color: var(--sn-muted) !important;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sn-ta__tab-state {
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid #3b3b3b;
  border-radius: 999px;
  padding: 3px 7px;
  color: #dcdcdc;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.sn-ta__panel {
  display: none;
}

.sn-ta__panel.is-active {
  display: block;
}

.sn-ta__round {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--sn-panel);
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

.sn-ta__round h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 19px;
}

.sn-ta__round p {
  margin: 0;
  color: var(--sn-muted);
  font-size: 13px;
}

.sn-ta__round p span {
  margin-left: 12px;
}

.sn-ta__status {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.sn-ta__status--active {
  background: rgba(255, 204, 0, 0.13);
  color: var(--sn-yellow);
}

.sn-ta__status--completed {
  background: rgba(95, 219, 138, 0.14);
  color: #74e39c;
}

.sn-ta__status--frozen {
  background: rgba(103, 182, 255, 0.14);
  color: #9ccfff;
}

.sn-ta__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--sn-line);
  border-radius: 8px;
}

.sn-ta__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #151515;
}

.sn-ta__table th,
.sn-ta__table td {
  padding: 11px 12px;
  border-bottom: 1px solid #282828;
  text-align: left;
}

.sn-ta__table th {
  background: #222;
  color: var(--sn-yellow);
  font-size: 12px;
  text-transform: uppercase;
}

.sn-ta__table tbody tr:nth-child(even) {
  background: #191919;
}

.sn-ta__time {
  color: #fff;
  font-weight: 800;
}

.sn-ta__pilot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #fff;
  font-weight: 700;
}

.sn-ta__flag {
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16);
}

.sn-ta__empty,
.sn-ta-empty {
  color: var(--sn-muted);
  background: #181818;
  border: 1px solid var(--sn-line);
  border-radius: 8px;
  padding: 14px;
}

@media (max-width: 720px) {
  .sn-ta {
    padding: 12px;
  }

  .sn-ta__header,
  .sn-ta__round {
    align-items: flex-start;
    flex-direction: column;
  }

  .sn-ta__header p {
    text-align: left;
  }

  .sn-ta__tab {
    flex: 1 1 100%;
    justify-content: center;
  }

  .sn-ta__tabs {
    grid-template-columns: 1fr;
  }
}
