:root {
  --primary_orange: #FF4A00;
  --black: #000000;
  --white: #FFFFFF;

  --radius: 16px;
  --stroke: 4px;
  --shadow-step: 10px;
  --gap: 14px;

  /* Leopard pattern: orange/black only (no gradients). */
  --pattern-leopard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Crect width='180' height='180' fill='%23FF4A00'/%3E%3Cg fill='%23000000'%3E%3Ccircle cx='34' cy='32' r='22'/%3E%3Ccircle cx='112' cy='40' r='18'/%3E%3Ccircle cx='156' cy='76' r='20'/%3E%3Ccircle cx='58' cy='98' r='18'/%3E%3Ccircle cx='126' cy='124' r='22'/%3E%3Ccircle cx='26' cy='154' r='18'/%3E%3Ccircle cx='92' cy='162' r='16'/%3E%3C/g%3E%3Cg fill='%23FF4A00' stroke='%23000000' stroke-width='10'%3E%3Ccircle cx='34' cy='32' r='14'/%3E%3Ccircle cx='112' cy='40' r='10'/%3E%3Ccircle cx='156' cy='76' r='12'/%3E%3Ccircle cx='58' cy='98' r='10'/%3E%3Ccircle cx='126' cy='124' r='14'/%3E%3Ccircle cx='26' cy='154' r='10'/%3E%3Ccircle cx='92' cy='162' r='9'/%3E%3C/g%3E%3C/svg%3E");

  /* Poster-dot/noise: black on white only. */
  --pattern-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' fill='%23FFFFFF'/%3E%3Cg fill='%23000000'%3E%3Ccircle cx='6' cy='8' r='1'/%3E%3Ccircle cx='20' cy='14' r='1'/%3E%3Ccircle cx='34' cy='6' r='1'/%3E%3Ccircle cx='44' cy='22' r='1'/%3E%3Ccircle cx='10' cy='30' r='1'/%3E%3Ccircle cx='26' cy='34' r='1'/%3E%3Ccircle cx='40' cy='40' r='1'/%3E%3Ccircle cx='16' cy='44' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--black);
  background-color: var(--white);
  background-image: var(--pattern-dots);
  background-repeat: repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.container--wide {
  width: min(1400px, calc(100% - 32px));
}

.container--protocol {
  width: min(1320px, calc(100% - 32px));
}

.container--racer {
  width: min(1800px, calc(100% - 32px));
}

.header {
  position: sticky;
  top: 0;
  background: var(--black);
  border-bottom: var(--stroke) solid var(--primary_orange);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 14px 0;
}

.logo {
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.nav {
  display: flex;
  gap: 10px;
  color: var(--white);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: var(--stroke) solid var(--white);
  background: var(--black);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav a:hover {
  background: var(--primary_orange);
  border-color: var(--primary_orange);
  color: var(--white);
}

.main {
  padding: 0 0 70px;
}

.hero {
  padding: 54px 0 28px;
  background-color: var(--primary_orange);
  background-image: var(--pattern-leopard);
  background-repeat: repeat;
  border-bottom: var(--stroke) solid var(--black);
}

.hero__inner {
  padding: 34px;
  background: var(--black);
  border: var(--stroke) solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-step) var(--shadow-step) 0 var(--black);
  color: var(--white);
  position: relative;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(42px, 6vw, 82px);
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.92;
}

.hero__logo {
  width: min(180px, 100%);
  height: auto;
  margin: 0;
  position: absolute;
  top: 24px;
  right: 24px;
}

.hero__subtitle {
  margin: 0;
  font-size: 18px;
  color: var(--white);
  max-width: 760px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero__subtitle,
.hero__actions,
.hero h1 {
  max-width: calc(100% - 220px);
}

.hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .hero__inner {
    text-align: center;
  }

  .hero__logo {
    position: static;
    margin: 0 auto 12px;
  }

  .hero__subtitle,
  .hero__actions,
  .hero h1 {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }
}

.section {
  padding: 28px 0;
}

.section--tight {
  padding: 18px 0;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section__lead {
  margin: 0 0 14px;
  color: var(--black);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  max-width: 920px;
}

.section__header h1,
.section__header h2 {
  margin: 0;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}

.section__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.link {
  color: var(--black);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
  border-bottom: var(--stroke) solid var(--primary_orange);
  padding-bottom: 2px;
}

.link:hover {
  color: var(--primary_orange);
}

.link--inline {
  color: var(--primary_orange);
  border-bottom: var(--stroke) solid var(--primary_orange);
}

.link--inline:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--photos {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid--photos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.photo {
  background: var(--white);
  border: var(--stroke) solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-step) var(--shadow-step) 0 var(--black);
  overflow: hidden;
  display: block;
}

.photo__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.album__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.card,
.product,
.row {
  background: var(--white);
  border: var(--stroke) solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-step) var(--shadow-step) 0 var(--black);
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card--fullbleed-table {
  overflow: visible;
}

.card--fullbleed-table .card__body {
  padding-left: 0;
  padding-right: 0;
}

.card--viewport80 .card__body {
  padding: 0;
}

.protocol-shell--viewport80 {
  width: min(80vw, 1600px);
  margin-left: auto;
  margin-right: auto;
}

.card__media {
  display: block;
  border-bottom: var(--stroke) solid var(--black);
}

.card__media--event-cover {
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.card__media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card__media-img--contain {
  aspect-ratio: auto;
  height: 500px;
  object-fit: contain;
}

.card__body {
  padding: 18px 18px 8px;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card__top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.card__kicker {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 10px;
  background: var(--black);
  border: var(--stroke) solid var(--black);
  border-radius: var(--radius);
  padding: 6px 10px;
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.card__title {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.card__meta {
  margin-top: 10px;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.card__text {
  margin: 10px 0 0;
  color: var(--black);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.card__list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--black);
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.4;
}

.card__actions {
  padding: 14px 18px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}

.seo-intro {
  margin-bottom: calc(16px + var(--shadow-step) + var(--stroke));
}

.seo-intro .coach__field {
  margin-top: 0;
}

.seo-intro .coach__field + .coach__field {
  margin-top: 12px;
}

.seo-faq {
  padding-top: 20px;
}

.seo-faq__title {
  margin: 0 0 12px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 900;
}

.seo-faq__item {
  margin-bottom: 10px;
}

.seo-faq__item--last {
  margin-bottom: 0;
}

.seo-faq__answer {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.product {
  overflow: hidden;
}

.product__media {
  aspect-ratio: 4 / 3;
  background: var(--black);
  border-bottom: var(--stroke) solid var(--black);
  display: grid;
  place-items: center;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__placeholder {
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product__body {
  padding: 16px;
}

.product__title {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.product__price {
  color: var(--primary_orange);
  font-weight: 900;
  text-transform: uppercase;
}

.product__text {
  margin-top: 10px;
  color: var(--black);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.stack {
  display: grid;
  gap: 12px;
}

.row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap);
  padding: 16px;
}

.row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.row__kicker {
  color: var(--white);
  font-size: 13px;
  background: var(--primary_orange);
  border: var(--stroke) solid var(--black);
  border-radius: var(--radius);
  padding: 6px 10px;
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.row__kicker-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.row__badge {
  color: var(--black);
  font-size: 13px;
  background: var(--white);
  border: var(--stroke) solid var(--black);
  border-radius: var(--radius);
  padding: 6px 10px;
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.row__badge--link {
  text-decoration: none;
}

.row__badge--link:hover {
  background: var(--primary_orange);
  color: var(--white);
}

.row__title {
  margin-top: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.row__meta {
  margin-top: 10px;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.row__text {
  margin-top: 10px;
  color: var(--black);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  border: var(--stroke) solid var(--black);
  transition: transform 90ms linear;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--primary_orange);
  color: var(--white);
}

.button--ghost {
  background: var(--black);
  color: var(--white);
}

.button--ghost:hover {
  background: var(--primary_orange);
  color: var(--white);
}

.empty {
  padding: 18px;
  border: var(--stroke) dashed var(--black);
  border-radius: var(--radius);
  color: var(--black);
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.footer {
  border-top: var(--stroke) solid var(--primary_orange);
  background: var(--black);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.footer__org {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  opacity: 0.85;
  text-transform: none;
  letter-spacing: 0;
  max-width: 780px;
}

.footer__links a {
  color: var(--white);
  border-bottom: var(--stroke) solid var(--primary_orange);
  padding-bottom: 2px;
}

.footer__links a:hover {
  color: var(--primary_orange);
}

.grid--team {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid--team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .grid--team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--team {
    grid-template-columns: 1fr;
  }
}

.team-card__media {
  border-bottom: var(--stroke) solid var(--black);
  background: #f3f4f6;
  overflow: hidden;
}

.team-card__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.team-card__avatar--photo {
  transform: scale(1.18);
  transform-origin: 50% 18%;
}

.team-card__avatar--placeholder {
  object-fit: contain;
  object-position: 50% 50%;
  transform: none;
  background: #fff;
}

.team-card__body {
  text-align: center;
}

.team-card__name {
  font-weight: 900;
}

.sponsor-card {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.sponsor-card__link {
  display: grid;
  place-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.sponsor-card__link:hover .sponsor-card__name {
  color: var(--primary_orange);
}

.sponsor-card__logo {
  width: min(220px, 100%);
  max-height: 90px;
  object-fit: contain;
}

.sponsor-card__name {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.about {
  display: grid;
  gap: var(--gap);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 12px;
}

.about__block {
  padding: 12px;
  border-radius: var(--radius);
  border: var(--stroke) solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow-step) var(--shadow-step) 0 var(--black);
}

.about__title {
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about__list {
  margin: 0;
  padding-left: 18px;
  color: var(--black);
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.about__meta {
  margin-top: 14px;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 18px;
}

.filters__field {
  display: grid;
  gap: 6px;
  min-width: 220px;
}

.filters__field--grow {
  flex: 1 1 320px;
}

.filters__field label {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.filters__field input,
.filters__field select {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: var(--stroke) solid var(--black);
  background: var(--white);
  font-weight: 900;
  font-size: 14px;
}

.filters__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.coaches {
  display: grid;
  gap: var(--gap);
}

.coach__header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.coach__avatar-wrap {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: var(--stroke) solid var(--black);
  background: var(--white);
  flex: none;
  overflow: hidden;
}

.coach__avatar-wrap--lg {
  width: 96px;
  height: 96px;
}

.coach__avatar {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--white);
  object-fit: var(--avatar-fit, cover);
  object-position: var(--avatar-pos-x, 50%) var(--avatar-pos-y, 50%);
  transform: scale(var(--avatar-scale, 1));
  transform-origin: var(--avatar-pos-x, 50%) var(--avatar-pos-y, 50%);
}

.coach__header-text {
  min-width: 0;
}

.coach__title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.coach:hover {
  transform: translateY(-2px);
}

.coach {
  transition: transform 90ms linear;
  cursor: pointer;
}

.coach__subtitle {
  margin-top: 6px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.coach__field {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.coach__label {
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--primary_orange);
}

.coach__value {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.45;
}

.coach__links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coach__reviews {
  margin-top: 14px;
  border-top: var(--stroke) solid var(--black);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.coach__reviews-toggle {
  width: fit-content;
  cursor: pointer;
}

.coach__reviews-toggle::-webkit-details-marker {
  display: none;
}

.coach__reviews > summary {
  list-style: none;
}

.coach__reviews-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  width: 100%;
}

.coach__review {
  border-left: var(--stroke) solid var(--black);
  padding: 10px 0 10px 14px;
}

.coach__review-header {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.45;
}

.coach__review-body {
  margin-top: 6px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .grid--cards {
    grid-template-columns: 1fr;
  }
  .grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .row {
    flex-direction: column;
    align-items: stretch;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .grid--products {
    grid-template-columns: 1fr;
  }
  .hero__inner {
    padding: 22px;
  }
}

.hint {
  font-weight: 900;
  font-size: 12px;
  line-height: 1.35;
}

.input {
  width: 100%;
  border: var(--stroke) solid var(--black);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 6px 6px 0 var(--black);
}

.input:focus {
  outline: none;
  border-color: var(--primary_orange);
}

.button--compact {
  padding: 10px 12px;
  font-size: 12px;
}

.protocol {
  overflow: hidden;
}

.participants .protocol {
  overflow: visible;
}

.protocol__toolbar {
  padding: 14px 14px 10px;
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: 1fr minmax(260px, 360px);
}

.protocol__search {
  justify-self: end;
  width: 100%;
}

@media (max-width: 760px) {
  .protocol__toolbar {
    grid-template-columns: 1fr;
  }
  .protocol__search {
    justify-self: stretch;
  }
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.protocol__content {
  padding: 14px;
}

.protocol--fullbleed .protocol__content {
  padding-left: 0;
  padding-right: 0;
}

.protocol--viewport80 .protocol__table-wrap {
  width: 100%;
}

.protocol--viewport80 .tabs {
  justify-content: flex-start;
}

.protocol__pane {
  display: none;
}

.protocol__pane.is-active {
  display: block;
}

.protocol__table {
  display: none;
}

.protocol__table.is-active {
  display: block;
}

.protocol__table-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin: 6px 0 10px;
  flex-wrap: wrap;
}

.protocol__table-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.protocol__table-meta {
  font-weight: 900;
  font-size: 12px;
}

.protocol__table-wrap {
  border: var(--stroke) solid var(--black);
  border-radius: calc(var(--radius) - 4px);
  overflow: auto;
  background: var(--white);
  max-height: 520px;
}

.protocol--fullbleed .protocol__table-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-left-width: 0;
  border-right-width: 0;
  border-radius: 0;
}

.racers-page .protocol__table-wrap {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

.racers-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 12px 0 0;
}

.racers-search .input {
  flex: 1 1 320px;
  min-width: 260px;
}

.racers-search .button {
  flex: 0 0 auto;
}

.participants .protocol__table-wrap {
  max-height: none;
}

.protocol--tall .protocol__table-wrap {
  max-height: 88vh;
  min-height: 900px;
}

.protocol-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.participants [data-participants-pane="list"] .protocol-table {
  min-width: 0;
  table-layout: fixed;
}

@media (max-width: 760px) {
  .protocol--tall .protocol__table-wrap {
    max-height: 78vh;
    min-height: 600px;
  }
}

.protocol-table thead th {
  position: sticky;
  top: 0;
  background: var(--black);
  color: var(--white);
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.protocol-table tbody td {
  padding: 10px 12px;
  border-top: 2px solid var(--black);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.participants [data-participants-pane="list"] .protocol-table tbody td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.participants [data-participants-pane="teams"] .protocol-table,
.participants [data-participants-pane="cities"] .protocol-table {
  min-width: 0;
  table-layout: auto;
}

.participants [data-participants-pane="categories"] .protocol-table {
  min-width: 0;
  table-layout: fixed;
}

.participants [data-participants-pane="categories"] .protocol-table thead th,
.participants [data-participants-pane="categories"] .protocol-table tbody td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participants [data-participants-pane="categories"] .protocol-table thead th:first-child,
.participants [data-participants-pane="categories"] .protocol-table tbody td:first-child {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  text-align: left;
}

.participants [data-participants-pane="categories"] .protocol-table thead th:nth-child(2),
.participants [data-participants-pane="categories"] .protocol-table tbody td:nth-child(2) {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  text-align: left;
}

.participants [data-participants-pane="categories"] .protocol-table thead th:nth-child(3),
.participants [data-participants-pane="categories"] .protocol-table tbody td:nth-child(3) {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  text-align: right;
}

.participants [data-participants-pane="teams"] .protocol-table thead th,
.participants [data-participants-pane="teams"] .protocol-table tbody td,
.participants [data-participants-pane="cities"] .protocol-table thead th,
.participants [data-participants-pane="cities"] .protocol-table tbody td {
  white-space: normal;
}

.participants [data-participants-pane="teams"] .protocol-table thead th:first-child,
.participants [data-participants-pane="teams"] .protocol-table tbody td:first-child,
.participants [data-participants-pane="cities"] .protocol-table thead th:first-child,
.participants [data-participants-pane="cities"] .protocol-table tbody td:first-child {
  width: auto;
  min-width: 0;
  max-width: none;
  text-align: left;
}

.protocol-table thead th:first-child,
.protocol-table tbody td:first-child {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  text-align: right;
}

.protocol-table thead th:first-child {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}

.protocol-table thead th.protocol-col--bib,
.protocol-table tbody td.protocol-col--bib {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  text-align: right;
}

.protocol-table thead th.protocol-col--bib {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}

.participants .participant-col--bib {
  width: 56px;
  min-width: 56px;
  max-width: 56px;
}

.participants .participant-col--team {
  width: 220px;
}

.participants .participant-col--distance {
  width: 210px;
}

.racer-profile .protocol__table-wrap {
  max-height: none;
}

.racer-profile .protocol-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.racer-profile .protocol-table thead th.racer-col:not(.racer-col--race),
.racer-profile .protocol-table tbody td.racer-col:not(.racer-col--race) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.racer-profile .racer-col--race {
  min-width: 520px;
}

.racer-profile .racer-col--year,
.racer-profile .racer-col--place {
  width: 56px;
  text-align: right;
}

.racer-profile .protocol-table thead th.racer-col--race,
.racer-profile .protocol-table tbody td.racer-col--race {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  word-break: normal;
}

.racer-profile .racer-col--time,
.racer-profile .racer-col--speed {
  width: 64px;
}

.racer-profile .racer-col--category {
  width: 96px;
}

.racer-profile .racer-col--distance {
  width: 80px;
}

.racer-profile .racer-col--sheet {
  width: 96px;
}

.racer-profile .aliases-table {
  min-width: 0;
  table-layout: fixed;
}

.racer-profile .aliases-table thead th,
.racer-profile .aliases-table tbody td {
  white-space: normal;
  word-break: break-word;
}

.racer-profile .aliases-table thead th:last-child,
.racer-profile .aliases-table tbody td:last-child {
  width: 55%;
}

.participants .participant-col--category {
  width: 120px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.participants .participant-col--city {
  width: 180px;
}

@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  .participants [data-participants-pane="list"] .protocol-table {
    min-width: 1030px;
    table-layout: fixed;
  }

  .participants .participant-col--bib {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
  }

  .participants .participant-col--distance {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
  }

  .participants .participant-col--category {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
  }

  .participants [data-participants-pane="list"] .participant-col--name {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .participants [data-participants-pane="list"] .protocol-table tbody td.participant-col--name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .participants [data-participants-pane="list"] .participant-col--team {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
  }

  .participants [data-participants-pane="list"] .participant-col--city {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }

  .participants [data-participants-pane="list"] .participant-col--distance {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .participants [data-participants-pane="list"] .protocol-table tbody td.participant-col--distance {
    overflow: visible;
    text-overflow: clip;
  }
}

.protocol-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.04);
}

.protocol-table tbody tr.is-hidden {
  display: none;
}

.embed {
  width: 100%;
  border: var(--stroke) solid var(--black);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.embed__iframe {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 780px;
  max-width: 100%;
  border: 0;
}

@media (max-width: 760px) {
  .embed__iframe {
    height: 70vh;
    min-height: 520px;
  }
}

.card--embed .card__body {
  padding: 0;
}

.card--embed .embed {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.feed {
  display: grid;
  gap: 14px;
}

.feed__item .card__body {
  display: grid;
  gap: 10px;
}

.feed__title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.feed__meta {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
}

.feed__text {
  font-size: 16px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.feed__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.feed__image {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--stroke) solid var(--black);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.feed__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
