.efootball-page {
  --ef-ink: #f7f8ff;
  --ef-muted: #b9c1e2;
  --ef-tournament-header-bg: linear-gradient(145deg, rgba(12,42,87,.72), rgba(7,25,55,.58));
  --ef-section-label-inset: 62px;
  --ef-navy: #050a24;
  --ef-deep: #071249;
  --ef-blue: #111b91;
  --ef-yellow: #f4ed00;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 84px;
  color: var(--ef-ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
.efootball-page a { color: inherit; }
.efootball-page h1, .efootball-page h2, .efootball-page h3, .efootball-page p { margin-top: 0; }
.efootball-page :focus-visible { outline: 3px solid var(--ef-yellow); outline-offset: 3px; }
.ef-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  overflow: hidden;
  min-height: 390px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(154, 174, 255, .2);
  border-radius: 28px;
  background: radial-gradient(ellipse at 78% 12%, rgba(38, 67, 230, .72), transparent 40%), linear-gradient(135deg, #091141 0%, #090b29 58%, #121869 100%);
  box-shadow: 0 24px 70px rgba(1, 4, 25, .35);
}
.ef-hero-copy { max-width: 680px; align-self: center; }
.ef-kicker { margin: 0 0 12px; color: var(--ef-yellow); font-size: 11px; font-weight: 800; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.ef-hero h1, .ef-page-heading h1 { max-width: 760px; margin: 0 0 18px; color: var(--ef-ink); font-size: clamp(38px, 6.5vw, 72px); font-weight: 850; letter-spacing: -.055em; line-height: .99; }
.ef-hero h1 span { color: var(--ef-yellow); }
.ef-lead { max-width: 620px; margin: 0 0 26px; color: var(--ef-muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.7; }
.ef-hero-actions, .ef-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ef-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.ef-button:hover { transform: translateY(-2px); }
.ef-button-primary { color: #080b29 !important; background: var(--ef-yellow); }
.ef-button-primary:hover { background: #fff84b; }
.ef-button-secondary { color: var(--ef-ink) !important; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.ef-button-secondary:hover { border-color: var(--ef-yellow); background: rgba(255,255,255,.1); }
.ef-button-quiet { color: var(--ef-muted) !important; border-color: rgba(255,255,255,.16); background: transparent; }
.ef-hero-art { position: relative; display: grid; min-height: 250px; place-items: center; align-self: center; }
.ef-section { margin-top: 64px; }
.ef-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ef-section-heading .ef-kicker { margin-bottom: 8px; }
.ef-section-heading h2, .ef-callout h2 { margin: 0 0 8px; color: var(--ef-ink); font-size: clamp(25px, 4vw, 36px); letter-spacing: -.035em; }
.ef-section-heading p:not(.ef-kicker), .ef-callout p:not(.ef-kicker) { margin-bottom: 0; color: var(--ef-muted); line-height: 1.65; }
.ef-tournament-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ef-tournament-card { display: flex; min-height: 255px; flex-direction: column; padding: 22px; border: 1px solid rgba(152,170,255,.17); border-radius: 17px; background: linear-gradient(155deg, rgba(14,25,81,.82), rgba(7,10,32,.94)); box-shadow: 0 10px 35px rgba(0,0,0,.14); }
.ef-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.ef-status { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid rgba(244,237,0,.28); border-radius: 99px; color: var(--ef-yellow); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ef-status-live { color: #fff; border-color: rgba(255,86,86,.55); background: rgba(194,42,51,.2); }
.ef-status-completed { color: #c1c8e3; border-color: rgba(193,200,227,.23); }
.ef-card-date { color: var(--ef-muted); font-size: 12px; }
.ef-tournament-card h3 { margin: 0 0 11px; color: var(--ef-ink); font-size: 21px; line-height: 1.3; }
.ef-tournament-card h3 a { text-decoration: none; }
.ef-tournament-card h3 a:hover, .ef-text-link:hover { color: var(--ef-yellow); }
.ef-tournament-card > p { flex: 1; margin-bottom: 18px; color: var(--ef-muted); font-size: 14px; line-height: 1.6; }
.ef-card-stats { display: flex; gap: 22px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.09); color: var(--ef-muted); font-size: 12px; }
.ef-card-stats strong { color: var(--ef-ink); }
.ef-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ef-yellow) !important; font-size: 13px; font-weight: 800; text-decoration: none; }
.ef-empty { padding: 30px; border: 1px dashed rgba(181,195,255,.27); border-radius: 16px; background: rgba(9,16,56,.42); }
.ef-empty strong { display: block; margin-bottom: 7px; color: var(--ef-ink); font-size: 16px; }
.ef-empty p { margin: 0 0 10px; color: var(--ef-muted); line-height: 1.6; }
.ef-callout { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 60px; padding: 30px; border: 1px solid rgba(244,237,0,.22); border-radius: 18px; background: linear-gradient(115deg, rgba(17,27,145,.68), rgba(7,10,32,.9)); }
.ef-callout h2 { font-size: 25px; }
.ef-page-heading { position: relative; margin: 16px 0 42px; padding: clamp(26px, 4vw, 45px); border: 1px solid rgba(152,170,255,.17); border-radius: 20px; background: radial-gradient(ellipse at 90% 10%, rgba(38,67,230,.36), transparent 44%), linear-gradient(135deg, #091141, #090b29); }
.ef-page-heading .ef-card-top { justify-content: flex-start; }
.ef-page-heading h1 { font-size: clamp(34px, 5.4vw, 58px); }
.ef-back-link { display: inline-block; margin-bottom: 25px; color: var(--ef-muted) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.ef-back-link:hover { color: var(--ef-yellow) !important; }
.ef-page-heading .ef-button { margin-top: 5px; }
.ef-joined { display: inline-flex; margin: 8px 0 0; padding: 9px 12px; border: 1px solid rgba(91,216,153,.32); border-radius: 8px; color: #b9f5d4; background: rgba(30,120,75,.14); font-size: 13px; }
.ef-table-wrap { overflow-x: auto; border: 1px solid rgba(152,170,255,.16); border-radius: 14px; }
.ef-table { width: 100%; border-collapse: collapse; background: rgba(7,10,32,.76); text-align: left; }
.ef-table th, .ef-table td { padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
.ef-table th { color: var(--ef-muted); background: rgba(17,27,145,.3); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.ef-table td { color: var(--ef-ink); font-size: 13px; }
.ef-table tbody tr:last-child td { border-bottom: 0; }
.ef-table tbody tr:first-child td:first-child, .ef-table tbody tr:first-child td:last-child { color: var(--ef-yellow); }
.ef-results-list { overflow: hidden; border: 1px solid rgba(152,170,255,.16); border-radius: 14px; background: rgba(7,10,32,.72); }
.ef-result-row { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(100px, 1fr) 90px minmax(100px, 1fr); align-items: center; gap: 16px; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ef-result-row:last-child { border-bottom: 0; }
.ef-round { color: var(--ef-muted); font-size: 11px; font-weight: 700; }
.ef-player-name { overflow: hidden; color: var(--ef-ink); font-size: 14px; text-overflow: ellipsis; }
.ef-score { color: var(--ef-yellow); font-size: 19px; font-weight: 900; text-align: center; white-space: nowrap; }
.ef-score i { padding: 0 5px; color: rgba(255,255,255,.45); font-style: normal; }
.ef-auth-wrap { display: grid; min-height: 62vh; place-items: center; padding: 16px 0; }
.ef-auth-card { width: min(100%, 520px); padding: clamp(24px, 5vw, 42px); border: 1px solid rgba(152,170,255,.2); border-radius: 20px; background: radial-gradient(ellipse at 100% 0, rgba(38,67,230,.25), transparent 40%), #080d2a; box-shadow: 0 22px 60px rgba(0,0,0,.24); }
.ef-login-card { padding-bottom: calc(clamp(24px, 5vw, 42px) + 15px); }
.ef-register-card { padding-bottom: calc(clamp(24px, 5vw, 42px) + 15px); }
.ef-auth-card h1 { margin: 0 0 12px; color: var(--ef-ink); font-size: clamp(27px, 5vw, 38px); letter-spacing: -.04em; }
.ef-auth-card > p:not(.ef-kicker):not(.ef-auth-foot) { color: var(--ef-muted); font-size: 14px; line-height: 1.6; }
.ef-form { display: grid; gap: 15px; margin-top: 22px; }
.ef-form label { display: grid; gap: 7px; color: var(--ef-ink); font-size: 13px; font-weight: 700; }
.ef-form input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(181,195,255,.24); border-radius: 8px; color: #fff; background: rgba(3,6,25,.72); font: inherit; }
.ef-form input:focus { border-color: var(--ef-yellow); outline: 2px solid rgba(244,237,0,.18); }
.ef-form .ef-button { margin-top: 4px; }
.ef-auth-foot { margin: 40px 0 0; color: var(--ef-muted); font-size: 13px; line-height: 1.6; transform: translateY(24px); }
.ef-login-foot { position: relative; top: 16px; transform: none; }
.ef-register-foot { position: relative; top: 16px; transform: none; }
.ef-auth-foot a { color: var(--ef-yellow); font-weight: 800; }
.ef-notice { margin: 20px 0 0; padding: 13px 15px; border: 1px solid rgba(244,237,0,.3); border-radius: 9px; color: var(--ef-ink); background: rgba(244,237,0,.08); font-size: 13px; line-height: 1.5; }
.ef-notice-error { border-color: rgba(255,114,114,.4); background: rgba(255,60,60,.09); }
@media (max-width: 850px) {
  .ef-hero { grid-template-columns: 1fr; }
  .ef-hero-art { position: absolute; right: 15px; bottom: 4px; width: 180px; min-height: 180px; opacity: .22; }
  .ef-hero-copy { position: relative; z-index: 1; }
  .ef-tournament-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .efootball-page { width: min(100% - 28px, 1120px); padding-top: 18px; }
  .ef-hero { min-height: 0; padding: 26px 20px 30px; border-radius: 18px; }
  .ef-brand-lockup { gap: 12px; margin-bottom: 26px; }
  .ef-24-mark { width: 46px; height: 46px; }
  .ef-game-mark { width: 125px; height: 65px; }
  .ef-hero h1 { font-size: clamp(36px, 12vw, 54px); }
  .ef-hero-art { right: -38px; bottom: -22px; }
  .ef-tournament-grid { grid-template-columns: 1fr; }
  .ef-section { margin-top: 44px; }
  .ef-callout { align-items: flex-start; flex-direction: column; padding: 22px; }
  .ef-page-heading { margin-top: 8px; padding: 24px 20px; }
  .ef-result-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 15px; }
  .ef-round { grid-column: 1 / -1; }
  .ef-player-name { font-size: 13px; }
  .ef-score { grid-column: 2; grid-row: 2 / 4; }
  .ef-table th, .ef-table td { padding: 11px 10px; }
}

/* Full-page EMT treatment: animated blue/yellow background, with no hero panel. */
html.ef-site-html,
html.ef-site-html body.ef-site-mode { color-scheme: dark; background-color: #1769cf; }
.ef-site-mode { color: #fff; }
.ef-site-mode .site-shell {
  background: linear-gradient(125deg, #1749bb 0%, #1c69d0 30%, #168ed8 55%, #f0d33a 72%, #145fc6 100%);
  background-size: 260% 260%;
  animation: ef-gradient-flow 18s ease-in-out infinite;
}
.ef-site-mode .site-main,
.ef-site-mode #main { color: #fff; background: transparent; }
.ef-site-mode .site-sidebar {
  border-right-color: rgba(255,255,255,.2);
  color: #fff;
  background: rgba(19, 67, 164, .88);
  box-shadow: 8px 0 28px rgba(8, 33, 91, .16);
}
.ef-site-mode .sidebar-brand { border-bottom-color: rgba(255,255,255,.2); }
.ef-site-mode .sidebar-brand strong,
.ef-site-mode .sidebar-brand small { color: #fff; }
.ef-site-mode .side-nav-link { color: rgba(255,255,255,.86); }
.ef-site-mode .side-nav-link:hover { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.12); }
.ef-site-mode .side-nav-link.active { border-color: rgba(255,240,67,.65); color: #fff; background: rgba(12,43,126,.32); box-shadow: none; }
.ef-site-mode .side-nav-link.active::before { background: #fff033; }
.ef-site-mode .side-nav-link.active > svg { color: #fff033; }
.ef-site-mode .sidebar-bottom { border-top-color: rgba(255,255,255,.2); }
.ef-site-mode .sidebar-join { color: #17366f; background: linear-gradient(105deg, #fff033, #f6d943); }
.ef-site-mode .site-header { border-bottom-color: rgba(255,255,255,.2); background: rgba(19,75,181,.7); }
.ef-site-mode .menu-toggle,
.ef-site-mode .language-toggle,
.ef-site-mode .language-menu { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(15,55,145,.32); }
.ef-site-mode .language-option { color: #fff; }
.ef-site-mode .language-option:hover { background: rgba(255,255,255,.14); }
.ef-site-mode .site-footer { border-top-color: rgba(255,255,255,.2); background: rgba(18,58,145,.3); }
.ef-site-mode .footer-description,
.ef-site-mode .footer-column h2,
.ef-site-mode .footer-brand,
.ef-site-mode .footer-contact-link,
.ef-site-mode .footer-column-links a,
.ef-site-mode .footer-social-links a,
.ef-site-mode .footer-bottom { color: rgba(255,255,255,.9); }

.efootball-page {
  --ef-ink: #fff;
  --ef-muted: #e1edff;
  --ef-navy: #14377f;
  --ef-deep: #123c8e;
  --ef-blue: #0d50bd;
  --ef-yellow: #fff033;
  color: var(--ef-ink);
}
.ef-hero {
  min-height: 0;
  padding: 38px 0 28px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 28px;
}
.ef-hero::before,
.ef-hero::after { display: none; content: none; }
.ef-hero-copy { position: relative; z-index: 1; }
.ef-hero h1 span { color: var(--ef-yellow); }
.ef-hero-art { position: relative; display: grid; min-height: 270px; place-items: center; align-self: center; overflow: visible; }
.ef-game-mark { position: relative; z-index: 1; width: min(100%, 330px); height: auto; max-height: 260px; object-fit: contain; border: 0; border-radius: 0; background: transparent; opacity: 1; filter: drop-shadow(0 8px 16px rgba(8, 32, 90, .22)); }
.ef-24-mark { position: absolute; z-index: 2; top: 4%; right: 8%; width: 54px; height: 60px; padding: 0; border: 0; border-radius: 0; object-fit: contain; background: transparent; box-shadow: none; filter: none; }
.ef-empty { padding: 8px 0; border: 0; border-radius: 0; background: transparent; }
.ef-callout { margin-top: 50px; padding: 18px 0; border: 0; border-radius: 0; background: transparent; }
.ef-page-heading { padding: 26px 0; border: 0; border-radius: 0; background: transparent; }
.ef-button-secondary { border-color: rgba(255,255,255,.68); background: rgba(10,47,131,.24); }
.ef-button-secondary:hover { border-color: var(--ef-yellow); background: rgba(10,47,131,.38); }
@keyframes ef-gradient-flow {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
}
@media (max-width: 850px) {
  .ef-hero { grid-template-columns: 1fr; gap: 6px; }
  .ef-hero-art { position: relative; right: auto; bottom: auto; grid-row: 1; justify-self: end; width: min(100%, 245px); min-height: 190px; margin: -10px 0 0; opacity: 1; }
}
@media (max-width: 600px) {
  .ef-hero { gap: 0; padding: 20px 0 24px; }
  .ef-hero-art { width: min(100%, 190px); min-height: 150px; margin: -6px 0 0; }
  .ef-game-mark { max-height: 150px; }
  .ef-24-mark { width: 48px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-site-mode .site-shell { animation: none; }
}

.ef-league-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.ef-league-card { padding: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 17px; background: rgba(13,52,132,.32); box-shadow: 0 12px 34px rgba(8,33,91,.12); }
.ef-league-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ef-league-card-heading .ef-kicker { margin-bottom: 7px; }
.ef-league-card h3 { margin: 0; color: var(--ef-ink); font-size: clamp(22px, 3vw, 29px); letter-spacing: -.03em; }
.ef-league-abbreviation { display: inline-flex; min-width: 44px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid rgba(255,240,51,.48); border-radius: 10px; color: #17366f; background: #fff033; font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.ef-league-current { margin: 16px 0 0; color: var(--ef-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ef-season-heading { margin: 22px 0 10px; color: var(--ef-ink); font-size: 15px; }
.ef-season-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ef-season-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--ef-muted); font-size: 13px; }
.ef-season-list li:last-child { border-bottom: 0; }
.ef-season-list strong { color: var(--ef-ink); text-align: right; }
.ef-league-empty { margin: 18px 0 0; color: var(--ef-muted); line-height: 1.6; }
.league-season-editor { padding: 12px 0; border-top: 1px solid var(--line); }
.league-season-editor summary { cursor: pointer; font-weight: 700; }
.league-season-editor form { margin-top: 14px; }
@media (max-width: 600px) {
  .ef-league-grid { grid-template-columns: 1fr; }
  .ef-league-card { padding: 18px; }
  .ef-season-list li { gap: 10px; font-size: 12px; }
}

/* Matchday archive: editorial type, deep pitch blues and a single electric accent. */
.ef-site-mode { color-scheme: dark; }
html.ef-site-html,
html.ef-site-html body.ef-site-mode { background: #071735; }
.ef-site-mode .site-shell {
  background:
    radial-gradient(ellipse at 78% 2%, rgba(30, 92, 190, .27), transparent 38%),
    linear-gradient(145deg, #0b2149 0%, #081a3a 48%, #06152e 100%);
  background-size: auto;
  animation: none;
}
.ef-site-mode .site-sidebar {
  border-right-color: rgba(182, 204, 242, .13);
  background: rgba(7, 24, 53, .96);
  box-shadow: 10px 0 34px rgba(0, 8, 28, .2);
}
.ef-site-mode .site-header {
  border-bottom-color: rgba(182, 204, 242, .13);
  background: rgba(7, 24, 53, .86);
  backdrop-filter: blur(14px);
}
.ef-site-mode .site-footer {
  border-top-color: rgba(182, 204, 242, .13);
  background: rgba(5, 19, 43, .35);
}
.efootball-page {
  --ef-ink: #f5f8ff;
  --ef-muted: #aebed8;
  --ef-navy: #071735;
  --ef-deep: #0a2046;
  --ef-blue: #164a93;
  --ef-yellow: #ffe735;
  width: min(1180px, calc(100% - 52px));
  padding: clamp(28px, 4vw, 54px) 0 100px;
  color: var(--ef-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
.efootball-page :focus-visible { outline: 3px solid var(--ef-yellow); outline-offset: 4px; }
.ef-kicker { color: var(--ef-yellow); font-size: 10px; letter-spacing: .2em; }
.ef-hero {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 420px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(180, 204, 243, .18);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 77% 48%, rgba(27, 91, 183, .4), transparent 38%),
    linear-gradient(120deg, rgba(6, 20, 47, .98), rgba(10, 39, 83, .94));
  box-shadow: 0 24px 68px rgba(0, 8, 28, .2);
}
.ef-hero-copy { max-width: 700px; }
.ef-hero-has-profile .ef-hero-copy { padding-top: 48px; }
.ef-hero-has-login .ef-hero-copy { padding-top: 48px; }
.ef-hero-topline {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  left: clamp(16px, 3vw, 28px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ef-hero-topline .ef-kicker {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
}
.ef-hero-topline .ef-profile-link {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
}
.ef-hero-topline-login { justify-content: flex-end; }
.ef-hero-copy > .ef-kicker { display: flex; align-items: center; gap: 10px; }
.ef-hero-copy > .ef-kicker span { color: rgba(255, 255, 255, .45); }
.ef-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7.2vw, 86px);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .91;
}
.ef-hero h1 span { color: var(--ef-yellow); }
.ef-lead { max-width: 560px; margin-bottom: 28px; color: #c2d0e7; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.7; }
.ef-button { min-height: 48px; padding: 12px 20px; border-radius: 7px; font-size: 13px; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.ef-button-primary { color: #081a37 !important; background: var(--ef-yellow); }
.ef-button-primary:hover { background: #fff27a; }
.ef-button-secondary { border-color: rgba(218, 231, 255, .3); color: #f4f7ff !important; background: rgba(255, 255, 255, .035); }
.ef-button-secondary:hover { border-color: var(--ef-yellow); background: rgba(255, 255, 255, .08); }
.ef-hero-art { position: relative; display: grid; min-height: 290px; place-items: center; overflow: hidden; }
.ef-hero-orbit { position: absolute; width: min(100%, 290px); aspect-ratio: 1; border: 1px solid rgba(223, 235, 255, .17); border-radius: 50%; transform: rotate(-24deg) scaleY(.64); }
.ef-hero-orbit::after { position: absolute; top: 12%; right: 9%; width: 9px; height: 9px; border-radius: 50%; background: var(--ef-yellow); content: ""; }
.ef-hero-orbit-two { width: min(82%, 235px); border-color: rgba(223, 235, 255, .12); transform: rotate(33deg) scaleY(.76); }
.ef-hero-orbit-two::after { top: auto; right: auto; bottom: 3%; left: 15%; width: 6px; height: 6px; background: #77baff; }
.ef-hero-mark {
  position: relative; display: grid; width: 178px; aspect-ratio: 1; place-items: center;
  border: 1px solid rgba(255, 231, 53, .56); border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 231, 53, .13), rgba(16, 65, 133, .21));
  box-shadow: inset 0 0 45px rgba(255, 231, 53, .07), 0 20px 55px rgba(0, 0, 0, .19);
  transform: rotate(-11deg);
}
.ef-hero-mark span { color: var(--ef-yellow); font-size: 83px; font-weight: 900; letter-spacing: -.11em; line-height: 1; }
.ef-hero-mark i, .ef-hero-mark b { position: absolute; width: 25px; height: 25px; border: 1px solid rgba(255, 255, 255, .55); transform: rotate(45deg); }
.ef-hero-mark i { top: 22px; right: 27px; }
.ef-hero-mark b { bottom: 23px; left: 24px; width: 16px; height: 16px; border-color: var(--ef-yellow); }
.ef-hero-art-label { position: absolute; right: 1%; bottom: 14%; color: rgba(241, 246, 255, .52); font-size: 9px; font-weight: 900; letter-spacing: .22em; line-height: 1.55; }
.ef-section { margin-top: clamp(56px, 7vw, 86px); }
.ef-section-heading { align-items: end; margin-bottom: 25px; }
.ef-section-heading .ef-kicker { margin-bottom: 9px; }
.ef-section-heading .ef-kicker-spacer { visibility: hidden; }
.ef-section-heading h2, .ef-callout h2 { margin-bottom: 8px; font-size: clamp(27px, 4vw, 40px); font-weight: 800; letter-spacing: -.045em; }
.ef-section-heading p:not(.ef-kicker) { color: #b8c8e0; font-size: 14px; }
.ef-section-index { padding-bottom: 4px; color: rgba(231, 239, 255, .46); font-size: 11px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.ef-section-index i { padding: 0 6px; color: var(--ef-yellow); font-style: normal; }
.ef-league-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.ef-league-card {
  position: relative; padding: clamp(21px, 3vw, 29px); overflow: hidden;
  border: 1px solid rgba(182, 204, 242, .18); border-radius: 14px;
  background: linear-gradient(145deg, rgba(15, 48, 96, .84), rgba(8, 29, 63, .92));
  box-shadow: 0 14px 34px rgba(0, 8, 28, .12);
  transition: transform .22s ease, border-color .22s ease;
}
.ef-league-card:hover { transform: translateY(-3px); border-color: rgba(255, 231, 53, .44); }
.ef-league-card::after { position: absolute; top: -40px; right: -55px; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.065); border-radius: 50%; content: ""; }
.ef-league-card-heading { position: relative; z-index: 1; }
.ef-league-card h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.045em; }
.ef-league-abbreviation { min-width: 48px; min-height: 40px; border: 0; border-radius: 5px; color: #081a37; background: var(--ef-yellow); font-size: 12px; }
.ef-league-current { display: inline-flex; margin-top: 16px; padding: 7px 10px; border: 1px solid rgba(255, 231, 53, .24); border-radius: 4px; color: #e6edfa; background: rgba(255, 231, 53, .07); font-size: 10px; letter-spacing: .1em; }
.ef-season-heading { margin-top: 24px; margin-bottom: 7px; color: #f4f7ff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ef-season-list { border-top: 1px solid rgba(223, 235, 255, .13); }
.ef-season-list li { padding: 0; border-color: rgba(223, 235, 255, .11); }
.ef-season-link { display: grid; width: 100%; grid-template-columns: minmax(70px, .4fr) minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 12px 1px; color: inherit; text-decoration: none; }
.ef-season-link > span:first-child { color: #9cb1d2; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.ef-season-link strong { overflow-wrap: anywhere; color: #f5f8ff; font-size: 13px; font-weight: 700; text-align: right; }
.ef-season-arrow { color: var(--ef-yellow); font-size: 16px; opacity: .65; transition: transform .2s ease, opacity .2s ease; }
.ef-season-link:hover .ef-season-arrow { opacity: 1; transform: translate(2px, -2px); }
.ef-season-link:hover strong { color: var(--ef-yellow); }
.ef-league-empty { padding: 16px 0; }
.ef-tournament-grid { gap: 17px; }
.ef-tournament-card { border-color: rgba(182,204,242,.17); border-radius: 13px; background: linear-gradient(145deg, rgba(14, 45, 91, .8), rgba(7, 25, 55, .94)); transition: transform .2s ease, border-color .2s ease; }
.ef-tournament-card:hover { transform: translateY(-3px); border-color: rgba(255,231,53,.38); }
.ef-status { border-radius: 4px; font-size: 9px; letter-spacing: .1em; }
.ef-status-live { color: #fff; border-color: rgba(255, 104, 104, .55); background: rgba(194,42,51,.24); }
.ef-status-completed { color: #ced8e8; border-color: rgba(193,200,227,.28); }
.ef-card-date { color: #adbfda; }
.ef-empty { padding: 25px; border: 1px dashed rgba(183,204,239,.27); border-radius: 12px; background: rgba(7,23,49,.32); }
.ef-page-heading { margin-top: 8px; padding: clamp(26px, 5vw, 50px); border: 1px solid rgba(182,204,242,.16); border-radius: 16px; background: var(--ef-tournament-header-bg); }
.ef-back-link { color: #c5d1e5 !important; }
.ef-table-wrap, .ef-results-list { border-color: rgba(182,204,242,.16); border-radius: 10px; }
.ef-table { background: rgba(6,20,44,.7); }
.ef-table th { color: #c2d0e6; background: rgba(24,68,128,.48); }
.ef-table td { color: #f1f5fd; }
.ef-results-list { background: rgba(6,20,44,.55); }
.ef-result-row { border-color: rgba(223,235,255,.09); }
.ef-auth-card { border-color: rgba(182,204,242,.2); border-radius: 14px; background: linear-gradient(145deg, #0d2a58, #071a39); }
.ef-form input { border-color: rgba(181,195,255,.25); border-radius: 6px; background: rgba(3,12,30,.74); }

.ef-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; color: #9db2d1; font-size: 12px; }
.ef-breadcrumbs a { color: #d9e3f4; font-weight: 700; text-decoration: none; }
.ef-breadcrumbs a:hover { color: var(--ef-yellow); }
.ef-breadcrumbs [aria-current="page"] { color: var(--ef-yellow); }
.ef-season-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
  align-items: center; gap: 35px; min-height: 310px; padding: clamp(27px, 5vw, 54px);
  overflow: hidden; border: 1px solid rgba(182,204,242,.18); border-radius: 17px;
  background: radial-gradient(ellipse at 78% 45%, rgba(37,104,199,.32), transparent 42%), linear-gradient(125deg, #081b3b, #0d2c5b);
  box-shadow: 0 22px 60px rgba(0,8,28,.18);
}
.ef-season-hero::after { position: absolute; right: 26%; bottom: -150px; width: 300px; height: 300px; border: 1px solid rgba(233,241,255,.08); border-radius: 50%; box-shadow: 0 0 0 28px rgba(233,241,255,.025), 0 0 0 58px rgba(233,241,255,.02); content: ""; pointer-events: none; }
.ef-season-hero-copy, .ef-season-champion { position: relative; z-index: 1; }
.ef-season-overline { margin: 26px 0 5px; color: #93aad0; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.ef-season-hero h1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 17px; margin: 0 0 20px; }
.ef-season-number { color: var(--ef-yellow); font-size: clamp(51px, 8vw, 87px); font-weight: 900; letter-spacing: -.09em; line-height: .95; }
.ef-season-title { color: #f6f8fd; font-size: clamp(25px, 4vw, 43px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.ef-season-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; color: #c4d1e5; font-size: 12px; }
.ef-season-champion { padding: 23px 0 23px 24px; border-left: 1px solid rgba(223,235,255,.2); }
.ef-season-champion .ef-kicker { margin-bottom: 12px; }
.ef-season-champion h2 { margin: 0; color: var(--ef-yellow); font-size: clamp(22px, 3vw, 30px); letter-spacing: -.04em; line-height: 1.2; overflow-wrap: anywhere; }
.ef-season-champion h2 span { color: #f5f8ff; }
.ef-season-champion p:not(.ef-kicker) { margin: 9px 0 0; color: #b4c4dd; font-size: 12px; line-height: 1.6; }
.ef-history-state { margin-top: 31px; padding: 22px 24px; border: 1px solid rgba(255,231,53,.2); border-left: 3px solid var(--ef-yellow); border-radius: 7px; background: rgba(255,231,53,.045); }
.ef-history-state p { margin: 0; color: #e4ebf6; font-size: 14px; line-height: 1.6; }
.ef-history-section { margin-top: 54px; }
.ef-draw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ef-draw-card { padding: 20px; border: 1px solid rgba(182,204,242,.17); border-radius: 11px; background: linear-gradient(145deg, rgba(12,42,86,.75), rgba(7,24,52,.75)); }
.ef-draw-card h3, .ef-group-block > h3, .ef-round-block > h3 { margin: 0 0 14px; color: #f3f6fc; font-size: 17px; letter-spacing: -.02em; }
.ef-draw-card ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ef-draw-card li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(223,235,255,.1); color: #dce5f3; font-size: 13px; }
.ef-draw-number { width: 7px; height: 7px; margin-top: 4px; border: 1px solid rgba(255,231,53,.7); transform: rotate(45deg); }
.ef-history-note { margin: 0; color: #aebed8; font-size: 12px; }
.ef-history-season .ef-season-history-unavailable { margin: 14px 0 8px; color: var(--ef-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.ef-groups-list, .ef-rounds-grid { display: grid; gap: 26px; }
.ef-group-block, .ef-round-block { min-width: 0; padding: clamp(17px, 3vw, 25px); border: 1px solid rgba(182,204,242,.15); border-radius: 12px; background: rgba(6,22,49,.42); }
.ef-group-block > h3, .ef-round-block > h3 { color: var(--ef-yellow); }
.ef-subsection-heading { margin: 22px 0 10px; color: #d9e3f3; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ef-score-pending { color: #98abc9; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.ef-rounds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.ef-round-block .ef-result-row { grid-template-columns: minmax(60px, .7fr) minmax(75px, 1fr) 78px minmax(75px, 1fr); gap: 10px; padding: 14px; }
.ef-round-block .ef-player-name { font-size: 12px; }
.ef-round-block .ef-round { font-size: 10px; }
.ef-final-list { display: grid; gap: 8px; max-width: 760px; }
.ef-final-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 15px 18px; border: 1px solid rgba(182,204,242,.14); border-radius: 8px; background: rgba(8,28,60,.68); }
.ef-final-rank { color: var(--ef-yellow); font-size: 21px; font-weight: 900; letter-spacing: -.05em; }
.ef-final-row strong { color: #f4f7fc; font-size: 14px; overflow-wrap: anywhere; }
.ef-final-label { color: #91a7c8; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.ef-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .ef-season-hero { grid-template-columns: 1fr; gap: 12px; }
  .ef-season-champion { padding: 18px 0 0; border-top: 1px solid rgba(223,235,255,.18); border-left: 0; }
  .ef-draw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-rounds-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .efootball-page { width: min(100% - 28px, 1180px); padding-top: 20px; }
  .ef-hero { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 27px 21px 29px; border-radius: 15px; }
  .ef-hero h1 { font-size: clamp(47px, 13vw, 66px); }
  .ef-hero-art { position: absolute; right: -35px; bottom: -35px; width: 160px; min-height: 160px; opacity: .23; }
  .ef-hero-mark { width: 115px; }
  .ef-hero-mark span { font-size: 56px; }
  .ef-hero-orbit { width: 180px; }
  .ef-hero-art-label { display: none; }
  .ef-section-heading { align-items: flex-start; }
  .ef-section-index { padding-top: 7px; font-size: 9px; }
  .ef-league-grid, .ef-tournament-grid, .ef-draw-grid { grid-template-columns: 1fr; }
  .ef-league-card { padding: 20px; }
  .ef-season-hero { padding: 24px 20px; border-radius: 13px; }
  .ef-season-overline { margin-top: 22px; }
  .ef-season-hero h1 { gap: 11px; }
  .ef-season-number { font-size: 58px; }
  .ef-season-title { font-size: 27px; }
  .ef-season-champion h2 { font-size: 24px; }
  .ef-history-section { margin-top: 42px; }
  .ef-group-block, .ef-round-block { padding: 14px 11px; }
  .ef-table th, .ef-table td { padding: 10px 8px; font-size: 11px; }
  .ef-round-block .ef-result-row, .ef-result-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 13px; }
  .ef-round, .ef-result-row .ef-round { grid-column: 1 / -1; }
  .ef-score { grid-column: 2; grid-row: 2 / 4; }
  .ef-player-name { font-size: 12px; }
  .ef-final-row { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 13px; }
  .ef-final-label { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-site-mode .site-shell { animation: none; }
  .efootball-page *, .efootball-page *::before, .efootball-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@keyframes ef-archive-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.ef-hero,
.ef-season-hero { animation: ef-archive-enter .58s cubic-bezier(.2, .7, .2, 1) both; }
.ef-league-card,
.ef-tournament-card,
.ef-history-state { animation: ef-archive-enter .52s cubic-bezier(.2, .7, .2, 1) both; }
.ef-league-card:nth-child(2),
.ef-tournament-card:nth-child(2) { animation-delay: 75ms; }
.ef-league-card:nth-child(3),
.ef-tournament-card:nth-child(3) { animation-delay: 150ms; }
.ef-history-section { animation: ef-archive-enter .52s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .ef-hero,
  .ef-season-hero,
  .ef-league-card,
  .ef-tournament-card,
  .ef-history-state,
  .ef-history-section { animation: none !important; }
}

.ef-league-current { align-items: center; gap: 8px; }
.ef-live-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #ff5c66; box-shadow: 0 0 0 4px rgba(255, 92, 102, .12), 0 0 12px rgba(255, 92, 102, .55); }
.ef-league-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ef-league-actions .ef-button { flex: 1 1 130px; min-height: 44px; padding: 10px 12px; border-radius: 7px; font-size: 12px; }
.ef-league-actions .ef-live-action { gap: 9px; }
.ef-archive-heading { margin-bottom: 24px; }
.ef-archive-heading {
  --ef-archive-title-half: clamp(15px, 2.7vw, 29px);
  position: relative;
  min-height: 170px;
  padding: clamp(26px, 5vw, 50px);
  text-align: center;
}
.ef-archive-heading > .ef-kicker {
  position: absolute;
  top: calc(50% - var(--ef-archive-title-half) - 27px);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.ef-archive-heading h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 40px);
  max-width: 760px;
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(30px, 5.4vw, 58px);
  text-align: center;
}
.ef-archive-heading > .ef-lead {
  position: absolute;
  top: calc(50% + var(--ef-archive-title-half) + 12px);
  left: 50%;
  width: min(760px, calc(100% - 40px));
  max-width: none;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
}
.ef-archive-empty { margin-top: 25px; }

[data-ef-history-matches-container]:not([data-ef-history-matches-open]) > :not(.ef-history-champion-section):not(.ef-history-view-matches-button):not(.ef-history-progress-root):not(.ef-history-no-matches-message) {
  display: none !important;
}
.ef-history-view-matches-button {
  display: flex;
  width: min(100%, 260px);
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  padding: 12px 20px;
  border: 1px solid rgba(255, 231, 53, .72);
  border-radius: 10px;
  color: #081a37;
  background: linear-gradient(135deg, #fff27a, #f4d522 58%, #d6ab00);
  box-shadow: 0 8px 24px rgba(244, 213, 34, .16), inset 0 1px 0 rgba(255,255,255,.5);
  font: 800 14px/1.2 Inter, "Segoe UI", system-ui, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.ef-history-view-matches-button[hidden] { display: none !important; }
.ef-history-view-matches-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(244, 213, 34, .25), inset 0 1px 0 rgba(255,255,255,.55);
  filter: brightness(1.04);
}
.ef-history-view-matches-button:focus-visible {
  outline: 3px solid #fff3a0;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .ef-history-view-matches-button { transition: none; }
  .ef-history-view-matches-button:hover { transform: none; }
}

.ef-season-browser { margin: 0 0 27px; padding: 20px; border: 1px solid rgba(182,204,242,.17); border-radius: 13px; background: linear-gradient(145deg, rgba(12,39,79,.76), rgba(7,24,52,.85)); }
.ef-season-browser-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ef-season-browser-heading .ef-kicker { margin-bottom: 4px; }
.ef-season-browser-heading > div:first-child > strong { color: var(--ef-ink); font-size: 15px; }
.ef-season-stepper { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ef-season-stepper a { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 12px; border: 1px solid rgba(182,204,242,.2); border-radius: 6px; color: #e8effb; font-size: 12px; font-weight: 750; text-decoration: none; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.ef-season-stepper a:hover { border-color: var(--ef-yellow); color: var(--ef-yellow); background: rgba(255,231,53,.06); }
.ef-season-timeline { display: flex; gap: 10px; overflow-x: auto; margin-top: 17px; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-color: rgba(255,231,53,.45) rgba(255,255,255,.06); scrollbar-width: thin; }
.ef-season-tab { display: grid; flex: 0 0 178px; gap: 5px; min-height: 110px; align-content: start; padding: 14px; border: 1px solid rgba(182,204,242,.16); border-radius: 8px; background: rgba(7,18,43,.64); color: inherit; scroll-snap-align: start; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.ef-season-tab:hover { transform: translateY(-2px); border-color: rgba(255,231,53,.52); }
.ef-season-tab.is-selected { border-color: rgba(255,231,53,.75); background: linear-gradient(145deg, rgba(255,231,53,.12), rgba(7,18,43,.78)); box-shadow: inset 0 0 0 1px rgba(255,231,53,.12); }
.ef-season-tab > span:first-child { color: #9cb1d2; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.ef-season-tab > strong { color: var(--ef-yellow); font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.ef-season-tab-winner { overflow: hidden; color: #e1e9f5; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.ef-winners-list { display: grid; max-width: 900px; gap: 0; margin: 25px 0 0; padding: 0; border: 1px solid rgba(182,204,242,.16); border-radius: 12px; background: rgba(7,22,49,.58); list-style: none; overflow: hidden; }
.ef-winners-list li + li { border-top: 1px solid rgba(223,235,255,.1); }
.ef-winner-record { display: grid; grid-template-columns: minmax(90px, .35fr) minmax(0, 1fr) 22px; align-items: center; gap: 16px; min-height: 67px; padding: 15px 20px; color: inherit; text-decoration: none; transition: background .18s ease; }
.ef-winner-record:hover { background: rgba(255,231,53,.055); }
.ef-winner-season { color: #a9bbd5; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.ef-winner-record strong { color: #f6f8fd; font-size: 15px; overflow-wrap: anywhere; }
.ef-winner-record:hover strong { color: var(--ef-yellow); }
.ef-winner-arrow { color: var(--ef-yellow); text-align: right; }

.ef-live-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 235px; padding: clamp(26px, 5vw, 52px); border: 1px solid rgba(255,92,102,.25); border-radius: 16px; background: radial-gradient(ellipse at 90% 15%, rgba(211,48,67,.18), transparent 40%), linear-gradient(145deg, rgba(11,39,81,.9), rgba(6,22,49,.94)); }
.ef-live-hero h1 { margin: 0 0 10px; color: var(--ef-ink); font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.05em; }
.ef-live-hero p:not(.ef-kicker) { max-width: 650px; margin: 0; color: #bdcce1; font-size: 15px; line-height: 1.65; }
.ef-live-hero > .ef-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 11px 13px; color: #fff; border: 1px solid rgba(255,92,102,.45); background: rgba(194,42,51,.2); }
.ef-league-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; padding-bottom: 12px; border-bottom: 1px solid rgba(223,235,255,.12); }
.ef-league-nav a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 15px; border: 1px solid transparent; border-radius: 6px; color: #b9c8dd; font-size: 12px; font-weight: 800; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.ef-league-nav a:hover, .ef-league-nav a.is-active { border-color: rgba(255,231,53,.3); color: var(--ef-yellow); background: rgba(255,231,53,.07); }
.ef-live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.ef-live-panel { min-height: 205px; padding: 22px; border: 1px solid rgba(182,204,242,.16); border-radius: 11px; background: linear-gradient(145deg, rgba(14,43,87,.72), rgba(7,24,52,.88)); animation: ef-archive-enter .52s cubic-bezier(.2, .7, .2, 1) both; }
.ef-live-panel:nth-child(2) { animation-delay: 75ms; }
.ef-live-panel:nth-child(3) { animation-delay: 150ms; }
.ef-live-panel .ef-kicker { margin-bottom: 9px; }
.ef-live-panel h2 { margin: 0 0 19px; color: var(--ef-ink); font-size: 19px; letter-spacing: -.025em; }
.ef-live-empty { display: flex; min-height: 93px; align-items: center; padding: 15px; border: 1px dashed rgba(182,204,242,.2); border-radius: 7px; color: #b7c7dd; background: rgba(4,16,38,.35); font-size: 12px; line-height: 1.6; }
.ef-live-bracket { padding: 22px; border: 1px solid rgba(182,204,242,.15); border-radius: 12px; background: rgba(7,22,49,.45); }
.ef-live-bracket .ef-section-heading { margin-bottom: 15px; }
.ef-live-bracket .ef-section-heading h2 { font-size: 25px; }
.ef-live-bracket-placeholder { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 90px; padding: 14px; border: 1px dashed rgba(182,204,242,.2); border-radius: 8px; color: #aabbd4; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ef-live-bracket-placeholder i { width: clamp(20px, 8vw, 90px); height: 1px; background: linear-gradient(90deg, rgba(255,231,53,.4), rgba(182,204,242,.2)); }
.ef-live-hero,
.ef-winner-record { animation: ef-archive-enter .52s cubic-bezier(.2, .7, .2, 1) both; }

@media (max-width: 850px) {
  .ef-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ef-league-actions { display: grid; grid-template-columns: 1fr; }
  .ef-league-actions .ef-button { width: 100%; }
  .ef-season-browser { padding: 15px; }
  .ef-season-browser-heading { align-items: flex-start; flex-direction: column; }
  .ef-season-stepper { justify-content: flex-start; }
  .ef-season-tab { flex-basis: 150px; min-height: 100px; padding: 12px; }
  .ef-winner-record { grid-template-columns: minmax(68px, .35fr) minmax(0, 1fr) 16px; gap: 9px; padding: 14px 12px; }
  .ef-winner-record strong { font-size: 13px; }
  .ef-live-hero { align-items: flex-start; flex-direction: column; min-height: 0; padding: 24px 20px; }
  .ef-live-hero > .ef-status { align-self: flex-start; }
  .ef-live-grid { grid-template-columns: 1fr; }
  .ef-live-panel { min-height: 0; padding: 18px; }
  .ef-live-bracket { padding: 18px 14px; }
  .ef-live-bracket-placeholder { justify-content: flex-start; gap: 9px; overflow-x: auto; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-live-panel,
  .ef-live-hero,
  .ef-winner-record { animation: none !important; }
}

/* Season operations: bright paper, editorial hierarchy and one clear matchday accent. */
html.ef-site-html,
html.ef-site-html body.ef-site-mode { color-scheme: light; background: #edf2f0; }
.ef-site-mode { color: #1c303c; }
.ef-site-mode .site-shell { background: #edf2f0; }
.ef-site-mode .site-main,
.ef-site-mode #main { color: #1c303c; background: transparent; }
.ef-site-mode .site-sidebar { border-right-color: #d8e2de; color: #1c303c; background: #f8faf8; box-shadow: 8px 0 28px rgba(26,48,55,.045); }
.ef-site-mode .sidebar-brand { border-bottom-color: #d8e2de; }
.ef-site-mode .sidebar-brand strong,
.ef-site-mode .sidebar-brand small { color: #1c303c; }
.ef-site-mode .side-nav-link { color: #586c74; }
.ef-site-mode .side-nav-link:hover { border-color: #d7e1dc; color: #1c303c; background: #eef3ef; }
.ef-site-mode .side-nav-link.active { border-color: #dae7bd; color: #263a33; background: #f0f5df; box-shadow: none; }
.ef-site-mode .side-nav-link.active::before { background: #9cb83c; }
.ef-site-mode .side-nav-link.active > svg { color: #78951d; }
.ef-site-mode .sidebar-bottom { border-top-color: #d8e2de; }
.ef-site-mode .sidebar-join { color: #24333a; background: #d8f06a; }
.ef-site-mode .site-header { border-bottom-color: #d8e2de; background: rgba(248,250,248,.92); }
.ef-site-mode .menu-toggle,
.ef-site-mode .language-toggle,
.ef-site-mode .language-menu { border-color: #d4dfda; color: #29414b; background: #f8faf8; }
.ef-site-mode .language-option { color: #29414b; }
.ef-site-mode .language-option:hover { background: #edf3ef; }
.ef-site-mode .site-footer { border-top-color: #d8e2de; background: #e8efec; }
.ef-site-mode .footer-description,
.ef-site-mode .footer-column h2,
.ef-site-mode .footer-brand,
.ef-site-mode .footer-contact-link,
.ef-site-mode .footer-column-links a,
.ef-site-mode .footer-social-links a,
.ef-site-mode .footer-bottom { color: #49616b; }
.efootball-page {
  --ef-ink: #1b303a;
  --ef-muted: #62747b;
  --ef-navy: #17374c;
  --ef-deep: #17374c;
  --ef-blue: #2b6172;
  --ef-yellow: #d8f06a;
  width: min(1180px, calc(100% - 52px));
  color: var(--ef-ink);
  font-family: "DM Sans", "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
}
.efootball-page a { color: inherit; }
.efootball-page :focus-visible { outline: 3px solid #8ca92b; outline-offset: 4px; }
.efootball-page .ef-kicker { color: #748e2c; }
.efootball-page .ef-lead { color: #65777d; }
.efootball-page .ef-section-heading h2 { color: #203742; }
.efootball-page .ef-section-heading p:not(.ef-kicker) { color: #6b7d83; }
.ef-season-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .55fr);
  align-items: center;
  gap: 26px;
  min-height: 360px;
  margin: 4px 0 0;
  padding: clamp(28px, 5.5vw, 63px);
  overflow: hidden;
  border: 1px solid rgba(23,55,76,.13);
  border-radius: 17px;
  color: #f4f7f3;
  background: linear-gradient(114deg, #18384d 0%, #214a5e 60%, #286375 100%);
  box-shadow: 0 20px 55px rgba(33,67,79,.12);
  animation: ef-archive-enter .55s cubic-bezier(.2,.7,.2,1) both;
}
.ef-season-home-hero::after {
  position: absolute;
  right: -90px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(239,246,220,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(239,246,220,.035), 0 0 0 80px rgba(239,246,220,.028);
  content: "";
  pointer-events: none;
}
.ef-season-home-copy { position: relative; z-index: 1; max-width: 640px; }
.ef-season-home-copy .ef-kicker { color: #d8f06a; }
.ef-season-home-copy .ef-kicker span { padding: 0 6px; color: rgba(255,255,255,.4); }
.ef-season-home-copy h1 { margin: 0 0 18px; color: #f5f8f3; font-size: clamp(48px, 7vw, 82px); font-weight: 800; letter-spacing: -.07em; line-height: .92; }
.ef-season-home-copy h1 span { color: #d8f06a; }
.ef-season-home-copy .ef-lead { max-width: 500px; margin: 0 0 24px; color: #c6d5d6; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.65; }
.ef-season-home-copy .ef-button-secondary { border-color: rgba(235,244,244,.28); color: #f5f8f3 !important; background: rgba(255,255,255,.045); }
.ef-season-home-copy .ef-button-secondary:hover { border-color: #d8f06a; color: #d8f06a !important; }
.ef-home-scoreboard { position: relative; z-index: 1; display: grid; min-height: 230px; justify-items: center; align-content: center; justify-self: end; width: min(100%, 270px); border: 1px solid rgba(216,240,106,.32); border-radius: 50%; color: #d8f06a; background: radial-gradient(circle, rgba(216,240,106,.09), rgba(255,255,255,.015) 63%, transparent 64%); transform: rotate(-7deg); }
.ef-home-scoreboard strong { margin-top: 4px; font-size: 98px; font-weight: 800; letter-spacing: -.12em; line-height: 1; }
.ef-home-scoreboard i { width: 58px; height: 1px; margin: 11px 0; background: rgba(216,240,106,.7); }
.ef-scoreboard-label,
.ef-home-scoreboard small { color: rgba(243,248,237,.68); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-align: center; }
.ef-home-scoreboard small { line-height: 1.7; }
.ef-season-home-section { margin-top: clamp(44px, 6vw, 72px); }
.ef-season-home-section .ef-section-heading { margin-bottom: 22px; }
.ef-season-home-section .ef-section-index { color: #7d8c90; }
.ef-season-home-section .ef-section-index i { color: #8ea72e; }
.ef-season-league-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.ef-season-league { min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid #d7e1dd; border-radius: 11px; background: #f9fbf9; box-shadow: 0 5px 18px rgba(24,52,59,.035); transition: transform .2s ease, border-color .2s ease; }
.ef-season-league:hover { transform: translateY(-2px); border-color: #b9c9be; }
.ef-season-league-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 15px; border-bottom: 1px solid #e0e8e4; }
.ef-season-league-top .ef-kicker { margin-bottom: 6px; font-size: 9px; }
.ef-season-league-top h3 { margin: 0; color: #203742; font-size: clamp(21px, 2.8vw, 29px); font-weight: 750; letter-spacing: -.05em; }
.ef-season-league .ef-league-abbreviation { min-width: 43px; min-height: 38px; border: 0; border-radius: 5px; color: #314638; background: #e5efc6; font: 700 11px "Space Mono", monospace; }
.ef-season-current { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 85px; padding: 15px 0; border-bottom: 1px solid #e0e8e4; }
.ef-season-current > div { display: grid; gap: 5px; }
.ef-current-label { color: #789023; font: 700 9px "Space Mono", monospace; letter-spacing: .11em; }
.ef-season-current strong { color: #263f4b; font-size: 16px; letter-spacing: -.02em; }
.ef-season-current-empty strong { color: #78878a; font-size: 14px; }
.efootball-page .ef-button { min-height: 41px; padding: 10px 13px; border-radius: 6px; font-size: 11px; }
.efootball-page .ef-button-primary { color: #27341d !important; background: #d8f06a; }
.efootball-page .ef-button-primary:hover { background: #e5f696; }
.efootball-page .ef-button-secondary { border-color: #d5e0db; color: #36515d !important; background: #fff; }
.efootball-page .ef-button-secondary:hover { border-color: #a8bbaf; background: #f3f7f4; }
.efootball-page .ef-button-live { display: inline-flex; align-items: center; gap: 8px; border-color: #edc9c4; color: #8f473d !important; background: #fff6f3; }
.efootball-page .ef-button-live:hover { border-color: #d9a69d; background: #fff0ec; }
.efootball-page .ef-live-dot { width: 7px; height: 7px; flex-basis: 7px; background: #cc675b; box-shadow: 0 0 0 3px rgba(204,103,91,.11); }
.ef-season-history { padding-top: 14px; }
.ef-season-history-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; color: #849196; font: 700 8px "Space Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.ef-season-history ul { display: grid; margin: 0; padding: 0; list-style: none; }
.ef-season-history li { border-bottom: 1px solid #e9eeeb; }
.ef-season-history li:last-child { border-bottom: 0; }
.ef-season-history li a { display: grid; grid-template-columns: minmax(0,1fr) auto 18px; align-items: center; gap: 10px; min-height: 38px; color: #425761; font-size: 11px; text-decoration: none; }
.ef-season-history li a:hover { color: #607b20; }
.ef-public-status { padding: 4px 6px; border-radius: 3px; color: #758487; background: #eef2f0; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.ef-public-status-live { color: #9b5148; background: #fff0ed; }
.ef-public-status-upcoming { color: #6b811f; background: #eff5dd; }
.ef-history-arrow { color: #84942c; text-align: right; }
.ef-history-empty { margin: 10px 0 0; color: #849196; font-size: 11px; }
.ef-public-season-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; min-height: 245px; margin: 8px 0 0; padding: clamp(24px,4.5vw,46px); border: 1px solid #d4e0dc; border-radius: 13px; background: linear-gradient(112deg,#f8faf8,#e7efeb); animation: ef-archive-enter .5s cubic-bezier(.2,.7,.2,1) both; }
.ef-public-season-intro h1 { display: flex; flex-direction: column; gap: 5px; margin: 0 0 10px; color: #203b49; font-size: clamp(29px,4.2vw,48px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.ef-public-season-intro h1 span { color: #789126; font: 700 11px "Space Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.ef-public-season-intro > p:not(.ef-kicker) { max-width: 570px; margin: 0; color: #697c82; font-size: 13px; line-height: 1.6; }
.ef-public-season-hero .ef-kicker { margin-bottom: 14px; }
.ef-public-season-hero .ef-kicker span { padding: 0 5px; color: #a5b0b1; }
.ef-public-season-hero .ef-season-meta { margin-top: 17px; color: #66777e; }
.ef-public-season-hero .ef-status { padding: 6px 8px; border: 1px solid #d4e0dc; border-radius: 4px; color: #627477; background: #fff; font-size: 8px; }
.ef-public-season-hero .ef-status-live { border-color: #ebc9c4; color: #a25046; background: #fff7f5; }
.ef-public-season-hero .ef-status-upcoming { border-color: #dbe6b9; color: #718824; background: #f7faee; }
.ef-season-summary { display: grid; min-width: 155px; justify-items: center; padding: 21px 25px; border-left: 1px solid #cfdbd6; }
.ef-summary-label { color: #75888e; font: 700 9px "Space Mono", monospace; letter-spacing: .13em; }
.ef-season-summary strong { margin: 5px 0 0; color: #234756; font-size: 53px; letter-spacing: -.08em; line-height: 1; }
.ef-summary-foot { margin-top: 6px; color: #718188; font-size: 10px; }
.ef-registration-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 17px; padding: 19px 22px; border: 1px solid #dce7bb; border-radius: 9px; background: #f7faee; }
.ef-registration-panel .ef-kicker { margin-bottom: 5px; }
.ef-registration-panel h2 { margin: 0 0 4px; color: #324831; font-size: 17px; letter-spacing: -.03em; }
.ef-registration-panel p:not(.ef-kicker) { margin: 0; color: #73805c; font-size: 11px; }
.ef-registration-form { display: flex; align-items: end; gap: 10px; }
.ef-registration-form label { display: grid; gap: 5px; color: #526350; font-size: 10px; font-weight: 700; }
.ef-registration-form select { min-width: 205px; min-height: 41px; padding: 8px 10px; border: 1px solid #cdd8c4; border-radius: 5px; color: #30454a; background: #fff; font: 500 12px inherit; }
.ef-registration-actions { display: grid; justify-items: end; gap: 7px; }
.ef-inline-link { color: #596f4b !important; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ef-registration-note { margin: 8px 0 0 auto !important; }
.ef-public-section { margin-top: clamp(42px, 6vw, 64px); }
.ef-public-section .ef-section-heading { margin-bottom: 18px; }
.ef-public-draw-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ef-public-draw-card,
.ef-public-group,
.ef-public-round { min-width: 0; padding: 17px; border: 1px solid #dce5e1; border-radius: 8px; background: #fafcfa; }
.ef-public-draw-heading,
.ef-public-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.ef-public-draw-heading h3,
.ef-public-group-heading h3,
.ef-public-round h3 { margin: 0; color: #284452; font-size: 14px; letter-spacing: -.02em; }
.ef-public-draw-heading > span,
.ef-public-group-heading > span { color: #849196; font: 700 8px "Space Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.ef-public-draw-card ol { display: grid; margin: 0; padding: 0; list-style: none; }
.ef-public-draw-card li { display: grid; grid-template-columns: 27px minmax(0,1fr) 9px; align-items: center; gap: 9px; min-height: 38px; border-top: 1px solid #e9efec; }
.ef-public-seed { color: #9aa6a4; font: 700 8px "Space Mono", monospace; }
.ef-public-draw-card li a { overflow: hidden; color: #405760; font-size: 11px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ef-public-draw-card li a:hover,
.ef-entrant-link:hover { color: #778e24; text-decoration: underline; text-underline-offset: 3px; }
.ef-public-draw-card .ef-draw-number { width: 6px; height: 6px; margin: 0; border-color: #9db43e; }
.ef-public-matchdays { display: grid; gap: 10px; }
.ef-public-matchday { overflow: hidden; border: 1px solid #dce5e1; border-radius: 8px; background: #fafcfa; }
.ef-public-matchday > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 17px; color: #284452; cursor: pointer; font-size: 12px; font-weight: 800; list-style-position: inside; }
.ef-public-matchday > summary::marker { color: #8da532; }
.ef-public-matchday > summary small { color: #849196; font: 700 8px "Space Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.ef-public-matchday[open] > summary { border-bottom: 1px solid #e2e9e6; }
.ef-public-matchday-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px; }
.ef-public-matchday-group { min-width: 0; padding: 12px; border: 1px solid #e1e9e5; border-radius: 6px; background: #fff; }
.ef-public-matchday-group h3 { margin: 0 0 7px; color: #587078; font: 700 8px "Space Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.ef-public-match-list { display: grid; }
.ef-public-match-row { display: grid; grid-template: "home score away" auto "status status status" auto / minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 4px 10px; padding: 9px 0; border-top: 1px solid #edf1ef; }
.ef-public-match-team { overflow: hidden; color: #405760; font-size: 10px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ef-public-match-team:hover { color: #718a20; text-decoration: underline; text-underline-offset: 2px; }
.ef-match-home { grid-area: home; text-align: right; }
.ef-match-away { grid-area: away; }
.ef-public-match-score { grid-area: score; color: #718a24; font: 700 11px "Space Mono", monospace; white-space: nowrap; }
.ef-public-match-status { grid-area: status; justify-self: center; color: #89969a; font: 700 7px "Space Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.ef-public-match-row.is-played .ef-public-match-status { color: #6d8127; }
.ef-public-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ef-public-group .ef-table-wrap { border: 1px solid #e1e9e5; border-radius: 6px; }
.ef-public-group .ef-table { min-width: 650px; background: #fff; }
.ef-public-group .ef-table th { padding: 10px 8px; color: #728186; background: #f0f4f1; font: 700 8px "Space Mono", monospace; }
.ef-public-group .ef-table td { padding: 10px 8px; border-bottom-color: #edf1ef; color: #4e6067; font-size: 10px; }
.ef-public-group .ef-table tbody tr:first-child { background: #f8faef; }
.ef-public-group .ef-table tbody tr:first-child td:first-child { color: #779023; }
.ef-public-group .ef-table td:last-child { color: #324d59; }
.ef-rank-badge { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border-radius: 4px; color: #6f8422; background: #eff5dc; font: 700 9px "Space Mono", monospace; }
.ef-entrant-link { color: #304a56 !important; font-weight: 700; text-decoration: none; }
.ef-public-rounds { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 12px; align-items: start; }
.ef-public-round h3 { padding-bottom: 11px; border-bottom: 1px solid #e2e9e6; }
.ef-public-ties { display: grid; gap: 8px; margin-top: 10px; }
.ef-public-tie { padding: 11px; border: 1px solid #e5ece8; border-radius: 6px; background: #fff; }
.ef-tie-label { display: block; margin-bottom: 7px; color: #829095; font: 700 8px "Space Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.ef-tie-team { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
.ef-tie-team + .ef-tie-team { border-top: 1px solid #eef2ef; }
.ef-tie-team a { overflow: hidden; color: #3c555f; font-size: 11px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ef-tie-team .ef-tbd-team { overflow: hidden; color: #89969a; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ef-tie-team a:hover { color: #718a20; }
.ef-tie-team strong { color: #244455; font: 700 13px "Space Mono", monospace; }
.ef-tie-penalties { display: block; margin-top: 7px; color: #758389; font-size: 9px; }
.ef-public-empty { margin-top: 38px; }
.ef-history-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(24px,4vw,42px); border: 1px solid #d6e1dc; border-radius: 12px; background: #f8faf8; }
.ef-history-hero .ef-kicker { margin-bottom: 9px; }
.ef-history-hero h1 { margin: 0 0 7px; color: #213d4b; font-size: clamp(30px,5vw,48px); letter-spacing: -.06em; }
.ef-history-hero-player-title { display: flex; max-width: 100%; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin: 0 0 7px; }
.ef-history-hero-player-title h1 { margin: 0; }
.ef-history-hero-discord { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; flex-wrap: wrap; gap: 5px; }
.ef-history-hero-discord-label { color: var(--ef-yellow); font-size: 9px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.ef-history-hero-discord-copy { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; gap: 5px; }
.ef-history-hero-discord .ef-discord-username-copy { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid rgba(244,237,0,.3); border-radius: 999px; color: var(--ef-ink); background: rgba(255,255,255,.06); font: 600 9px "Space Mono", monospace; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; white-space: normal; }
.ef-history-hero-discord .ef-discord-username-copy:hover { color: var(--ef-yellow); }
.ef-history-hero-discord .ef-copy-username-feedback { min-width: 28px; color: var(--ef-muted); font-size: 8px; }
.ef-history-hero p:not(.ef-kicker) { margin: 0; color: #6d7d82; font-size: 12px; }
.ef-history-hero .ef-button { flex: 0 0 auto; }
.ef-history-hero,
.ef-public-season-hero,
.ef-registration-panel,
.ef-public-section { animation: ef-archive-enter .48s cubic-bezier(.2,.7,.2,1) both; }
.ef-public-section:nth-of-type(2) { animation-delay: 70ms; }
.ef-public-section:nth-of-type(3) { animation-delay: 130ms; }
.ef-public-section:nth-of-type(4) { animation-delay: 190ms; }
.ef-public-section .ef-results-list { border-color: #dce5e1; background: #fafcfa; }
.ef-public-section .ef-result-row { border-color: #e7edeb; }
.ef-public-section .ef-round { color: #71838a; }
.ef-public-section .ef-player-name { color: #304a56; }
.ef-public-section .ef-score { color: #718a24; }
.ef-public-section .ef-score i { color: #aab4b1; }
.ef-season-home-hero + .ef-section { margin-top: clamp(44px,6vw,70px); }
.efootball-page .ef-empty { border-color: #d5e0db; color: #65777d; background: #f7faf8; }
.efootball-page .ef-empty strong { color: #304a56; }
.efootball-page .ef-empty p { color: #6b7d83; }
@media (max-width: 850px) {
  .ef-season-home-hero { grid-template-columns: minmax(0,1fr) 205px; }
  .ef-home-scoreboard { min-height: 205px; width: 205px; }
  .ef-home-scoreboard strong { font-size: 78px; }
  .ef-public-draw-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ef-public-groups { grid-template-columns: 1fr; }
  .ef-public-matchday-groups { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .efootball-page { width: min(100% - 28px, 1180px); padding-top: 17px; }
  .ef-season-home-hero { grid-template-columns: 1fr; min-height: 0; gap: 10px; padding: 27px 21px 24px; border-radius: 12px; }
  .ef-season-home-copy h1 { font-size: clamp(48px, 14vw, 67px); }
  .ef-home-scoreboard { position: absolute; right: -58px; bottom: -56px; min-height: 190px; width: 190px; opacity: .28; }
  .ef-season-league-grid,
  .ef-public-draw-grid { grid-template-columns: 1fr; }
  .ef-season-league { padding: 17px; }
  .ef-season-current { align-items: flex-start; flex-direction: column; }
  .ef-season-current .ef-button { width: 100%; }
  .ef-public-season-hero { grid-template-columns: 1fr; gap: 14px; padding: 23px 19px; }
  .ef-season-summary { grid-template-columns: auto 1fr; justify-items: start; align-items: baseline; gap: 0 10px; min-width: 0; padding: 14px 0 0; border-top: 1px solid #cfdbd6; border-left: 0; }
  .ef-season-summary strong { margin: 0; font-size: 34px; }
  .ef-summary-foot { grid-column: 2; margin: -4px 0 0; }
  .ef-registration-panel { align-items: flex-start; flex-direction: column; padding: 17px; }
  .ef-registration-form { width: 100%; align-items: stretch; flex-direction: column; }
  .ef-registration-form select { width: 100%; min-width: 0; }
  .ef-registration-form .ef-button,
  .ef-registration-actions { width: 100%; }
  .ef-registration-actions { justify-items: stretch; }
  .ef-registration-actions .ef-button { width: 100%; }
  .ef-registration-note { margin-left: 0 !important; }
  .ef-public-group { padding: 13px 10px; }
  .ef-public-group .ef-table th,
  .ef-public-group .ef-table td { padding: 9px 6px; font-size: 9px; }
  .ef-public-rounds { grid-template-columns: 1fr; }
  .ef-history-hero { align-items: flex-start; flex-direction: column; padding: 23px 19px; }
  .ef-history-hero .ef-button { width: 100%; }
  .ef-public-section .ef-result-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 13px; }
  .ef-public-section .ef-round { grid-column: 1 / -1; }
  .ef-public-section .ef-score { grid-column: 2; grid-row: 2 / 4; }
  .ef-public-section .ef-player-name { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-season-home-hero,
  .ef-public-season-hero,
  .ef-history-hero,
  .ef-registration-panel,
  .ef-public-section { animation: none !important; }
  .ef-season-league { transition: none; }
}
.ef-public-champion { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 20px; border: 1px solid #dbe6b9; border-radius: 8px; color: #405323; background: #f7faee; }
.ef-public-champion span { color: #718824; font: 700 9px "Space Mono", monospace; letter-spacing: .1em; }
.ef-public-champion strong { color: #30454a; font-size: 17px; }
@media (max-width: 640px) {
  .ef-public-champion { align-items: flex-start; flex-direction: column; gap: 5px; }
}

.ef-history-back-row { margin: 0 0 16px; }
.ef-history-back-row .ef-history-back-link { margin: 0; }
.ef-history-browser {
  --ef-history-card-width: 116px;
  --ef-history-browser-padding: clamp(16px, 3vw, 24px);
  margin: 25px 0 22px;
  padding: var(--ef-history-browser-padding);
  border: 1px solid rgba(182,204,242,.17);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(12,39,79,.76), rgba(7,24,52,.85));
}
.ef-history-browser .ef-season-browser-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.ef-history-browser .ef-season-browser-heading > div:first-child { width: 100%; text-align: center; }
.ef-history-browser .ef-season-browser-heading .ef-kicker {
  padding-inline-start: max(0px, calc(var(--ef-section-label-inset) - var(--ef-history-browser-padding)));
  text-align: left;
}
.ef-history-browser .ef-season-timeline {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px max(0px, calc((100% - var(--ef-history-card-width)) / 2)) 10px;
  scroll-padding-inline: max(0px, calc((100% - var(--ef-history-card-width)) / 2));
}
.ef-history-browser .ef-season-timeline::-webkit-scrollbar { display: none; }
.ef-history-browser .ef-season-timeline:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}
.ef-history-browser .ef-season-tab {
  appearance: none;
  font: inherit;
  cursor: pointer;
  flex-basis: var(--ef-history-card-width);
  width: var(--ef-history-card-width);
  height: var(--ef-history-card-width);
  min-height: 0;
  box-sizing: border-box;
  aspect-ratio: 1;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
  scroll-snap-align: center;
}
.ef-history-season-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 17px;
  margin: 0 0 20px;
  color: #f6f8fd;
  line-height: 1.05;
}
.ef-history-content { margin: 22px 0 45px; }
.ef-history-season {
  scroll-margin-top: 96px;
  animation: ef-archive-enter .35s ease both;
}
.ef-history-season[hidden] { display: none; }
.ef-history-season-hero { margin: 0; }
.ef-history-results { margin-top: 26px; }
.ef-history-results-heading { margin-bottom: 14px; }
.ef-history-results-heading .ef-kicker { margin-bottom: 5px; }
.ef-history-results-heading h3 { margin: 0; color: var(--ef-ink); font-size: 20px; }
.ef-history-season .ef-results-list { border-color: rgba(182,204,242,.16); background: rgba(7,10,32,.5); }
.ef-history-season .ef-result-row { border-color: rgba(255,255,255,.08); }
.ef-history-no-results {
  padding: 20px;
  border: 1px dashed rgba(182,204,242,.25);
  border-radius: 8px;
  color: #b7c7dd;
  background: rgba(4,16,38,.35);
}
.ef-history-no-results p { margin: 0; }
@media (max-width: 600px) {
  .ef-history-browser { --ef-history-card-width: 104px; --ef-history-browser-padding: 15px; }
  .ef-history-season-title { gap: 11px; }
  .ef-history-results { margin-top: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-history-season { animation: none !important; }
}

/* Restore the eFootball navy-and-yellow theme without affecting the main site. */
html.ef-site-html,
html.ef-site-html body.ef-site-mode { color-scheme: dark; background: #071735; }
.ef-site-mode { color: #f5f8ff; }
.ef-site-mode .site-shell {
  background:
    radial-gradient(ellipse at 78% 2%, rgba(30,92,190,.27), transparent 38%),
    linear-gradient(145deg, #0b2149 0%, #081a3a 48%, #06152e 100%);
  background-size: auto;
}
.ef-site-mode .site-main,
.ef-site-mode #main { color: #f5f8ff; background: transparent; }
.ef-site-mode .site-sidebar {
  border-right-color: rgba(182,204,242,.13);
  color: #f5f8ff;
  background: rgba(7,24,53,.96);
  box-shadow: 10px 0 34px rgba(0,8,28,.2);
}
.ef-site-mode .sidebar-brand,
.ef-site-mode .sidebar-bottom { border-color: rgba(182,204,242,.13); }
.ef-site-mode .sidebar-brand strong,
.ef-site-mode .sidebar-brand small { color: #f5f8ff; }
.ef-site-mode .side-nav-link { color: rgba(255,255,255,.86); }
.ef-site-mode .side-nav-link:hover { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.12); }
.ef-site-mode .side-nav-link.active { border-color: rgba(255,231,53,.65); color: #fff; background: rgba(12,43,126,.32); box-shadow: none; }
.ef-site-mode .side-nav-link.active::before { background: #ffe735; }
.ef-site-mode .side-nav-link.active > svg { color: #ffe735; }
.ef-site-mode .sidebar-join { color: #17366f; background: linear-gradient(105deg,#ffe735,#f6d943); }
.ef-site-mode .site-header { border-bottom-color: rgba(182,204,242,.13); background: rgba(7,24,53,.86); }
.ef-site-mode .menu-toggle,
.ef-site-mode .language-toggle,
.ef-site-mode .language-menu { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(15,55,145,.32); }
.ef-site-mode .language-option { color: #fff; }
.ef-site-mode .language-option:hover { background: rgba(255,255,255,.14); }
.ef-site-mode .site-footer { border-top-color: rgba(182,204,242,.13); background: rgba(5,19,43,.35); }
.ef-site-mode .footer-description,
.ef-site-mode .footer-column h2,
.ef-site-mode .footer-brand,
.ef-site-mode .footer-contact-link,
.ef-site-mode .footer-column-links a,
.ef-site-mode .footer-social-links a,
.ef-site-mode .footer-bottom { color: rgba(255,255,255,.9); }

.efootball-page {
  --ef-ink: #f5f8ff;
  --ef-muted: #aebed8;
  --ef-navy: #071735;
  --ef-deep: #0a2046;
  --ef-blue: #164a93;
  --ef-yellow: #ffe735;
  color: var(--ef-ink);
}
.efootball-page :is(h1,h2,h3) { color: var(--ef-ink); }
.efootball-page .ef-kicker { color: var(--ef-yellow); }
.efootball-page .ef-section-heading h2 { color: var(--ef-ink); }
.efootball-page .ef-lead,
.efootball-page .ef-section-heading p:not(.ef-kicker),
.efootball-page .ef-history-hero p:not(.ef-kicker),
.efootball-page .ef-public-season-intro > p:not(.ef-kicker),
.efootball-page .ef-registration-panel p:not(.ef-kicker) { color: var(--ef-muted); }
.efootball-page :focus-visible { outline-color: var(--ef-yellow); }

.ef-season-home-hero {
  border-color: rgba(182,204,242,.18);
  background: radial-gradient(ellipse at 78% 45%, rgba(37,104,199,.32), transparent 42%), linear-gradient(125deg,#081b3b,#0d2c5b);
  box-shadow: 0 20px 55px rgba(0,8,28,.2);
}
.ef-season-home-hero::after { border-color: rgba(233,241,255,.08); box-shadow: 0 0 0 38px rgba(233,241,255,.025), 0 0 0 80px rgba(233,241,255,.02); }
.ef-season-home-copy .ef-kicker,
.ef-season-home-copy h1 span,
.ef-home-scoreboard,
.ef-season-home-section .ef-section-index i,
.ef-current-label,
.ef-season-history li a:hover,
.ef-history-arrow,
.ef-public-season-intro h1 span,
.ef-inline-link,
.ef-public-champion span { color: var(--ef-yellow); }
.ef-season-home-copy h1 { color: #f5f8ff; }
.ef-season-home-copy .ef-lead { color: #c6d5e6; }
.ef-season-home-copy .ef-button-secondary { border-color: rgba(235,244,244,.28); color: #f5f8ff !important; background: rgba(255,255,255,.045); }
.ef-season-home-copy .ef-button-secondary:hover { border-color: var(--ef-yellow); color: var(--ef-yellow) !important; }
.ef-home-scoreboard { border-color: rgba(255,231,53,.32); background: radial-gradient(circle,rgba(255,231,53,.09),rgba(255,255,255,.015) 63%,transparent 64%); }
.ef-home-scoreboard i { background: rgba(255,231,53,.7); }
.ef-scoreboard-label,
.ef-home-scoreboard small { color: rgba(243,248,255,.68); }
.ef-season-home-section .ef-section-index,
.ef-season-history-heading,
.ef-history-empty,
.ef-public-draw-heading > span,
.ef-public-group-heading > span,
.ef-public-season-hero .ef-season-meta,
.ef-summary-label,
.ef-summary-foot,
.ef-public-seed,
.ef-tie-label,
.ef-tie-penalties { color: var(--ef-muted); }
.ef-season-league,
.ef-public-season-hero,
.ef-registration-panel,
.ef-public-draw-card,
.ef-public-matchday,
.ef-public-matchday-group,
.ef-public-group,
.ef-public-round,
.ef-public-tie,
.ef-history-hero,
.ef-public-section .ef-results-list,
.efootball-page .ef-empty {
  border-color: rgba(182,204,242,.17);
  color: var(--ef-ink);
  background: linear-gradient(145deg,rgba(12,39,79,.76),rgba(7,24,52,.88));
  box-shadow: 0 12px 34px rgba(0,8,28,.14);
}
.ef-season-league:hover { border-color: rgba(255,231,53,.44); }
.ef-season-league-top,
.ef-season-current,
.ef-season-history li,
.ef-public-draw-card li,
.ef-public-matchday[open] > summary,
.ef-public-match-row,
.ef-public-round h3 { border-color: rgba(223,235,255,.13); }
.ef-season-league-top h3,
.ef-season-current strong,
.ef-public-season-intro h1,
.ef-registration-panel h2,
.ef-public-draw-heading h3,
.ef-public-matchday > summary,
.ef-public-group-heading h3,
.ef-public-matchday-group h3,
.ef-public-round h3,
.ef-public-champion strong,
.ef-public-section .ef-player-name,
.ef-public-group .ef-table td { color: var(--ef-ink); }
.ef-season-league .ef-league-abbreviation,
.ef-public-group .ef-rank-badge { color: #081a37; background: var(--ef-yellow); }
.ef-season-current-empty strong { color: var(--ef-muted); }
.ef-season-history li { border-bottom-color: rgba(223,235,255,.11); }
.ef-season-history li a,
.ef-public-draw-card li a,
.ef-public-match-team,
.ef-entrant-link,
.ef-tie-team a { color: #d9e3f4 !important; }
.ef-season-history li a:hover,
.ef-public-match-team:hover,
.ef-entrant-link:hover,
.ef-tie-team a:hover { color: var(--ef-yellow) !important; }
.ef-public-matchday > summary small,
.ef-public-match-status,
.ef-tie-team .ef-tbd-team { color: var(--ef-muted); }
.ef-public-match-score,
.ef-public-match-row.is-played .ef-public-match-status { color: var(--ef-yellow); }
.ef-public-draw-card .ef-draw-number { border-color: var(--ef-yellow); }

.efootball-page .ef-button-primary { color: #081a37 !important; background: var(--ef-yellow); }
.efootball-page .ef-button-primary:hover { background: #fff27a; }
.efootball-page .ef-button-secondary { border-color: rgba(218,231,255,.3); color: #f4f7ff !important; background: rgba(255,255,255,.035); }
.efootball-page .ef-button-secondary:hover { border-color: var(--ef-yellow); background: rgba(255,255,255,.08); }
.efootball-page .ef-button-live { border-color: rgba(255,104,104,.55); color: #fff !important; background: rgba(194,42,51,.24); }
.efootball-page .ef-live-dot { background: #ff6868; }
.ef-public-status { color: #cbd8eb; background: rgba(255,255,255,.08); }
.ef-public-status-live { color: #ffd9d9; background: rgba(194,42,51,.24); }
.ef-public-status-upcoming { color: var(--ef-yellow); background: rgba(255,231,53,.1); }
.ef-history-arrow { color: var(--ef-yellow); }

.ef-public-season-hero { border-color: rgba(182,204,242,.18); background: var(--ef-tournament-header-bg); }
.ef-public-season-hero .ef-kicker span { color: rgba(255,255,255,.45); }
.ef-public-season-hero .ef-status { border-color: rgba(182,204,242,.24); color: #cbd8eb; background: rgba(7,24,52,.72); }
.ef-public-season-hero .ef-status-live { border-color: rgba(255,104,104,.55); color: #ffd9d9; background: rgba(194,42,51,.24); }
.ef-public-season-hero .ef-status-upcoming { border-color: rgba(255,231,53,.35); color: var(--ef-yellow); background: rgba(255,231,53,.08); }
.ef-season-summary { border-left-color: rgba(223,235,255,.2); }
.ef-season-summary strong { color: var(--ef-yellow); }
.ef-registration-panel { border-color: rgba(255,231,53,.24); }
.ef-registration-form label { color: var(--ef-muted); }
.ef-registration-form select { border-color: rgba(182,204,242,.24); color: var(--ef-ink); background: rgba(3,12,30,.74); }
.ef-public-group .ef-table-wrap { border-color: rgba(182,204,242,.16); }
.ef-public-group .ef-table { background: rgba(6,20,44,.7); }
.ef-public-group .ef-table th { color: #c2d0e6; background: rgba(24,68,128,.48); }
.ef-public-group .ef-table td { border-bottom-color: rgba(223,235,255,.1); }
.ef-public-group .ef-table td:last-child { color: var(--ef-ink); }
.ef-public-group .ef-table tbody tr:first-child { background: rgba(255,231,53,.08); }
.ef-public-group .ef-table tbody tr:first-child td:first-child,
.ef-public-section .ef-score { color: var(--ef-yellow); }
.ef-public-round h3 { border-bottom-color: rgba(223,235,255,.13); }
.ef-public-tie { border-color: rgba(182,204,242,.16); background: rgba(7,24,52,.72); }
.ef-tie-team + .ef-tie-team { border-top-color: rgba(223,235,255,.1); }
.ef-tie-team strong { color: var(--ef-ink); }
.ef-history-hero h1 { color: var(--ef-ink); }
.ef-public-section .ef-results-list { border-color: rgba(182,204,242,.16); background: rgba(7,10,32,.5); }
.ef-public-section .ef-result-row { border-color: rgba(255,255,255,.08); }
.ef-public-section .ef-round,
.ef-public-section .ef-score i { color: var(--ef-muted); }
.efootball-page .ef-empty { border-color: rgba(182,204,242,.25); color: var(--ef-muted); background: rgba(4,16,38,.35); }
.efootball-page .ef-empty strong { color: var(--ef-ink); }
.efootball-page .ef-empty p { color: var(--ef-muted); }
.ef-public-champion { border-color: rgba(255,231,53,.24); color: var(--ef-ink); background: rgba(255,231,53,.055); }
.ef-public-champion span { color: var(--ef-yellow); }
.ef-public-champion strong { color: var(--ef-ink); }


/* Separate current and registration-open seasons from the tournament history archive. */
.efootball-page .ef-league-history-link,
.efootball-page .ef-live-tournament-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.efootball-page .ef-league-history-link:focus-visible,
.efootball-page .ef-live-tournament-card:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 4px;
}
.efootball-page .ef-live-tournament-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.efootball-page .ef-live-tournament-grid > .ef-live-tournament-card:only-child {
  grid-column: 1 / -1;
  min-height: 210px;
}
@media (max-width: 600px) {
  .efootball-page .ef-live-tournament-grid > .ef-live-tournament-card:only-child {
    min-height: 162px;
  }
}
.efootball-page .ef-live-tournament-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.efootball-page .ef-live-tournament-card .ef-league-card-heading {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.efootball-page .ef-live-tournament-card .ef-league-current { margin: 0; }
.efootball-page .ef-live-tournament-link-label {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--ef-yellow);
  font-size: 12px;
  font-weight: 800;
}
.efootball-page .ef-live-tournament-link-label > span {
  display: inline-block;
  transition: transform .18s ease;
}
.efootball-page .ef-live-tournament-card:hover .ef-live-tournament-link-label > span {
  transform: translateX(4px);
}
@media (max-width: 850px) {
  .efootball-page .ef-live-tournament-grid { grid-template-columns: 1fr; }
}



/* Put the community footer in an eFootball-style card without affecting the main site. */
.ef-community-footer .footer-wrap {
  width: calc(100% - 40px);
  max-width: 1210px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(182, 204, 242, .18);
  border-radius: 16px;
  background: radial-gradient(ellipse at 90% 0%, rgba(30, 92, 190, .14), transparent 45%), linear-gradient(145deg, rgba(12, 39, 79, .78), rgba(7, 24, 52, .93));
  box-shadow: 0 14px 34px rgba(0, 8, 28, .16);
}
.ef-community-footer .footer-main-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, .65fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  padding-bottom: 24px;
}
.ef-community-footer .footer-brand-block { grid-column: auto; }
.ef-community-footer .footer-description { color: #c4d2e7; }
.ef-community-footer .footer-column h2 { color: #f5f8ff; }
.ef-community-footer .footer-contact-email { color: #f5f8ff; }
.ef-community-footer .footer-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 10px; }
.ef-community-footer .footer-social-links li,
.ef-community-footer .footer-social-links a { min-width: 0; }
.ef-community-footer .footer-social-links a { color: #c4d2e7; }
.ef-community-footer .footer-contact-link:hover,
.ef-community-footer .footer-social-links a:hover { color: #ffe735; }
.ef-community-footer .footer-bottom {
  border-top-color: rgba(182, 204, 242, .14);
  color: #9cb1d2;
}
@media (max-width: 900px) {
  .ef-community-footer .footer-main-grid { grid-template-columns: minmax(0, 1fr) minmax(150px, .75fr); }
  .ef-community-footer .footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ef-community-footer .footer-wrap { width: calc(100% - 28px); padding: 20px 16px; }
  .ef-community-footer .footer-main-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px 12px; padding-bottom: 20px; }
  .ef-community-footer .footer-brand-block { grid-column: 1 / -1; }
  .ef-community-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}


.ef-status-cancelled { color: #ffd1cb; border-color: rgba(255,133,141,.4); background: rgba(180,79,66,.2); }
.ef-season-cancelled-notice { margin-top: 18px; }

/* Shared club catalog badges and registration controls */
.ef-team-badge { width: 24px; height: 24px; flex: 0 0 24px; display: inline-grid; place-items: center; object-fit: contain; border-radius: 50%; }
.ef-team-badge-placeholder { border: 1px solid rgba(154, 181, 116, .36); color: #f4f7e9; background: linear-gradient(145deg, #557a56, #314a59); font: 800 8px "Space Mono", monospace; letter-spacing: -.04em; }
.ef-player-name { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ef-player-name > span:not(.ef-team-badge-placeholder) { overflow: hidden; text-overflow: ellipsis; }
.ef-player-team-cell { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; column-gap: 8px; min-width: 145px; }
.ef-player-team-cell .ef-team-badge { grid-row: 1 / span 2; }
.ef-player-team-cell strong, .ef-player-team-cell small { grid-column: 2; overflow: hidden; text-overflow: ellipsis; }
.ef-player-team-cell.is-team-only .ef-team-badge { grid-row: auto; }
.ef-player-team-cell.is-team-only strong { grid-row: 1; align-self: center; }
.ef-player-team-cell small { color: var(--ef-muted); font-size: 9px; }
.ef-public-match-team { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ef-match-home { flex-direction: row-reverse; }
.ef-public-match-team > span:not(.ef-team-badge-placeholder) { overflow: hidden; text-overflow: ellipsis; }
.ef-tie-team a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ef-registration-form { flex-wrap: wrap; }
.ef-tournament-registration-form { align-items: end; margin-top: 14px; }
.ef-tournament-registration-form .ef-button { white-space: nowrap; }
.ef-account-team { display: flex; align-items: center; gap: 7px; margin: 8px 0; color: var(--ef-muted); font-size: 10px; }
.efootball-page .ef-account-fixtures-empty {
  display: grid;
  min-height: 68px;
  place-items: center;
  margin: 0;
  padding: 12px clamp(8px, 2vw, 18px) 0;
  color: var(--ef-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}
@media (max-width: 680px) {
  .ef-team-badge { width: 20px; height: 20px; flex-basis: 20px; }
  .ef-player-name { gap: 5px; font-size: 12px; }
  .ef-player-team-cell { grid-template-columns: 20px minmax(0, 1fr); min-width: 120px; column-gap: 6px; }
  .ef-public-match-team { gap: 4px; font-size: 9px; }
}

/* Inline, searchable club picker and team-aware fixture labels */
.ef-team-field { display: grid; gap: 8px; min-width: min(100%, 285px); }
.ef-team-field-label { color: var(--ef-muted); font-size: 10px; font-weight: 700; }
.ef-team-picker { position: relative; width: min(100%, 480px); min-width: 0; }
.ef-team-picker-trigger { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid rgba(182,204,242,.22); border-radius: 12px; color: var(--ef-ink); background: rgba(255,255,255,.045); text-align: left; cursor: pointer; transition: border-color .16s ease,background .16s ease,box-shadow .16s ease; }
.ef-team-picker-trigger:hover, .ef-team-picker-trigger[aria-expanded="true"] { border-color: var(--ef-yellow); background: rgba(255,255,255,.07); box-shadow: 0 0 0 3px rgba(255,224,75,.09); }
.ef-team-picker-trigger:focus-visible, .ef-team-league-choice:focus-visible, .ef-team-option:focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: 2px; }
.ef-team-picker-preview { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 11px; font-weight: 750; }
.ef-team-picker-preview > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-team-picker-preview .ef-team-badge { width: 28px; height: 28px; flex-basis: 28px; }
.ef-team-picker-chevron { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.ef-team-picker-trigger[aria-expanded="true"] .ef-team-picker-chevron { transform: rotate(180deg); }
.ef-team-picker-panel { margin-top: 8px; padding: 13px; border: 1px solid rgba(182,204,242,.22); border-radius: 14px; background: #081533; box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.ef-team-picker [hidden] { display: none !important; }
.ef-team-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ef-team-picker-heading .ef-kicker { margin: 0 0 4px; color: var(--ef-yellow); font-size: 8px; }
.ef-team-picker-heading strong { color: var(--ef-ink); font-size: 12px; }
.ef-team-picker-back { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; margin: 0 0 8px; padding: 6px 9px; border: 1px solid rgba(255,224,75,.25); border-radius: 9px; color: var(--ef-yellow); background: rgba(255,224,75,.06); font-family: inherit; font-size: 9px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.ef-team-picker-back:hover { transform: translateX(-2px); border-color: var(--ef-yellow); background: rgba(255,224,75,.12); }
.ef-team-picker-back:focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: 2px; }
.ef-team-picker-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ef-team-picker-close { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(182,204,242,.18); border-radius: 9px; color: var(--ef-muted); background: rgba(255,255,255,.04); cursor: pointer; }
.ef-team-picker-close:hover { border-color: var(--ef-yellow); color: var(--ef-yellow); }
.ef-team-picker-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ef-team-league-list { display: flex; gap: 7px; max-height: 112px; overflow: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.ef-team-league-choice { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 10px; border: 1px solid rgba(182,204,242,.19); border-radius: 10px; color: var(--ef-ink); background: rgba(255,255,255,.035); text-align: left; font-size: 9px; font-weight: 650; cursor: pointer; }
.ef-team-league-choice > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-team-league-choice small { min-width: 19px; padding: 2px 5px; border-radius: 999px; color: #09152d; background: var(--ef-yellow); text-align: center; font: 700 8px "Space Mono",monospace; }
.ef-team-league-choice:hover, .ef-team-league-choice.is-active { border-color: var(--ef-yellow); background: rgba(255,224,75,.1); }
.ef-team-picker-search { display: grid; gap: 6px; margin: 9px 0; color: var(--ef-muted); font-size: 9px; font-weight: 700; }
.ef-team-picker-search input { width: 100%; min-height: 38px; padding: 8px 11px; border: 1px solid rgba(182,204,242,.2); border-radius: 9px; color: var(--ef-ink); background: rgba(1,8,24,.8); font: inherit; font-size: 11px; }
.ef-team-picker-search input:focus { border-color: var(--ef-yellow); outline: 2px solid rgba(255,224,75,.13); }
.ef-team-picker-prompt, .ef-team-picker-empty, .ef-team-picker-global-empty { margin: 10px 2px 2px; color: var(--ef-muted); font-size: 10px; line-height: 1.5; }
.ef-team-picker-results-title { display: block; margin: 10px 2px 7px; color: var(--ef-yellow); font-size: 9px; font-weight: 750; }
.ef-team-picker-grid-panel + .ef-team-picker-grid-panel { margin-top: 10px; }
.ef-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; max-height: 276px; overflow: auto; padding: 2px 2px 5px; scrollbar-width: thin; }
.ef-team-option { min-height: 64px; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border: 1px solid rgba(182,204,242,.15); border-radius: 10px; color: var(--ef-ink); background: rgba(255,255,255,.035); text-align: left; cursor: pointer; transition: border-color .15s ease,background .15s ease,transform .15s ease; }
.ef-team-option:hover { transform: translateY(-1px); border-color: rgba(255,224,75,.62); background: rgba(255,224,75,.07); }
.ef-team-option[aria-pressed="true"] { border-color: var(--ef-yellow); background: rgba(255,224,75,.13); box-shadow: inset 0 0 0 1px rgba(255,224,75,.22); }
.ef-team-option .ef-team-badge { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 6px; }
.ef-team-option-name { min-width: 0; overflow: hidden; color: var(--ef-ink); font-size: 9px; font-weight: 650; line-height: 1.35; text-overflow: ellipsis; }
.ef-team-picker-error { margin: 6px 0 0; color: #ffb6b6; font-size: 9px; }
.ef-team-picker.has-error .ef-team-picker-trigger { border-color: #ff7a7a; box-shadow: 0 0 0 3px rgba(255,122,122,.12); }
.ef-fixture-player-info { display: grid; gap: 2px; min-width: 0; overflow: hidden; line-height: 1.2; }
.ef-fixture-player-info .ef-fixture-player-name { display: block; min-width: 0; overflow: hidden; color: inherit; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.ef-fixture-player-info small { display: block; min-width: 0; overflow: hidden; color: var(--ef-muted); font-size: 8px; font-weight: 650; letter-spacing: .025em; text-overflow: ellipsis; white-space: nowrap; }
.ef-player-name .ef-fixture-player-info, .ef-public-match-team .ef-fixture-player-info { overflow: hidden; text-overflow: clip; }
@media (max-width: 680px) {
  .ef-team-field { width: 100%; }
  .ef-team-picker { width: 100%; }
  .ef-team-picker-panel { padding: 10px; }
  .ef-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 250px; }
  .ef-team-option { min-height: 58px; gap: 6px; padding: 7px; }
  .ef-team-option .ef-team-badge { width: 27px; height: 27px; flex-basis: 27px; }
  .ef-team-option-name { font-size: 8px; }
  .ef-fixture-player-info small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-team-picker-trigger, .ef-team-picker-chevron, .ef-team-option { transition: none; }
}


/* Season team roster and copy-only Discord usernames. */
.ef-season-teams-card { margin: 17px 0 0; padding: clamp(17px, 3vw, 24px); border: 1px solid #d5e0dc; border-radius: 11px; background: #f8fbf9; box-shadow: 0 5px 18px rgba(24,52,59,.035); }
.ef-season-teams-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ef-season-teams-heading .ef-kicker { margin: 0 0 5px; }
.ef-season-teams-heading h2 { margin: 0; color: #203b49; font-size: clamp(20px, 2.8vw, 26px); letter-spacing: -.04em; }
.ef-season-teams-heading p:not(.ef-kicker) { margin: 5px 0 0; color: #718188; font-size: 11px; }
.ef-season-teams-count { display: inline-flex; align-items: center; margin-top: 8px; padding: 7px 10px; border: 1px solid #dce5e1; border-radius: 999px; color: #607447; background: #fff; font: 700 9px "Space Mono", monospace; text-transform: uppercase; }
.ef-season-team-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.ef-season-team-card { min-width: 0; overflow: hidden; border: 1px solid #dce5e1; border-radius: 8px; background: #fff; }
.ef-season-team-card[data-accordion-open="true"] { border-color: #c6d3c9; box-shadow: 0 5px 16px rgba(24,52,59,.05); }
.ef-season-team-summary { appearance: none; -webkit-appearance: none; display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 0; color: #284452; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.ef-season-team-summary:focus-visible { outline: 3px solid #9ebc4a; outline-offset: -3px; }
.ef-season-team-identity { display: flex; min-width: 0; align-items: center; gap: 10px; }
.ef-season-team-identity img, .ef-season-team-logo-fallback { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 7px; object-fit: contain; background: #f2f5f2; }
.ef-season-team-logo-fallback { color: #586e3c; font: 700 10px "Space Mono", monospace; }
.ef-season-team-name { display: grid; min-width: 0; gap: 4px; }
.ef-season-team-name strong { overflow: hidden; color: #284452; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ef-season-team-name small { color: #849196; font-size: 9px; }
.ef-season-team-chevron { color: #718824; font-size: 20px; line-height: 1; transition: transform .18s ease; }
.ef-season-team-card[data-accordion-open="true"] .ef-season-team-chevron { transform: rotate(180deg); }
.ef-season-team-entrants { display: grid; gap: 0; margin: 0; padding: 0 13px; border-top: 1px solid #e6ece8; list-style: none; }
.ef-season-team-entrants > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 12px 0; border-bottom: 1px solid #edf1ee; }
.ef-season-team-entrants > li:last-child { border-bottom: 0; }
.ef-season-entrant-number { color: #9aa8a4; font: 700 9px "Space Mono", monospace; }
.ef-season-entrant-players { display: grid; gap: 8px; min-width: 0; }
.ef-season-entrant-player { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; }
.ef-season-entrant-player > strong { overflow-wrap: anywhere; color: #344d57; font-size: 11px; }
.ef-season-discord-handle { display: inline-flex; align-items: center; gap: 5px; }
.ef-discord-username-copy { padding: 3px 0; border: 0; color: #627b2c; background: transparent; font: 700 10px "DM Sans", sans-serif; text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.ef-discord-username-copy:hover { color: #40591a; }
.ef-discord-username-copy:focus-visible { outline: 2px solid #829b3a; outline-offset: 3px; }
.ef-copy-username-feedback { min-width: 34px; color: #73805c; font-size: 8px; }
.ef-season-discord-missing { color: #8b9694; font-size: 9px; }
.ef-season-teams-empty { margin: 14px 0 0; color: #718188; font-size: 11px; }
@media (max-width: 600px) {
  .ef-season-team-cards { grid-template-columns: 1fr; }
  .ef-season-team-summary { min-height: 58px; padding: 10px 11px; }
  .ef-season-entrant-player { grid-template-columns: 1fr; align-items: start; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-season-team-chevron { transition: none; }
}

/* Duo registration invitations. */
.ef-duo-invite-panel { display: grid; gap: 10px; margin: 16px 0; padding: clamp(16px, 3vw, 22px); border: 1px solid #d5e0dc; border-radius: 12px; color: #284452; background: #f8fbf9; }
.ef-duo-invite-panel > .ef-kicker { margin: 0; color: #718824; }
.ef-duo-invite-panel h2 { margin: 0; color: #203b49; font-size: clamp(18px, 2.5vw, 23px); letter-spacing: -.035em; }
.ef-duo-invite-panel > p:not(.ef-kicker) { margin: 0; color: #63747a; font-size: 12px; line-height: 1.55; }
.ef-duo-share-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 3px; }
.ef-duo-share-options-code-only { grid-template-columns: minmax(0, 1fr); }
.ef-duo-share-options-code-only .ef-duo-share-option { width: 100%; max-width: 560px; }
.ef-cl-duo-season .ef-duo-code-form-join .ef-button { min-height: 46px; padding: 11px 18px; }
.ef-duo-share-option { display: grid; align-content: start; justify-items: start; gap: 9px; min-width: 0; padding: 13px; border: 1px solid #dce5e1; border-radius: 9px; background: #fff; }
.ef-duo-share-option > strong { color: #294654; font-size: 11px; }
.ef-duo-share-option > a { max-width: 100%; overflow-wrap: anywhere; color: #617b2b; font-size: 10px; }
.ef-duo-share-option > code { color: #294654; font: 750 15px "Space Mono", monospace; letter-spacing: .1em; }
.ef-duo-share-option .ef-button { min-height: 36px; padding: 8px 12px; font-size: 10px; }
.ef-duo-copy-feedback { min-height: 12px; color: #718824; font-size: 9px; }
.ef-duo-invite-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.ef-duo-invite-actions form { margin: 0; }
.ef-duo-invite-panel > small { color: #718188; font-size: 10px; line-height: 1.45; }
.ef-duo-code-form { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; margin: 14px 0 0; padding: 14px; border: 1px solid #dce5e1; border-radius: 10px; background: #fff; }
.ef-duo-code-form label { display: grid; gap: 6px; min-width: min(100%, 230px); color: #64767c; font-size: 10px; font-weight: 700; }
.ef-duo-code-form input { min-height: 40px; padding: 8px 11px; border: 1px solid #d3dfda; border-radius: 8px; color: #203b49; background: #fbfdfc; font: 700 13px "Space Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.ef-duo-code-form input:focus-visible { outline: 2px solid #8ca63d; outline-offset: 2px; }
.ef-duo-code-form .ef-button { min-height: 40px; }
@media (max-width: 600px) {
  .ef-duo-share-options { grid-template-columns: 1fr; }
  .ef-duo-code-form { display: grid; align-items: stretch; }
  .ef-duo-code-form label { min-width: 0; }
}

/* Shared CL/EL season design. Invite actions remain limited to CL. */
.ef-cl-duo-season .ef-registration-panel,
.ef-cl-duo-season .ef-season-teams-card,
.ef-cl-duo-season .ef-duo-invite-panel {
  border-color: #d4d9d6;
  color: #1d2935;
  background: #f0f2ef;
  box-shadow: 0 12px 30px rgba(0,8,28,.18);
}
.ef-cl-duo-season .ef-registration-panel { align-items: stretch; flex-direction: column; gap: 15px; }
.ef-cl-duo-season .ef-registration-panel .ef-kicker,
.ef-cl-duo-season .ef-duo-invite-panel > .ef-kicker { color: #806700; }
.ef-cl-duo-season .ef-registration-panel h2,
.ef-cl-duo-season .ef-season-teams-heading h2,
.ef-cl-duo-season .ef-duo-invite-panel h2 { color: #1b2733; }
.ef-cl-duo-season .ef-registration-panel p:not(.ef-kicker),
.ef-cl-duo-season .ef-season-teams-heading p:not(.ef-kicker),
.ef-cl-duo-season .ef-duo-invite-panel > p:not(.ef-kicker),
.ef-cl-duo-season .ef-registration-note { color: #4e5b65; }
.ef-cl-duo-season .ef-registration-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; }
.ef-cl-duo-season .ef-registration-form label,
.ef-cl-duo-season .ef-team-field-label { color: #34414b; font-size: 11px; }
.ef-cl-duo-season .ef-registration-form input:not([type="hidden"]) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9d0ce; border-radius: 10px; color: #1b2733; background: #fbfcfa; font: inherit; font-size: 12px; }
.ef-cl-duo-season .ef-registration-form input:not([type="hidden"]):focus-visible { border-color: #9c861d; outline: 2px solid rgba(155,132,19,.16); outline-offset: 2px; }
.ef-cl-duo-season .ef-registration-form select { width: 100%; min-height: 46px; border-color: #c9d0ce; border-radius: 10px; color: #1b2733; background: #fbfcfa; }
.ef-cl-duo-season .ef-button-primary { min-height: 50px; padding: 13px 20px; border-radius: 11px; box-shadow: 0 6px 16px rgba(183,147,0,.2); font-size: 13px; font-weight: 800; transition: transform .16s ease,box-shadow .16s ease,background .16s ease; }
.ef-cl-duo-season .ef-button-primary:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(183,147,0,.27); }
.ef-cl-duo-season .ef-season-teams-heading h2 { color: #1b2733; }
.ef-cl-duo-season .ef-season-teams-count { border-color: #d2d8d5; color: #3b531e; background: #e7ebe5; }
.ef-cl-duo-season .ef-season-team-card { border-color: #d8ddda; background: #f8f9f7; }
.ef-cl-duo-season .ef-season-team-card[data-accordion-open="true"] { border-color: #bbc6bc; }
.ef-cl-duo-season .ef-season-team-summary { color: #263541; }
.ef-cl-duo-season .ef-season-team-name strong,
.ef-cl-duo-season .ef-season-entrant-player > strong { color: #263541; }
.ef-cl-duo-season .ef-season-team-name small,
.ef-cl-duo-season .ef-season-teams-empty,
.ef-cl-duo-season .ef-season-discord-missing { color: #53616b; }
.ef-cl-duo-season .ef-season-team-entrants { border-top-color: #dce1de; }
.ef-cl-duo-season .ef-season-entrant-player { border-bottom-color: #e1e5e2; }
.ef-cl-duo-season .ef-duo-share-option,
.ef-cl-duo-season .ef-duo-code-form { border-color: #d4dad6; background: #e8ebe7; }
.ef-cl-duo-season .ef-duo-share-option > strong,
.ef-cl-duo-season .ef-duo-share-option > code { color: #1d2935; }
.ef-cl-duo-season .ef-duo-share-option > a,
.ef-cl-duo-season .ef-discord-username-copy { color: #3e5f16; }
.ef-cl-duo-season .ef-duo-code-form label { color: #34414b; }
.ef-cl-duo-season .ef-duo-code-form input { border-color: #c9d0ce; color: #1b2733; background: #fbfcfa; }
.ef-cl-duo-season .ef-duo-invite-panel > small,
.ef-cl-duo-season .ef-duo-copy-feedback { color: #4e5b65; }
.ef-cl-duo-season .ef-team-picker-trigger { min-height: 52px; border-color: #c9d0ce; border-radius: 12px; color: #1b2733; background: #fbfcfa; box-shadow: 0 3px 10px rgba(14,31,44,.05); }
.ef-cl-duo-season .ef-team-picker-trigger:hover,
.ef-cl-duo-season .ef-team-picker-trigger[aria-expanded="true"] { transform: translateY(-1px); border-color: #9c861d; background: #fff; box-shadow: 0 0 0 3px rgba(155,132,19,.12),0 7px 16px rgba(14,31,44,.1); }
.ef-cl-duo-season .ef-team-picker-trigger,
.ef-cl-duo-season .ef-team-picker-chevron { transition: transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease; }
.ef-cl-duo-season .ef-team-picker-panel:not([hidden]) { animation: ef-team-picker-enter .18s ease-out; }
/* Softer registration and roster surfaces with stronger text contrast. */
.ef-cl-duo-season .ef-registration-panel,
.ef-cl-duo-season .ef-season-teams-card,
.ef-cl-duo-season .ef-duo-invite-panel { border-color: #cbd1ce; background: #e8ebe8; }
.ef-cl-duo-season .ef-season-team-card { border-color: #cbd2ce; background: #eceeec; }
.ef-cl-duo-season .ef-season-team-card[data-accordion-open="true"] { border-color: #aeb9b2; background: #e7eae7; }
.ef-cl-duo-season .ef-duo-code-form { border-color: #c8cfcb; background: #e1e5e2; }
.ef-cl-duo-season .ef-registration-form label,
.ef-cl-duo-season .ef-team-field-label,
.ef-cl-duo-season .ef-duo-code-form label { color: #26343d; font-size: 12px; }
.ef-cl-duo-season .ef-registration-form input:not([type="hidden"]),
.ef-cl-duo-season .ef-registration-form select,
.ef-cl-duo-season .ef-duo-code-form input,
.ef-cl-duo-season .ef-team-picker-trigger { border-color: #c3cbc6; color: #18242d; background: #edf0ed; }
.ef-cl-duo-season .ef-registration-form input:not([type="hidden"]) { font-size: 13px; }
.ef-cl-duo-season .ef-duo-code-form input { font-size: 14px; }
.ef-cl-duo-season .ef-team-picker-trigger:hover,
.ef-cl-duo-season .ef-team-picker-trigger[aria-expanded="true"] { background: #e4e8e4; }
.ef-cl-duo-season .ef-season-teams-heading p:not(.ef-kicker),
.ef-cl-duo-season .ef-duo-invite-panel > p:not(.ef-kicker),
.ef-cl-duo-season .ef-registration-note { color: #43505a; font-size: 12px; }
.ef-cl-duo-season .ef-season-teams-count { border-color: #c6ceca; color: #344b20; background: #dfe4df; }
.ef-cl-duo-season .ef-season-team-name strong { color: #1c2932; font-size: 13px; }
.ef-cl-duo-season .ef-season-team-name small,
.ef-cl-duo-season .ef-season-teams-empty,
.ef-cl-duo-season .ef-season-discord-missing { color: #46535c; font-size: 11px; }
.ef-cl-duo-season .ef-season-entrant-player > strong { color: #1c2932; font-size: 12px; }
.ef-cl-duo-season .ef-discord-username-copy { color: #365117; font-size: 11px; }
.ef-cl-duo-season .ef-duo-share-option > strong { color: #1c2932; font-size: 12px; }
.ef-cl-duo-season .ef-duo-share-option > code { color: #18242d; font-size: 14px; }
.ef-cl-duo-season .ef-duo-invite-panel > small { color: #43505a; font-size: 11px; }
/* Make the team picker match the registration page's primary action. */
.ef-cl-duo-season .ef-team-picker-trigger { min-height: 54px; border: 1px solid #ead622; color: #101b29; background: var(--ef-yellow); box-shadow: 0 7px 17px rgba(215,184,0,.22); font-size: 13px; font-weight: 800; }
.ef-cl-duo-season .ef-team-picker-trigger:hover,
.ef-cl-duo-season .ef-team-picker-trigger[aria-expanded="true"] { transform: translateY(-1px); border-color: #f3df28; color: #101b29; background: #fff27a; box-shadow: 0 0 0 3px rgba(255,224,75,.18),0 9px 20px rgba(215,184,0,.25); }
.ef-cl-duo-season .ef-team-picker-trigger:active { transform: translateY(0) scale(.985); }
.ef-cl-duo-season .ef-team-picker-trigger:focus-visible { outline: 2px solid #18242d; outline-offset: 3px; }
.ef-cl-duo-season .ef-team-league-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(70px,1fr)); gap: 9px; max-height: 238px; padding: 3px; }
.ef-cl-duo-season .ef-team-league-choice-logo { display: grid; min-width: 0; min-height: 78px; place-items: center; padding: 8px; border-radius: 13px; background: rgba(255,255,255,.055); text-align: center; transition: transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease; }
.ef-cl-duo-season .ef-team-league-choice-logo:hover { transform: translateY(-2px); border-color: rgba(255,224,75,.68); background: rgba(255,224,75,.08); }
.ef-cl-duo-season .ef-team-league-choice-logo.is-active { border-color: var(--ef-yellow); background: rgba(255,224,75,.14); box-shadow: 0 0 0 2px rgba(255,224,75,.12); }
.ef-cl-duo-season .ef-team-league-mark { display: block; width: 58px; height: 58px; padding: 5px; box-sizing: border-box; border: 1px solid rgba(20,30,40,.09); border-radius: 12px; background: #fff; object-fit: contain; box-shadow: 0 4px 9px rgba(0,0,0,.15); transition: transform .16s ease; }
.ef-cl-duo-season .ef-team-league-choice-logo:hover .ef-team-league-mark { transform: scale(1.06); }
.ef-cl-duo-season .ef-team-league-choice-logo:not(.is-active):focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: 2px; }
.ef-cl-duo-season .ef-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@keyframes ef-team-picker-enter { from { opacity: 0; transform: translateY(-5px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 680px) {
  .ef-cl-duo-season .ef-registration-panel { padding: 16px; }
  .ef-cl-duo-season .ef-registration-form .ef-button { width: 100%; }
  .ef-cl-duo-season .ef-team-league-list { grid-template-columns: repeat(auto-fill,minmax(68px,1fr)); gap: 7px; }
  .ef-cl-duo-season .ef-team-league-mark { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-cl-duo-season .ef-team-picker-trigger,
  .ef-cl-duo-season .ef-team-league-choice-logo,
  .ef-cl-duo-season .ef-team-league-mark,
  .ef-cl-duo-season .ef-button-primary { transition: none; }
  .ef-cl-duo-season .ef-team-picker-panel:not([hidden]) { animation: none; }
}

/* Elite League season and registration refresh; retain the eFootball navy/yellow theme. */
.efootball-page .ef-team-league-mark { padding: 0; border: 0; background: transparent; box-shadow: none; }
.ef-elite-season .ef-season-teams-card,
.ef-elite-season .ef-registration-panel,
.ef-elite-season .ef-season-register-card {
  border-color: rgba(154,174,255,.24);
  color: var(--ef-ink);
  background: radial-gradient(circle at 92% 0%, rgba(17,27,145,.38), transparent 42%), linear-gradient(145deg,#0d194e,#071249 68%,#050a24);
  box-shadow: 0 16px 38px rgba(0,4,24,.28);
}
.ef-elite-season .ef-season-teams-heading h2,
.ef-elite-season .ef-season-register-card h2,
.ef-elite-season .ef-season-register-hero h1 { color: var(--ef-ink); }
.ef-elite-season .ef-season-teams-heading p:not(.ef-kicker),
.ef-elite-season .ef-season-register-hero > p:not(.ef-kicker),
.ef-elite-season .ef-season-register-card > p { color: var(--ef-muted); }
.ef-elite-season .ef-season-teams-count {
  border-color: rgba(244,237,0,.28);
  color: var(--ef-yellow);
  background: rgba(244,237,0,.08);
}
.ef-elite-season .ef-season-team-cards { grid-template-columns: repeat(auto-fill,minmax(96px,1fr)); gap: 12px; }
.ef-elite-season .ef-season-team-card { border-color: rgba(182,204,242,.2); background: rgba(255,255,255,.035); }
.ef-elite-season .ef-season-team-card[data-accordion-open="true"] { border-color: rgba(244,237,0,.48); background: rgba(255,255,255,.055); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.ef-elite-season .ef-season-team-summary { position: relative; display: grid; min-height: 132px; place-items: center; padding: 12px; color: var(--ef-ink); }
.ef-elite-season .ef-season-team-identity { display: grid; justify-items: center; gap: 7px; width: 100%; }
.ef-elite-season .ef-season-team-identity > img { width: 70px; height: 70px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
.ef-elite-season .ef-season-team-name { position: static; display: grid; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; border: 0; color: var(--ef-ink); text-align: center; }
.ef-elite-season .ef-season-team-name strong { color: var(--ef-ink); font-size: 11px; line-height: 1.3; }
.ef-elite-season .ef-season-team-logo-fallback { display: grid; width: 64px; height: 64px; place-items: center; border: 1px solid rgba(182,204,242,.24); border-radius: 14px; color: var(--ef-yellow); background: rgba(255,255,255,.045); font-weight: 900; }
.ef-elite-season .ef-season-team-chevron { position: absolute; right: 9px; bottom: 7px; color: rgba(247,248,255,.72); }
.ef-elite-season .ef-season-team-entrants { border-top-color: rgba(182,204,242,.16); }
.ef-elite-season .ef-season-entrant-player > strong { color: var(--ef-ink); }
.ef-elite-season .ef-season-team-name small,
.ef-elite-season .ef-season-teams-empty,
.ef-elite-season .ef-season-discord-missing { color: var(--ef-muted); }
.ef-elite-season .ef-registration-cta { justify-content: flex-end; padding: 16px 20px; }
.ef-elite-season .ef-registration-cta .ef-button { min-width: 180px; }
.ef-elite-season .ef-season-register-hero,
.ef-elite-season .ef-season-register-card { margin: 18px 0 0; padding: clamp(20px,4vw,34px); border: 1px solid rgba(154,174,255,.24); border-radius: 16px; }
.ef-elite-season .ef-season-register-hero { background: radial-gradient(circle at 88% 8%,rgba(17,27,145,.48),transparent 45%),linear-gradient(145deg,#0d194e,#071249 68%,#050a24); box-shadow: 0 16px 38px rgba(0,4,24,.28); }
.ef-elite-season .ef-season-register-hero .ef-kicker { margin-bottom: 8px; }
.ef-elite-season .ef-season-register-hero h1 { margin: 0 0 8px; font-size: clamp(32px,5vw,52px); letter-spacing: -.05em; }
.ef-elite-season .ef-season-register-hero > p:not(.ef-kicker) { margin: 0; }
.ef-elite-season .ef-season-register-card { background: radial-gradient(circle at 92% 0%,rgba(17,27,145,.28),transparent 40%),linear-gradient(145deg,#0b1743,#070d2c); }
.ef-elite-season .ef-season-register-auth-card { background: radial-gradient(circle at 88% 8%,rgba(17,27,145,.48),transparent 45%),linear-gradient(145deg,#0d194e,#071249 68%,#050a24); }
.ef-elite-season .ef-season-register-auth-card .ef-kicker { margin-bottom: 8px; }
.ef-elite-season .ef-season-register-auth-card h1 { margin: 0 0 8px; color: var(--ef-ink); font-size: clamp(32px,5vw,52px); letter-spacing: -.05em; text-align: center; }
.ef-elite-season .ef-season-register-form { display: grid; gap: 22px; }
.ef-elite-season .ef-register-team-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ef-elite-season .ef-register-team-fieldset legend { margin: 0 0 16px; color: var(--ef-ink); font-size: 16px; font-weight: 800; }
.ef-elite-season .ef-register-team-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(82px,1fr)); gap: 11px; }
.ef-elite-season .ef-register-team-option { position: relative; display: block; min-width: 0; cursor: pointer; }
.ef-elite-season .ef-register-team-option input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ef-elite-season .ef-register-team-tile { display: grid; min-height: 98px; place-items: center; padding: 10px; border: 1px solid rgba(182,204,242,.18); border-radius: 13px; background: rgba(255,255,255,.035); transition: transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease; }
.ef-elite-season .ef-register-team-tile img { display: block; width: 64px; height: 64px; object-fit: contain; background: transparent; }
.ef-elite-season .ef-register-team-logo-fallback { font-size: 16px; }
.ef-elite-season .ef-register-team-option:hover .ef-register-team-tile { transform: translateY(-2px); border-color: rgba(244,237,0,.48); background: rgba(255,255,255,.065); }
.ef-elite-season .ef-register-team-option input:checked + .ef-register-team-tile { border-color: var(--ef-yellow); background: rgba(244,237,0,.09); box-shadow: 0 0 0 2px rgba(244,237,0,.16),0 10px 22px rgba(0,0,0,.2); }
.ef-elite-season .ef-register-team-option input:focus-visible + .ef-register-team-tile { outline: 3px solid var(--ef-yellow); outline-offset: 3px; }
.ef-elite-season .ef-season-register-actions { display: flex; justify-content: flex-end; }
.ef-elite-season .ef-season-register-actions .ef-button { min-width: 190px; }
.ef-elite-season .ef-team-picker-trigger[hidden],
.ef-elite-season .ef-season-register-actions [data-registration-confirm][hidden] { display: none !important; }
.ef-elite-season .ef-season-register-auth-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ef-elite-season .ef-season-register-empty { margin: 0; color: var(--ef-muted); }
.ef-elite-season .ef-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 680px) {
  .ef-elite-season .ef-season-team-cards { grid-template-columns: repeat(auto-fill,minmax(82px,1fr)); gap: 9px; }
.ef-elite-season .ef-season-team-summary { min-height: 96px; }
  .ef-elite-season .ef-season-team-identity > img { width: 60px; height: 60px; }
  .ef-elite-season .ef-registration-cta { justify-content: stretch; }
  .ef-elite-season .ef-registration-cta .ef-button,
  .ef-elite-season .ef-season-register-actions .ef-button { width: 100%; }
  .ef-elite-season .ef-register-team-grid { grid-template-columns: repeat(auto-fill,minmax(70px,1fr)); gap: 8px; }
  .ef-elite-season .ef-register-team-tile { min-height: 84px; padding: 8px; }
  .ef-elite-season .ef-register-team-tile img { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-elite-season .ef-register-team-tile { transition: none; }
}



/* Elite League registration picker: keep league then team flow, without search. */
.ef-elite-season .ef-season-register-team-select { display: grid; gap: 9px; }
.ef-elite-season .ef-season-register-team-select > .ef-team-field-label { color: var(--ef-ink); font-size: 13px; font-weight: 750; }
.ef-elite-season .ef-season-register-team-select .ef-team-picker { width: 100%; max-width: none; }
.ef-elite-season .ef-season-register-team-select .ef-team-picker-trigger { min-height: 56px; border-color: rgba(182,204,242,.24); background: rgba(255,255,255,.055); }
.ef-elite-season .ef-season-register-team-select .ef-team-picker-panel { margin-top: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ef-elite-season .ef-season-register-team-select .ef-team-league-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(78px,1fr)); gap: 8px; max-height: none; overflow: visible; }
.ef-elite-season .ef-season-register-team-select .ef-team-league-choice-logo { display: grid; width: 100%; min-height: 78px; place-items: center; padding: 8px; border-color: rgba(182,204,242,.18); background: rgba(255,255,255,.04); }
.ef-elite-season .ef-season-register-team-select .ef-team-league-choice-logo:hover,
.ef-elite-season .ef-season-register-team-select .ef-team-league-choice-logo.is-active { border-color: var(--ef-yellow); background: rgba(244,237,0,.09); }
.ef-elite-season .ef-season-register-team-select .ef-team-league-mark { width: 56px; height: 56px; padding: 0; border: 0; background: transparent; box-shadow: none; object-fit: contain; }
.ef-elite-season .ef-season-register-team-select .ef-team-picker-prompt { color: var(--ef-muted); }
.ef-elite-season .ef-season-register-team-select .ef-team-grid { grid-template-columns: repeat(auto-fill,minmax(88px,1fr)); max-height: 340px; }
.ef-elite-season .ef-season-register-team-select .ef-team-option { display: grid; min-height: 92px; align-content: center; justify-items: center; gap: 6px; padding: 9px; text-align: center; }
.ef-elite-season .ef-season-register-team-select .ef-team-option .ef-team-badge { width: 52px; height: 52px; flex: none; }
.ef-elite-season .ef-season-register-team-select .ef-team-option-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 680px) {
  .ef-elite-season .ef-season-register-team-select .ef-team-league-list { grid-template-columns: repeat(auto-fill,minmax(68px,1fr)); }
  .ef-elite-season .ef-season-register-team-select .ef-team-grid { grid-template-columns: repeat(auto-fill,minmax(72px,1fr)); }
  .ef-elite-season .ef-season-register-team-select .ef-team-option { min-height: 82px; }
  .ef-elite-season .ef-season-register-team-select .ef-team-option .ef-team-badge { width: 46px; height: 46px; }
}


/* CL duo and registration feedback refinements. */
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-teams-card,
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-panel,
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-invite-panel,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card {
  border-color: rgba(154,174,255,.24);
  color: var(--ef-ink);
  background: radial-gradient(circle at 92% 0%,rgba(17,27,145,.38),transparent 42%),linear-gradient(145deg,#0d194e,#071249 68%,#050a24);
  box-shadow: 0 16px 38px rgba(0,4,24,.28);
}
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-teams-heading h2,
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-panel h2,
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-invite-panel h2,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero h1,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card h2 { color: var(--ef-ink); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-teams-heading p:not(.ef-kicker),
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-panel p:not(.ef-kicker),
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-invite-panel > p:not(.ef-kicker),
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-note,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero > p:not(.ef-kicker),
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card > p { color: var(--ef-muted); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-teams-count { border-color: rgba(244,237,0,.28); color: var(--ef-yellow); background: rgba(244,237,0,.08); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-team-card { border-color: rgba(182,204,242,.2); background: rgba(255,255,255,.035); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-team-card[data-accordion-open="true"] { border-color: rgba(244,237,0,.48); background: rgba(255,255,255,.055); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-team-summary { color: var(--ef-ink); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-team-name strong,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-entrant-player > strong { color: var(--ef-ink); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-team-name small,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-teams-empty,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-discord-missing { color: var(--ef-muted); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form { border-color: rgba(154,174,255,.22); background: rgba(255,255,255,.045); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-form label,
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-field-label,
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form label { color: var(--ef-ink); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-form input:not([type="hidden"]),
.ef-cl-duo-season:not(.ef-elite-season) .ef-registration-form select,
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form input,
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-picker-trigger { border-color: rgba(182,204,242,.24); color: var(--ef-ink); background: rgba(255,255,255,.055); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-picker-trigger:hover,
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-picker-trigger[aria-expanded="true"] { border-color: var(--ef-yellow); background: rgba(255,255,255,.09); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-picker-panel { border-color: rgba(154,174,255,.24); background: linear-gradient(145deg,#0c1847,#060d2b); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-cl-create-team-card .ef-team-picker-panel { margin-top: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-league-choice-logo { border-color: rgba(182,204,242,.18); background: rgba(255,255,255,.04); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-league-choice-logo:hover,
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-league-choice-logo.is-active { border-color: var(--ef-yellow); background: rgba(244,237,0,.09); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-team-league-mark { padding: 0; border: 0; background: transparent; box-shadow: none; }
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-share-option { border-color: rgba(154,174,255,.2); background: rgba(255,255,255,.04); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-share-option > strong,
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-share-option > code { color: var(--ef-ink); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card { margin: 18px 0 0; padding: clamp(20px,4vw,34px); border-radius: 16px; }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero h1 { margin: 0 0 8px; font-size: clamp(32px,5vw,52px); letter-spacing: -.05em; }
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card { background: radial-gradient(circle at 92% 0%,rgba(17,27,145,.28),transparent 40%),linear-gradient(145deg,#0b1743,#070d2c); }
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form-join-page { display: grid; gap: 16px; max-width: 520px; }
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form-join-page .ef-button { justify-self: start; min-width: 190px; }
.ef-registration-success-notice { transition: opacity .2s ease,transform .2s ease; }
.ef-registration-success-notice.is-dismissing { opacity: 0; transform: translateY(-4px); pointer-events: none; }
@media (max-width: 680px) {
  .ef-elite-season .ef-season-team-summary { min-height: 122px; }
  .ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero,
  .ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card { padding: 18px; }
  .ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form-join-page .ef-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-registration-success-notice { transition: none; }
}

.ef-elite-season .ef-season-team-cards { grid-template-columns: minmax(0, 1fr); }
.ef-elite-season .ef-season-team-summary { display: flex; min-height: 68px; align-items: center; justify-content: space-between; text-align: left; }
.ef-elite-season .ef-season-team-identity { display: flex; width: auto; min-width: 0; flex: 1 1 auto; align-items: center; gap: 10px; }
.ef-elite-season .ef-season-team-identity > img,
.ef-elite-season .ef-season-team-identity > .ef-season-team-logo-fallback { width: 36px; height: 36px; flex: 0 0 36px; }
.ef-elite-season .ef-season-team-name { flex: 1 1 auto; text-align: left; }
.ef-elite-season .ef-season-team-chevron { position: static; flex: 0 0 auto; margin-left: 12px; }
.ef-elite-season .ef-discord-user-label { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; border-radius: 0; color: var(--ef-yellow); background: transparent; font-size: 8px; font-weight: 800; letter-spacing: .025em; line-height: 1.4; white-space: nowrap; }
.ef-elite-season .ef-discord-label-arrow { width: 10px; height: 10px; flex: 0 0 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ef-elite-season .ef-season-discord-handle { max-width: 100%; min-width: 0; flex-wrap: wrap; gap: 6px; }
.ef-elite-season .ef-discord-username-copy { display: inline-flex; max-width: 100%; min-width: 0; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid rgba(244,237,0,.28); border-radius: 999px; color: var(--ef-ink); background: rgba(255,255,255,.055); font: 600 9px "Space Mono", monospace; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease; }
.ef-elite-season .ef-discord-username-copy:hover { transform: translateY(-1px); border-color: var(--ef-yellow); color: var(--ef-yellow); background: rgba(244,237,0,.1); }
.ef-elite-season .ef-discord-username-copy:focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: 2px; }
.ef-elite-season .ef-discord-username-copy:active { transform: translateY(0); }
.ef-elite-season .ef-discord-copy-icon { width: 13px; height: 13px; flex: 0 0 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ef-elite-season .ef-copy-username-feedback { color: var(--ef-yellow); font-size: 9px; }
.ef-elite-season .ef-season-teams-heading h2 { color: var(--ef-yellow); }
.ef-elite-season .ef-elite-season-teams-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.ef-elite-season .ef-elite-season-teams-copy > h2,
.ef-elite-season .ef-elite-season-teams-copy > p:not(.ef-kicker) {
  margin: 0;
  padding: 0;
  text-align: left;
  text-indent: 0;
}
.site-main #main .ef-elite-season .ef-elite-season-teams-copy > h2,
.site-main #main .ef-elite-season .ef-elite-season-teams-copy > p:not(.ef-kicker) {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.ef-elite-season .ef-season-progress { grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: 6px; }
.ef-elite-season .ef-season-progress-viewport { width: 100%; min-width: 0; overflow-x: auto; padding: 6px 0 9px; scrollbar-width: thin; scrollbar-color: rgba(255,231,53,.45) rgba(255,255,255,.06); }
.ef-elite-season .ef-season-progress-viewport:focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: 2px; border-radius: 5px; }
.ef-elite-season .ef-season-progress-track { position: relative; display: grid; grid-template-columns: minmax(110px,1fr) 64px minmax(110px,1fr) minmax(210px,1.8fr) minmax(180px,1.55fr) minmax(160px,1.4fr); gap: 0; box-sizing: content-box; width: max(850px, 100%); margin: 0; padding: 6px var(--ef-progress-scroll-tail, 0px) 2px var(--ef-progress-scroll-head, 0px); list-style: none; }
.ef-elite-season .ef-season-progress-track::before,
.ef-elite-season .ef-season-progress-track::after { content: ""; position: absolute; top: 10px; height: 4px; box-sizing: border-box; border-radius: 2px; pointer-events: none; }
.ef-elite-season .ef-season-progress-track:not(.is-progress-ready)::before,
.ef-elite-season .ef-season-progress-track:not(.is-progress-ready)::after { visibility: hidden; }
.ef-elite-season .ef-season-progress-track::before { left: var(--ef-progress-rail-start, var(--ef-progress-scroll-head, 0px)); width: var(--ef-progress-rail-width, calc(100% - var(--ef-progress-scroll-head, 0px))); right: auto; border-block: 1px solid rgba(255,231,53,.55); }
.ef-elite-season .ef-season-progress-track::after { left: var(--ef-progress-start, 0px); width: var(--ef-progress-fill, 0px); background: linear-gradient(90deg, #d3a700, #ffe735 75%, #fff6ae); box-shadow: 0 0 9px rgba(255,231,53,.55); }
.ef-elite-season .ef-season-progress-step { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ef-elite-season .ef-season-progress-dot { position: relative; display: block; width: 12px; height: 12px; flex: 0 0 12px; border: 1px solid rgba(255,231,53,.42); border-radius: 50%; background: #0b2348; }
.ef-elite-season .ef-season-progress-step.is-complete .ef-season-progress-dot { border-color: var(--ef-yellow); background: var(--ef-yellow); }
.ef-elite-season .ef-season-progress-step.is-current .ef-season-progress-dot,
.ef-elite-season .ef-season-progress-step[aria-current="step"] .ef-season-progress-dot { border: 2px solid #fff3a0; background: radial-gradient(circle at 35% 30%, #fff9ca 0, #ffe735 42%, #d6aa00 100%); }
.ef-elite-season .ef-season-progress-step[aria-current="step"] .ef-season-progress-dot { box-shadow: 0 0 0 4px rgba(255,231,53,.2), 0 0 20px rgba(255,231,53,.95); }
.ef-elite-season .ef-season-progress-label { max-width: 100%; color: var(--ef-muted); font-size: 9px; font-weight: 700; line-height: 1.3; }
.ef-elite-season .ef-season-progress-step.is-complete .ef-season-progress-label { color: rgba(243,248,255,.86); }
.ef-elite-season .ef-season-progress-step[aria-current="step"] .ef-season-progress-label { color: var(--ef-yellow); }
.ef-elite-season .ef-season-progress-start { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; }
.ef-elite-season .ef-season-progress-start-label { display: inline-flex; min-height: 12px; align-items: center; padding: 0 5px; color: var(--ef-muted); background: #0b2348; font: 800 8px/12px "Space Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.ef-elite-season .ef-season-progress-start.is-passed .ef-season-progress-start-label { color: var(--ef-yellow); }
.ef-elite-season .ef-season-progress-rounds { display: flex; justify-content: center; gap: 6px; max-width: 100%; }
.ef-elite-season .ef-season-progress-round { display: inline-flex; min-width: 13px; flex-direction: column; align-items: center; gap: 3px; color: var(--ef-muted); font: 700 7px/1 "Space Mono", monospace; }
.ef-elite-season .ef-season-progress-round-dot { display: block; width: 6px; height: 6px; border: 1px solid rgba(182,204,242,.42); border-radius: 50%; background: #0b2348; }
.ef-elite-season .ef-season-progress-round.is-complete .ef-season-progress-round-dot,
.ef-elite-season .ef-season-progress-round.is-current .ef-season-progress-round-dot { border-color: var(--ef-yellow); background: var(--ef-yellow); }
.ef-elite-season .ef-season-progress-round.is-current { color: var(--ef-yellow); }
.ef-elite-season .ef-season-progress-round.is-current .ef-season-progress-round-dot { position: relative; border-color: #fff3a0; background: var(--ef-yellow); box-shadow: 0 0 0 2px rgba(255,231,53,.25), 0 0 12px rgba(255,231,53,.95); }
.ef-elite-season .ef-season-progress-step[aria-current="step"] .ef-season-progress-dot::after,
.ef-elite-season .ef-season-progress-round.is-current .ef-season-progress-round-dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid #ffe735; border-radius: 50%; pointer-events: none; animation: ef-season-progress-glow 1.65s cubic-bezier(.15,.7,.36,1) infinite; }
@keyframes ef-season-progress-glow {
  from { opacity: .9; transform: scale(.8); }
  to { opacity: 0; transform: scale(2.25); }
}
@media (prefers-reduced-motion: reduce) {
  .ef-elite-season .ef-season-progress-step[aria-current="step"] .ef-season-progress-dot::after,
  .ef-elite-season .ef-season-progress-round.is-current .ef-season-progress-round-dot::after { animation: none; }
}

.ef-elite-season .ef-public-season-hero { min-height: 220px; padding-top: clamp(18px,2.8vw,34px); padding-bottom: clamp(18px,2.8vw,34px); }
.ef-elite-season .ef-public-season-intro { text-align: center; }
.ef-elite-season .ef-public-season-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ef-elite-season .ef-public-season-hero .ef-public-season-type { color: var(--ef-yellow); }
.ef-elite-season .ef-public-season-hero .ef-public-season-divider { color: rgba(243,248,255,.42); }
.ef-elite-season .ef-public-season-hero .ef-public-season-number { color: rgba(243,248,255,.72); }
.ef-elite-season .ef-public-season-intro h1 {
  display: block;
  gap: 0;
  margin: 0;
  font-size: clamp(34px,4vw,48px);
  line-height: 1.05;
  letter-spacing: -.045em;
}



/* Logged-in CL team creation and join flow. */
.ef-cl-duo-season .ef-cl-registration-choices { padding: clamp(14px, 2.5vw, 22px); }
.ef-cl-duo-season .ef-cl-registration-choice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}
.ef-cl-duo-season .ef-cl-registration-choice-actions .ef-cl-choice-button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(0,4,24,.25);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.ef-cl-duo-season .ef-cl-registration-choice-actions .ef-button-primary.ef-cl-choice-button {
  box-shadow: 0 10px 24px rgba(244,237,0,.17), 0 4px 12px rgba(0,4,24,.25);
}
.ef-cl-duo-season .ef-cl-registration-choice-actions .ef-button-secondary.ef-cl-choice-button {
  border-color: rgba(179,198,255,.34);
  color: var(--ef-ink) !important;
  background: linear-gradient(145deg, rgba(31,48,119,.9), rgba(8,16,55,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(0,4,24,.24);
}
.ef-cl-duo-season .ef-cl-registration-choice-actions .ef-cl-choice-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,4,24,.32);
}
.ef-cl-duo-season .ef-cl-registration-choice-actions .ef-button-primary.ef-cl-choice-button:hover {
  box-shadow: 0 14px 28px rgba(244,237,0,.2), 0 8px 18px rgba(0,4,24,.28);
}
.ef-cl-duo-season .ef-cl-registration-choice-actions .ef-button-secondary.ef-cl-choice-button:hover {
  border-color: rgba(244,237,0,.68);
  background: linear-gradient(145deg, rgba(38,58,142,.98), rgba(10,21,70,.98));
}
.ef-cl-duo-season .ef-cl-create-team-card h2 { margin: 0; color: var(--ef-ink); }
.ef-cl-duo-season .ef-cl-create-team-card .ef-kicker { margin-bottom: 4px; }
.ef-cl-duo-season .ef-cl-flow-description { margin: 0; color: var(--ef-muted); font-size: 12px; line-height: 1.6; }
.ef-cl-duo-season .ef-cl-flow-step:not([hidden]) { display: grid; gap: 16px; }
.ef-cl-duo-season .ef-cl-selected-team-summary { margin: 0; color: var(--ef-muted); font-size: 12px; }
.ef-cl-duo-season .ef-cl-selected-team-summary strong { color: var(--ef-yellow); }
.ef-cl-duo-season .ef-cl-flow-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.ef-cl-duo-season .ef-cl-flow-actions .ef-button { min-width: 180px; }
.ef-cl-duo-season .ef-cl-flow-back { width: fit-content; padding: 3px 0; border: 0; color: var(--ef-muted); background: transparent; font: inherit; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ef-cl-duo-season .ef-cl-flow-back:hover { color: var(--ef-yellow); }
.ef-cl-duo-season .ef-cl-registration-confirmed { margin-top: 16px; }
@media (max-width: 680px) {
  .ef-cl-duo-season .ef-cl-registration-choice-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ef-cl-duo-season .ef-cl-registration-choice-actions .ef-cl-choice-button { min-height: 54px; padding: 10px 8px; border-radius: 12px; font-size: 12px; }
  .ef-cl-duo-season .ef-cl-flow-actions { align-items: stretch; flex-direction: column; }
  .ef-cl-duo-season .ef-cl-flow-actions .ef-button { width: 100%; }
}

/* Inactive CL registration screens must stay hidden over card display styles. */
.ef-cl-duo-season [data-cl-create-team-step][hidden],
.ef-cl-duo-season [data-cl-create-invite-step][hidden] { display: none !important; }


/* Place the EL and CL back control beside the catalog heading. */
.ef-elite-season .ef-season-register-team-select .ef-team-picker-back:not([hidden]),
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-picker-back:not([hidden]) { display: flex; width: max-content; margin: 0 0 0 auto; }


/* CL registration catalog interaction colors match the EL palette. */
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-picker-trigger {
  border-color: rgba(182,204,242,.24);
  color: var(--ef-ink);
  background: rgba(255,255,255,.055);
  box-shadow: none;
}
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-picker-trigger:hover,
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-picker-trigger[aria-expanded="true"] {
  border-color: var(--ef-yellow);
  color: var(--ef-ink);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(255,224,75,.09);
}
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-picker-trigger:focus-visible,
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-league-choice-logo:focus-visible,
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-option:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 2px;
}
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-league-choice-logo:hover,
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-league-choice-logo.is-active {
  border-color: var(--ef-yellow);
  background: rgba(244,237,0,.09);
}
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-league-choice-logo.is-active {
  box-shadow: none;
}
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-option:hover {
  border-color: rgba(255,224,75,.62);
  background: rgba(255,224,75,.07);
}
.ef-cl-duo-season .ef-cl-create-team-card .ef-team-option[aria-pressed="true"] {
  border-color: var(--ef-yellow);
  background: rgba(255,224,75,.13);
  box-shadow: inset 0 0 0 1px rgba(255,224,75,.22);
}


/* RSL white background, matching the Premier League badge size. */
.efootball-page .ef-team-league-mark[data-logo-key="saudi-pro"] {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  object-fit: contain;
}


/* Bundesliga: supplied red-and-white mark in a rounded red badge. */
.efootball-page .ef-team-league-mark[data-logo-key="bundesliga"] {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #d00617;
  box-shadow: none;
  object-fit: cover;
}


/* Subtle corners for every white-backed league logo. */
.efootball-page .ef-team-league-mark[data-logo-key="premier-league"],
.efootball-page .ef-team-league-mark[data-logo-key="laliga"],
.efootball-page .ef-team-league-mark[data-logo-key="ligue-1"],
.efootball-page .ef-team-league-mark[data-logo-key="mls"] {
  border-radius: 8px;
}

/* Serie A and Popular Teams: match the rounded white-backed league badges. */
.efootball-page .ef-team-league-mark[data-logo-key="serie-a"],
.efootball-page .ef-team-league-mark[data-logo-key="popular-teams"] {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  object-fit: contain;
}

/* Keep the 56px badge fixed while matching RSL/LaLiga artwork to Premier League. */
.efootball-page .ef-team-league-mark[data-logo-key="premier-league"] {
  width: 56px;
  height: 56px;
}
.efootball-page .ef-team-league-mark-frame {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.efootball-page .ef-team-league-mark-frame .ef-team-league-mark {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
.efootball-page .ef-team-league-mark-frame[data-logo-key="saudi-pro"] .ef-team-league-mark { transform: scale(.8); }
.efootball-page .ef-team-league-mark-frame[data-logo-key="laliga"] .ef-team-league-mark { transform: scale(1.2); }
.ef-cl-duo-season .ef-team-league-choice-logo:hover .ef-team-league-mark[data-logo-key="saudi-pro"] { transform: scale(.8); }
.ef-cl-duo-season .ef-team-league-choice-logo:hover .ef-team-league-mark[data-logo-key="laliga"] { transform: scale(1.2); }

.efootball-page .ef-team-league-mark-frame[data-logo-key="serie-a"] .ef-team-league-mark { transform: scale(.94); }
.ef-cl-duo-season .ef-team-league-choice-logo:hover .ef-team-league-mark[data-logo-key="serie-a"] { transform: scale(.94); }


/* Shared animated white-to-yellow treatment for the eFootball hero title. */
.ef-hero h1 .ef-title-gradient {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(110deg, #fff 0%, #fff2a1 24%, #ffe735 48%, #fff 70%, #ffe735 100%);
  background-size: 240% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 231, 53, .1));
  animation: ef-title-gradient-shift 6s ease-in-out infinite alternate;
}
@keyframes ef-title-gradient-shift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-hero h1 .ef-title-gradient {
    animation: none;
    background-position: 50% 50%;
  }
}


/* Subtle white shimmer on the two eFootball home section titles. */
.ef-section-heading h2.ef-white-shimmer {
  color: transparent;
  background-image: linear-gradient(105deg, #fff 0%, #e5efff 28%, #fff 48%, #c6dcff 62%, #fff 82%, #fff 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .12));
  animation: ef-white-shimmer 5.5s ease-in-out infinite alternate;
}
@keyframes ef-white-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-section-heading h2.ef-white-shimmer {
    animation: none;
    background-position: 50% 50%;
  }
}


/* Separate the league season from its current registration or play status. */
.efootball-page .ef-live-tournament-card .ef-live-season-number {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: #dbe5f5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}
.efootball-page .ef-live-tournament-card .ef-season-label {
  color: #dbe5f5;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}
.efootball-page .ef-live-tournament-card .ef-live-season-number strong {
  color: var(--ef-yellow);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .9;
  text-shadow: 0 0 16px rgba(255, 231, 53, .3);
}
.efootball-page .ef-live-tournament-card .ef-league-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 231, 53, .24);
  border-radius: 4px;
  color: #e6edfa;
  background: rgba(255, 231, 53, .07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
}


/* Distinguish open registration from live previews; green is registration-only. */
.efootball-page .ef-live-tournament-card.is-registration-open {
  border-color: rgba(78, 229, 148, .42);
  background:
    radial-gradient(ellipse at 95% 0%, rgba(54, 226, 134, .15), transparent 42%),
    linear-gradient(145deg, rgba(10, 61, 57, .52), rgba(7, 28, 58, .96));
  box-shadow: 0 0 0 1px rgba(78, 229, 148, .1), 0 14px 34px rgba(25, 164, 100, .1);
  animation: ef-registration-card-glow 4.4s ease-in-out infinite alternate;
}
.efootball-page .ef-live-tournament-card.is-registration-open:hover {
  border-color: rgba(101, 255, 168, .72);
  box-shadow: 0 0 0 1px rgba(78, 229, 148, .2), 0 18px 42px rgba(25, 164, 100, .18);
}
.efootball-page .ef-live-tournament-card .ef-registration-open-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #c4ffdc;
  background: transparent;
  box-shadow: none;
  animation: none;
}
.efootball-page .ef-live-tournament-card .ef-registration-open-label::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #5cf49d;
  box-shadow: 0 0 0 4px rgba(92, 244, 157, .12), 0 0 13px rgba(92, 244, 157, .65);
  content: "";
  animation: ef-registration-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes ef-registration-card-glow {
  from { border-color: rgba(78, 229, 148, .34); }
  to { border-color: rgba(101, 255, 168, .62); }
}
@keyframes ef-registration-open-sheen {
  from { background-position: 0% 50%; box-shadow: inset 0 0 16px rgba(72, 231, 145, .06), 0 0 12px rgba(72, 231, 145, .05); }
  to { background-position: 100% 50%; box-shadow: inset 0 0 20px rgba(72, 231, 145, .13), 0 0 22px rgba(72, 231, 145, .16); }
}
@keyframes ef-registration-dot-pulse {
  0%, 100% { opacity: .78; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-live-tournament-card.is-registration-open,
  .efootball-page .ef-live-tournament-card .ef-registration-open-label,
  .efootball-page .ef-live-tournament-card .ef-registration-open-label::before {
    animation: none;
  }
}

/* Keep full upcoming seasons visible with a clear orange state. */
.efootball-page .ef-live-tournament-card.is-registration-full {
  position: relative;
  border-color: rgba(255, 164, 92, .5);
  background:
    radial-gradient(ellipse at 95% 0%, rgba(255, 143, 64, .16), transparent 42%),
    linear-gradient(145deg, rgba(67, 38, 24, .5), rgba(7, 28, 58, .96));
  box-shadow: 0 0 0 1px rgba(255, 164, 92, .1), 0 14px 34px rgba(190, 104, 49, .12);
}
.efootball-page .ef-live-tournament-card.is-registration-full:hover {
  border-color: rgba(255, 188, 126, .76);
  box-shadow: 0 0 0 1px rgba(255, 164, 92, .2), 0 18px 42px rgba(190, 104, 49, .2);
}
.efootball-page .ef-live-tournament-card.is-registration-full .ef-registration-full-status {
  position: absolute;
  bottom: 18px;
  left: 18px;
  margin: 0;
  border-color: rgba(255, 164, 92, .38);
  color: #ffcfaa;
  background: rgba(255, 143, 64, .08);
}
.efootball-page .ef-live-tournament-card.is-registration-full .ef-registration-full-status::before {
  background: #ff9b55;
  box-shadow: 0 0 0 4px rgba(255, 155, 85, .12), 0 0 13px rgba(255, 155, 85, .5);
  animation: none;
}
.efootball-page .ef-live-tournament-card .ef-registration-full-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #ffcfaa;
  white-space: nowrap;
}
.efootball-page .ef-live-tournament-card .ef-registration-full-label::before {
  display: none;
}


/* Red live indicator applies only to tournaments that are in progress. */
.efootball-page .ef-live-tournament-card .ef-in-progress-status {
  border-color: rgba(255, 96, 111, .36);
  color: #fff;
  background: rgba(255, 74, 92, .075);
}
.efootball-page .ef-live-tournament-card .ef-in-progress-status::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #ff6475;
  box-shadow: 0 0 0 4px rgba(255, 100, 117, .12), 0 0 12px rgba(255, 100, 117, .5);
  content: "";
  animation: ef-in-progress-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes ef-in-progress-dot-pulse {
  0%, 100% { opacity: .72; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-live-tournament-card .ef-in-progress-status::before {
    animation: none;
  }
}

/* Compact open and in-progress tournament cards. */
.efootball-page .ef-live-tournament-card::after {
  display: none;
}
.efootball-page .ef-live-tournament-card {
  min-height: 0;
  gap: 8px;
  padding: 18px;
}
.efootball-page .ef-live-tournament-card .ef-league-card-heading > div {
  display: grid;
  width: 100%;
  grid-template-columns: max-content max-content;
  align-items: baseline;
  column-gap: 8px;
}
.efootball-page .ef-live-tournament-card .ef-league-card-heading .ef-kicker {
  grid-column: 1 / -1;
}
.efootball-page .ef-live-tournament-card .ef-league-card-heading h3,
.efootball-page .ef-live-tournament-card .ef-live-season-number {
  white-space: nowrap;
}
.efootball-page .ef-live-tournament-card .ef-live-season-number {
  margin: 0;
}
.efootball-page .ef-live-tournament-card .ef-live-tournament-link-label {
  margin-top: 0;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-registration-open-label {
  margin-top: auto;
}


/* Modern, team-first fixture cards shared by live schedules and season archives. */
.ef-results-list {
  display: grid;
  gap: 10px;
  overflow: visible;
  border: 0;
  background: transparent;
}
.ef-result-row {
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  grid-template-areas: "round round round" "home score away";
  gap: 10px 14px;
  padding: 14px 16px;
  border: 1px solid rgba(182, 204, 242, .16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 42, 84, .78), rgba(7, 23, 49, .9));
  box-shadow: 0 8px 24px rgba(0, 8, 28, .12);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ef-result-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 53, .34);
  box-shadow: 0 12px 28px rgba(0, 8, 28, .2);
}
.ef-result-row > .ef-round { grid-area: round; margin: 0; color: var(--ef-muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.ef-result-row > .ef-player-name:nth-child(2) { grid-area: home; justify-content: flex-end; text-align: right; }
.ef-result-row > .ef-score:nth-child(3) { grid-area: score; justify-self: center; min-width: 58px; text-align: center; }
.ef-result-row > .ef-player-name:nth-child(4) { grid-area: away; }
.ef-result-row > .ef-player-name:nth-child(2) .ef-fixture-side { flex-direction: row-reverse; }
.ef-results-list .ef-player-name { min-width: 0; color: var(--ef-ink); }
.ef-fixture-side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ef-fixture-player-info { display: grid; gap: 4px; min-width: 0; overflow: hidden; line-height: 1.2; }
.ef-fixture-player-info .ef-fixture-team-name { display: block; min-width: 0; overflow: hidden; color: var(--ef-ink); font-size: 12px; font-weight: 800; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.ef-fixture-player-info small { display: block; min-width: 0; overflow: hidden; color: var(--ef-muted); font-size: 9px; font-weight: 600; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.ef-result-row .ef-team-badge,
.ef-public-match-team .ef-team-badge,
.ef-tie-team .ef-team-badge { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid rgba(223, 235, 255, .16); }

.ef-public-match-list { gap: 8px; }
.ef-public-match-row {
  grid-template: "home score away" auto "status status status" auto / minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 9px 12px;
  padding: 12px;
  border: 1px solid rgba(182, 204, 242, .14);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(14, 42, 84, .54), rgba(7, 23, 49, .72));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ef-public-match-row + .ef-public-match-row { border-top: 1px solid rgba(182, 204, 242, .14); }
.ef-public-match-row:hover { transform: translateY(-1px); border-color: rgba(255, 231, 53, .32); background: linear-gradient(135deg, rgba(17, 48, 95, .72), rgba(8, 26, 56, .85)); }
.ef-public-match-team { display: flex; align-items: center; min-height: 44px; gap: 9px; white-space: normal; }
.ef-match-home { justify-content: flex-end; }
.ef-match-home .ef-fixture-side { flex-direction: row-reverse; }
.ef-match-home .ef-fixture-player-info { text-align: right; }
.ef-public-match-team .ef-fixture-player-info { text-align: left; }
.ef-public-match-team .ef-fixture-team-name { font-size: 12px; }
.ef-public-match-team .ef-fixture-player-info small { font-size: 9px; }
.ef-public-match-score { min-width: 64px; padding: 7px 9px; border: 1px solid rgba(255, 231, 53, .18); border-radius: 10px; background: rgba(255, 231, 53, .06); text-align: center; }
.ef-public-match-status { padding: 4px 9px; border: 1px solid rgba(223, 235, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .035); }

/* Keep the knockout path readable from QF to SF to F on every screen. */
.ef-public-rounds,
.ef-rounds-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ef-public-round,
.ef-round-block { min-width: 0; }
.ef-public-round { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(10, 33, 69, .72), rgba(7, 22, 48, .82)); }
.ef-public-round > h3 { padding-bottom: 12px; color: var(--ef-yellow); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ef-public-ties { gap: 10px; margin-top: 12px; }
.ef-public-tie { padding: 12px 14px; border-radius: 12px; background: linear-gradient(145deg, rgba(18, 48, 94, .65), rgba(7, 23, 49, .86)); box-shadow: 0 8px 24px rgba(0, 8, 28, .14); }
.ef-tie-label { margin-bottom: 8px; }
.ef-tie-team { min-height: 50px; gap: 12px; padding: 8px 0; }
.ef-tie-team + .ef-tie-team { margin-top: 6px; padding-top: 11px; }
.ef-tie-team a { min-width: 0; overflow: hidden; color: var(--ef-ink); white-space: normal; }
.ef-tie-team .ef-fixture-side { min-width: 0; }
.ef-tie-team strong { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid rgba(255, 231, 53, .2); border-radius: 10px; color: var(--ef-yellow); background: rgba(255, 231, 53, .07); }

.ef-legacy-season-hero { grid-template-columns: minmax(0, 1fr); }
.ef-winner-announcement-section { margin-top: 24px; }
.ef-winner-announcement-card {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 148px;
  padding: clamp(24px, 5vw, 48px) 20px;
  border: 1px solid rgba(255, 231, 53, .72);
  border-radius: 16px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -35%, rgba(255, 231, 53, .15), transparent 65%),
    linear-gradient(155deg, #142844, #080f21 72%);
  box-shadow:
    inset 0 1px rgba(255, 255, 198, .24),
    0 0 0 1px rgba(255, 231, 53, .12),
    0 16px 42px rgba(0, 8, 28, .3),
    0 0 30px rgba(255, 231, 53, .1);
}
.ef-winner-announcement-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 231, 53, .16) 46%, rgba(255, 255, 198, .78) 50%, rgba(255, 231, 53, .16) 54%, transparent 70%);
}
.ef-winner-announcement-card::after {
  content: "";
  position: absolute;
  inset: 0 18% auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fffbc4, #ffe735, #fffbc4, transparent);
  box-shadow: 0 0 22px rgba(255, 231, 53, .75);
}
.ef-winner-announcement-section[open] .ef-winner-announcement-card::before {
  animation: ef-champion-gold-sweep 2.35s ease-in-out 2;
}
@keyframes ef-champion-gold-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  20%, 66% { opacity: .8; }
  100% { transform: translateX(100%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-winner-announcement-section[open] .ef-winner-announcement-card::before { animation: none; }
}
.ef-winner-announcement-identity {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ef-winner-announcement-identity .ef-team-badge {
  width: clamp(58px, 12vw, 88px);
  height: clamp(58px, 12vw, 88px);
  margin: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 4px 10px rgba(0, 6, 18, .55));
}
.ef-winner-announcement-identity .ef-team-badge-placeholder { display: none; }
.ef-champion-name {
  color: #ffe735;
  background: linear-gradient(105deg, #fffbc4 0%, #ffe735 34%, #fffef0 50%, #ffe735 66%, #fffbc4 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 850;
  line-height: 1.1;
  animation: ef-champion-name-glint 3.4s ease-in-out 2;
}
.ef-champion-name-duo { display: grid; justify-items: center; gap: 3px; max-width: 100%; text-align: center; }
.ef-champion-name-join { font-size: .64em; }
.ef-champion-player { color: #dce8ff; font-size: clamp(13px, 2.6vw, 17px); font-weight: 650; }
@keyframes ef-champion-name-glint {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-champion-name { animation: none; }
}

@media (max-width: 600px) {
  .ef-result-row { grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); gap: 8px 6px; padding: 12px 10px; border-radius: 12px; }
  .ef-result-row .ef-fixture-side { gap: 6px; }
  .ef-result-row .ef-team-badge,
  .ef-public-match-team .ef-team-badge,
  .ef-tie-team .ef-team-badge { width: 30px; height: 30px; flex-basis: 30px; }
  .ef-result-row .ef-fixture-team-name { font-size: 10px; }
  .ef-result-row .ef-fixture-player-info small { font-size: 8px; }
  .ef-result-row > .ef-score:nth-child(3) { min-width: 46px; font-size: 11px; }
  .ef-public-match-row { gap: 7px 5px; padding: 9px 7px; }
  .ef-public-match-team { gap: 5px; }
  .ef-public-match-team .ef-fixture-side { gap: 5px; }
  .ef-public-match-team .ef-fixture-team-name { font-size: 10px; }
  .ef-public-match-team .ef-fixture-player-info small { font-size: 8px; }
  .ef-public-match-score { min-width: 52px; padding: 6px 5px; font-size: 9px; }
  .ef-public-round { padding: 12px; }
  .ef-tie-team { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-result-row,
  .ef-public-match-row { transition: none; }
  .ef-result-row:hover,
  .ef-public-match-row:hover { transform: none; }
}

/* Group draw identities use the same team-first layout as fixture cards. */
.ef-public-draw-card li { min-height: 48px; }
.ef-public-draw-card li > a {
  display: flex;
  min-width: 0;
  white-space: normal;
  text-overflow: clip;
}
.ef-public-draw-card li .ef-fixture-side { min-width: 0; gap: 8px; }
.ef-public-draw-card li .ef-team-badge { width: 38px; height: 38px; flex: 0 0 38px; }
.ef-public-draw-card li .ef-fixture-player-info { text-align: left; }
.ef-public-draw-card li .ef-fixture-team-name { font-size: 12px; }
.ef-public-draw-card li .ef-fixture-player-info small { font-size: 9px; }

@media (max-width: 600px) {
  .ef-public-draw-card li { grid-template-columns: 22px minmax(0, 1fr) 7px; gap: 6px; min-height: 44px; }
  .ef-public-draw-card li .ef-fixture-side { gap: 5px; }
  .ef-public-draw-card li .ef-team-badge { width: 30px; height: 30px; flex-basis: 30px; }
  .ef-public-draw-card li .ef-fixture-team-name { font-size: 10px; }
  .ef-public-draw-card li .ef-fixture-player-info small { font-size: 8px; }
}


/* Public season controls: compact roster and accessible, independent disclosures. */
.ef-public-draw-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ef-season-roster-toggle { width: max-content; max-width: 100%; margin: 8px 0 18px auto; }
.ef-public-season-hero + .ef-season-roster-toggle { margin-block: clamp(22px, 4vw, 34px); }
.ef-public-season-hero + .ef-season-roster-toggle + .ef-public-draw-section { margin-top: 0; }
.ef-season-roster-toggle > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid rgba(182,204,242,.22); border-radius: 12px; color: var(--ef-ink); background: linear-gradient(135deg,rgba(18,38,76,.94),rgba(7,22,48,.94)); cursor: pointer; list-style: none; }
.ef-season-roster-toggle > summary::-webkit-details-marker,
.ef-public-draw-card > summary::-webkit-details-marker,
.ef-public-group > summary::-webkit-details-marker,
.ef-public-round > summary::-webkit-details-marker,
.ef-draw-card > summary::-webkit-details-marker,
.ef-group-block > summary::-webkit-details-marker,
.ef-round-block > summary::-webkit-details-marker,
.ef-winner-announcement-section > summary::-webkit-details-marker { display: none; }
.ef-season-roster-heading { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.ef-season-roster-heading > strong { color: var(--ef-ink); font-size: 15px; line-height: 1.2; }
.ef-season-roster-count { padding: 4px 8px; border: 1px solid rgba(255,231,53,.24); border-radius: 999px; color: var(--ef-muted); background: rgba(255,231,53,.06); font: 700 9px "Space Mono", monospace; letter-spacing: .035em; line-height: 1.2; }
.ef-season-roster-chevron,
.ef-public-accordion-chevron { color: var(--ef-yellow); font-size: 18px; line-height: 1; transition: transform .18s ease; }
.ef-season-roster-toggle[open] > summary .ef-season-roster-chevron,
.ef-public-draw-card[open] > summary .ef-public-accordion-chevron,
.ef-public-group[open] > summary .ef-public-accordion-chevron,
.ef-public-round[open] > summary .ef-public-accordion-chevron,
.ef-draw-card[open] > summary .ef-public-accordion-chevron,
.ef-group-block[open] > summary .ef-public-accordion-chevron,
.ef-round-block[open] > summary .ef-public-accordion-chevron,
.ef-winner-announcement-section[open] > summary .ef-public-accordion-chevron { transform: rotate(180deg); }
.ef-season-roster-panel { margin-top: 8px; padding: 12px; border: 1px solid rgba(182,204,242,.16); border-radius: 12px; background: rgba(7,22,48,.72); }
.ef-season-roster-panel > .ef-season-team-cards { margin-top: 0; }
.ef-public-draw-card { padding: 0; overflow: hidden; }
.ef-public-draw-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ef-public-draw-card[open] > summary { border-bottom: 1px solid rgba(223,235,255,.13); }
.ef-public-draw-heading { flex: 1; margin: 0; }
.ef-public-draw-heading strong { color: var(--ef-ink); font-size: 13px; }
.ef-public-draw-body { padding: 0 16px 14px; }
.ef-public-draw-body ol { margin: 0; }
.ef-public-draw-body > .ef-history-note { margin: 12px 0 0; }
.ef-public-group { padding: 0; overflow: hidden; }
.ef-public-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ef-public-group[open] > summary { border-bottom: 1px solid rgba(223,235,255,.13); }
.ef-public-group-heading { flex: 1; margin: 0; }
.ef-public-group > .ef-table-wrap,
.ef-public-group > .ef-public-group-empty { margin: 12px; }
.ef-public-round { padding: 0; overflow: hidden; }
.ef-public-round > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ef-public-round > summary h3 { margin: 0; padding: 0; border: 0; color: var(--ef-yellow); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ef-public-round[open] > summary { border-bottom: 1px solid rgba(223,235,255,.13); }
.ef-public-round-content { padding: 0 14px 14px; }
.ef-public-round-content .ef-public-ties { margin-top: 12px; }
.ef-draw-card { padding: 0; overflow: hidden; }
.ef-draw-card > summary,
.ef-group-block > summary,
.ef-round-block > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ef-draw-card > summary h3,
.ef-group-block > summary h3,
.ef-round-block > summary h3 { margin: 0; }
.ef-draw-card[open] > summary,
.ef-group-block[open] > summary,
.ef-round-block[open] > summary { border-bottom: 1px solid rgba(223,235,255,.13); }
.ef-draw-card > ol,
.ef-draw-card > p { margin: 12px 16px 16px; }
.ef-group-block { padding: 0; overflow: hidden; }
.ef-group-block > .ef-table-wrap { margin: 12px; }
.ef-history-matchday-results { margin-top: 10px; }
.ef-winner-announcement-section { padding: 0; overflow: hidden; }
.ef-winner-announcement-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.ef-winner-announcement-summary > span:first-child { display: grid; gap: 5px; }
.ef-winner-announcement-summary small { color: var(--ef-yellow); font: 700 8px "Space Mono", monospace; letter-spacing: .12em; }
.ef-winner-announcement-summary strong { color: var(--ef-ink); font-size: 16px; }
.ef-winner-announcement-summary em { color: var(--ef-muted); font-size: 10px; font-style: normal; }
.ef-winner-announcement-content { padding: 0 16px 16px; }
.ef-winner-announcement-section[open] > summary { border-bottom: 1px solid rgba(223,235,255,.13); }
.ef-public-winner-name { display: block; padding: 16px 20px; border: 1px solid rgba(255,231,53,.22); border-radius: 12px; color: var(--ef-ink); background: rgba(255,231,53,.06); font-size: 18px; }
@media (max-width: 600px) {
  .ef-public-draw-grid { grid-template-columns: 1fr; }
  .ef-public-group > summary,
  .ef-public-round > summary,
  .ef-draw-card > summary,
  .ef-group-block > summary,
  .ef-round-block > summary { padding: 12px; }
}

/* Connected, top-to-bottom knockout bracket. */
.ef-bracket-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.ef-bracket-heading h2 {
  margin: 0 0 8px;
  color: var(--ef-ink);
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.045em;
}
.ef-bracket-heading p:not(.ef-kicker) {
  margin: 8px 0 0;
  color: var(--ef-muted);
  font-size: 13px;
  line-height: 1.55;
}
.ef-bracket-live-indicator {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 231, 53, .2);
  border-radius: 999px;
  color: var(--ef-yellow);
  background: rgba(255, 231, 53, .06);
  font: 800 8px "Space Mono", monospace;
  letter-spacing: .1em;
}
.ef-bracket-live-indicator i,
.ef-bracket-stage-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ef-yellow);
  box-shadow: 0 0 12px rgba(255, 231, 53, .55);
}
.ef-bracket-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(14px, 2.2vw, 28px);
  border: 1px solid rgba(182, 204, 242, .17);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(31, 91, 175, .2), transparent 45%),
    linear-gradient(150deg, rgba(8, 25, 54, .98), rgba(5, 18, 41, .98));
  box-shadow: 0 24px 58px rgba(0, 8, 28, .24), inset 0 1px rgba(255, 255, 255, .035);
}
.ef-bracket-shell::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 18%;
  left: 18%;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 231, 53, .85), rgba(96, 177, 255, .75), transparent);
  content: "";
}
.ef-bracket-connectors {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ef-bracket-connector {
  fill: none;
  stroke: rgba(133, 164, 211, .34);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ef-bracket-connector.is-advanced {
  stroke: rgba(255, 231, 53, .76);
  filter: drop-shadow(0 0 4px rgba(255, 231, 53, .28));
}
.ef-bracket-rounds {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}
.ef-bracket-stage {
  min-width: 0;
  scroll-margin-top: 90px;
}
.ef-bracket-stage + .ef-bracket-stage {
  padding-top: 22px;
  border-top: 1px solid rgba(182, 204, 242, .1);
}
.ef-bracket-stage-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}
.ef-bracket-stage-title {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 11px;
}
.ef-bracket-stage-title > span {
  color: rgba(173, 195, 229, .58);
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .12em;
  white-space: nowrap;
}
.ef-bracket-stage-title h3 {
  margin: 0;
  color: var(--ef-ink);
  font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 850;
  letter-spacing: -.02em;
}
.ef-bracket-stage-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #aebed6;
  font: 700 7px "Space Mono", monospace;
  letter-spacing: .08em;
}
.ef-bracket-stage-status i {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
  background: #8ea5c8;
  box-shadow: none;
}
.ef-bracket-stage-status.is-current { color: var(--ef-yellow); }
.ef-bracket-stage-status.is-current i { background: var(--ef-yellow); box-shadow: 0 0 10px rgba(255, 231, 53, .5); }
.ef-bracket-stage-status.is-complete { color: #9be2b0; }
.ef-bracket-stage-status.is-complete i { background: #5fce83; box-shadow: 0 0 10px rgba(95, 206, 131, .4); }
.ef-bracket-match-grid {
  display: grid;
  grid-template-columns: repeat(var(--bracket-columns), minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}
.ef-bracket-match {
  position: relative;
  z-index: 1;
  grid-column: span var(--bracket-span);
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(158, 184, 224, .17);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(17, 42, 81, .97), rgba(8, 26, 55, .98));
  box-shadow: 0 10px 26px rgba(0, 8, 28, .2), inset 0 1px rgba(255, 255, 255, .035);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ef-bracket-match.is-decided {
  border-color: rgba(255, 231, 53, .24);
}
.ef-bracket-match.is-projected {
  border-style: dashed;
  border-color: rgba(158, 184, 224, .24);
  background: linear-gradient(145deg, rgba(13, 34, 68, .8), rgba(7, 22, 48, .88));
  box-shadow: none;
}
.ef-bracket-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.ef-bracket-match-code {
  color: #a6bad9;
  font: 800 8px "Space Mono", monospace;
  letter-spacing: .1em;
}
.ef-bracket-match-state {
  color: #a6bad9;
  font: 700 7px "Space Mono", monospace;
  letter-spacing: .07em;
  white-space: nowrap;
}
.ef-bracket-match-state.is-complete { color: var(--ef-yellow); }
.ef-bracket-match-state.is-waiting { color: #91a6c5; }
.ef-bracket-participant {
  display: flex;
  min-width: 0;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(182, 204, 242, .08);
  border-radius: 12px;
  background: rgba(2, 13, 31, .3);
}
.ef-bracket-participant + .ef-bracket-participant { margin-top: 7px; }
.ef-bracket-participant.is-winner {
  border-color: rgba(255, 231, 53, .25);
  background: linear-gradient(100deg, rgba(255, 231, 53, .1), rgba(255, 231, 53, .025));
}
.ef-bracket-participant.is-eliminated { opacity: .58; }
.ef-bracket-entrant {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--ef-ink);
  text-decoration: none;
}
.ef-bracket-entrant:hover { color: #fff; }
.ef-bracket-entrant .ef-fixture-side {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
.ef-bracket-entrant .ef-team-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
}
.ef-bracket-entrant .ef-fixture-player-info {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}
.ef-bracket-entrant .ef-fixture-player-info .ef-fixture-team-name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ef-ink);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ef-bracket-entrant .ef-fixture-player-info small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ef-muted);
  font-size: 8px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}
.ef-bracket-score {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(181, 202, 235, .13);
  border-radius: 10px;
  color: #dce6f5;
  background: rgba(255, 255, 255, .035);
  font: 800 13px "Space Mono", monospace;
}
.ef-bracket-participant.is-winner .ef-bracket-score {
  border-color: rgba(255, 231, 53, .35);
  color: var(--ef-yellow);
  background: rgba(255, 231, 53, .08);
}
.ef-bracket-pending {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
  color: #d5dfef;
}
.ef-bracket-pending-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(181, 202, 235, .14);
  border-radius: 10px;
  color: #91a6c5;
  background: rgba(255, 255, 255, .035);
  font: 800 13px "Space Mono", monospace;
}
.ef-bracket-pending > span:last-child { display: grid; min-width: 0; gap: 3px; }
.ef-bracket-pending strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ef-bracket-pending small { overflow: hidden; color: var(--ef-muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.ef-bracket-penalties {
  margin-top: 9px;
  color: #9aacc8;
  font: 700 7px "Space Mono", monospace;
  letter-spacing: .08em;
  text-align: right;
}
.ef-bracket-penalties strong { margin-left: 5px; color: var(--ef-yellow); }
@media (max-width: 760px) {
  .ef-bracket-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .ef-bracket-shell { padding: 14px 10px; border-radius: 17px; }
  .ef-bracket-rounds { gap: 24px; }
  .ef-bracket-stage + .ef-bracket-stage { padding-top: 18px; }
  .ef-bracket-stage-heading { gap: 8px; }
  .ef-bracket-stage-title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ef-bracket-stage-title h3 { font-size: 15px; }
  .ef-bracket-stage-status { font-size: 6px; }
  .ef-bracket-match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(var(--bracket-mobile-rows), minmax(0, auto));
    gap: 8px;
  }
  .ef-bracket-match {
    grid-column: var(--bracket-mobile-column) / span var(--bracket-mobile-span);
    grid-row: var(--bracket-mobile-row);
    padding: 9px;
    border-radius: 13px;
  }
  .ef-bracket-match-meta { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 7px; }
  .ef-bracket-match-code { font-size: 7px; }
  .ef-bracket-match-state { font-size: 6px; }
  .ef-bracket-participant { min-height: 48px; gap: 5px; padding: 6px; border-radius: 10px; }
  .ef-bracket-entrant .ef-fixture-side { gap: 6px; }
  .ef-bracket-entrant .ef-team-badge,
  .ef-bracket-pending-mark { width: 27px; height: 27px; flex-basis: 27px; border-radius: 8px; }
  .ef-bracket-entrant .ef-fixture-player-info .ef-fixture-team-name { font-size: 9px; }
  .ef-bracket-entrant .ef-fixture-player-info small { font-size: 7px; }
  .ef-bracket-score { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; font-size: 11px; }
  .ef-bracket-pending { gap: 5px; }
  .ef-bracket-pending strong { font-size: 8px; }
  .ef-bracket-pending small { font-size: 6px; }
}
@media (max-width: 370px) {
  .ef-bracket-stage-status { letter-spacing: .02em; }
  .ef-bracket-match { padding: 7px; }
  .ef-bracket-participant { padding: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-bracket-match { transition: none; }
}


/* Already-selected season teams stay visible but cannot be chosen twice. */
.ef-team-option.is-unavailable,
.ef-team-option:disabled { opacity: .46; cursor: not-allowed; filter: saturate(.55); }
.ef-team-option.is-unavailable:hover,
.ef-team-option:disabled:hover { transform: none; border-color: inherit; box-shadow: none; }

/* Group-stage cards reuse knockout-card styling without altering the bracket. */
.ef-public-draw-card li {
  min-height: 55px;
  margin-top: 7px;
  padding: 6px;
  border: 1px solid rgba(182, 204, 242, .08);
  border-radius: 12px;
  background: rgba(2, 13, 31, .3);
}
.ef-public-draw-card li .ef-bracket-entrant .ef-team-badge {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 10px;
}
.ef-public-draw-card li .ef-bracket-entrant .ef-fixture-team-name { font-size: 11px; white-space: normal; }
.ef-public-draw-card li .ef-bracket-entrant .ef-fixture-player-info small { font-size: 8px; white-space: normal; }

.ef-group-standings-list { display: grid; gap: 8px; padding: 12px; }
.ef-group-standing-card { grid-column: span 1; }
.ef-group-standing-stats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-top: 8px;
}
.ef-group-standing-stat {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding: 5px 2px;
  border: 1px solid rgba(182, 204, 242, .07);
  border-radius: 7px;
  background: rgba(2, 13, 31, .24);
}
.ef-group-standing-stat small { color: #91a6c5; font: 700 6px "Space Mono", monospace; letter-spacing: .04em; }
.ef-group-standing-stat strong { color: #dce6f5; font: 800 10px "Space Mono", monospace; }

@media (max-width: 760px) {
  .ef-public-draw-card li { min-height: 48px; }
  .ef-public-draw-card li .ef-bracket-entrant .ef-team-badge {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    border-radius: 8px;
  }
  .ef-public-draw-card li .ef-bracket-entrant .ef-fixture-team-name { font-size: 9px; }
  .ef-public-draw-card li .ef-bracket-entrant .ef-fixture-player-info small { font-size: 7px; }
  .ef-group-standing-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* Live draw, standings, and bracket share one-level controls. */
.ef-public-collapsible {
  overflow: hidden;
  border: 1px solid rgba(182, 204, 242, .17);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(10, 31, 66, .88), rgba(6, 20, 44, .94));
  box-shadow: 0 14px 34px rgba(0, 8, 28, .16);
}
.ef-public-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 21px;
  cursor: pointer;
  list-style: none;
}
.ef-public-accordion-summary::-webkit-details-marker { display: none; }
.ef-public-accordion-summary:focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: -4px; }
.ef-public-collapsible[open] > .ef-public-accordion-summary { border-bottom: 1px solid rgba(223, 235, 255, .13); }
.ef-public-accordion-copy { display: grid; gap: 5px; min-width: 0; }
.ef-public-accordion-copy .ef-kicker { margin: 0; }
.ef-public-accordion-copy h2 { margin: 0; color: var(--ef-ink); font-size: clamp(22px, 3vw, 31px); letter-spacing: -.04em; }
.ef-public-accordion-description { color: var(--ef-muted); font-size: 11px; line-height: 1.5; }
.ef-public-collapsible > .ef-public-accordion-summary .ef-public-accordion-chevron {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 231, 53, .2);
  border-radius: 11px;
  background: rgba(255, 231, 53, .06);
  font-size: 18px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ef-public-collapsible[open] > .ef-public-accordion-summary .ef-public-accordion-chevron { transform: rotate(180deg); }
.ef-public-collapsible > .ef-public-accordion-summary:hover .ef-public-accordion-chevron { border-color: rgba(255, 231, 53, .4); background: rgba(255, 231, 53, .1); }
.ef-public-accordion-body { padding: 15px; }
.ef-public-draw-accordion .ef-public-draw-grid { margin: 0; }
.ef-public-draw-accordion .ef-public-draw-card { padding: 14px; border-radius: 13px; background: rgba(7, 24, 52, .74); }
.ef-public-draw-card .ef-public-draw-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 9px; }
.ef-public-draw-card .ef-public-draw-heading strong { color: var(--ef-ink); font-size: 12px; }
.ef-public-draw-card .ef-public-draw-body { padding: 0; }
.ef-public-draw-card .ef-public-draw-body ol { margin: 0; }

.ef-live-standings-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ef-live-standings-group { padding: 14px; border: 1px solid rgba(182, 204, 242, .14); border-radius: 14px; background: rgba(7, 24, 52, .62); }
.ef-live-standings-group .ef-public-group-heading { margin: 0 0 10px; }
.ef-live-standings-group .ef-public-group-heading h3 { color: var(--ef-ink); font-size: 12px; }
.ef-live-standings-group .ef-table-wrap { margin: 0; }
.ef-live-standings-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ef-live-standings-group .ef-live-standings-table { min-width: 780px; width: 100%; }
.ef-live-standings-table th { padding: 11px 12px; color: #cbd8eb; background: rgba(24, 68, 128, .42); font-size: 8px; }
.ef-live-standings-table td { padding: 10px 12px; color: #e5ecf8; font-size: 10px; }
.ef-live-standings-table th:first-child,
.ef-live-standings-table td:first-child { width: 64px; text-align: center; }
.ef-live-standings-table th:nth-child(2),
.ef-live-standings-table td:nth-child(2) { min-width: 220px; }
.ef-live-standings-table .ef-player-team-cell { min-width: 190px; }
.ef-live-standings-table tbody tr.is-qualifying { background: rgba(255, 231, 53, .075); }
.ef-live-standings-table tbody tr.is-qualifying td:first-child { border-left: 3px solid var(--ef-yellow); }
.ef-live-standings-table .ef-rank-badge.is-qualifying { color: #081a37; background: var(--ef-yellow); }
.ef-live-standings-table td:last-child strong { color: var(--ef-yellow); }
.ef-bracket-accordion-summary { align-items: center; }
.ef-bracket-accordion-summary .ef-bracket-heading { flex: 1 1 auto; align-items: center; margin: 0; }
.ef-bracket-accordion-body { padding: 15px; }
.ef-bracket-accordion-body .ef-bracket-shell { margin: 0; }

@media (max-width: 680px) {
  .ef-public-accordion-summary { gap: 10px; padding: 14px; }
  .ef-public-accordion-body,
  .ef-bracket-accordion-body { padding: 10px; }
  .ef-live-standings-group { padding: 10px; }
  .ef-live-standings-group .ef-live-standings-table { min-width: 760px; }
  .ef-bracket-accordion-summary .ef-bracket-heading { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-public-collapsible > .ef-public-accordion-summary .ef-public-accordion-chevron { transition: none; }
}


/* Shared live section-card headers and compact mobile standings. */
.ef-section-card-summary {
  position: relative;
  min-height: 108px;
  justify-content: center;
  padding: 18px var(--ef-section-label-inset);
  text-align: center;
}
.ef-section-card-summary .ef-public-accordion-copy {
  --ef-section-kicker-font: 9px;
  --ef-section-kicker-line: 1.5;
  --ef-section-title-gap: 5px;
  width: 100%;
  justify-items: center;
  gap: var(--ef-section-title-gap);
  text-align: center;
}
.ef-section-card-summary .ef-public-accordion-copy .ef-kicker {
  color: var(--ef-yellow);
  font-size: var(--ef-section-kicker-font);
  line-height: var(--ef-section-kicker-line);
  letter-spacing: .14em;
  text-align: center;
}
.ef-section-card-summary .ef-public-accordion-copy h2 {
  transform: translateY(calc((var(--ef-section-kicker-font) * var(--ef-section-kicker-line) + var(--ef-section-title-gap)) / -2));
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.1;
  text-align: center;
}
.ef-section-card-summary > .ef-public-accordion-chevron {
  position: absolute;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
}
.ef-public-collapsible[open] > .ef-section-card-summary > .ef-public-accordion-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.ef-public-results-body .ef-public-matchdays { margin: 0; }
.ef-public-results-body .ef-public-matchday { border-color: rgba(182, 204, 242, .14); }

.ef-live-standings-table { table-layout: fixed; }
.ef-live-standings-table th,
.ef-live-standings-table td { padding: 9px 7px; text-align: center; }
.ef-live-standings-table th:nth-child(2),
.ef-live-standings-table td:nth-child(2) { text-align: left; }
.ef-live-standings-table .ef-player-team-cell {
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 6px;
  row-gap: 1px;
}
.ef-live-standings-table .ef-player-team-cell strong { line-height: 1.2; }
.ef-live-standings-table .ef-player-team-cell small { line-height: 1.15; }

@media (max-width: 680px) {
  .efootball-page { --ef-section-label-inset: 50px; }
  .ef-section-card-summary { min-height: 90px; padding: 14px var(--ef-section-label-inset); }
  .ef-section-card-summary .ef-public-accordion-copy h2 { font-size: 22px; }
  .ef-section-card-summary .ef-public-accordion-description { font-size: 10px; }
  .ef-section-card-summary > .ef-public-accordion-chevron { right: 11px; width: 34px; height: 34px; }
  .ef-live-standings-group .ef-live-standings-table {
    width: 560px;
    min-width: 560px;
    table-layout: fixed;
  }
  .ef-live-standings-table th,
  .ef-live-standings-table td { padding: 7px 4px; font-size: 9px; }
  .ef-live-standings-table th:first-child,
  .ef-live-standings-table td:first-child { width: 42px; }
  .ef-live-standings-table th:nth-child(2),
  .ef-live-standings-table td:nth-child(2) { width: 155px; min-width: 155px; }
  .ef-live-standings-table th:nth-child(3), .ef-live-standings-table td:nth-child(3),
  .ef-live-standings-table th:nth-child(4), .ef-live-standings-table td:nth-child(4),
  .ef-live-standings-table th:nth-child(5), .ef-live-standings-table td:nth-child(5),
  .ef-live-standings-table th:nth-child(6), .ef-live-standings-table td:nth-child(6) { width: 38px; }
  .ef-live-standings-table th:nth-child(7), .ef-live-standings-table td:nth-child(7),
  .ef-live-standings-table th:nth-child(8), .ef-live-standings-table td:nth-child(8),
  .ef-live-standings-table th:nth-child(9), .ef-live-standings-table td:nth-child(9) { width: 42px; }
  .ef-live-standings-table th:last-child,
  .ef-live-standings-table td:last-child { width: 58px; }
  .ef-live-standings-table .ef-player-team-cell {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 5px;
  }
  .ef-live-standings-table .ef-player-team-cell .ef-team-badge { width: 20px; height: 20px; flex-basis: 20px; }
  .ef-live-standings-table .ef-player-team-cell strong { font-size: 9px; }
  .ef-live-standings-table .ef-player-team-cell small { font-size: 7px; }
}


/* Yellow section labels sit above-left of the centered white titles. */
.ef-section-card-summary .ef-public-accordion-copy .ef-kicker {
  justify-self: start;
  text-align: left;
  transform: translateY(-3px);
}


/* Group draw and results reuse the knockout card language. */
.ef-public-draw-accordion .ef-public-draw-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ef-public-draw-accordion .ef-public-draw-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(158, 184, 224, .17);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 42, 81, .97), rgba(8, 26, 55, .98));
  box-shadow: 0 10px 26px rgba(0, 8, 28, .2), inset 0 1px rgba(255, 255, 255, .035);
}
.ef-public-draw-card .ef-public-draw-heading {
  align-items: center;
  margin: 0 0 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid rgba(223, 235, 255, .13);
}
.ef-public-draw-card .ef-public-draw-heading strong {
  color: var(--ef-yellow);
  font: 800 clamp(20px, 3.5vw, 28px)/1 "Space Mono", monospace;
  text-transform: uppercase;
}
.ef-public-draw-card .ef-public-draw-heading > span {
  color: var(--ef-muted);
  font: 700 7px "Space Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ef-public-draw-card .ef-public-draw-body ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ef-public-draw-card li {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 55px;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(182, 204, 242, .08);
  border-radius: 12px;
  background: rgba(2, 13, 31, .3);
  transition: border-color .18s ease, background .18s ease;
}
.ef-public-draw-card li:hover {
  border-color: rgba(255, 231, 53, .25);
  background: rgba(2, 13, 31, .48);
}
.ef-public-draw-card li .ef-bracket-entrant {
  min-width: 0;
  text-decoration: none;
}
.ef-public-draw-card li .ef-draw-number { display: none; }
.ef-public-draw-card li .ef-bracket-entrant .ef-fixture-side { gap: 8px; }
.ef-public-draw-card li .ef-bracket-entrant .ef-team-badge { width: 34px; height: 34px; flex-basis: 34px; }

.ef-public-results-body .ef-public-matchday-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}
.ef-public-results-body .ef-public-matchday-group {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(158, 184, 224, .17);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 42, 81, .97), rgba(8, 26, 55, .98));
  box-shadow: 0 10px 26px rgba(0, 8, 28, .2), inset 0 1px rgba(255, 255, 255, .035);
}
.ef-public-matchday:not([open]) > .ef-public-matchday-groups {
  display: none;
}
.ef-public-results-body .ef-public-match-list {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
}
.ef-public-results-body .ef-public-match-list .ef-bracket-match {
  height: 100%;
  padding: 12px;
  border-radius: 16px;
}
.ef-public-results-body .ef-public-matchday-group > h3 {
  margin: 0 0 10px;
  color: var(--ef-yellow);
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .ef-public-draw-accordion .ef-public-draw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ef-public-results-body .ef-public-matchday-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; }
  .ef-public-results-body .ef-public-matchday-group { padding: 8px; }
  .ef-public-results-body .ef-public-matchday-group > h3 { margin-bottom: 11px; }
  .ef-public-results-body .ef-public-match-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ef-public-draw-accordion .ef-public-draw-card { padding: 8px; }
  .ef-public-draw-card .ef-public-draw-heading { align-items: flex-start; flex-direction: column; gap: 3px; padding: 0 1px 7px; }
  .ef-public-draw-card .ef-public-draw-heading > span { font-size: 6px; }
  .ef-public-draw-card li { min-height: 46px; padding: 5px; }
  .ef-public-draw-card li .ef-bracket-entrant .ef-fixture-side { gap: 5px; }
  .ef-public-draw-card li .ef-bracket-entrant .ef-team-badge { width: 24px; height: 24px; flex-basis: 24px; }
  .ef-public-draw-card li .ef-bracket-entrant .ef-fixture-team-name { font-size: 8px; }
  .ef-public-draw-card li .ef-bracket-entrant .ef-fixture-player-info small { font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-public-draw-card li { transition: none; }
}


/* Standings groups open one at a time with team-first entrant rows. */
.ef-live-standings-group {
  padding: 0;
  overflow: hidden;
}
.ef-live-standings-group > .ef-live-standings-summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.ef-live-standings-group > .ef-live-standings-summary::-webkit-details-marker { display: none; }
.ef-live-standings-group[open] > .ef-live-standings-summary { border-bottom: 1px solid rgba(223, 235, 255, .13); }
.ef-live-standings-summary .ef-public-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ef-live-standings-summary .ef-public-group-heading h3 { color: var(--ef-yellow); font: 800 9px "Space Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.ef-live-standings-summary .ef-public-group-heading > span { color: var(--ef-muted); font: 700 7px "Space Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.ef-live-standings-group > .ef-table-wrap,
.ef-live-standings-group > .ef-public-group-empty { margin: 12px; }

.ef-live-standings-table .ef-player-team-cell {
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 8px;
}
.ef-live-standings-table .ef-team-badge { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
.ef-live-standings-table .ef-rank-badge {
  width: 25px;
  min-width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 231, 53, .18);
  border-radius: 8px;
  color: var(--ef-yellow);
  background: rgba(255, 231, 53, .07);
  font-size: 8px;
}
.ef-live-standings-table .ef-rank-badge.is-qualifying {
  border-color: rgba(255, 231, 53, .18);
  color: var(--ef-yellow);
  background: rgba(255, 231, 53, .07);
}

@media (max-width: 680px) {
  .ef-live-standings-group > .ef-live-standings-summary { min-height: 50px; padding: 10px; }
  .ef-live-standings-summary .ef-public-group-heading h3 { font-size: 8px; }
  .ef-live-standings-summary .ef-public-group-heading > span { font-size: 6px; }
  .ef-live-standings-table { width: 500px; min-width: 500px; table-layout: fixed; }
  .ef-live-standings-table th,
  .ef-live-standings-table td { padding: 6px 2px; font-size: 8px; }
  .ef-live-standings-table th:first-child,
  .ef-live-standings-table td:first-child { width: 36px; }
  .ef-live-standings-table th:nth-child(2),
  .ef-live-standings-table td:nth-child(2) { width: 155px; min-width: 155px; }
  .ef-live-standings-table th:nth-child(3), .ef-live-standings-table td:nth-child(3),
  .ef-live-standings-table th:nth-child(4), .ef-live-standings-table td:nth-child(4),
  .ef-live-standings-table th:nth-child(5), .ef-live-standings-table td:nth-child(5),
  .ef-live-standings-table th:nth-child(6), .ef-live-standings-table td:nth-child(6) { width: 32px; }
  .ef-live-standings-table th:nth-child(7), .ef-live-standings-table td:nth-child(7),
  .ef-live-standings-table th:nth-child(8), .ef-live-standings-table td:nth-child(8),
  .ef-live-standings-table th:nth-child(9), .ef-live-standings-table td:nth-child(9) { width: 37px; }
  .ef-live-standings-table th:last-child,
  .ef-live-standings-table td:last-child { width: 56px; }
  .ef-live-standings-table .ef-player-team-cell { grid-template-columns: 27px minmax(0, 1fr); column-gap: 6px; }
  .ef-live-standings-table .ef-team-badge { width: 27px; height: 27px; flex-basis: 27px; }
  .ef-live-standings-table .ef-player-team-cell strong { font-size: 8px; }
  .ef-live-standings-table .ef-player-team-cell small { font-size: 7px; }
  .ef-live-standings-table .ef-rank-badge { width: 20px; min-width: 20px; height: 20px; border-radius: 6px; font-size: 7px; }
}


/* Matchday-style group labels use the same left alignment and type scale. */
.ef-live-standings-group > .ef-live-standings-summary {
  min-height: 50px;
  padding: 14px 17px;
  color: var(--ef-ink);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}
.ef-live-standings-group > .ef-live-standings-summary h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}
.ef-live-standings-group > .ef-live-standings-summary > small {
  color: var(--ef-muted);
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ef-live-standings-group > .ef-live-standings-summary > .ef-public-accordion-chevron {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
@media (max-width: 680px) {
  .ef-live-standings-group > .ef-live-standings-summary { min-height: 46px; padding: 12px 12px; }
  .ef-live-standings-group > .ef-live-standings-summary h3 { font-size: 12px; }
}


/* Results, Matchday, and Standings controls use explicit state for consistent mobile behavior. */
.ef-public-accordion-summary,
.ef-public-matchday-summary,
.ef-live-standings-summary {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}
.ef-public-collapsible[data-accordion-open="true"] > .ef-public-accordion-summary {
  border-bottom: 1px solid rgba(223, 235, 255, .13);
}
.ef-public-collapsible[data-accordion-open="true"] > .ef-public-accordion-summary .ef-public-accordion-chevron {
  transform: rotate(180deg);
}
.ef-public-collapsible[data-accordion-open="true"] > .ef-section-card-summary > .ef-public-accordion-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.ef-public-accordion-body[hidden],
.ef-public-matchday-groups[hidden],
[data-accordion-panel][hidden] {
  display: none !important;
}
.ef-public-matchday > .ef-public-matchday-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  color: var(--ef-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}
.ef-public-matchday > .ef-public-matchday-summary:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: -3px;
}
.ef-public-matchday > .ef-public-matchday-summary small {
  color: var(--ef-muted);
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ef-public-matchday[data-accordion-open="true"] > .ef-public-matchday-summary {
  border-bottom: 1px solid rgba(223, 235, 255, .13);
}
.ef-matchday-chevron {
  flex: 0 0 auto;
  color: #8da532;
  font-size: 16px;
  line-height: 1;
  transition: transform .18s ease;
}
.ef-public-matchday[data-accordion-open="true"] > .ef-public-matchday-summary .ef-matchday-chevron {
  transform: rotate(90deg);
}
.ef-public-matchday[data-accordion-open="true"] > .ef-public-matchday-groups {
  display: grid;
}
.ef-public-matchday[data-accordion-open="false"] > .ef-public-matchday-groups {
  display: none !important;
}
@media (max-width: 680px) {
  .ef-public-matchday > .ef-public-matchday-summary { gap: 10px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-matchday-chevron { transition: none; }
}

/* Controlled Standings panels retain the previous native-accordion styling. */
.ef-live-standings-group > .ef-live-standings-summary {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}
.ef-live-standings-group > .ef-live-standings-summary:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: -3px;
}
.ef-live-standings-summary .ef-live-standings-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}
.ef-live-standings-group[data-accordion-open="true"] > .ef-live-standings-summary {
  border-bottom: 1px solid rgba(223, 235, 255, .13);
}
@media (max-width: 680px) {
  .ef-live-standings-summary .ef-live-standings-title { font-size: 12px; }
}

/* Keep Matchday and standings headings consistent and left-aligned. */
.ef-public-results-body .ef-public-matchday-summary > span:not(.ef-matchday-chevron),
.ef-live-standings-summary .ef-live-standings-title,
.ef-group-block > summary > h3,
.ef-draw-card > summary > h3 {
  color: var(--ef-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}
.ef-public-results-body .ef-public-matchday-summary > span:not(.ef-matchday-chevron),
.ef-group-block > summary > h3,
.ef-draw-card > summary > h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.ef-public-results-body .ef-public-matchday-group > h3 {
  margin: 0 0 14px;
  color: var(--ef-yellow);
  font: 800 12px/1.2 "Space Mono", monospace;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .ef-public-results-body .ef-public-matchday-group > h3 { margin-bottom: 11px; }
}
.ef-demo-preview-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border: 1px solid rgba(223, 235, 255, .16);
  border-radius: 14px;
  background: rgba(223, 235, 255, .04);
}
.ef-demo-preview-nav strong {
  margin-right: auto;
  color: var(--ef-muted);
  font: 700 10px "Space Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ef-demo-preview-nav a {
  color: var(--ef-yellow);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.ef-demo-preview-nav a:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 3px;
}
.ef-demo-preview-nav form { display: inline-flex; }
.ef-demo-preview-nav button {
  padding: 0;
  border: 0;
  color: var(--ef-yellow);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ef-demo-preview-nav button:focus-visible { outline: 2px solid var(--ef-yellow); outline-offset: 3px; }

/* Center Season Roster text and remove visual row numbering. */
.ef-season-roster-toggle > summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  justify-content: center;
}
.ef-season-roster-heading {
  justify-items: center;
  padding-inline: 30px;
  text-align: center;
}
.ef-season-roster-chevron {
  position: absolute;
  right: 16px;
}
.ef-season-teams-heading {
  justify-content: center;
  text-align: center;
}
.ef-season-teams-heading > div,
.ef-elite-season .ef-elite-season-teams-copy {
  align-items: center;
  text-align: center;
}
.ef-season-teams-count { align-self: center; }
.ef-season-teams-empty { text-align: center; }
.ef-season-team-summary {
  position: relative;
  justify-content: center;
  padding-inline: 54px;
  text-align: center;
}
.ef-season-team-identity {
  position: static;
  display: flex;
  width: auto;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ef-season-team-identity > img,
.ef-season-team-identity > .ef-season-team-logo-fallback {
  position: static;
  top: auto;
  left: auto;
  flex: 0 0 auto;
  transform: none;
}
.ef-season-team-name {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  display: grid;
  width: auto;
  max-width: calc(100% - 48px);
  min-width: 0;
  flex: 0 1 auto;
  justify-items: center;
  transform: none;
  text-align: center;
}
.ef-season-team-name strong,
.ef-season-team-name small {
  max-width: 100%;
  text-align: center;
}
.ef-season-team-name strong {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}
.ef-season-team-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  bottom: auto;
  margin: 0;
  transform: translateY(-50%);
}
.ef-season-team-card[data-accordion-open="true"] .ef-season-team-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.ef-season-team-entrants > li { grid-template-columns: minmax(0, 1fr); }
.ef-season-entrant-players {
  justify-items: center;
  text-align: center;
}
.ef-season-entrant-player {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  text-align: center;
}
.ef-season-entrant-player > strong { text-align: center; }
.ef-season-discord-handle {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}
.ef-elite-season .ef-season-team-summary {
  justify-content: center;
  padding-inline: 54px;
  text-align: center;
}
.ef-elite-season .ef-season-team-identity {
  display: flex;
  width: auto;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ef-elite-season .ef-season-team-name {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
  flex: 0 1 auto;
  transform: none;
  text-align: center;
}
.ef-elite-season .ef-season-team-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  bottom: auto;
  margin: 0;
  transform: translateY(-50%);
}
.ef-elite-season .ef-season-team-card[data-accordion-open="true"] .ef-season-team-chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* Main eFootball page: promote the yellow section labels and center league-card content. */
.efootball-page .ef-section-heading h2.ef-main-section-title {
  margin: 0 0 8px;
  color: var(--ef-yellow);
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-align: left;
  text-transform: none;
}
#main .efootball-page .ef-section-heading h2.ef-main-section-title {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}
.efootball-page .ef-live-tournament-card {
  align-items: center;
  min-height: 205px;
  box-sizing: border-box;
  text-align: center;
}
.efootball-page .ef-live-tournament-card .ef-league-card-heading {
  align-items: center;
  justify-content: center;
}
.efootball-page .ef-live-tournament-card .ef-league-card-heading > div {
  justify-content: center;
  justify-items: center;
}
.efootball-page .ef-league-history-link {
  text-align: center;
}
.efootball-page .ef-league-history-link .ef-league-card-heading {
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.efootball-page .ef-league-history-link .ef-league-card-heading > div {
  display: grid;
  width: 100%;
  justify-items: center;
}
.efootball-page .ef-league-history-link .ef-league-abbreviation {
  position: absolute;
  top: 0;
  right: 0;
}

.efootball-page .ef-landing-carousel {
  width: 100%;
  margin-inline: auto;
}
.efootball-page .ef-landing-carousel.is-carousel-ready {
  max-width: 100%;
}
.efootball-page .ef-landing-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  touch-action: pan-y;
  user-select: none;
}
.efootball-page .ef-live-tournament-carousel .ef-landing-carousel-viewport,
.efootball-page .ef-history-carousel .ef-landing-carousel-viewport {
  border-radius: 14px;
}
.efootball-page .ef-landing-carousel.is-carousel-ready .ef-landing-carousel-track {
  display: grid;
  width: 100%;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-columns: none;
  gap: 0;
  will-change: transform;
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
}
.efootball-page .ef-landing-carousel-slide {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.efootball-page .ef-landing-carousel.is-carousel-ready .ef-league-history-link {
  display: block;
  min-height: 210px;
  box-sizing: border-box;
}
.efootball-page .ef-landing-carousel.is-carousel-ready .ef-live-tournament-card {
  min-height: 210px;
  box-sizing: border-box;
  border-radius: 18px;
}
.efootball-page .ef-landing-carousel.is-carousel-ready .ef-live-tournament-card.is-in-progress {
  border-radius: 14px;
}
@media (max-width: 600px) {
  .efootball-page .ef-landing-carousel.is-carousel-ready .ef-league-history-link {
    min-height: 162px;
  }
  .efootball-page .ef-landing-carousel.is-carousel-ready .ef-live-tournament-card {
    min-height: 162px;
  }
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-league-card-heading > div {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 4px;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-league-card-heading {
  position: static;
  padding-top: 20px;
  padding-bottom: 39px;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-league-card-heading h3,
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-live-season-number {
  grid-column: 1;
  text-align: center;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-league-card-heading h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 40px);
  transform: translate(-50%, -50%);
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 850;
  letter-spacing: .055em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(143,184,255,.18);
  text-transform: uppercase;
}
.efootball-page .ef-landing-carousel .ef-league-card-heading {
  padding-top: 25px;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-league-card-heading .ef-kicker {
  top: 18px;
  left: 18px;
}
.efootball-page .ef-landing-carousel .ef-league-card-heading .ef-kicker {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  grid-column: auto;
}
.efootball-page .ef-landing-carousel .ef-league-history-link h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 40px);
  transform: translate(-50%, -50%);
  color: var(--ef-ink);
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 850;
  letter-spacing: .055em;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 18px rgba(143,184,255,.18);
  text-transform: uppercase;
}
.efootball-page .ef-landing-carousel .ef-league-history-link .ef-league-card-heading {
  position: static;
  display: block;
  width: 100%;
  padding: 0;
}
.efootball-page .ef-landing-carousel .ef-league-history-link .ef-league-card-heading .ef-kicker {
  top: clamp(18px, 2vw, 26px);
  left: clamp(18px, 2vw, 26px);
}
.efootball-page .ef-landing-carousel .ef-league-history-link .ef-league-abbreviation {
  top: auto;
  bottom: clamp(18px, 2vw, 26px);
  left: auto;
  right: clamp(18px, 2vw, 26px);
}
.efootball-page .ef-landing-carousel-controls[hidden] {
  display: none;
}
@media (min-width: 601px) {
  .efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-live-tournament-link-label {
    transform: translateY(3px);
  }
}
.efootball-page .ef-landing-carousel.is-carousel-ready .ef-landing-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 13px;
}
.efootball-page .ef-landing-carousel-count {
  position: absolute;
  top: 18px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--ef-muted);
  background: transparent;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}
.efootball-page .ef-landing-carousel-count[hidden] {
  display: none;
}
.efootball-page .ef-landing-carousel-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(182,204,242,.22);
  border-radius: 50%;
  color: var(--ef-ink);
  background: rgba(13,52,132,.38);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.efootball-page .ef-landing-carousel-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.efootball-page .ef-landing-carousel-arrow:hover,
.efootball-page .ef-landing-carousel-arrow:focus-visible {
  border-color: var(--ef-yellow);
  color: var(--ef-yellow);
  background: rgba(255,231,53,.08);
}
.efootball-page .ef-landing-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.efootball-page .ef-landing-carousel-dots button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.efootball-page .ef-landing-carousel-dots button span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(182,204,242,.45);
  transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}
.efootball-page .ef-landing-carousel-dots button[aria-pressed="true"] span {
  width: 23px;
  background: var(--ef-yellow);
  box-shadow: 0 0 12px rgba(255,231,53,.42);
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-landing-carousel.is-carousel-ready .ef-landing-carousel-track,
  .efootball-page .ef-landing-carousel-arrow,
  .efootball-page .ef-landing-carousel-dots button span {
    transition: none;
  }
}
@media (max-width: 600px) {
  .efootball-page .ef-landing-carousel.is-carousel-ready {
    max-width: none;
  }
  .efootball-page .ef-landing-carousel .ef-league-history-link .ef-league-card-heading .ef-kicker {
    top: 18px;
    left: 18px;
  }

/* Keep the season marker and number together, centered as one unit. */
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-live-season-number {
  align-items: center;
  justify-self: center;
  gap: 4px;
  margin-inline: auto;
  text-align: center;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-season-label {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

/* Keep the registration arrow close to its label and vertically aligned. */
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-registration-open-label {
  gap: 6px;
  white-space: nowrap;
}
.efootball-page .ef-landing-carousel .ef-live-tournament-card .ef-live-tournament-link-label > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
}

/* Keep roster team rows horizontal and align every logo in the same column. */
.ef-elite-season .ef-season-teams-card .ef-season-team-cards,
.ef-elite-season .ef-season-roster-live[open] .ef-season-team-cards {
  grid-template-columns: minmax(0, 1fr);
}
.ef-elite-season .ef-season-roster-live[open] {
  width: 100%;
  max-width: 100%;
}
.ef-elite-season .ef-season-roster-live[open] .ef-season-roster-panel {
  width: 100%;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-summary,
.ef-elite-season .ef-season-roster-live .ef-season-team-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  justify-content: stretch;
  gap: 12px;
  min-height: 68px;
  padding: 12px 16px;
  text-align: center;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-identity,
.ef-elite-season .ef-season-roster-live .ef-season-team-identity {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-items: stretch;
  gap: 12px;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-identity > img,
.ef-elite-season .ef-season-teams-card .ef-season-team-identity > .ef-season-team-logo-fallback,
.ef-elite-season .ef-season-roster-live .ef-season-team-identity > img,
.ef-elite-season .ef-season-roster-live .ef-season-team-identity > .ef-season-team-logo-fallback {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  justify-self: center;
  object-fit: contain;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-name,
.ef-elite-season .ef-season-roster-live .ef-season-team-name {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-items: center;
  text-align: center;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-name strong,
.ef-elite-season .ef-season-roster-live .ef-season-team-name strong {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-chevron,
.ef-elite-season .ef-season-roster-live .ef-season-team-chevron {
  position: static;
  justify-self: center;
  margin: 0;
  transform: none;
}
.ef-elite-season .ef-season-teams-card .ef-season-team-card[data-accordion-open="true"] .ef-season-team-chevron,
.ef-elite-season .ef-season-roster-live .ef-season-team-card[data-accordion-open="true"] .ef-season-team-chevron {
  transform: rotate(180deg);
}
.ef-elite-season .ef-season-teams-card .ef-season-team-card,
.ef-elite-season .ef-season-teams-card .ef-season-team-card[data-accordion-open="true"] {
  border-color: rgba(154,174,255,.24);
  background: radial-gradient(circle at 92% 0%,rgba(17,27,145,.28),transparent 40%),linear-gradient(145deg,#0b1743,#070d2c);
}
.ef-elite-season .ef-season-teams-card {
  background: radial-gradient(circle at 92% 0%,rgba(17,27,145,.28),transparent 40%),linear-gradient(145deg,#0b1743,#070d2c);
}
.ef-elite-season .ef-season-teams-card .ef-season-discord-handle,
.ef-elite-season .ef-season-roster-live .ef-season-discord-handle {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}
.ef-elite-season .ef-season-teams-card .ef-discord-user-label,
.ef-elite-season .ef-season-roster-live .ef-discord-user-label {
  flex: 0 0 auto;
  white-space: nowrap;
}
.ef-elite-season .ef-season-teams-card .ef-discord-username-copy,
.ef-elite-season .ef-season-roster-live .ef-discord-username-copy {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ef-elite-season .ef-season-teams-card .ef-copy-username-feedback,
.ef-elite-season .ef-season-roster-live .ef-copy-username-feedback {
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

/* Match registration surfaces to the navy tournament header card, not the site's near-black shell. */
.efootball-page .ef-auth-card,
.ef-elite-season .ef-season-teams-card,
.ef-elite-season .ef-registration-panel,
.ef-elite-season .ef-season-register-hero,
.ef-elite-season .ef-season-register-card,
.ef-elite-season .ef-duo-invite-panel {
  background: var(--ef-tournament-header-bg);
}
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-hero,
.ef-cl-duo-season:not(.ef-elite-season) .ef-season-register-card,
.ef-cl-duo-season:not(.ef-elite-season) .ef-duo-code-form-join-page {
  background: var(--ef-tournament-header-bg);
}
.ef-elite-season .ef-season-teams-card .ef-season-team-card,
.ef-elite-season .ef-season-teams-card .ef-season-team-card[data-accordion-open="true"] {
  background: var(--ef-tournament-header-bg);
}

/* Keep the original title slot in flow while placing the title at the card midpoint. */
.efootball-page .ef-home-hero .ef-hero-copy {
  position: static;
  width: 100%;
  max-width: none;
}
.efootball-page .ef-home-hero-title-slot {
  width: 100%;
  margin: 0 0 20px;
}
.efootball-page .ef-home-hero-title-slot > h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}
.efootball-page .ef-home-hero.is-title-centered .ef-home-hero-title-slot {
  height: var(--ef-home-title-slot-height);
}
.efootball-page .ef-home-hero.is-title-centered .ef-home-hero-title-slot > h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - clamp(68px, 12vw, 144px));
  margin: 0;
  transform: translate(-50%, -50%);
}
.efootball-page .ef-home-hero.is-title-centered .ef-lead,
.efootball-page .ef-home-hero.is-title-centered .ef-hero-actions {
  transform: translateY(var(--ef-home-title-shift));
}
@media (max-width: 600px) {
  .efootball-page .ef-home-hero.is-title-centered .ef-home-hero-title-slot > h1 {
    width: calc(100% - 42px);
  }
}

/* Match Registration-stage roster text to the active-season white and grey. */
.ef-elite-season .ef-season-teams-card .ef-season-teams-heading h2 {
  color: var(--ef-ink);
}
.ef-elite-season .ef-season-teams-card .ef-season-teams-count {
  color: var(--ef-muted);
}

.efootball-page .ef-live-tournament-card .ef-live-season-kicker {
  color: #dbe5f5;
}

/* Keep group fixtures visually consistent before and after results are posted. */
.ef-public-results-body .ef-bracket-match.is-decided,
.ef-public-results-body .ef-public-matchday-group .ef-bracket-match {
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ef-public-results-body .ef-bracket-match.is-decided .ef-bracket-participant,
.ef-public-results-body .ef-public-matchday-group .ef-bracket-match .ef-bracket-participant {
  border: 0;
}
.ef-public-results-body .ef-bracket-match.is-decided .ef-bracket-participant + .ef-bracket-participant,
.ef-public-results-body .ef-public-matchday-group .ef-bracket-match .ef-bracket-participant + .ef-bracket-participant {
  margin-top: 0;
  border-top: 1px solid rgba(182, 204, 242, .12);
}

/* Center roster identity and Discord details around the same labeled nickname. */
.ef-season-entrant-player {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.ef-season-nickname-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  color: var(--ef-yellow);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.4;
  white-space: nowrap;
}
.ef-season-nickname-arrow {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ef-season-entrant-player > strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}
.ef-season-entrant-player > .ef-season-discord-handle,
.ef-season-entrant-player > .ef-season-discord-missing {
  flex: 0 1 100%;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Keep the eFootball Join Us mark in Discord's own brand blue. */
.ef-site-mode .discord-join-icon {
  filter: none;
}

.ef-player-match-report {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(244,237,0,.2);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(11,30,74,.96), rgba(5,13,39,.98));
}
.ef-player-match-report-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ef-ink);
  font-size: 11px;
}
.ef-player-match-report-heading > span {
  color: var(--ef-yellow);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ef-player-report-decision {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(154,174,255,.2);
  border-radius: 999px;
  color: var(--ef-muted);
  background: rgba(154,174,255,.06);
}
.ef-player-report-decision-approved { color: #84e1a1; border-color: rgba(90,205,128,.3); background: rgba(90,205,128,.08); }
.ef-player-report-decision-rejected { color: #ffb6ae; border-color: rgba(255,130,117,.32); background: rgba(255,130,117,.08); }
.ef-player-report-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ef-yellow); font-size: 13px; }
.ef-player-report-summary strong { font-size: 11px; letter-spacing: .08em; }
.ef-player-report-team-note {
  margin: 0;
  color: var(--ef-muted);
  font-size: 11px;
  line-height: 1.45;
}
.ef-player-report-rejected {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255,130,117,.3);
  border-radius: 10px;
  color: #ffd6d1;
  background: rgba(150,42,38,.13);
  font-size: 12px;
  line-height: 1.5;
}
.ef-result-row .ef-player-match-report { grid-column: 1 / -1; }
.ef-player-report-image-link {
  display: block;
  overflow: hidden;
  max-height: 210px;
  border: 1px solid rgba(154,174,255,.18);
  border-radius: 10px;
  background: #030918;
}
.ef-player-report-image { display: block; width: 100%; max-height: 210px; object-fit: contain; }
.ef-player-report-form { display: grid; gap: 10px; }
.ef-player-report-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--ef-muted);
  font-size: 10px;
  font-weight: 750;
}
.ef-player-report-form input,
.ef-player-report-form select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(154,174,255,.22);
  border-radius: 9px;
  color: var(--ef-ink);
  background: rgba(3,8,27,.76);
  font: inherit;
  font-size: 13px;
}
.ef-player-report-form input[type="file"] { padding: 7px; font-size: 10px; }
.ef-report-outcome-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.ef-report-outcome-field legend {
  margin: 0 0 2px;
  padding: 0;
  color: var(--ef-muted);
  font-size: 10px;
  font-weight: 750;
}
.ef-report-outcome-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ef-player-report-form .ef-report-outcome-option { display: block; min-width: 0; margin: 0; padding: 0; cursor: pointer; }
.ef-player-report-form .ef-report-outcome-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.ef-report-outcome-option span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(154,174,255,.22);
  border-radius: 9px;
  color: var(--ef-ink);
  background: rgba(3,8,27,.76);
  font-size: 12px;
  font-weight: 800;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.ef-report-outcome-option input:checked + span {
  border-color: var(--ef-yellow);
  color: #07142d;
  background: var(--ef-yellow);
}
.ef-report-outcome-option input:focus-visible + span {
  outline: 2px solid var(--ef-ink);
  outline-offset: 2px;
}
.ef-report-outcome-option input:disabled + span {
  opacity: .45;
  cursor: not-allowed;
}
.ef-report-scores {
  display: grid;
  grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr);
  align-items: end;
  gap: 7px;
}
.ef-report-scores > span { align-self: center; color: var(--ef-yellow); text-align: center; }
.ef-report-scores input,
.ef-report-scores select { min-height: 44px; text-align: center; font-size: 17px; }
.ef-report-penalties { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.ef-report-file-field { padding: 10px; border: 1px dashed rgba(154,174,255,.24); border-radius: 10px; }
.ef-report-file-field small { color: var(--ef-yellow); font-size: 10px; }
.ef-player-report-submit { min-height: 40px; padding: 9px 12px; font-size: 12px; }
.ef-player-report-form [hidden] { display: none !important; }
@media (max-width: 600px) {
  .ef-player-match-report { padding: 10px; }
  .ef-report-outcome-options { gap: 6px; }
}

/* Keep player-profile match details in stable columns at every viewport size. */
.ef-season-league .ef-results-list { gap: 10px; }
.ef-season-league .ef-result-row {
  grid-template-areas:
    "round round round"
    "home score away"
    "report report report";
  grid-template-columns: minmax(0, 1fr) minmax(58px, max-content) minmax(0, 1fr);
  grid-template-rows: auto minmax(46px, auto) auto;
  align-items: center;
  column-gap: clamp(6px, 1.2vw, 14px);
}
.ef-season-league .ef-result-row > .ef-round { grid-area: round; }
.ef-season-league .ef-result-row > .ef-player-name:nth-child(2) { grid-area: home; }
.ef-season-league .ef-result-row > .ef-score:nth-child(3) { grid-area: score; }
.ef-season-league .ef-result-row > .ef-player-name:nth-child(4) { grid-area: away; }
.ef-season-league .ef-result-row > .ef-player-match-report {
  grid-area: report;
  width: 100%;
  min-width: 0;
}
.ef-season-league .ef-result-row .ef-fixture-side,
.ef-season-league .ef-result-row .ef-fixture-player-info { min-width: 0; }
@media (max-width: 600px) {
  .ef-season-league .ef-result-row {
    grid-template-columns: minmax(0, 1fr) minmax(52px, max-content) minmax(0, 1fr);
    grid-template-rows: auto minmax(42px, auto) auto;
    column-gap: clamp(3px, 1.25vw, 8px);
    padding: 12px;
  }
}

/* Expanded Season Roster: align and enlarge the title and entrant count. */
.ef-season-roster-toggle[open] > summary .ef-season-roster-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(7px, 1vw, 11px);
  max-width: 100%;
  min-width: 0;
  padding-inline: clamp(18px, 4vw, 30px);
  text-align: left;
}
.ef-season-roster-toggle[open] > summary .ef-season-roster-heading > strong {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.2;
}
.ef-season-roster-toggle[open] > summary .ef-season-roster-count {
  padding: 6px 10px;
  border-color: rgba(255,231,53,.58);
  color: var(--ef-yellow);
  background: rgba(255,231,53,.14);
  font-size: clamp(11px, 1.1vw, 12px);
  font-weight: 800;
  white-space: nowrap;
}

/* Keep the full-season title centered in the card on phones. */
@media (max-width: 600px) {
  .efootball-page .ef-live-tournament-card {
    min-height: 162px;
  }
  .efootball-page .ef-landing-carousel .ef-live-tournament-card.is-registration-full .ef-league-card-heading h3 {
    top: 50%;
  }
}

/* Match the live season title hierarchy to the full-card treatment, with a restrained live-red accent. */
.efootball-page .ef-live-tournament-card.is-in-progress {
  align-items: center;
  border-radius: 14px;
  border-color: rgba(255, 102, 118, .42);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(211, 57, 77, .17), transparent 58%),
    linear-gradient(145deg, rgba(55, 30, 48, .72), rgba(7, 25, 55, .96));
  box-shadow: 0 0 0 1px rgba(255, 102, 118, .07), 0 14px 34px rgba(0, 8, 28, .16);
  text-align: center;
}
.efootball-page .ef-live-tournament-card.is-in-progress:hover {
  border-color: rgba(255, 131, 144, .68);
  box-shadow: 0 0 0 1px rgba(255, 102, 118, .14), 0 18px 42px rgba(0, 8, 28, .22);
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-league-card-heading {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-league-card-heading > div {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding-inline: 0;
  text-align: center;
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-league-card-heading .ef-kicker {
  grid-column: 1;
  margin-bottom: 7px;
  text-align: left;
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-league-card-heading h3 {
  width: calc(100% - 40px);
  margin: 0;
  text-align: center;
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-in-progress-status {
  position: absolute;
  bottom: 18px;
  left: 18px;
  align-self: auto;
  margin: 0;
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-live-tournament-link-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  align-self: auto;
  margin: 0;
  color: #fff;
  text-align: right;
  white-space: nowrap;
}
.efootball-page .ef-live-tournament-card.is-in-progress .ef-live-tournament-link-label:hover {
  color: #fff;
}

/* Match Settings sits beside the roster and uses the same collapsible header. */
.ef-season-overview-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin: clamp(22px, 4vw, 34px) 0 18px;
}
.ef-season-overview-row > .ef-match-settings-toggle {
  width: max-content;
  max-width: 100%;
  justify-self: start;
  margin: 0;
}
.ef-season-overview-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle) {
  width: max-content;
  max-width: 100%;
  justify-self: end;
  margin: 0;
}
/* In registration, keep the compact confirmation left while the closed roster sits right. */
.ef-season-registration-row > .ef-withdraw-panel { grid-column: 1; align-self: start; }
.ef-season-overview-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle):only-child {
  grid-column: 2;
  justify-self: end;
}
.ef-season-overview-row.ef-season-registration-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle):not([open]) {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  margin: 0;
}
.ef-season-overview-row.ef-season-registration-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle):not([open]) > summary { flex: 1; }
.ef-season-overview-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle)[open],
.ef-season-overview-row > .ef-match-settings-toggle[open] {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}
.ef-match-settings-summary-meta {
  padding: 4px 8px;
  border: 1px solid rgba(255, 231, 53, .24);
  border-radius: 999px;
  color: var(--ef-muted);
  background: rgba(255, 231, 53, .06);
  font: 700 10px "Space Mono", monospace;
  letter-spacing: .035em;
  line-height: 1.2;
  white-space: nowrap;
}
.ef-match-settings-toggle .ef-season-roster-heading {
  padding-inline: 14px;
}
.ef-match-settings-toggle .ef-season-roster-heading > strong {
  font-size: 16px;
}
.ef-match-settings-panel {
  display: grid;
  gap: 10px;
}
.ef-match-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin: 0;
}
.ef-match-settings-grid > div,
.ef-match-settings-stage dl > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(182, 204, 242, .09);
}
.ef-match-settings-grid dt,
.ef-match-settings-stage dt {
  min-width: 0;
  color: var(--ef-muted);
  font-size: 10px;
  line-height: 1.35;
}
.ef-match-settings-grid dd,
.ef-match-settings-stage dd {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ef-ink);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}
.ef-match-settings-grid dd.is-on,
.ef-match-settings-stage dd.is-on,
.ef-match-settings-grid dd.is-off,
.ef-match-settings-stage dd.is-off {
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 999px;
  font: 800 9px "Space Mono", monospace;
  text-align: center;
}
.ef-match-settings-grid dd.is-on,
.ef-match-settings-stage dd.is-on {
  color: var(--ef-yellow);
  background: rgba(255, 231, 53, .09);
}
.ef-match-settings-grid dd.is-off,
.ef-match-settings-stage dd.is-off {
  color: var(--ef-muted);
  background: rgba(182, 204, 242, .08);
}
.ef-match-settings-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ef-match-settings-stage {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(158, 184, 224, .14);
  border-radius: 12px;
  background: rgba(2, 13, 31, .22);
}
.ef-match-settings-stage h3 {
  margin: 0;
  padding-bottom: 8px;
  color: var(--ef-yellow);
  font: 800 10px "Space Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ef-match-settings-stage dl {
  display: grid;
  margin: 0;
}
.ef-match-settings-stage dl > div {
  padding-inline: 0;
}
.ef-match-settings-stage dl > div:last-child,
.ef-match-settings-grid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
@media (max-width: 560px) {
  .ef-match-settings-grid,
  .ef-match-settings-stages { grid-template-columns: minmax(0, 1fr); }
  .ef-match-settings-grid > div:nth-last-child(2) { border-bottom: 1px solid rgba(182, 204, 242, .09); }
}

/* Standings use the same spacious group-card language as Group Draw. */
.ef-public-standings-accordion .ef-live-standings-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ef-public-standings-accordion .ef-live-standings-group {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(158, 184, 224, .17);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 42, 81, .97), rgba(8, 26, 55, .98));
  box-shadow: 0 10px 26px rgba(0, 8, 28, .2), inset 0 1px rgba(255, 255, 255, .035);
}
.ef-public-standings-accordion .ef-live-standings-heading {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(223, 235, 255, .13);
}
.ef-public-standings-accordion .ef-live-standings-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ef-yellow);
  font: 800 15px/1.15 "Space Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ef-public-standings-accordion .ef-live-standings-count {
  flex: 0 0 auto;
  color: var(--ef-muted);
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ef-public-standings-accordion .ef-live-standings-list-wrap {
  min-width: 0;
  padding: 12px;
}
.ef-live-standings-cards {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ef-live-standing-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(182, 204, 242, .1);
  border-radius: 12px;
  background: rgba(2, 13, 31, .3);
}
.ef-live-standing-card.is-qualifying {
  border-color: rgba(255, 231, 53, .24);
  background: linear-gradient(110deg, rgba(255, 231, 53, .085), rgba(2, 13, 31, .32) 62%);
}
.ef-live-standing-main {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
}
.ef-live-standing-main > .ef-rank-badge {
  width: 27px;
  min-width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 231, 53, .2);
  border-radius: 8px;
  color: var(--ef-yellow);
  background: rgba(255, 231, 53, .07);
  font-size: 10px;
}
.ef-live-standing-main > .ef-rank-badge.is-qualifying {
  color: #081a37;
  background: var(--ef-yellow);
}
.ef-live-standing-team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
.ef-live-standing-team .ef-team-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
}
.ef-live-standing-team strong {
  min-width: 0;
  color: var(--ef-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.ef-live-standing-points {
  display: grid;
  min-width: 48px;
  justify-items: center;
  gap: 1px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 231, 53, .2);
  border-radius: 10px;
  background: rgba(255, 231, 53, .075);
}
.ef-live-standing-points strong {
  color: var(--ef-yellow);
  font: 800 15px/1 "Space Mono", monospace;
}
.ef-live-standing-points span {
  color: var(--ef-muted);
  font: 700 7px/1.2 "Space Mono", monospace;
  letter-spacing: .07em;
}
.ef-live-standing-stats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 9px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(223, 235, 255, .1);
}
.ef-live-standing-stats > div {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
}
.ef-live-standing-stats dt {
  color: var(--ef-muted);
  font: 700 7px/1.1 "Space Mono", monospace;
  letter-spacing: .03em;
}
.ef-live-standing-stats dd {
  margin: 0;
  color: var(--ef-ink);
  font: 800 11px/1.15 "Space Mono", monospace;
}
@media (max-width: 760px) {
  .ef-public-standings-accordion .ef-live-standings-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ef-public-standings-accordion .ef-live-standings-group { border-radius: 12px; }
  .ef-public-standings-accordion .ef-live-standings-heading { min-height: 40px; gap: 4px; padding: 7px 8px; }
  .ef-public-standings-accordion .ef-live-standings-title { font-size: 10px; }
  .ef-public-standings-accordion .ef-live-standings-count { font-size: 6px; letter-spacing: 0; }
  .ef-public-standings-accordion .ef-live-standings-list-wrap { padding: 7px; }
  .ef-live-standings-cards { gap: 6px; }
  .ef-live-standing-card { padding: 6px; border-radius: 9px; }
  .ef-live-standing-main { grid-template-columns: 18px minmax(0, 1fr) 32px; gap: 4px; min-height: 30px; }
  .ef-live-standing-main > .ef-rank-badge { width: 18px; min-width: 18px; height: 18px; border-radius: 5px; font-size: 7px; }
  .ef-live-standing-team { gap: 4px; }
  .ef-live-standing-team .ef-team-badge { width: 20px; height: 20px; flex-basis: 20px; border-radius: 6px; }
  .ef-live-standing-team strong { font-size: 9px; line-height: 1.1; }
  .ef-live-standing-points { min-width: 32px; gap: 0; padding: 4px 3px; border-radius: 7px; }
  .ef-live-standing-points strong { font-size: 11px; }
  .ef-live-standing-points span { font-size: 5px; letter-spacing: 0; }
  .ef-live-standing-stats { gap: 1px; margin-top: 6px; padding-top: 6px; }
  .ef-live-standing-stats > div { gap: 2px; }
  .ef-live-standing-stats dt { font-size: 6px; }
  .ef-live-standing-stats dd { font-size: 9px; }
}
@media (max-width: 360px) {
  .ef-public-standings-accordion .ef-live-standings-groups { gap: 6px; }
  .ef-public-standings-accordion .ef-live-standings-heading { gap: 3px; padding-inline: 6px; }
  .ef-public-standings-accordion .ef-live-standings-title { font-size: 9px; }
  .ef-public-standings-accordion .ef-live-standings-count { font-size: 5px; }
  .ef-public-standings-accordion .ef-live-standings-list-wrap { padding: 5px; }
  .ef-live-standing-card { padding: 5px; }
  .ef-live-standing-main { grid-template-columns: 16px minmax(0, 1fr) 29px; gap: 3px; }
  .ef-live-standing-main > .ef-rank-badge { width: 16px; min-width: 16px; height: 16px; font-size: 6px; }
  .ef-live-standing-team { gap: 3px; }
  .ef-live-standing-team .ef-team-badge { width: 17px; height: 17px; flex-basis: 17px; }
  .ef-live-standing-team strong { font-size: 8px; }
  .ef-live-standing-points { min-width: 29px; padding: 3px 2px; }
  .ef-live-standing-points strong { font-size: 10px; }
  .ef-live-standing-stats { gap: 0; }
  .ef-live-standing-stats dt { font-size: 5px; }
  .ef-live-standing-stats dd { font-size: 8px; }
}

/* Player match history: center team identities and keep the round at the upper left. */
.ef-player-history-section .ef-section-heading h2.ef-player-history-title {
  width: 100%;
  color: var(--ef-yellow);
  text-align: left;
}
.ef-player-history-section .ef-section-heading {
  justify-content: flex-start;
}
.ef-player-history-section .ef-section-heading > div {
  flex: 1 1 auto;
  text-align: left;
}
.ef-player-history-section .ef-results-list { gap: 12px; }
.ef-player-history-section .ef-result-row {
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  grid-template-areas: "round round round" "home score away";
  align-items: center;
  gap: 16px 18px;
  min-height: 172px;
  padding: 18px 22px 20px;
}
.ef-player-history-section .ef-result-row > .ef-round {
  justify-self: start;
  color: var(--ef-yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-align: left;
}
.ef-player-history-section .ef-result-row > .ef-player-name:nth-child(2),
.ef-player-history-section .ef-result-row > .ef-player-name:nth-child(4) {
  display: flex;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
.ef-player-history-section .ef-result-row > .ef-player-name .ef-fixture-side {
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: visible;
}
.ef-player-history-section .ef-result-row .ef-team-badge {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 12px;
}
.ef-player-history-section .ef-result-row img.ef-team-badge {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
.ef-player-history-section .ef-result-row .ef-fixture-player-info {
  width: 100%;
  overflow: visible;
  justify-items: center;
  text-align: center;
}
.ef-player-history-section .ef-result-row .ef-fixture-team-name {
  overflow: visible;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ef-player-history-section .ef-result-row .ef-fixture-player-info small {
  overflow: visible;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}
.ef-player-history-section .ef-match-history-player-identity {
  display: flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 7px;
}
.ef-player-history-section .ef-match-history-discord-handle {
  display: flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  white-space: normal;
}
.ef-player-history-section .ef-discord-user-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ef-yellow);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.4;
  white-space: nowrap;
}
.ef-player-history-section .ef-discord-label-arrow {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ef-player-history-section .ef-match-history-discord-copy {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 4px;
}
.ef-player-history-section .ef-discord-username-copy {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(244, 237, 0, .28);
  border-radius: 999px;
  color: var(--ef-ink);
  background: rgba(255, 255, 255, .055);
  font: 600 8px "Space Mono", monospace;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
}
.ef-player-history-section .ef-discord-username-copy:hover {
  transform: translateY(-1px);
  border-color: var(--ef-yellow);
  color: var(--ef-yellow);
  background: rgba(244, 237, 0, .1);
}
.ef-player-history-section .ef-discord-username-copy:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 2px;
}
.ef-player-history-section .ef-copy-username-feedback {
  min-width: 0;
  color: var(--ef-yellow);
  font-size: 8px;
  white-space: nowrap;
}
.ef-player-history-section .ef-result-row > .ef-score:nth-child(3) {
  display: flex;
  min-width: 78px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 231, 53, .2);
  border-radius: 999px;
  background: rgba(255, 231, 53, .07);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.ef-player-history-section .ef-result-row .ef-score-pending {
  color: var(--ef-yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
@media (max-width: 600px) {
  .ef-player-history-section .ef-result-row {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 14px 8px;
    min-height: 164px;
    padding: 16px 12px 18px;
  }
  .ef-player-history-section .ef-result-row .ef-team-badge {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .ef-player-history-section .ef-result-row .ef-fixture-team-name { font-size: 11px; }
  .ef-player-history-section .ef-result-row .ef-fixture-player-info small { font-size: 9px; }
  .ef-player-history-section .ef-result-row > .ef-score:nth-child(3) {
    min-width: 68px;
    min-height: 38px;
    padding: 7px 6px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .ef-player-history-section .ef-result-row {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    gap: 12px 5px;
    padding-inline: 9px;
  }
  .ef-player-history-section .ef-result-row .ef-team-badge {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .ef-player-history-section .ef-result-row .ef-fixture-team-name { font-size: 10px; }
  .ef-player-history-section .ef-result-row .ef-fixture-player-info small { font-size: 8px; }
  .ef-player-history-section .ef-result-row > .ef-score:nth-child(3) { min-width: 60px; }
}

/* Add restrained 3D depth to the home hero and tournament cards. */
.efootball-page .ef-home-hero {
  border-color: rgba(190, 211, 255, .26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -2px 0 rgba(0, 4, 20, .3),
    0 8px 0 rgba(4, 14, 35, .34),
    0 26px 56px rgba(0, 8, 28, .34);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.efootball-page .ef-live-tournament-carousel,
.efootball-page .ef-history-carousel {
  transition: transform .22s ease;
}
.efootball-page .ef-live-tournament-carousel .ef-live-tournament-card,
.efootball-page .ef-history-carousel .ef-league-history-link {
  transition: border-color .22s ease;
}
.efootball-page .ef-live-tournament-card::before,
.efootball-page .ef-league-history-link::before {
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04) 26%, transparent 48%, transparent 70%, rgba(0, 5, 22, .2));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .23), inset 0 -4px 0 rgba(0, 6, 24, .32);
  content: "";
  opacity: .96;
  pointer-events: none;
  transition: opacity .22s ease;
}
.efootball-page .ef-live-tournament-carousel .ef-live-tournament-card:hover,
.efootball-page .ef-history-carousel .ef-league-history-link:hover {
  transform: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .efootball-page .ef-live-tournament-card:hover::before,
  .efootball-page .ef-league-history-link:hover::before {
    opacity: 1;
  }
  .efootball-page .ef-home-hero:hover {
    transform: translateY(-3px);
  }
  .efootball-page .ef-live-tournament-carousel:hover,
  .efootball-page .ef-live-tournament-carousel:focus-within,
  .efootball-page .ef-history-carousel:hover,
  .efootball-page .ef-history-carousel:focus-within {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-home-hero,
  .efootball-page .ef-live-tournament-carousel,
  .efootball-page .ef-history-carousel,
  .efootball-page .ef-live-tournament-card::before,
  .efootball-page .ef-league-history-link::before {
    transition: none;
  }
  .efootball-page .ef-home-hero:hover,
  .efootball-page .ef-live-tournament-carousel:hover,
  .efootball-page .ef-live-tournament-carousel:focus-within,
  .efootball-page .ef-history-carousel:hover,
  .efootball-page .ef-history-carousel:focus-within {
    transform: none;
  }
}

/* Put the extrusion shadow on the viewport so its overflow clip cannot hide it. */
.efootball-page .ef-live-tournament-carousel .ef-landing-carousel-viewport,
.efootball-page .ef-history-carousel .ef-landing-carousel-viewport {
  box-shadow: 0 6px 0 rgba(3, 13, 34, .78), 0 18px 28px rgba(0, 5, 20, .34);
  transition: box-shadow .22s ease;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .efootball-page .ef-live-tournament-carousel:hover .ef-landing-carousel-viewport,
  .efootball-page .ef-live-tournament-carousel:focus-within .ef-landing-carousel-viewport,
  .efootball-page .ef-history-carousel:hover .ef-landing-carousel-viewport,
  .efootball-page .ef-history-carousel:focus-within .ef-landing-carousel-viewport {
    box-shadow: 0 8px 0 rgba(3, 13, 34, .8), 0 22px 34px rgba(0, 5, 20, .4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-live-tournament-carousel .ef-landing-carousel-viewport,
  .efootball-page .ef-history-carousel .ef-landing-carousel-viewport {
    transition: none;
  }
}

/* Add a short extruded shadow to the hero title and tournament names. */
.efootball-page .ef-home-hero .ef-title-gradient {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, .38))
    drop-shadow(0 2px 0 rgba(8, 19, 54, .92))
    drop-shadow(0 4px 0 rgba(7, 15, 45, .72))
    drop-shadow(0 10px 14px rgba(0, 5, 20, .45))
    drop-shadow(0 0 14px rgba(255, 231, 53, .1));
}
.efootball-page .ef-live-tournament-carousel .ef-live-tournament-card .ef-league-card-heading h3,
.efootball-page .ef-history-carousel .ef-league-history-link h3 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .3),
    0 2px 0 rgba(3, 15, 39, .92),
    0 4px 0 rgba(3, 15, 39, .68),
    0 8px 12px rgba(0, 5, 20, .42),
    0 2px 18px rgba(143, 184, 255, .18);
}

/* Give the homepage Player Login/Profile actions a raised gold edge. */
.efootball-page .ef-home-hero .ef-profile-link {
  border-color: rgba(255, 255, 255, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .48),
    inset 0 -2px 0 rgba(123, 92, 0, .26),
    0 4px 0 rgba(146, 110, 0, .88),
    0 8px 18px rgba(0, 5, 20, .35);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.efootball-page .ef-home-hero .ef-profile-link:hover,
.efootball-page .ef-home-hero .ef-profile-link:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -2px 0 rgba(123, 92, 0, .25),
    0 6px 0 rgba(146, 110, 0, .9),
    0 13px 21px rgba(0, 5, 20, .38);
}
.efootball-page .ef-home-hero .ef-profile-link:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -2px 0 rgba(123, 92, 0, .3),
    0 1px 0 rgba(146, 110, 0, .9),
    0 3px 8px rgba(0, 5, 20, .3);
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-home-hero .ef-profile-link {
    transition: none;
  }
  .efootball-page .ef-home-hero .ef-profile-link:hover,
  .efootball-page .ef-home-hero .ef-profile-link:focus-visible,
  .efootball-page .ef-home-hero .ef-profile-link:active {
    transform: none;
  }
}

/* Make each standings team an accessible link to that player's overview. */
.efootball-page .ef-live-standing-player-link {
  width: 100%;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, color .16s ease;
}
.efootball-page .ef-live-standing-player-link:hover strong {
  color: var(--ef-yellow);
}
.efootball-page .ef-live-standing-player-link:focus-visible {
  outline: 2px solid var(--ef-yellow);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .efootball-page .ef-live-standing-player-link:hover {
    transform: translateX(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .efootball-page .ef-live-standing-player-link {
    transition: none;
  }
}

/* Replace the native scrollbar with a mobile-only indicator anchored at the card edge. */
.ef-elite-season .ef-public-season-hero {
  position: relative;
}
.ef-elite-season .ef-season-progress-viewport {
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}
.ef-elite-season .ef-season-progress-viewport::-webkit-scrollbar {
  display: none;
}
.ef-elite-season .ef-season-progress-mobile-scrollbar {
  position: absolute;
  right: clamp(24px, 4.5vw, 46px);
  bottom: 0;
  left: clamp(24px, 4.5vw, 46px);
  z-index: 5;
  display: none;
  height: 14px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  touch-action: none;
  transition: opacity .16s ease;
}
.ef-elite-season .ef-season-progress-mobile-scrollbar::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  content: "";
}
.ef-elite-season .ef-season-progress-mobile-scrollbar > span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(201, 181, 78, .78);
  box-shadow: 0 0 5px rgba(201, 181, 78, .2);
  transform: translateX(0);
}
.ef-elite-season .ef-season-progress-mobile-scrollbar.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 700px) {
  .ef-elite-season .ef-season-progress-mobile-scrollbar {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ef-elite-season .ef-season-progress-mobile-scrollbar {
    transition: none;
  }
}

.ef-public-results-accordion > .ef-public-accordion-summary {
  cursor: default;
}

.ef-withdraw-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(182, 204, 242, .2);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}
.ef-withdraw-panel[hidden] { display: none !important; }
.ef-withdraw-panel > div { align-self: stretch; min-width: 0; }
.ef-withdraw-panel form { display: flex; width: auto; justify-content: flex-start; margin: 0; }
.ef-withdraw-panel strong { color: var(--ef-ink); font-size: 13px; }
.ef-withdraw-panel p { margin: 4px 0 0; color: var(--ef-muted); font-size: 12px; line-height: 1.45; }
.ef-button-withdraw {
  min-height: 42px;
  border: 1px solid rgba(255, 133, 141, .5);
  color: #ffe3e5;
  background: rgba(139, 36, 48, .2);
  white-space: nowrap;
}
.ef-button-withdraw:hover { border-color: #ff858d; background: rgba(139, 36, 48, .34); }
.ef-button-withdraw:focus-visible { outline: 3px solid rgba(255, 133, 141, .35); outline-offset: 3px; }
.ef-toast-floating {
  position: fixed;
  z-index: 6000;
  top: max(12px, calc(env(safe-area-inset-top, 0px) + 12px));
  left: 50%;
  width: max-content;
  max-width: min(420px, calc(100vw - 24px));
  min-height: 54px;
  padding: 13px 17px 13px 48px;
  border: 1px solid #39a96b;
  border-radius: 13px;
  color: #effff4;
  background: rgba(3, 24, 13, .97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.ef-toast-floating::before {
  position: absolute;
  top: 50%;
  left: 15px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #062111;
  background: #36c477;
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  transform: translateY(-50%);
}
.ef-toast-floating.is-visible { opacity: 1; transform: translate(-50%, 0); }
.ef-toast-floating.is-dismissing { opacity: 0; transform: translate(-50%, -12px); }
/* Match the Season Roster surface; keep green on the success mark and text. */
.ef-withdraw-panel.ef-registration-success {
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-color: rgba(182,204,242,.22);
  border-radius: 12px;
  background: linear-gradient(135deg,rgba(18,38,76,.94),rgba(7,22,48,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  text-align: center;
}
.ef-registration-success-content { display: flex; width: 100%; align-items: center; justify-content: center; gap: 9px; }
.ef-registration-success-mark { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; color: #39F27A; }
.ef-registration-success-mark svg { width: 24px; height: 24px; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ef-registration-success-mark svg path { stroke: currentColor; }
.ef-withdraw-panel.ef-registration-success .ef-registration-success-title {
  color: #39F27A;
  -webkit-text-fill-color: #39F27A;
  background: none;
  animation: none;
  font-size: 14px;
  line-height: 1.3;
}
@keyframes ef-registration-confirmed-gradient { to { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) {
}
.ef-withdraw-panel.ef-registration-success > .ef-button-withdraw {
  align-self: center;
  min-width: 98px;
  min-height: 34px;
  padding: 6px 10px;
  margin-inline: auto;
  border-color: rgba(255, 133, 141, .5);
  color: #fff !important;
  background: rgba(139, 36, 48, .2) !important;
}
.ef-withdraw-panel.ef-registration-success > .ef-button-withdraw:hover { border-color: #ff858d; background: rgba(139, 36, 48, .34) !important; }
.ef-withdraw-dialog .ef-button-secondary:focus,
.ef-withdraw-dialog .ef-button-secondary:focus-visible { outline: none !important; outline-offset: 0 !important; box-shadow: none !important; }
@media (max-width: 600px) {
  .ef-withdraw-panel.ef-registration-success { gap: 10px; padding: 12px; }
  .ef-registration-success-content { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ef-toast-floating { transition: none; }
}


/* Standings stat colors, shared by live and archived seasons */
.ef-live-standing-stats .ef-stat-p dt,
.ef-live-standing-stats .ef-stat-p dd,
.ef-table th.ef-stat-p,
.ef-table td.ef-stat-p { color: var(--ef-yellow); }
.ef-live-standing-stats .ef-stat-w dt,
.ef-live-standing-stats .ef-stat-w dd,
.ef-table th.ef-stat-w,
.ef-table td.ef-stat-w { color: #65D98A; }
.ef-live-standing-stats .ef-stat-d dt,
.ef-live-standing-stats .ef-stat-d dd,
.ef-table th.ef-stat-d,
.ef-table td.ef-stat-d { color: #FFFFFF; }
.ef-live-standing-stats .ef-stat-l dt,
.ef-live-standing-stats .ef-stat-l dd,
.ef-table th.ef-stat-l,
.ef-table td.ef-stat-l { color: #FF7777; }
.ef-live-standing-stats .ef-stat-gf dt,
.ef-live-standing-stats .ef-stat-gf dd,
.ef-table th.ef-stat-gf,
.ef-table td.ef-stat-gf { color: #FFFFFF; }
.ef-live-standing-stats .ef-stat-ga dt,
.ef-live-standing-stats .ef-stat-ga dd,
.ef-table th.ef-stat-ga,
.ef-table td.ef-stat-ga { color: #FFFFFF; }
.ef-live-standing-stats .ef-stat-gd.is-positive dt,
.ef-live-standing-stats .ef-stat-gd.is-positive dd,
.ef-table td.ef-stat-gd.is-positive { color: #FFFFFF; }
.ef-live-standing-stats .ef-stat-gd.is-negative dt,
.ef-live-standing-stats .ef-stat-gd.is-negative dd,
.ef-table td.ef-stat-gd.is-negative { color: #FFFFFF; }
.ef-live-standing-stats .ef-stat-gd.is-zero dt,
.ef-live-standing-stats .ef-stat-gd.is-zero dd,
.ef-table td.ef-stat-gd.is-zero,
.ef-table th.ef-stat-gd { color: #FFFFFF; }
.ef-table td.ef-stat-p,
.ef-table td.ef-stat-w,
.ef-table td.ef-stat-d,
.ef-table td.ef-stat-l,
.ef-table td.ef-stat-gf,
.ef-table td.ef-stat-ga,
.ef-table td.ef-stat-gd { font-weight: 750; }

/* Accessible show/hide control for eFootball account passwords */
.password-visibility-field { position: relative; display: block; width: 100%; }
.password-visibility-field > input { padding-right: 50px !important; }
.password-visibility-toggle { position: absolute; top: 50%; right: 5px; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 7px; color: #c4cee8; background: transparent; cursor: pointer; }
.password-visibility-toggle:hover { color: #fff; background: rgba(255,255,255,.08); }
.password-visibility-toggle:focus-visible { outline: 2px solid var(--ef-yellow, #f4ed00); outline-offset: 1px; }
.password-visibility-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-visibility-toggle svg[hidden] { display: none; }


/* Minimal withdrawal confirmation with both actions centered in the card. */
.ef-withdraw-dialog {
  width: min(460px, calc(100vw - 28px));
  max-width: none;
  max-height: min(88vh, 620px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(153, 190, 255, .3);
  border-radius: 20px;
  color: #f4f7ff;
  background: linear-gradient(145deg, #10254a, #07152f 72%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55), 0 0 40px rgba(62, 132, 255, .16);
}
.ef-withdraw-dialog[open] { animation: ef-withdraw-dialog-enter .2s cubic-bezier(.2,.8,.2,1) both; }
.ef-withdraw-dialog::backdrop { background: rgba(2, 7, 19, .78); backdrop-filter: blur(6px); }
.ef-withdraw-dialog-body { padding: clamp(22px, 5vw, 30px); text-align: center; }
.ef-withdraw-dialog h2 { margin: 0; color: #fff; font-size: clamp(20px, 4vw, 25px); line-height: 1.18; letter-spacing: -.035em; }
.ef-withdraw-dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; }
.ef-withdraw-dialog-actions form { display: contents; }
.ef-withdraw-dialog-actions .ef-button { min-height: 44px; padding-inline: 14px; }
.ef-withdraw-dialog .ef-button { color: #fff !important; }
.ef-withdraw-dialog-actions .ef-button-withdraw { min-width: 148px; color: #fff; }
@keyframes ef-withdraw-dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .ef-withdraw-dialog[open] { animation: none; }
}


/* Only the signed-in player's team name turns yellow across rosters, fixtures, and history. */
.ef-player-own-team-text { color: var(--ef-yellow) !important; }


/* Keep the live Elite League roster consistent before and after registration. */
.ef-withdraw-panel.ef-registration-success {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
}
.ef-withdraw-panel.ef-registration-success > .ef-button-withdraw {
  align-self: center;
  flex: 0 0 auto;
  margin: 0 clamp(24px, 8vw, 40px) 0 0;
  color: #fff !important;
}
.ef-registration-success-content {
  align-self: center;
  width: auto;
  flex: 1 1 auto;
  justify-content: flex-start;
  margin-left: clamp(24px, 8vw, 40px);
}
.ef-season-overview-row.ef-season-live-overview-row { grid-template-columns: minmax(0, 1fr); }
.ef-season-overview-row.ef-season-live-overview-row > .ef-withdraw-panel { grid-column: 1; width: 100%; }
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live,
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle):not([open]) {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live > summary,
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-toggle:not(.ef-match-settings-toggle):not([open]) > summary {
  display: flex;
  min-height: 48px;
  flex: 1;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ef-season-overview-row.ef-season-live-overview-row .ef-season-roster-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-items: initial;
  justify-content: center;
  gap: 10px;
  padding-inline: 28px;
  text-align: center;
}
.ef-season-overview-row.ef-season-live-overview-row.ef-season-player-entered .ef-season-roster-heading > strong {
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 44%, #39F27A 49%, #39F27A 52%, #FFFFFF 57%, #FFFFFF 100%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: ef-registration-confirmed-gradient 3s linear infinite;
}
.ef-season-overview-row.ef-season-live-overview-row .ef-season-roster-count { white-space: nowrap; }
.ef-season-overview-row.ef-season-live-overview-row .ef-season-roster-chevron { position: absolute; right: 16px; }
@media (prefers-reduced-motion: reduce) {
  .ef-season-overview-row.ef-season-live-overview-row.ef-season-player-entered .ef-season-roster-heading > strong { animation: none; background-position: 50% 50%; }
}


/* Match the card outer dimensions and tighten the status/action grouping. */
.ef-withdraw-panel.ef-registration-success { min-height: 68px; box-sizing: border-box; }
.ef-withdraw-panel.ef-registration-success > .ef-button-withdraw { margin-right: clamp(32px, 12vw, 56px); }
.ef-registration-success-content { margin-left: clamp(32px, 12vw, 56px); }
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live > summary {
  height: 68px;
  min-height: 68px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .ef-withdraw-panel.ef-registration-success { min-height: 60px; }
  .ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live > summary {
    height: 60px;
    min-height: 60px;
  }
}


/* Put the live roster first and balance both closed cards by outer dimensions. */
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live { order: 1; }
.ef-season-overview-row.ef-season-live-overview-row > .ef-withdraw-panel { order: 2; }
.ef-withdraw-panel.ef-registration-success {
  height: 68px;
  min-height: 68px;
  box-sizing: border-box;
  justify-content: center;
  gap: 16px;
}
.ef-withdraw-panel.ef-registration-success > .ef-button-withdraw { margin: 0; }
.ef-registration-success-content {
  align-self: center;
  width: auto;
  flex: 0 1 auto;
  justify-content: center;
  margin: 0;
}
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live > summary {
  height: 68px;
  min-height: 68px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .ef-withdraw-panel.ef-registration-success { height: 60px; min-height: 60px; }
  .ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live > summary {
    height: 60px;
    min-height: 60px;
  }
}


/* Equal outer card sizes only; keep both cards' inner content dimensions intact. */
.ef-season-overview-row.ef-season-live-overview-row > .ef-withdraw-panel.ef-registration-success {
  width: 100%;
  height: 68px;
  min-height: 68px;
  box-sizing: border-box;
}
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live:not([open]) {
  width: 100%;
  height: 68px;
  min-height: 68px;
  box-sizing: border-box;
}
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live:not([open]) > summary {
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .ef-season-overview-row.ef-season-live-overview-row > .ef-withdraw-panel.ef-registration-success,
  .ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live:not([open]) {
    height: 60px;
    min-height: 60px;
  }
}


/* Center the green status while keeping a compact Withdraw action at the left. */
.ef-withdraw-panel.ef-registration-success { position: relative; justify-content: center; }
.ef-registration-success-content {
  align-self: stretch;
  width: 100%;
  flex: 1 1 auto;
  justify-content: center;
  margin: 0;
}
.ef-withdraw-panel.ef-registration-success > .ef-button-withdraw {
  position: absolute;
  top: 50%;
  left: auto;
  right: 16px;
  min-width: 90px;
  min-height: 32px;
  padding: 5px 8px;
  margin: 0;
  transform: translateY(-50%);
  color: #fff !important;
}
@media (max-width: 600px) {
  .ef-withdraw-panel.ef-registration-success > .ef-button-withdraw { left: auto; right: 12px; }
}


/* Match only the closed live roster row to the established expanded appearance. */
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live:not([open]) > summary .ef-season-roster-heading > strong {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.2;
}
.ef-season-overview-row.ef-season-live-overview-row > .ef-season-roster-live:not([open]) > summary .ef-season-roster-count {
  padding: 6px 10px;
  border-color: rgba(255,231,53,.58);
  color: var(--ef-yellow);
  background: rgba(255,231,53,.14);
  font-size: clamp(11px, 1.1vw, 12px);
  font-weight: 800;
  white-space: nowrap;
}

/* Prevent iOS Safari focus zoom on public eFootball authentication fields. */
@media (max-width: 767px) {
  .ef-auth-wrap .ef-form input:not([type="hidden"]) { font-size: 25px !important; }
}
