.fosj-rule {
  background: #050505;
  color: #fff;
  margin: -1rem 0 0;
  padding: 1.5rem 1.25rem 4rem;
}

.fosj-rule h1,
.fosj-rule h2,
.fosj-rule h3,
.fosj-rule-brand__title {
  font-family: "Cinzel", "Times New Roman", serif !important;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: 0;
  margin: 0;
}

.fosj-rule-brand__crest {
  width: 72px;
  height: auto;
  margin-bottom: 0.75rem;
}

.fosj-rule-brand__title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase !important;
}

.fosj-rule-brand__title span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.42em;
  margin-bottom: 0.35rem;
}

.fosj-rule-brand__sub {
  margin: 0.8rem 0 0;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fosj-rule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-family: Mulish, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
}

.fosj-rule-btn--light { background: #fff; color: #111 !important; }
.fosj-rule-btn--gold { background: #f5c400; color: #111 !important; }
.fosj-rule-btn--gray { background: #4a4a4a; color: #fff !important; }

.fosj-rule-playicon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.fosj-rule-textlink {
  background: none;
  border: 0;
  color: #f5c400 !important;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.fosj-rule-hero {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.25) 100%),
    var(--fosj-hero, none) center right / cover no-repeat,
    #050505;
  border-radius: 0;
  padding: 1.5rem 0 2rem;
}

.fosj-rule-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(240px, 1fr);
  gap: 2rem;
  align-items: end;
  min-height: 460px;
}

.fosj-rule-kicker {
  color: #f5c400;
  font-weight: 700;
  margin: 1.4rem 0 0.8rem;
}

.fosj-rule-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

.fosj-rule-hero__aside {
  position: relative;
  padding-bottom: 1rem;
}

.fosj-rule-hero__signup {
  position: absolute;
  top: 0;
  right: 0;
}

.fosj-rule-intro {
  max-width: 34rem;
  margin: 4.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.fosj-rule-stats {
  margin: 1rem 0 0;
  color: #d5d5d5;
  font-size: 0.95rem;
}

.fosj-rule-catalog {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 2rem;
}

.fosj-rule-row { margin-bottom: 2rem; }

.fosj-rule-row h2 {
  font-size: 1.25rem !important;
  margin: 0 0 0.8rem !important;
  color: #fff;
}

.fosj-rule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.fosj-rule-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none !important;
}

.fosj-rule-card img,
.fosj-rule-card__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fosj-rule-card__fallback {
  display: flex;
  align-items: flex-end;
  padding: 2rem 0.6rem 0.6rem;
  font-size: 0.85rem;
}

.fosj-rule-card__n {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #f5c400;
  color: #111;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fosj-rule-card__state,
.fosj-rule-soon,
.fosj-rule-empty {
  color: #f5c400;
}

.fosj-rule-card__state {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  background: rgba(0, 0, 0, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
}

.fosj-rule-card.is-current { outline: 2px solid #f5c400; }

.fosj-rule-stage {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) 180px;
  gap: 1.25rem;
  align-items: center;
}

.fosj-rule-stage__brand .fosj-rule-btn { margin-top: 1.1rem; }

.fosj-rule-stage__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.fosj-rule-select select,
.fosj-rule-stage__row .fosj-rule-btn--gray {
  background: #4a4a4a;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-weight: 700;
}

.fosj-rule-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}

.fosj-rule-links a { color: #fff !important; text-decoration: underline; }

.fosj-rule-screenwrap {
  position: relative;
  background: #000;
  min-height: 280px;
}

.fosj-rule-screenwrap video,
.fosj-rule-screenwrap iframe,
.fosj-rule-yt,
.fosj-rule-locked {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #111 center / cover no-repeat;
  object-fit: cover;
}

.fosj-rule-locked {
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  font-weight: 700;
}

.fosj-rule-session {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.7rem;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fosj-rule-session.is-hidden { opacity: 0; }

.fosj-rule-next {
  position: absolute;
  right: 0.8rem;
  bottom: 3rem;
  width: min(280px, 80%);
  background: rgba(0, 0, 0, 0.88);
  padding: 0.9rem;
}

.fosj-rule-next p { margin: 0 0 0.3rem; color: #f5c400; }
.fosj-rule-next strong { display: block; margin-bottom: 0.7rem; }
.fosj-rule-next__actions { display: flex; gap: 0.4rem; margin: 0; }

.fosj-rule-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #e6b325;
  padding: 4px;
}

.fosj-rule-rail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.fosj-rule-synopsis {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: #dedede;
  line-height: 1.5;
}

.fosj-rule-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fosj-rule-modal[hidden] { display: none; }

.fosj-rule-modal__card {
  position: relative;
  width: min(440px, 100%);
  background: #111;
  color: #fff;
  padding: 1.5rem;
  border: 1px solid #2a2a2a;
}

.fosj-rule-modal__card h2 {
  font-size: 1.7rem !important;
  margin-bottom: 0.5rem !important;
}

.fosj-rule-modal__card--video { width: min(860px, 100%); padding: 2.2rem 0.6rem 0.6rem; background: #000; }
.fosj-rule-modal__card--video video { width: 100%; height: auto; }

.fosj-rule-modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.fosj-rule-modal label {
  display: block;
  margin: 0.8rem 0;
  font-size: 0.92rem;
}

.fosj-rule-modal label span { color: #aaa; font-weight: 400; }

.fosj-rule-modal input[type="email"],
.fosj-rule-modal input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  background: #000;
  color: #fff;
  border: 1px solid #444;
  padding: 0.7rem 0.75rem;
}

.fosj-rule-modal__error { color: #ffb4b4; }
.fosj-rule-modal__note { color: #bdbdbd; font-size: 0.88rem; margin: 0.9rem 0 0; }
.fosj-rule-modal__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 991px) {
  .fosj-rule-hero__inner,
  .fosj-rule-stage {
    grid-template-columns: 1fr;
  }

  .fosj-rule-hero__signup {
    position: static;
    margin-bottom: 1rem;
  }

  .fosj-rule-intro { margin-top: 1rem; }

  .fosj-rule-rail {
    flex-direction: row;
  }

  .fosj-rule-rail img { width: 33.33%; aspect-ratio: 1; }
}
