/* FDP Chrono pages: they use the site stylesheet (../assets/styles.css); here only what those
   pages need in addition (dial legend, regulations table, notes, sub-navigation). */
:root {
  --line-cyan: rgba(41, 207, 232, 0.24);
  --orange: #f0ac46;
  --red: #f39b84;
}

.subnav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.subnav .sub-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.subnav .sub-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.subnav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.subnav nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.subnav nav a.lang {
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.subnav nav a[aria-current="page"],
.subnav nav a:hover {
  color: #071423;
  background: var(--cyan);
}

.dial-panel {
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(180deg, #153e5c, #091f34);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.46), 0 0 44px rgba(31, 184, 214, 0.18);
}

.dial-panel img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 22%;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.legend li::before {
  display: inline-block;
  width: 22px;
  height: 6px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.legend .cyan::before { background: var(--cyan); }
.legend .gold::before { background: var(--gold); }
.legend .red::before { background: var(--red); }
.legend .orange::before { background: var(--orange); }

.reg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.reg-table th,
.reg-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-cyan);
  text-align: left;
  vertical-align: top;
}

.reg-table th {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reg-table td {
  color: var(--muted);
}

.reg-table td:first-child {
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

.note {
  margin-top: 22px;
  color: var(--muted);
}

.orange {
  color: var(--orange);
  font-weight: 800;
}

.disclaimer {
  border-color: var(--line-strong);
}

.lang-switch {
  color: var(--dim);
}
