/* Public homepage only; keep workspace and embedded analyzer rules independent. */
.rx-home {
  --rx-home-display: 'Barlow Condensed','Arial Narrow',Impact,sans-serif;
  --rx-home-accent: #ff4f5e;
  --rx-home-button: #bd1729;
  --rx-home-line: #3a353b;
  --rx-home-muted: #bdb8c0;
}
.rx-home .rx-hero {
  isolation: isolate;
  background: radial-gradient(ellipse at 83% 10%, #31151e 0%, transparent 52%), #101011;
}
.rx-home .rx-hero-grid {
  gap: clamp(24px, 5vw, 74px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.rx-home .rx-hero h1 {
  font-size: clamp(62px, 7.7vw, 112px);
  text-wrap: balance;
}
.rx-home .rx-hero h1 em { color: var(--rx-home-accent); }
.rx-home .rx-hero-description { color: #ccc7ce; font-size: clamp(15px, 1.5vw, 17px); }
.rx-home .rx-hero-foot { color: var(--rx-home-muted); font-size: 12px; }
.rx-home .rx-navlinks .rx-nav-leagues, .rx-home .rx-btn:not(.rx-btn-outline) {
  background-color: var(--rx-home-button);
  border-color: var(--rx-home-button);
}
.rx-home .rx-navlinks .rx-nav-leagues:hover, .rx-home .rx-btn:not(.rx-btn-outline):hover { background-color: #a21725; }
.rx-board {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  min-width: 0;
  padding: clamp(16px,3vw,30px);
  border: 1px solid #5b3d48;
  border-radius: 8px;
  background: linear-gradient(145deg,#271821,#151316 55%,#101011);
  box-shadow: 0 22px 75px #080507b8, inset 0 1px 0 #ffffff16;
}
.rx-board::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg,#161217 5%,#16121708 70%);
}
.rx-board__field { position: absolute; z-index: -2; inset: 0; color: #e5abb144; opacity: .63; }
.rx-board__field svg { width: 100%; height: 100%; display: block; }
.rx-board__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 28px; font: 700 clamp(8px,1.2vw,11px) Inter,Arial,sans-serif; letter-spacing: .13em;
}
.rx-board__top > span:first-child { display: flex; align-items: center; gap: 8px; }
.rx-board__dial { width: 7px; height: 7px; border-radius: 50%; background: var(--rx-home-accent); box-shadow: 0 0 10px #ff4f5e80; }
.rx-board__badge { color: #f4b8be; border: 1px solid #814955; border-radius: 3px; background: #2e1721; padding: 6px 8px; white-space: nowrap; }
.rx-board__center {
  display: flex; align-items: center; gap: clamp(10px,2vw,20px);
  padding-block: clamp(28px,5vw,75px) clamp(24px,4vw,56px);
}
.rx-board__center img { width: clamp(40px,6vw,66px); height: auto; flex-shrink: 0; }
.rx-board__overline { color: #e0bac0; font-size: 9px; letter-spacing: .14em; font-weight: 700; }
.rx-board__center strong {
  display: block; color: #fff6f4; font: 800 clamp(27px,4.8vw,58px)/.95 var(--rx-home-display); text-transform: uppercase;
}
.rx-board__list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 6px;
}
.rx-board__list li {
  display: grid; grid-template-columns: 25px minmax(0,1fr) auto; gap: 8px; align-items: center;
  min-height: 40px; padding: 9px 12px; border: 1px solid #3f343b; background: #211a21f2; border-radius: 4px;
  font-size: clamp(10px,1.2vw,13px);
}
.rx-board__list li > span { color: #ff8a94; font-variant-numeric: tabular-nums; }
.rx-board__list li small { color: #c5bbc2; font-weight: 600; }
.rx-home .rx-game-week { background: #171618; border-bottom: 1px solid var(--rx-home-line); }
.rx-game-week__layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(20px,7vw,95px); align-items: start; }
.rx-game-week__layout > div:first-child > p { max-width: 37ch; font-size: 15px; color: var(--rx-home-muted); }
.rx-game-week__layout > div:first-child > a { margin-top: 12px; }
.rx-game-week__plays details { border-bottom: 1px solid var(--rx-home-line); }
.rx-game-week__plays details:first-child { border-top: 1px solid var(--rx-home-line); }
.rx-game-week__plays summary {
  list-style: none; display: grid; grid-template-columns: 45px minmax(0,1fr) 22px; align-items: center;
  min-height: 62px; gap: 12px; padding: 10px 12px; cursor: pointer; color: #f6f0f0;
  font: 750 clamp(20px,3.2vw,29px)/1.1 var(--rx-home-display); text-transform: uppercase;
}
.rx-game-week__plays summary::-webkit-details-marker { display: none; }
.rx-game-week__plays summary:hover { background: #231d23; }
.rx-game-week__number { font-size: 20px; color: var(--rx-home-accent); }
.rx-game-week__icon::before { content: '+'; color: var(--rx-home-accent); }
.rx-game-week__plays details[open] .rx-game-week__icon::before { content: '−'; }
.rx-game-week__plays details > div { padding: 0 12px 18px 69px; }
.rx-game-week__plays details > div p { margin: 0 0 10px; font-size: 14px; color: var(--rx-home-muted); }
.rx-game-week__plays details code { background: #28232a; padding: 2px 5px; color: #f3e7eb; }
@media (max-width: 760px) {
  .rx-home .rx-hero-grid, .rx-game-week__layout { grid-template-columns: 1fr; }
  .rx-home .rx-hero h1 { font-size: clamp(50px, 12.6vw, 86px); text-wrap: auto; }
  .rx-board { width: min(100%, 480px); justify-self: center; }
  .rx-game-week__plays summary { grid-template-columns: 31px minmax(0,1fr) 22px; }
  .rx-game-week__plays details > div { padding-left: 55px; }
}
@media (max-width: 365px) {
  .rx-home .rx-hero h1 { font-size: 47px; }
}
