/*!***********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/shared/components/feed/topEventsRail.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************/
.topEventsRail_section__SET9i {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.topEventsRail_head__v20Jp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.topEventsRail_title__hLDZ4 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.topEventsRail_seeAll__svpi0 {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-link, var(--color-primary));
  text-decoration: none;
}

.topEventsRail_seeAll__svpi0:hover {
  text-decoration: underline;
}

.topEventsRail_seeAll__svpi0:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.topEventsRail_seeAllChevron__A_1H7 {
  font-size: 1.1em;
  line-height: 1;
}

/* Vertical carousel: up arrow, the three-card page, down arrow — single
   column at every breakpoint (no horizontal grid). */
.topEventsRail_carousel__gt8xW {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topEventsRail_navBtn__I0P3B {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg-white);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.topEventsRail_navBtn__I0P3B:hover:not(:disabled) {
  background: var(--es-violet-50);
  border-color: var(--es-violet-300);
  color: var(--color-primary);
}

.topEventsRail_navBtn__I0P3B:active:not(:disabled) {
  background: var(--es-violet-100);
}

.topEventsRail_navBtn__I0P3B:disabled {
  opacity: 0.4;
  cursor: default;
}

.topEventsRail_navBtn__I0P3B:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.topEventsRail_navUp__FHwpR {
  margin-bottom: var(--space-sm);
}

.topEventsRail_navDown__yGQj2 {
  margin-top: var(--space-sm);
}

.topEventsRail_list__Ab_lU {
  width: 100%;
  list-style: none;
  margin: 0;
  /* Small inset so card shadows / focus rings aren't clipped. */
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: topEventsRail_pageIn__iVy9q 0.25s ease;
}

@keyframes topEventsRail_pageIn__iVy9q {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topEventsRail_card__Fl_kw {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  padding: var(--space-md);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.topEventsRail_cardFeatured__b9fnS {
  border-color: var(--es-violet-300, var(--color-primary));
  box-shadow: 0 0 0 1px var(--es-violet-200, transparent), var(--shadow-sm);
}

@media (hover: hover) {
  .topEventsRail_card__Fl_kw:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--es-violet-200);
  }
}

.topEventsRail_badge__K8tej {
  position: absolute;
  top: 0;
  left: var(--space-md);
  transform: translateY(-50%);
  padding: 2px var(--space-sm);
  background: var(--es-violet-100, var(--es-violet-50));
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.topEventsRail_cardHead__Lt6B4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 20px;
}

.topEventsRail_league___JWWa {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.topEventsRail_logo__aAzJy {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.topEventsRail_logoFallback__Fcl44 {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--es-neutral-100);
  flex-shrink: 0;
}

.topEventsRail_leagueName__st0TQ {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topEventsRail_kickoff__8IfVr {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.topEventsRail_live__00SB3 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-error);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.topEventsRail_liveDot__r52Xz {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--color-error);
  animation: topEventsRail_livePulse__cBHzD 1.6s ease-in-out infinite;
}

@keyframes topEventsRail_livePulse__cBHzD {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .topEventsRail_liveDot__r52Xz { animation: none; }
  .topEventsRail_card__Fl_kw { transition: none; }
  .topEventsRail_list__Ab_lU { animation: none; }
}

.topEventsRail_teams__8DwKV {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.topEventsRail_vs__r289B {
  font-weight: 500;
  color: var(--color-text-muted);
}

.topEventsRail_odds__chcdb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
  margin-top: 2px;
}

.topEventsRail_odds__chcdb:has(.topEventsRail_odd__EoEYi:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.topEventsRail_odd__EoEYi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  min-height: 48px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.topEventsRail_odd__EoEYi:hover {
  background: var(--es-violet-50);
  border-color: var(--es-violet-300);
}

.topEventsRail_odd__EoEYi:active {
  background: var(--es-violet-100);
}

.topEventsRail_odd__EoEYi:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.topEventsRail_oddLabel__IyEWw {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}

.topEventsRail_oddValue__zAwlU {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
}

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

.topEventsRail_markets__meEIa {
  align-self: flex-start;
  padding: 0;
  margin-top: 2px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-link, var(--color-primary));
  text-decoration: none;
}

.topEventsRail_markets__meEIa:hover {
  text-decoration: underline;
}

.topEventsRail_markets__meEIa:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Desktop: a 3×3 grid — nine cards per slide; the up/down buttons page to the
   next nine. Below this breakpoint it stays a single column of three. */
@media (min-width: 1024px) {
  .topEventsRail_section__SET9i {
    max-width: 1080px;
  }
  .topEventsRail_list__Ab_lU {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
  }
}

@media (min-width: 1366px) {
  .topEventsRail_section__SET9i {
    max-width: 100%;
    padding-inline: clamp(24px, 4vw, 64px);
  }
  .topEventsRail_list__Ab_lU {
    grid-template-columns: repeat(5, 1fr);
  }
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/shared/components/storyly/storylyBanner.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
.storylyBanner_wrap__TWtaM {
  width: 100%;
  /* Full-bleed under the header, flush with the iframe/content below — mirrors
     the static WelcomeBanner it replaces. */
  padding: 0;
}

/* The container we hand to Storyly. Width drives the layout; the height is
   reserved via aspect-ratio (set inline, swapped for the widget's real ratio
   on `widgetReady`) so the box is sized before the SDK paints — no CLS. */
.storylyBanner_placement__TqCQw {
  display: block;
  position: relative;
  width: 100%;
  /* Mobile: full-bleed 4:3 (fallback until `widgetReady` reports the real
     ratio). The vars are seeded inline from config; the SDK's real ratio for
     the active breakpoint overwrites the matching var on `widgetReady`. */
  aspect-ratio: var(--storyly-ratio, 1.3333);
}

/* Desktop: stay full-width, but use the wide/short desktop creative's ratio so
   the box is a short full-bleed strip instead of a viewport-tall slab. Requires
   a desktop (wide) creative in the Storyly dashboard; the ratio here just
   reserves height pre-paint. */
@media (min-width: 768px) {
  .storylyBanner_placement__TqCQw {
    aspect-ratio: var(--storyly-ratio-desktop, 3.2);
  }
}

/* Mobile-only LCP poster. Sits above the widget and fully covers the reserved
   box, so it's the only thing painted until widgetReady unmounts it — Storyly
   and the poster are never visible at the same time. Hidden on desktop. */
.storylyBanner_poster__ylKnK {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

/* The blurred banner is the LCP image. Blur (a render effect, doesn't lower the
   source's entropy so it still counts as LCP) reads as a "loading" backdrop;
   the slight scale-up hides the soft blurred edges. */
.storylyBanner_posterImg__NdvpL {
  object-fit: cover;
  filter: blur(14px);
  transform: scale(1.12);
}

/* EliteSports loader over the blurred banner — same look as RouteLoader
   (breathing wordmark + sliding bar) with a scrim for contrast. */
.storylyBanner_posterLoader__gAtOS {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(20, 16, 40, 0.42);
}

.storylyBanner_posterLogo__RriAO {
  height: 30px;
  width: auto;
  /* Force the wordmark white so it reads over any blurred banner + scrim. */
  filter: brightness(0) invert(1);
  animation: storylyBanner_posterBreathe__RfFcX 1.6s ease-in-out infinite;
}

.storylyBanner_posterBar__ovcWD {
  position: relative;
  width: 140px;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.storylyBanner_posterBar__ovcWD::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--color-primary, #8e54f6), transparent);
  animation: storylyBanner_posterSlide__oPWOL 1.2s ease-in-out infinite;
}

@keyframes storylyBanner_posterBreathe__RfFcX {
  0%, 100% { opacity: 0.6; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes storylyBanner_posterSlide__oPWOL {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}

@media (prefers-reduced-motion: reduce) {
  .storylyBanner_posterLogo__RriAO,
  .storylyBanner_posterBar__ovcWD::after {
    animation-duration: 2.6s;
  }
}

@media (min-width: 768px) {
  .storylyBanner_poster__ylKnK {
    display: none;
  }
}

/* The Storyly custom element centers itself (`:host{margin:auto}`) and has no
   intrinsic width, and the SDK writes an inline pixel width on it sized from
   the box. Force it — and the container/slides it injects — to fill our
   full-bleed width, overriding those inline styles, so the banner is never
   narrow or centered. */
.storylyBanner_placement__TqCQw storyly-placement,
.storylyBanner_placement__TqCQw storyly-placement-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
}

