.trs-form-shell,
.trs-gallery,
.trs-table-wrap,
.trs-fixtures {
  --trs-navy: #071b35;
  --trs-blue: #114f9d;
  --trs-gold: #b9954f;
  --trs-red: #b4212d;
  --trs-ink: #172133;
  --trs-line: #dfe5ec;
  color: var(--trs-ink);
}

/* Public Leadership photography and player directory. */
.trs-leader-photo {
  aspect-ratio: 4 / 5;
  background: #07182f;
  border: 1px solid rgba(184, 149, 82, 0.65);
  display: block;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.trs-leader-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.trs-leader-photo--placeholder > span {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.trs-leader-photo--placeholder b {
  color: #d7b66d;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
}

.trs-leader-photo--placeholder small {
  font-size: 10px;
  font-weight: 800;
  margin-top: 18px;
  text-transform: uppercase;
}

.trs-player-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trs-player-card {
  background: #fff;
  border-bottom: 3px solid #07182f;
  box-shadow: 0 18px 50px rgba(3, 17, 38, 0.1);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.trs-player-card:hover {
  box-shadow: 0 24px 60px rgba(3, 17, 38, 0.16);
  transform: translateY(-5px);
}

.trs-player-card__media {
  aspect-ratio: 4 / 5;
  background: #07182f;
  color: #d7b66d;
  display: flex;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.trs-player-card__media img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 500ms ease;
  width: 100%;
}

.trs-player-card:hover .trs-player-card__media img {
  transform: scale(1.035);
}

.trs-player-card__media > span {
  align-items: center;
  display: flex;
  font-family: Georgia, serif;
  font-size: 82px;
  justify-content: center;
  width: 100%;
}

.trs-player-card__media small {
  background: #bd2332;
  bottom: 16px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  left: 16px;
  padding: 8px 10px;
  position: absolute;
  text-transform: uppercase;
}

.trs-player-card__body {
  padding: 25px 25px 29px;
}

.trs-player-card__sport,
.trs-player-profile__eyebrow {
  color: #bd2332;
  font-size: 10px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.trs-player-card h3 {
  font-size: 25px;
  margin: 0 0 6px;
}

.trs-player-card h3 a,
.trs-player-card__link {
  color: #07182f;
  text-decoration: none;
}

.trs-player-card__role {
  color: #1557a4;
  font-size: 13px;
  font-weight: 750;
  margin: 0 0 16px;
}

.trs-player-card__body > p:not([class]) {
  color: #526071;
  font-size: 14px;
  line-height: 1.65;
}

.trs-player-card__meta {
  border-top: 1px solid #dce2e7;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 20px;
  padding-top: 14px;
}

.trs-player-card__meta span {
  color: #526071;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.trs-player-card__link {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  margin-top: 22px;
  text-transform: uppercase;
}

.trs-player-profile {
  color: #182334;
  margin: 0 auto;
  max-width: 1280px;
  padding: 78px 32px 110px;
}

.trs-player-profile__top {
  align-items: stretch;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
}

.trs-player-profile__photo {
  aspect-ratio: 4 / 5;
  background: #07182f;
  color: #d7b66d;
  display: flex;
  margin: 0;
  overflow: hidden;
}

.trs-player-profile__photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.trs-player-profile__photo > span {
  align-items: center;
  display: flex;
  font-family: Georgia, serif;
  font-size: 110px;
  justify-content: center;
  width: 100%;
}

.trs-player-profile__identity {
  align-self: center;
}

.trs-player-profile__identity h1 {
  color: #07182f;
  font-size: 76px;
  line-height: 1.02;
  margin: 0 0 22px;
}

.trs-player-profile__status {
  background: #bd2332;
  color: #fff;
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 34px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.trs-player-profile dl {
  border-top: 1px solid #dce2e7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.trs-player-profile dl > div {
  border-bottom: 1px solid #dce2e7;
  padding: 17px 18px 17px 0;
}

.trs-player-profile dt {
  color: #687587;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.trs-player-profile dd {
  color: #07182f;
  font-size: 15px;
  font-weight: 700;
  margin: 5px 0 0;
}

.trs-player-profile__story {
  border-top: 4px solid #b89552;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  margin-top: 80px;
  padding-top: 46px;
}

.trs-player-profile__story aside {
  background: #07182f;
  color: rgba(255, 255, 255, 0.78);
  padding: 30px;
}

.trs-player-profile__story aside .trs-player-profile__eyebrow {
  color: #d7b66d;
}

.trs-player-profile__back {
  color: #1557a4;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  margin-top: 56px;
  text-decoration: none;
  text-transform: uppercase;
}

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

  .trs-player-profile__top,
  .trs-player-profile__story {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .trs-player-profile__photo {
    max-width: 460px;
  }

  .trs-player-profile__identity h1 {
    font-size: 54px;
  }
}

@media (max-width: 560px) {
  .trs-player-grid {
    grid-template-columns: 1fr;
  }

  .trs-player-profile {
    padding: 56px 20px 78px;
  }

  .trs-player-profile dl {
    grid-template-columns: 1fr;
  }

  .trs-player-profile__identity h1 {
    font-size: 40px;
  }
}

.trs-form-shell {
  background: #fff;
  border-top: 4px solid var(--trs-gold);
  box-shadow: 0 18px 55px rgba(7, 27, 53, .1);
  padding: clamp(24px, 4vw, 52px);
}

.trs-form fieldset {
  border: 0;
  border-top: 1px solid var(--trs-line);
  margin: 0 0 36px;
  padding: 32px 0 0;
}

.trs-form fieldset:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.trs-form legend {
  color: var(--trs-navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding: 0;
  text-transform: uppercase;
}

.trs-form legend span {
  color: var(--trs-gold);
  display: inline-block;
  margin-right: 10px;
}

.trs-form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trs-field {
  min-width: 0;
}

.trs-field--full {
  grid-column: 1 / -1;
}

.trs-field label {
  color: var(--trs-navy);
  display: block;
  font-size: .86rem;
  font-weight: 750;
  margin: 0 0 8px;
}

.trs-field input:not([type="checkbox"]),
.trs-field select,
.trs-field textarea {
  appearance: none;
  background: #f8fafc;
  border: 1px solid #cbd5df;
  border-radius: 2px;
  box-sizing: border-box;
  color: var(--trs-ink);
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}

.trs-field textarea {
  min-height: 140px;
  resize: vertical;
}

.trs-field input:focus,
.trs-field select:focus,
.trs-field textarea:focus {
  background: #fff;
  border-color: var(--trs-blue);
  box-shadow: 0 0 0 3px rgba(17, 79, 157, .13);
  outline: 0;
}

.trs-field input[type="file"] {
  padding: 10px;
}

.trs-field small {
  color: #5d6878;
  display: block;
  font-size: .78rem;
  margin-top: 7px;
}

.trs-consent {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.trs-consent input {
  flex: 0 0 20px;
  height: 20px;
  margin: 2px 0 0;
  width: 20px;
}

.trs-consent label {
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.trs-submit {
  align-items: center;
  background: var(--trs-navy);
  border: 1px solid var(--trs-navy);
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.trs-submit:hover {
  background: var(--trs-blue);
  border-color: var(--trs-blue);
  transform: translateY(-2px);
}

.trs-form-notice {
  border-left: 4px solid;
  margin-bottom: 24px;
  padding: 15px 18px;
}

.trs-form-notice--success {
  background: #eef8f1;
  border-color: #25824b;
  color: #155c34;
}

.trs-form-notice--error {
  background: #fff2f2;
  border-color: var(--trs-red);
  color: #7f1821;
}

.trs-honeypot {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.trs-gallery-tabs {
  border-bottom: 1px solid var(--trs-line);
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

.trs-gallery-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #596677;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  padding: 0 2px 12px;
  text-transform: uppercase;
}

.trs-gallery-tabs button.is-active {
  border-color: var(--trs-gold);
  color: var(--trs-navy);
}

.trs-gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trs-gallery-item[hidden] {
  display: none;
}

.trs-gallery-open {
  background: #fff;
  border: 0;
  box-shadow: 0 8px 28px rgba(7, 27, 53, .08);
  color: var(--trs-navy);
  cursor: pointer;
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
}

.trs-gallery-media {
  aspect-ratio: 4 / 3;
  background: var(--trs-navy);
  display: block;
  overflow: hidden;
  position: relative;
}

.trs-gallery-media img {
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease, transform .45s ease;
  width: 100%;
}

.trs-gallery-open:hover img {
  opacity: .88;
  transform: scale(1.035);
}

.trs-gallery-placeholder {
  background: linear-gradient(145deg, #0d315c, #071b35);
  display: block;
  height: 100%;
}

.trs-play {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: 50%;
  color: var(--trs-red);
  display: flex;
  height: 54px;
  justify-content: center;
  left: 50%;
  padding-left: 3px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
}

.trs-gallery-caption {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 16px;
}

.trs-gallery-caption strong {
  font-size: .93rem;
}

.trs-gallery-caption small {
  color: #718093;
  flex: 0 0 auto;
  font-size: .7rem;
}

.trs-lightbox {
  align-items: center;
  background: rgba(3, 12, 25, .96);
  color: #fff;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 64px 5vw 30px;
  position: fixed;
  z-index: 99999;
}

.trs-lightbox[hidden] {
  display: none;
}

.trs-lightbox-stage {
  align-items: center;
  display: flex;
  height: min(74vh, 760px);
  justify-content: center;
  max-width: 1180px;
  width: 100%;
}

.trs-lightbox-stage img,
.trs-lightbox-stage video,
.trs-lightbox-stage iframe {
  border: 0;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.trs-lightbox-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  height: 44px;
  line-height: 1;
  position: absolute;
  right: 20px;
  top: 18px;
  width: 44px;
}

.trs-table-wrap {
  overflow-x: auto;
}

.trs-standings {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

.trs-standings th,
.trs-standings td {
  border-bottom: 1px solid var(--trs-line);
  padding: 16px;
  text-align: center;
}

.trs-standings th:first-child {
  color: var(--trs-navy);
  text-align: left;
}

.trs-standings thead {
  background: var(--trs-navy);
  color: #fff;
}

.trs-fixtures {
  display: grid;
  gap: 14px;
}

.trs-fixture {
  background: #fff;
  border-left: 3px solid var(--trs-gold);
  box-shadow: 0 8px 26px rgba(7, 27, 53, .08);
  display: grid;
  gap: 18px;
  grid-template-columns: 190px minmax(0, 1fr);
  padding: 20px 24px;
}

.trs-fixture-meta {
  color: #5f6c7d;
  font-size: .78rem;
  font-weight: 700;
}

.trs-fixture-meta span {
  display: block;
  margin-top: 4px;
}

.trs-fixture-match {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
}

.trs-fixture-match strong:last-child {
  text-align: right;
}

.trs-empty-state {
  background: #f6f8fb;
  border: 1px dashed #bdc8d5;
  color: #526174;
  padding: 26px;
  text-align: center;
}

.trs-empty-state strong {
  color: var(--trs-navy);
}

.trs-empty-state p {
  margin: 6px 0 0;
}

.trs-map {
  background: var(--trs-navy);
  color: #fff;
}

.trs-map iframe {
  border: 0;
  display: block;
  height: clamp(340px, 52vw, 560px);
  width: 100%;
}

.trs-map-bar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 22px;
}

.trs-map-bar span {
  font-size: .84rem;
}

.trs-map-bar a {
  color: #fff;
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .trs-form-grid,
  .trs-gallery-grid {
    grid-template-columns: 1fr;
  }

  .trs-fixture {
    grid-template-columns: 1fr;
  }

  .trs-form-shell {
    padding: 24px 18px;
  }

  .trs-map-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .trs-gallery-tabs {
    gap: 18px;
  }

  .trs-gallery-caption {
    display: block;
  }

  .trs-gallery-caption small {
    display: block;
    margin-top: 5px;
  }

  .trs-fixture-match {
    font-size: .86rem;
    gap: 8px;
  }
}

/* Premium integration layer */
.trs-form-shell,
.trs-gallery,
.trs-table-wrap,
.trs-fixtures {
  --trs-navy: #07182f;
  --trs-blue: #1557a4;
  --trs-gold: #b89552;
  --trs-red: #bd2332;
  --trs-ink: #182334;
  --trs-line: #dce2e7;
}

.trs-form-shell {
  border-radius: 6px;
  border-top-width: 3px;
  box-shadow: 0 20px 50px rgba(7, 24, 47, .12);
}

.trs-field input:not([type="checkbox"]),
.trs-field select,
.trs-field textarea {
  background: #f7f8fa;
  border-color: #cbd3dc;
  border-radius: 4px;
}

.trs-submit {
  background: var(--trs-blue);
  border-color: var(--trs-blue);
  border-radius: 4px;
}

.trs-submit:hover {
  background: var(--trs-navy);
  border-color: var(--trs-navy);
}

.trs-gallery-toolbar {
  align-items: end;
  border-bottom: 1px solid var(--trs-line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.trs-gallery-toolbar .trs-gallery-tabs {
  border: 0;
  margin: 0;
}

.trs-gallery-album {
  align-items: center;
  color: #5d6877;
  display: flex;
  font-size: .7rem;
  font-weight: 750;
  gap: 9px;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.trs-gallery-album select {
  background: #fff;
  border: 1px solid var(--trs-line);
  border-radius: 4px;
  color: var(--trs-navy);
  font: inherit;
  min-height: 36px;
  padding: 6px 30px 6px 10px;
  text-transform: none;
}

.trs-gallery-grid {
  column-count: 3;
  column-gap: 16px;
  display: block;
}

.trs-gallery-item {
  break-inside: avoid;
  display: inline-block;
  margin: 0 0 16px;
  width: 100%;
}

.trs-gallery-item[hidden] {
  display: none;
}

.trs-gallery-item:nth-child(5n + 1) .trs-gallery-media {
  aspect-ratio: 4 / 5;
}

.trs-gallery-item:nth-child(5n + 4) .trs-gallery-media {
  aspect-ratio: 16 / 10;
}

.trs-gallery-open {
  border: 1px solid var(--trs-line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(7, 24, 47, .08);
  overflow: hidden;
}

.trs-gallery-open:focus-visible {
  outline: 3px solid #d7bd82;
  outline-offset: 3px;
}

.trs-gallery-placeholder {
  background: #0b2442;
}

.trs-gallery-caption {
  align-items: center;
}

.trs-lightbox {
  background: rgba(3, 12, 25, .97);
}

.trs-lightbox-stage {
  height: min(76vh, 780px);
  padding-inline: 58px;
}

.trs-lightbox-stage iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.trs-lightbox-details {
  align-items: center;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  max-width: 1064px;
  width: calc(100% - 116px);
}

.trs-lightbox-details p {
  margin: 14px 0 0;
}

.trs-lightbox-details small {
  color: rgba(255, 255, 255, .6);
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 750;
}

.trs-lightbox-nav {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  width: 48px;
}

.trs-lightbox-nav--previous {
  left: 20px;
}

.trs-lightbox-nav--next {
  right: 20px;
}

.trs-lightbox-nav:hover,
.trs-lightbox-close:hover {
  background: #1557a4;
  border-color: #1557a4;
}

.trs-team-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 64px;
}

.trs-team-card {
  background: #fff;
  border: 1px solid var(--trs-line);
  border-top: 3px solid var(--trs-gold);
  box-shadow: 0 10px 28px rgba(7, 24, 47, .08);
  padding: 22px;
  text-align: center;
}

.trs-team-mark {
  align-items: center;
  background: var(--trs-navy);
  color: #d7bd82;
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  margin: 0 auto 16px;
  width: 72px;
}

.trs-team-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.trs-team-card h3 {
  font-size: 1rem;
  margin-bottom: 17px;
}

.trs-team-card dl {
  border-top: 1px solid var(--trs-line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding-top: 12px;
}

.trs-team-card dl > div {
  display: grid;
  gap: 2px;
}

.trs-team-card dt {
  color: #697586;
  font-size: .6rem;
  font-weight: 750;
  text-transform: uppercase;
}

.trs-team-card dd {
  color: var(--trs-navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.trs-league-live .trs-section-head:not(:first-child) {
  border-top: 1px solid var(--trs-line);
  margin-top: 70px;
  padding-top: 70px;
}

.trs-table-wrap {
  background: #fff;
  border: 1px solid var(--trs-line);
  box-shadow: 0 10px 28px rgba(7, 24, 47, .08);
}

.trs-fixture {
  border: 1px solid var(--trs-line);
  border-left: 3px solid var(--trs-gold);
  border-radius: 4px;
}

.trs-empty-state {
  background: #eef2f5;
  border: 0;
  border-left: 3px solid var(--trs-gold);
  padding: 32px;
}

.trs-contact-details {
  border-bottom: 1px solid var(--trs-line);
  border-top: 1px solid var(--trs-line);
  display: grid;
  gap: 0;
  margin: 30px 0;
}

.trs-contact-details > div {
  display: grid;
  gap: 6px;
  padding: 20px 0;
}

.trs-contact-details > div + div {
  border-top: 1px solid var(--trs-line);
}

.trs-contact-details strong {
  color: var(--trs-navy);
  font-size: .68rem;
  text-transform: uppercase;
}

.trs-contact-details a,
.trs-contact-details address {
  color: #5d6877;
  font-size: .8rem;
  font-style: normal;
  text-decoration: none;
}

.trs-map {
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(7, 24, 47, .12);
  overflow: hidden;
}

@media (max-width: 980px) {
  .trs-gallery-grid {
    column-count: 2;
  }

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

@media (max-width: 680px) {
	.trs-standings {
		font-size: .72rem;
		min-width: 0;
		table-layout: fixed;
	}

	.trs-standings th,
	.trs-standings td {
		padding: 13px 4px;
	}

	.trs-standings th:first-child,
	.trs-standings td:first-child {
		padding-left: 12px;
		text-align: left;
		width: 35%;
	}

	.trs-gallery-toolbar {
    align-items: stretch;
    display: grid;
    gap: 12px;
  }

  .trs-gallery-album {
    justify-content: space-between;
  }

  .trs-gallery-grid {
    column-count: 1;
  }

  .trs-lightbox {
    padding-inline: 12px;
  }

  .trs-lightbox-stage {
    height: 68vh;
    padding-inline: 36px;
  }

  .trs-lightbox-details {
    width: calc(100% - 72px);
  }

  .trs-lightbox-nav {
    height: 40px;
    width: 40px;
  }

  .trs-lightbox-nav--previous {
    left: 8px;
  }

  .trs-lightbox-nav--next {
    right: 8px;
  }

  .trs-team-grid {
    grid-template-columns: 1fr;
  }
}
