.practice-page.bright-landing {
  width: 100%;
  max-width: none;
  padding: 6px 0 0;
}

.bright-feature,
.bright-catalogue {
  display: grid;
  grid-template-columns: minmax(0, 2.18fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.bright-hero {
  display: flex;
  align-items: stretch;
  min-height: 408px;
  border: 1px solid #925e64;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #25191bfa, #25191bbd 52%, #25191b08),
    url('/practice/media/bright-angle/coordinate-route.svg') right center / cover;
}

.bright-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 90px 32px 61px;
}

.bright-hero-copy > p {
  margin: 0 0 8px;
  color: #ffdf8a;
  font-size: 15px;
  font-weight: 700;
}

.bright-hero-copy h1 {
  max-width: 10.5em;
  margin: 0;
  color: #fff4e8;
  font-size: clamp(32px, 3.48vw, 50px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.bright-hero-copy .practice-button {
  justify-content: space-between;
  min-width: 192px;
  min-height: 48px;
  margin-block-start: auto;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

.bright-feature-aside,
.bright-catalogue-aside {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.bright-invite,
.bright-catalogue-poster,
.bright-work-link,
.course-cover {
  position: relative;
  min-width: 0;
  text-decoration: none;
}

.bright-invite {
  display: flex;
  min-height: 122px;
  align-items: center;
  color: #311f20;
}

.bright-invite > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.bright-invite > span {
  position: relative;
  display: grid;
  gap: 4px;
  margin-inline-start: 20px;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.25;
}

.bright-invite .m3-icon { font-size: 19px; }

.bright-progress {
  min-height: 82px;
  padding: 15px 19px 13px;
  border: 5px solid #463033;
  border-radius: 18px;
  background: #25191b;
  box-shadow: 0 2px #211417;
}

.bright-progress h2 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.3;
}

.bright-progress p {
  margin: 4px 0 0;
  color: #e0c2ba;
  font-size: 15px;
}

.bright-progress-value {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #e0c2ba;
}

.bright-progress-value strong { color: #ffdf8a; }

.bright-progress progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 12px;
  margin: 6px 0;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: #463033;
}

.bright-progress progress::-webkit-progress-bar { background: #463033; }
.bright-progress progress::-webkit-progress-value { background: #ffdf8a; border-radius: 99px; }
.bright-progress progress::-moz-progress-bar { background: #ffdf8a; border-radius: 99px; }

.bright-work-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  padding: 10px 18px;
  border-radius: 13px;
  background: #463033;
  box-shadow: 0 2px #633d42, 0 4px #211417;
  color: #fff4e8;
}

.bright-work-link > :first-child { color: #ffdf8a; }

.practice-example-works h2 { margin: 18px 0 10px; font-size: 1rem; }
.practice-example-works ul { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.practice-example-works small { display: block; color: var(--muted); }

.bright-cover-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.home-cover-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-block-start: 32px;
}

.bright-landing-title {
  margin: 0 0 23px;
  font-size: 40px;
  line-height: 1.15;
}

.bright-catalogue { grid-template-columns: minmax(0, 2.42fr) minmax(0, 1fr); }

.catalogue-cover-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.catalogue-cover-grid > a { grid-column: span 2; }
.catalogue-cover-grid > a:nth-child(-n + 2) { grid-column: span 3; }

.course-cover {
  display: flex;
  align-items: flex-end;
  min-height: 202px;
  padding: 0 32px 24px 18px;
  color: #17172a;
  border-radius: 20px;
}

.catalogue-cover-grid .course-cover {
  min-height: 234px;
  padding-block-end: 25px;
}

.course-cover-art,
.course-cover-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.course-cover-copy {
  position: relative;
  display: grid;
  gap: 1px;
  line-height: 1.27;
  min-width: 0;
}

.course-cover-copy strong { font-size: clamp(19px, 1.75vw, 25px); }
.catalogue-cover-grid .course-cover-copy strong { font-size: clamp(22px, 1.95vw, 28px); }
.course-cover-grade { font-size: 15px; font-weight: 700; }
.course-cover-count { font-size: 14px; font-weight: 500; }
.course-cover-topic { font-size: 15px; font-weight: 650; }

.course-cover-arrow {
  position: absolute;
  inset: auto 20px 38px auto;
  display: flex;
  align-items: center;
  rotate: -28deg;
}

.course-cover-arrow .m3-icon { font-size: 16px; }

.bright-all-courses {
  display: flex;
  justify-content: flex-end;
  margin-block: 14px 20px;
}

.bright-catalogue-poster {
  display: flex;
  align-items: flex-end;
  min-height: 274px;
  padding: 22px;
  border: 6px solid #463033;
  border-radius: 19px;
  background:
    linear-gradient(0deg, #25191b, #25191b12 74%),
    url('/practice/media/bright-angle/coordinate-route.svg') right center / cover;
  color: #fff4e8;
  font-size: 23px;
  line-height: 1.25;
  box-shadow: 0 4px #633d42;
}

.bright-landing :is(.bright-invite, .bright-work-link, .course-cover, .bright-catalogue-poster):focus-visible {
  outline: 3px solid #fff0b8;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .bright-feature, .bright-catalogue { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .home-cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalogue-cover-grid > a { grid-column: span 3; }
}

@media (max-width: 800px) {
  .practice-page.bright-landing { padding-block-start: 15px; }
  .bright-feature, .bright-catalogue { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bright-hero { min-height: 302px; align-items: end; }
  .bright-hero-copy { padding: 20px 16px 17px; }
  .bright-hero-copy h1 { font-size: clamp(23px, 7.1vw, 38px); max-width: 440px; }
  .bright-hero-copy .practice-button { margin-block-start: 18px; }
  .bright-hero {
    background:
      linear-gradient(0deg, #25191bfa, #25191bb5 49%, #25191b08 92%),
      url('/practice/media/bright-angle/coordinate-route.svg') right top / cover;
  }
  .bright-catalogue-aside { grid-row: 1; }
  .bright-catalogue-poster { display: none; }
  .bright-landing-title { font-size: 30px; margin-bottom: 14px; }
  .bright-invite { min-height: 104px; }
  .bright-invite > span { font-size: 24px; }
}

@media (max-width: 620px) {
  .bright-cover-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .catalogue-cover-grid > a, .catalogue-cover-grid > a:nth-child(-n + 2) { grid-column: auto; }
  .course-cover, .catalogue-cover-grid .course-cover {
    min-height: 110px;
    align-items: center;
    padding: 12px min(36%, 126px) 19px 18px;
  }
  .course-cover-copy { gap: 2px; }
  .course-cover-copy strong, .catalogue-cover-grid .course-cover-copy strong { font-size: 23px; }
  .course-cover-arrow { inset: auto auto 29px 111px; }
  .catalogue-cover-grid .course-cover-arrow { bottom: 26px; }
  .home-cover-grid .course-cover-count, .course-cover-topic { display: none; }
}

.practice-page.bright-tournament {
  width: 100%;
  max-width: none;
  padding: 0;
}

.tournament-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.1vw, 40px);
  line-height: 1.16;
}

.tournament-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.tournament-heading > span {
  white-space: nowrap;
  color: #e0c2ba;
  font-weight: 700;
}

.tournament-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.17fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.tournament-surface {
  border: 1px solid #633d42;
  border-radius: 18px;
  padding: 15px;
  background: #463033;
  box-shadow: 0 3px #211417;
}

.tournament-entry {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 24px;
  background: #25191b;
}

.tournament-demo-note {
  margin: 13px 0 0;
  color: #e0c2ba;
  font-size: 15px;
}
.tournament-entry .tournament-demo-note { margin: 0; }

.tournament-world {
  min-height: 282px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #25191b40, #25191b08),
    url('/practice/media/bright-angle/world.jpg') center / cover;
}

.tournament-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  margin: 0 0 13px;
  border-radius: 12px;
  background: #25191b;
}

.tournament-tabs a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 10px;
  color: #e0c2ba;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.tournament-tabs [aria-current='page'] {
  box-shadow: inset 0 0 0 1px #b98e86;
  color: #fff4e8;
  background: #724447;
}

.tournament-table {
  width: 100%;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #25191b;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.tournament-table :is(th, td) {
  padding: 10px;
  border-block-end: 1px solid #633d42;
}

.tournament-table thead th {
  color: #e0c2ba;
  background: #4c3336;
  font-size: 14px;
}

.tournament-table :is(td, thead th):first-child { text-align: center; }
.tournament-table tbody tr:last-child > * { border-block-end: 0; }

.tournament-own > * { background: #473132; }
.tournament-own th { color: #a3e4cb; }
.tournament-own small { display: block; }
.tournament-table tbody td:last-child { white-space: nowrap; }

.tournament-team-progress {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: #a3e4cb;
}

.tournament-team-progress progress {
  width: clamp(28px, 12vw, 135px);
  height: 9px;
  accent-color: #a3e4cb;
}

.tournament-aside { display: grid; gap: 14px; min-width: 0; }
.tournament-position {
  min-height: 145px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 20px;
  background:
    linear-gradient(90deg, #25191bf2 4%, #25191b44 100%),
    url('/practice/media/bright-angle/world.jpg') center / cover;
}

.tournament-position p { margin: 0; font-weight: 700; }
.tournament-position strong { font-size: 32px; color: #ffdf8a; line-height: 1.1; }
.tournament-aside .practice-button { min-height: 48px; }
.tournament-rules { max-width: 840px; padding: 22px; background: #25191b; }
.tournament-rules h2 { margin: 0 0 5px; font-size: 20px; }
.tournament-rules p { margin: 0 0 20px; color: #e0c2ba; }
.tournament-rules p:last-child { margin: 0; }
.tournament-back { margin-block-start: 18px; }

@media (max-width: 760px) {
  .tournament-grid { grid-template-columns: minmax(0, 1fr); }
  .tournament-world { min-height: 153px; }
  .tournament-position { min-height: 110px; }
  .tournament-aside { grid-row: 1; }
  .tournament-surface { padding: 10px; }
  .tournament-entry { padding: 20px; }
  .tournament-rules { padding: 18px; }
  .tournament-table :is(th, td) { padding: 9px 6px; font-size: 14px; }
  .tournament-tabs a { padding-inline: 9px; }
}
