@font-face {
  font-family: "Fifa Noto Sans";
  src: url("https://www.fifa.com/static/media/noto-sans-regular.bfa96228235216443a93.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fifa Noto Sans";
  src: url("https://www.fifa.com/static/media/noto-sans-700.5f31d84a47d8ffc9c07f.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fifa Poppins";
  src: url("https://www.fifa.com/static/media/poppins-regular.80ad975e8fb5131f927c.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fifa Poppins";
  src: url("https://www.fifa.com/static/media/poppins-500.323014b9ce03a905066b.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fifa Poppins";
  src: url("https://www.fifa.com/static/media/poppins-600.427f703758de281bb306.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --wc-bg: #f3f6fb;
  --wc-surface: #ffffff;
  --wc-surface-strong: #f7f9fc;
  --wc-line: rgba(2, 15, 42, 0.08);
  --wc-line-strong: rgba(8, 92, 255, 0.26);
  --wc-text: #0d1730;
  --wc-muted: #667289;
  --wc-gold: #0a63ff;
  --wc-gold-strong: #2f80ff;
  --wc-green: #0d9a6b;
  --wc-red: #d6465d;
  --wc-shadow: 0 18px 48px rgba(2, 15, 42, 0.08);
}

html[data-theme="dark"] {
  --wc-bg: #050b14;
  --wc-surface: #0b1626;
  --wc-surface-strong: #101d31;
  --wc-line: rgba(255, 255, 255, 0.1);
  --wc-line-strong: rgba(83, 142, 255, 0.34);
  --wc-text: #f4f8ff;
  --wc-muted: #9caec8;
  --wc-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

html,
body {
  min-height: 100%;
}

body.worldcup-body {
  margin: 0;
  color: var(--wc-text);
  font-family: "Fifa Noto Sans", "Noto Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(10, 99, 255, 0.12), transparent 26%),
    radial-gradient(circle at 100% 0, rgba(0, 194, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #eef4fb 0%, #f7f9fc 26%, #f3f6fb 100%);
}

body.worldcup-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(90deg, transparent 0, transparent 8%, rgba(9, 24, 58, 0.025) 8%, rgba(9, 24, 58, 0.025) 8.2%, transparent 8.2%, transparent 91.8%, rgba(9, 24, 58, 0.025) 91.8%, rgba(9, 24, 58, 0.025) 92%, transparent 92%),
    linear-gradient(transparent 0, transparent 18%, rgba(9, 24, 58, 0.018) 18%, rgba(9, 24, 58, 0.018) 18.2%, transparent 18.2%, transparent 81.8%, rgba(9, 24, 58, 0.018) 81.8%, rgba(9, 24, 58, 0.018) 82%, transparent 82%);
}

body.worldcup-body[data-theme="dark"] {
  background:
    radial-gradient(circle at 0 0, rgba(10, 99, 255, 0.18), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(243, 199, 95, 0.1), transparent 22%),
    linear-gradient(180deg, #030813 0%, #07111f 42%, #050b14 100%);
}

body.worldcup-body[data-theme="dark"]::before {
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 0, transparent 8%, rgba(255, 255, 255, 0.035) 8%, rgba(255, 255, 255, 0.035) 8.2%, transparent 8.2%, transparent 91.8%, rgba(255, 255, 255, 0.035) 91.8%, rgba(255, 255, 255, 0.035) 92%, transparent 92%),
    linear-gradient(transparent 0, transparent 18%, rgba(255, 255, 255, 0.025) 18%, rgba(255, 255, 255, 0.025) 18.2%, transparent 18.2%, transparent 81.8%, rgba(255, 255, 255, 0.025) 81.8%, rgba(255, 255, 255, 0.025) 82%, transparent 82%);
}

h1,
h2,
h3,
h4,
strong {
  font-family: "Fifa Poppins", "Poppins", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

body.worldcup-body .panel {
  background: var(--wc-surface);
  border: 1px solid var(--wc-line);
  box-shadow: var(--wc-shadow);
  border-radius: 22px;
}

.worldcup-page {
  width: min(1480px, calc(100% - 32px));
  margin: 20px auto 44px;
  gap: 24px;
}

.worldcup-header {
  position: sticky;
  top: 10px;
  z-index: 24;
  display: grid;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 48, 0.08);
  backdrop-filter: blur(14px);
}

body.worldcup-body[data-theme="dark"] .worldcup-header {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(7, 14, 25, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.worldcup-header-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.worldcup-header .watch-brand-area {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
}

.worldcup-header .watch-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.watch-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.watch-brand-copy {
  display: grid;
  min-width: 0;
}

.app-menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.competition-mobile-score-head {
  display: none;
}

.app-shell-header {
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.worldcup-page .watch-brand-copy strong {
  color: var(--wc-text);
  font-family: "Fifa Poppins", "Poppins", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.worldcup-page .watch-brand-copy small {
  color: var(--wc-muted);
  font-family: "Fifa Noto Sans", "Noto Sans", sans-serif;
  letter-spacing: 0.1em;
}

.worldcup-page .watch-nav a {
  color: var(--wc-muted);
  font-family: "Fifa Poppins", "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom-width: 3px;
  white-space: nowrap;
}

.worldcup-page .watch-nav a.active,
.worldcup-page .watch-nav a:hover {
  color: var(--wc-text);
  border-bottom-color: #0a63ff;
}

.worldcup-page .watch-nav .nav-logout {
  appearance: none;
  border: 1px solid rgba(2, 21, 56, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #021538;
  cursor: pointer;
  font-family: "Fifa Poppins", "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  padding: 10px 14px;
  white-space: nowrap;
}

.theme-toggle {
  appearance: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  cursor: pointer;
  font-family: "Fifa Poppins", "Poppins", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--wc-line-strong);
  outline: none;
}

.theme-toggle-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a63ff;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1;
}

.auth-theme-bar {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.worldcup-page .watch-nav .nav-logout:hover,
.worldcup-page .watch-nav .nav-logout:focus-visible {
  background: #0a63ff;
  border-color: #0a63ff;
  color: #ffffff;
  outline: none;
}

.app-view-nav {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.app-view-nav::-webkit-scrollbar {
  display: none;
}

.app-header-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

[data-flash][hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

[data-flash] {
  position: fixed;
  inset: 0;
  z-index: 2400;
}

.flash-modal-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.flash-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 15, 42, 0.54);
  cursor: pointer;
}

.flash-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(2, 15, 42, 0.24);
}

.flash-modal p {
  margin: 0;
  color: var(--wc-text);
  line-height: 1.6;
}

.flash-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.flash-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(2, 15, 42, 0.1);
  background: #f6f8fb;
  color: #40506b;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.flash-modal-close:hover,
.flash-modal-close:focus-visible {
  outline: none;
  border-color: rgba(10, 99, 255, 0.28);
  color: #0a63ff;
}

.home-shell,
.predict-shell,
.profile-shell {
  display: grid;
  gap: 20px;
}

.home-hero-card,
.predict-hero-card,
.profile-card {
  display: grid;
  gap: 16px;
}

.home-hero-card {
  padding: 24px;
}

.profile-card {
  padding: 24px;
}

.home-hero-card,
.predict-hero-card,
.auth-panel,
.share-hero .worldcup-hero-panel {
  border: none !important;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #021538 0%, #05357d 52%, #0a63ff 100%) !important;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(4, 24, 68, 0.22);
}

.home-hero-card .section-kicker,
.predict-hero-card .section-kicker,
.auth-panel .section-kicker,
.share-hero .section-kicker,
.home-hero-card .field-label,
.predict-hero-card .field-label {
  color: rgba(255, 255, 255, 0.72);
}

.home-hero-card p,
.predict-hero-card p,
.auth-panel p,
.share-hero p,
.home-hero-card .header-card-note,
.predict-hero-card .header-card-note {
  color: rgba(255, 255, 255, 0.82);
}

.home-hero-card .hero-stat-block,
.predict-hero-card .hero-stat-block,
.share-hero .hero-stat-block,
.auth-panel .hero-stat-block {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
}

.home-hero-card .hero-stat-block span,
.predict-hero-card .hero-stat-block span,
.share-hero .hero-stat-block span {
  color: rgba(255, 255, 255, 0.72);
}

.predict-hero-card .btn.primary,
.auth-panel .btn.primary,
.share-hero .btn.primary {
  background: #ffffff;
  color: #05357d;
}

.predict-hero-card .btn.ghost,
.auth-panel .btn.ghost,
.share-hero .btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.home-hero-card h1,
.predict-hero-card h1,
.profile-card h2 {
  margin: 6px 0 0;
}

.home-hero-card .section-head {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-hero-card .section-head > div {
  min-width: 0;
}

.home-hero-card p {
  margin: 0;
  max-width: 64ch;
  line-height: 1.65;
}

.predict-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: start;
}

.home-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-tab {
  appearance: none;
  cursor: pointer;
  text-align: left;
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 104px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #ffffff;
  color: var(--wc-text);
  box-shadow: 0 14px 30px rgba(2, 15, 42, 0.06);
}

.profile-tab strong {
  font-size: 1.05rem;
  line-height: 1.15;
}

.profile-tab small {
  color: var(--wc-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.profile-tab:hover,
.profile-tab:focus-visible {
  border-color: rgba(10, 99, 255, 0.24);
  outline: none;
}

.profile-tab.active {
  border-color: transparent;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(135deg, #021538 0%, #05357d 52%, #0a63ff 100%);
  color: #ffffff;
  box-shadow: 0 24px 44px rgba(4, 24, 68, 0.2);
}

.profile-tab.active .section-kicker,
.profile-tab.active small {
  color: rgba(255, 255, 255, 0.78);
}

.profile-tab-panels {
  display: grid;
  gap: 18px;
}

.profile-inline-form,
.profile-security-form,
.profile-security-grid {
  display: grid;
  gap: 14px;
}

.profile-inline-form .btn,
.profile-security-grid > .btn,
.profile-security-form .btn {
  justify-self: start;
}

.profile-card-wide {
  grid-column: span 2;
}

.profile-scenario-editor {
  display: grid;
  gap: 16px;
}

.profile-action-grid {
  gap: 12px;
}

.profile-account-shell {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.worldcup-body .profile-account-menu.panel {
  position: sticky;
  top: 96px;
  overflow: hidden;
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 26px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(10, 99, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #06111f 0%, #030914 100%);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(2, 15, 42, 0.24);
}

body.worldcup-body .profile-account-menu.panel,
body.worldcup-body[data-theme="dark"] .profile-account-menu.panel {
  background:
    radial-gradient(circle at top right, rgba(10, 99, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #06111f 0%, #030914 100%) !important;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.profile-account-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-account-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(243, 199, 95, 0.82);
  background: #07192f;
  color: #f3c75f;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile-account-user h1 {
  margin: 4px 0 0;
  font-size: 1.24rem;
  line-height: 1.12;
}

.profile-account-user p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
  overflow-wrap: anywhere;
}

.profile-account-menu .section-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.profile-account-badges {
  display: grid;
  gap: 8px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-account-badges span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

.profile-account-badges strong {
  color: #ffffff;
  overflow-wrap: anywhere;
  text-align: right;
}

.profile-menu-tabs {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px;
}

.profile-menu-tabs .profile-tab {
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.profile-menu-tabs .profile-tab .section-kicker {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.profile-menu-tabs .profile-tab strong,
.profile-menu-tabs .profile-tab small {
  grid-column: 2;
}

.profile-menu-tabs .profile-tab strong {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.profile-menu-tabs .profile-tab small {
  color: rgba(255, 255, 255, 0.52);
}

.profile-menu-tabs .profile-tab:hover,
.profile-menu-tabs .profile-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.profile-menu-tabs .profile-tab.active {
  border-color: rgba(243, 199, 95, 0.24);
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  box-shadow: none;
}

.profile-menu-tabs .profile-tab.active .section-kicker {
  background: #f3c75f;
  color: #06111f;
}

.profile-menu-tabs .profile-tab.active small {
  color: rgba(255, 255, 255, 0.74);
}

.profile-account-quick {
  display: grid;
  gap: 8px;
  padding: 12px 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.profile-menu-link:hover,
.profile-menu-link:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.profile-menu-action {
  width: 100%;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.profile-account-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.profile-account-content .profile-card {
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(2, 15, 42, 0.08);
}

body.worldcup-body[data-theme="dark"] .auth-card,
body.worldcup-body[data-theme="dark"] .profile-card,
body.worldcup-body[data-theme="dark"] .home-hero-card,
body.worldcup-body[data-theme="dark"] .third-place-panel,
body.worldcup-body[data-theme="dark"] .share-panel-card,
body.worldcup-body[data-theme="dark"] .flash-modal,
body.worldcup-body[data-theme="dark"] .group-card,
body.worldcup-body[data-theme="dark"] .knockout-stage-panel,
body.worldcup-body[data-theme="dark"] .knockout-match-card,
body.worldcup-body[data-theme="dark"] .prediction-match-row,
body.worldcup-body[data-theme="dark"] .readonly-score-row,
body.worldcup-body[data-theme="dark"] .nav-user-chip,
body.worldcup-body[data-theme="dark"] .hero-stat-block,
body.worldcup-body[data-theme="dark"] .share-poster-shell {
  background: var(--wc-surface) !important;
  border-color: var(--wc-line);
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .profile-account-content .profile-card,
body.worldcup-body[data-theme="dark"] .group-card,
body.worldcup-body[data-theme="dark"] .knockout-stage-panel {
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

body.worldcup-body[data-theme="dark"] .auth-card h2,
body.worldcup-body[data-theme="dark"] .auth-card p,
body.worldcup-body[data-theme="dark"] .auth-card label,
body.worldcup-body[data-theme="dark"] .flash-modal p,
body.worldcup-body[data-theme="dark"] .header-card-note,
body.worldcup-body[data-theme="dark"] .section-head p,
body.worldcup-body[data-theme="dark"] .profile-account-content .profile-card p {
  color: var(--wc-muted);
}

body.worldcup-body[data-theme="dark"] .auth-card h2,
body.worldcup-body[data-theme="dark"] .profile-card h2,
body.worldcup-body[data-theme="dark"] .group-card h3,
body.worldcup-body[data-theme="dark"] .section-head h1,
body.worldcup-body[data-theme="dark"] .section-head h2,
body.worldcup-body[data-theme="dark"] .knockout-match-head strong,
body.worldcup-body[data-theme="dark"] .team-meta strong,
body.worldcup-body[data-theme="dark"] .nav-user-chip strong,
body.worldcup-body[data-theme="dark"] .hero-stat-block strong {
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] input,
body.worldcup-body[data-theme="dark"] select,
body.worldcup-body[data-theme="dark"] textarea,
body.worldcup-body[data-theme="dark"] .score-side input {
  border-color: var(--wc-line);
  background: #07111f;
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] input::placeholder,
body.worldcup-body[data-theme="dark"] textarea::placeholder {
  color: #6f819d;
}

body.worldcup-body[data-theme="dark"] .team-pill,
body.worldcup-body[data-theme="dark"] .team-badge,
body.worldcup-body[data-theme="dark"] .team-status,
body.worldcup-body[data-theme="dark"] .stage-code,
body.worldcup-body[data-theme="dark"] .group-card-status,
body.worldcup-body[data-theme="dark"] .schedule-info-line,
body.worldcup-body[data-theme="dark"] .schedule-score-pill,
body.worldcup-body[data-theme="dark"] .readonly-score-row > strong,
body.worldcup-body[data-theme="dark"] .score-divider {
  border-color: var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .stage-table,
body.worldcup-body[data-theme="dark"] .standings-table {
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .stage-table th {
  color: var(--wc-muted);
}

body.worldcup-body[data-theme="dark"] .stage-table td,
body.worldcup-body[data-theme="dark"] .stage-table th {
  border-color: var(--wc-line);
}

body.worldcup-body[data-theme="dark"] .qualified-row,
body.worldcup-body[data-theme="dark"] .third-row-qualified {
  background: rgba(10, 99, 255, 0.14);
}

body.worldcup-body[data-theme="dark"] .prediction-match-row.locked,
body.worldcup-body[data-theme="dark"] .knockout-match-card.locked {
  background: rgba(255, 255, 255, 0.035) !important;
}

body.worldcup-body[data-theme="dark"] .profile-tab:not(.active) {
  background: var(--wc-surface);
  border-color: var(--wc-line);
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .profile-menu-tabs .profile-tab:not(.active) {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
}

body.worldcup-body .profile-menu-tabs .profile-tab:not(.active) strong,
body.worldcup-body[data-theme="dark"] .profile-menu-tabs .profile-tab:not(.active) strong {
  color: rgba(255, 255, 255, 0.9);
}

body.worldcup-body .profile-menu-tabs .profile-tab:not(.active) small,
body.worldcup-body[data-theme="dark"] .profile-menu-tabs .profile-tab:not(.active) small {
  color: rgba(255, 255, 255, 0.55);
}

body.worldcup-body[data-theme="dark"] .btn.ghost {
  border-color: var(--wc-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .worldcup-page .watch-nav .nav-logout {
  border-color: var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-text);
}

.predict-inline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -4px 0 4px;
}

.public-home-shell {
  display: grid;
  gap: 22px;
}

.public-home-nav {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
}

.public-home-links,
.public-auth-actions,
.public-home-cta,
.share-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.public-menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.public-home-links {
  justify-content: center;
  flex-wrap: wrap;
}

.public-home-links a,
.public-home-links button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wc-muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 10px;
  text-decoration: none;
}

.public-home-links a:hover,
.public-home-links button:hover,
.public-home-links a:focus-visible,
.public-home-links button:focus-visible {
  color: #0a63ff;
  outline: none;
}

.public-auth-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.auth-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 14px;
  width: min(420px, calc(100vw - 28px));
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--wc-line);
  border-radius: 18px;
  background: var(--wc-surface);
  box-shadow: 0 22px 56px rgba(2, 15, 42, 0.18);
}

.auth-nav-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.auth-nav-panel-head h2 {
  margin: 2px 0 0;
  font-size: 1.35rem;
}

.auth-panel-close {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--wc-line);
  border-radius: 999px;
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 800;
}

.auth-nav-form {
  display: grid;
  gap: 14px;
}

.auth-nav-form p {
  margin: 0;
  color: var(--wc-muted);
  line-height: 1.55;
}

.public-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--wc-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 10%, rgba(10, 99, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--wc-shadow);
}

.public-home-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.public-home-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--wc-text);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.public-home-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--wc-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.public-home-scorecard {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 280px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #021538, #0a63ff);
  color: #ffffff;
}

.public-home-howto-card {
  align-content: start;
}

.public-home-emblem {
  width: min(150px, 48vw);
  max-width: 100%;
  justify-self: center;
  margin-bottom: 8px;
  border-radius: 18px;
}

.public-home-steps {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: home-step;
}

.public-home-steps li {
  counter-increment: home-step;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  line-height: 1.35;
}

.public-home-steps li::before {
  content: counter(home-step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.82rem;
}

.public-home-scorecard > div {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.public-home-scorecard strong {
  font-size: 2rem;
  line-height: 1;
}

.public-home-scorecard span,
.public-home-scorecard p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.public-home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.public-home-essential-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-home-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border-radius: 18px !important;
}

.public-home-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.public-home-card p {
  margin: 0;
  color: var(--wc-muted);
  line-height: 1.55;
}

.public-home-card-wide {
  grid-column: span 2;
}

.public-home-essential-grid .public-home-card-wide {
  grid-column: 1 / -1;
}

.share-code-row input {
  flex: 1 1 140px;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: var(--wc-surface);
  color: var(--wc-text);
  padding: 9px 11px;
}

.auth-shell {
  display: grid;
  gap: 18px;
}

.auth-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.auth-brand {
  color: var(--wc-text);
  text-decoration: none;
}

.auth-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: stretch;
  gap: 18px;
  padding: 28px;
  border-radius: 22px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)),
    radial-gradient(circle at top right, rgba(10, 99, 255, 0.14), transparent 42%) !important;
}

.auth-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  max-width: 780px;
}

.auth-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: var(--wc-text);
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.auth-hero-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--wc-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.auth-rule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-rule-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--wc-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--wc-muted);
  font-weight: 700;
}

.auth-rule-row strong {
  color: #0a63ff;
  font-size: 1.08rem;
}

.auth-hero-side {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 210px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #021538, #0a63ff);
  color: #ffffff;
}

.auth-hero-side strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.auth-hero-side small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.auth-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.auth-main-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.auth-content-grid .auth-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.auth-content-grid .auth-card,
.auth-reset-panel,
.auth-leaderboard-card {
  border-radius: 18px !important;
}

.auth-content-grid .auth-card {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.auth-reset-panel {
  padding: 0;
  overflow: hidden;
}

.auth-reset-panel summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
}

.auth-reset-panel summary::-webkit-details-marker {
  display: none;
}

.auth-reset-panel summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0a63ff;
  font-weight: 800;
}

.auth-reset-panel[open] summary::after {
  content: "-";
}

.auth-reset-panel summary span {
  display: grid;
  gap: 4px;
}

.auth-reset-panel summary strong {
  color: var(--wc-text);
  font-size: 1.05rem;
}

.auth-reset-form {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.auth-reset-form p {
  margin: 0;
  color: var(--wc-muted);
}

.simple-home-shell,
.leaderboard-shell {
  gap: 18px;
}

.simple-home-card {
  align-content: start;
}

.simple-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.simple-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.simple-info-card,
.leaderboard-panel {
  padding: 22px;
}

.simple-info-card {
  display: grid;
  gap: 12px;
}

.simple-info-card h2,
.leaderboard-panel h2 {
  margin: 0;
}

.simple-info-card p,
.leaderboard-panel p {
  margin: 0;
  color: var(--wc-muted);
}

.simple-step-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--wc-muted);
}

.auth-leaderboard-card {
  position: sticky;
  top: 92px;
  margin-top: 0;
  background: #ffffff !important;
  color: var(--wc-text);
}

.leaderboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.leaderboard-head p {
  margin-top: 6px;
}

.leaderboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.leaderboard-summary-card {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--wc-line);
  border-radius: 14px;
  background: var(--wc-surface-strong);
}

.leaderboard-summary-card span {
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.leaderboard-summary-card strong {
  font-size: 1.3rem;
}

.leaderboard-note {
  margin-bottom: 14px !important;
}

.leaderboard-scroll {
  margin-top: 4px;
}

.leaderboard-list {
  display: grid;
  width: 100%;
  margin: 4px 0 0;
  overflow: hidden;
  border: 1px solid var(--wc-line);
  border-radius: 16px;
}

.leaderboard-list-head,
.leaderboard-list-row {
  display: grid;
  grid-template-columns: 52px minmax(170px, 1fr) 150px 64px;
  column-gap: 14px;
  align-items: center;
  box-sizing: border-box;
}

.leaderboard-list-head {
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leaderboard-list-head span:nth-child(1) {
  grid-column: 2;
}

.leaderboard-list-head span:nth-child(2) {
  grid-column: 3;
}

.leaderboard-list-head span:nth-child(3) {
  grid-column: 4;
  justify-self: end;
}

.leaderboard-list-head span {
  justify-self: center;
  text-align: center;
}

.leaderboard-list-head span:nth-child(3) {
  justify-self: center;
}

.leaderboard-list-row {
  min-height: 66px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wc-line);
}

.leaderboard-list-row:last-child {
  border-bottom: 0;
}

.leaderboard-points {
  justify-self: end;
  min-width: 44px;
  text-align: right;
}

.leaderboard-table th,
.leaderboard-table td {
  white-space: nowrap;
}

.stage-table thead th,
.leaderboard-table thead th {
  text-align: center;
}

.leaderboard-table th:nth-child(2),
.leaderboard-table td:nth-child(2) {
  min-width: 160px;
  white-space: normal;
}

.leaderboard-table th:nth-child(3),
.leaderboard-table td:nth-child(3) {
  min-width: 118px;
}

[data-leaderboard-compact="true"] .leaderboard-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-leaderboard-compact="true"] .leaderboard-scroll {
  overflow: visible;
}

[data-leaderboard-compact="true"] .leaderboard-table,
[data-leaderboard-compact="true"] .leaderboard-table tbody,
[data-leaderboard-compact="true"] .leaderboard-table tr,
[data-leaderboard-compact="true"] .leaderboard-table td {
  display: block;
}

[data-leaderboard-compact="true"] .leaderboard-table thead {
  display: none;
}

[data-leaderboard-compact="true"] .leaderboard-table {
  border: 0;
}

[data-leaderboard-compact="true"] .leaderboard-table tr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--wc-line);
}

[data-leaderboard-compact="true"] .leaderboard-table tr:last-child {
  border-bottom: 0;
}

[data-leaderboard-compact="true"] .leaderboard-table td {
  border: 0;
  padding: 0;
}

[data-leaderboard-compact="true"] .leaderboard-table td:nth-child(n+5) {
  display: none;
}

[data-leaderboard-compact="true"] .leaderboard-table td:nth-child(4) {
  justify-self: end;
  text-align: right;
}

[data-leaderboard-compact="true"] .leaderboard-table td:nth-child(4)::before {
  content: "PTS";
  display: block;
  color: var(--wc-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

[data-leaderboard-compact="true"] .leaderboard-player small {
  display: none;
  max-width: 100%;
}

.leaderboard-rank {
  display: inline-flex;
  min-width: 42px;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid rgba(10, 99, 255, 0.14);
  border-radius: 999px;
  background: #eef4ff;
  color: #0a4ed6;
  font-weight: 800;
}

.leaderboard-player {
  display: grid;
  gap: 3px;
}

.leaderboard-player strong,
.leaderboard-player small {
  overflow-wrap: anywhere;
}

.leaderboard-player small {
  display: none;
  color: var(--wc-muted);
}

.leaderboard-user-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10ch;
  padding: 5px 8px;
  border: 1px solid var(--wc-line);
  border-radius: 10px;
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  font-family: "Fifa Poppins", "Poppins", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.leaderboard-podium-row {
  background: rgba(10, 99, 255, 0.06);
}

.leaderboard-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

body.worldcup-body[data-theme="dark"] .auth-leaderboard-card {
  background: var(--wc-surface) !important;
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .auth-brand,
body.worldcup-body[data-theme="dark"] .auth-hero-copy h1,
body.worldcup-body[data-theme="dark"] .auth-reset-panel summary strong {
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .auth-hero-card {
  background:
    radial-gradient(circle at top right, rgba(83, 142, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--wc-surface), var(--wc-surface-strong)) !important;
}

body.worldcup-body[data-theme="dark"] .auth-rule-row span,
body.worldcup-body[data-theme="dark"] .leaderboard-summary-card {
  border-color: var(--wc-line);
  background: var(--wc-surface-strong);
}

body.worldcup-body[data-theme="dark"] .auth-reset-panel summary::after {
  background: var(--wc-surface-strong);
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .score-fixture-row,
body.worldcup-body[data-theme="dark"] .score-list-group-card .group-card-head {
  border-color: var(--wc-line);
}

body.worldcup-body[data-theme="dark"] .score-fixture-inputs input:focus {
  background: var(--wc-surface-strong);
}

body.worldcup-body[data-theme="dark"] .public-home-nav,
body.worldcup-body[data-theme="dark"] .public-home-hero {
  border-color: var(--wc-line);
  background:
    radial-gradient(circle at 84% 10%, rgba(83, 142, 255, 0.16), transparent 34%),
    linear-gradient(180deg, var(--wc-surface), var(--wc-surface-strong)) !important;
}

body.worldcup-body[data-theme="dark"] .public-home-copy h1,
body.worldcup-body[data-theme="dark"] .auth-brand {
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .share-code-row input {
  border-color: var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-text);
}

body.worldcup-body[data-theme="dark"] .leaderboard-rank {
  border-color: var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-text);
}

.readonly-score-row.schedule-row-card {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 10px;
}

.schedule-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.schedule-team-block {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.schedule-team-block-right {
  justify-items: end;
}

.schedule-row-card .team-identity {
  width: 100%;
  max-width: 100%;
}

.schedule-row-card .team-meta strong,
.schedule-row-card .team-meta small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.schedule-row-card .team-meta strong {
  line-height: 1.28;
}

.schedule-team-block-right .team-meta {
  justify-items: end;
}

.schedule-score-pill {
  min-width: 110px;
  max-width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243, 207, 116, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--wc-text);
  text-align: center;
}

.schedule-info-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  color: var(--wc-muted);
  font-size: 0.8rem;
  padding: 7px 10px;
  border-radius: 16px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f8fbff;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}

.schedule-meta-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.schedule-info-time {
  font-weight: 700;
  color: #40506b;
}

.schedule-info-venue {
  color: var(--wc-muted);
}

.schedule-info-venue span {
  max-width: 100%;
}

.schedule-meta {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 100%;
  color: var(--wc-muted);
  font-size: 0.8rem;
}

.schedule-meta span {
  width: 100%;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(243, 207, 116, 0.14);
  background: rgba(255, 255, 255, 0.03);
  white-space: normal;
  text-align: center;
}

.official-knockout-card .schedule-meta {
  justify-items: flex-start;
}

.official-knockout-card .schedule-meta span {
  text-align: left;
}

/* SofaScore-inspired match and score cards only */
.group-card,
.knockout-stage-panel {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff !important;
  box-shadow: none;
}

.group-card-head,
.knockout-match-head {
  align-items: center;
  gap: 10px;
}

.group-match-list,
.readonly-score-list,
.knockout-grid {
  gap: 10px;
}

.prediction-match-row,
.readonly-score-row,
.knockout-match-card {
  border-radius: 14px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #ffffff;
  box-shadow: none;
}

.prediction-match-row,
.readonly-score-row {
  padding: 12px;
}

.score-list-group-card {
  padding: 0;
  overflow: hidden;
}

.score-list-group-card .group-card-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--wc-line);
}

.score-list-group-card .group-card-head h3 {
  font-size: 0.98rem;
}

.score-fixture-list {
  display: grid;
  gap: 0;
}

.score-fixture-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 54px 34px;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}

.score-fixture-row:last-child {
  border-bottom: 0;
}

.score-fixture-time {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--wc-muted);
  font-size: 0.78rem;
  line-height: 1.15;
  text-align: center;
}

.score-fixture-time small {
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.competition-live-score {
  min-width: 48px;
  color: var(--wc-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

.competition-live-score[hidden] {
  display: none;
}

.competition-score-line {
  display: grid;
  grid-template-columns: 42px 24px;
  align-items: center;
  justify-content: end;
  gap: 6px;
  min-width: 0;
}

.competition-live-goal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  color: var(--wc-muted);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.competition-live-goal[hidden] {
  display: none;
}

.score-fixture-teams {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.score-fixture-team {
  display: flex;
  min-width: 0;
}

.score-fixture-team .team-identity {
  gap: 8px;
  min-width: 0;
}

.score-fixture-team .team-meta {
  min-width: 0;
}

.score-fixture-team .team-meta strong {
  font-size: 0.98rem;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

.score-fixture-team .team-meta small {
  display: none;
}

.score-fixture-team.muted-team .team-meta strong {
  color: var(--wc-muted);
  font-weight: 600;
}

.score-fixture-inputs {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.score-fixture-inputs input {
  width: 42px;
  height: 28px;
  min-height: 28px;
  padding: 2px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wc-text);
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
}

.score-fixture-inputs input:focus {
  outline: none;
  background: #eef4ff;
  box-shadow: 0 0 0 2px rgba(10, 99, 255, 0.16);
}

.score-fixture-inputs input:disabled {
  color: var(--wc-muted);
}

.score-fixture-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 48px;
  border-left: 1px solid var(--wc-line);
  color: #a3acba;
  font-size: 1.5rem;
  line-height: 1;
}

.knockout-match-card {
  gap: 12px;
  padding: 14px;
  background: #ffffff;
}

.prediction-match-row.locked,
.knockout-match-card.locked {
  border-color: rgba(2, 15, 42, 0.12);
  background: #f4f7fb;
}

.prediction-match-row.locked .score-divider,
.knockout-match-card.locked .score-divider {
  opacity: 0.58;
}

.group-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f6f8fb;
  color: var(--wc-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.score-side {
  gap: 8px;
}

.score-side input {
  width: min(76px, 100%);
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(2, 15, 42, 0.12);
  background: #ffffff;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 800;
}

.score-side input:focus {
  border-color: rgba(10, 99, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(10, 99, 255, 0.12);
}

.score-divider {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f2f5fb;
  color: #8d98ad;
  font-size: 0.92rem;
}

.schedule-score-pill,
.readonly-score-row > strong {
  min-width: 86px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f7f9fc;
  color: var(--wc-text);
  font-weight: 800;
}

.schedule-info-line {
  border-radius: 12px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f8fafc;
}

.team-badge,
.team-status,
.stage-code {
  background: #eef4ff;
  border-color: rgba(10, 99, 255, 0.14);
  color: #0a4ed6;
}

.group-card-head h3,
.knockout-stage-panel h3,
.knockout-match-head strong {
  font-size: 1rem;
}

.header-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.header-info-card {
  display: none;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.header-info-card.active {
  display: grid;
}

.header-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.header-card-head h3,
.simulation-copy h2 {
  margin: 6px 0 0;
}

.header-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-user-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.header-user-copy strong,
.header-user-copy span {
  white-space: normal;
  overflow-wrap: anywhere;
}

.header-user-note,
.header-card-note {
  color: var(--wc-muted);
  line-height: 1.6;
}

.nav-user-panel {
  flex: 1 1 620px;
  min-width: min(100%, 620px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(243, 207, 116, 0.2);
  background:
    radial-gradient(circle at top right, rgba(243, 207, 116, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.nav-user-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  font-size: 1.05rem;
}

.nav-user-copy {
  min-width: 0;
  align-items: flex-start;
}

.nav-user-copy strong,
.nav-user-copy span {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nav-user-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.nav-user-chip {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f8fbff;
  min-width: 0;
}

.nav-user-chip span {
  color: var(--wc-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-user-chip strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
  letter-spacing: 0.03em;
}

.nav-user-chip-wide {
  grid-column: span 2;
}

.nav-user-chip-share strong {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.header-share-wrap,
.simulation-copy,
.header-simulation-foot {
  display: grid;
  gap: 12px;
}

.header-meta-strip {
  display: grid;
  gap: 8px;
}

.header-action-grid {
  flex-wrap: wrap;
}

.header-simulation-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.header-simulation-foot {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.header-scroll {
  max-height: 320px;
  overflow: auto !important;
  padding-right: 4px;
}

.header-info-card .saved-prediction-list {
  align-content: start;
}

.header-info-card .third-place-panel {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f8fbff;
}

.worldcup-mark {
  background: linear-gradient(135deg, #021538, #0a63ff);
  color: #ffffff;
}

.worldcup-hero-panel {
  min-height: 360px;
  border-color: var(--wc-line-strong);
  box-shadow: var(--wc-shadow);
}

.worldcup-spotlight-copy p {
  max-width: 760px;
}

.hero-editor-card,
.auth-card,
.side-card,
.third-place-panel,
.knockout-stage-panel,
.group-card,
.share-panel-card {
  position: relative;
  overflow: hidden;
}

.hero-editor-card,
.auth-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background:
    radial-gradient(circle at top left, rgba(10, 99, 255, 0.08), transparent 46%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.worldcup-page .auth-card {
  color: var(--wc-text);
}

.auth-panel {
  align-items: start;
}

.auth-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.auth-card-wide {
  grid-column: span 2;
}

.auth-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.worldcup-page .auth-card h2 {
  color: var(--wc-text);
}

.worldcup-page .auth-card .section-kicker {
  color: #5b6780;
}

.worldcup-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.worldcup-page .hero-stat-block {
  align-content: start;
  min-height: 120px;
}

.worldcup-page .hero-stat-block strong {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
}

.matchup-lines {
  display: grid;
  gap: 4px;
}

.share-id-value {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.section-kicker,
.field-label {
  color: #5b6780;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title-field input,
.stack-label input,
.stack-label textarea,
.stack-label select,
.tiebreak-field select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(2, 15, 42, 0.12);
  background: #ffffff;
  color: var(--wc-text);
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-title-field input:focus,
.stack-label input:focus,
.stack-label textarea:focus,
.stack-label select:focus,
.tiebreak-field select:focus {
  outline: none;
  border-color: rgba(10, 99, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(10, 99, 255, 0.12);
}

.stack-label {
  display: grid;
  gap: 10px;
}

.worldcup-page .auth-card .stack-label {
  color: #34405a;
  font-weight: 600;
}

.team-badge,
.team-status,
.stage-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 99, 255, 0.14);
  background: #eef4ff;
  color: #0a4ed6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.worldcup-body button,
body.worldcup-body input,
body.worldcup-body select,
body.worldcup-body textarea {
  color: inherit;
}

body.worldcup-body option {
  background: #ffffff;
  color: var(--wc-text);
}

.worldcup-page .btn {
  appearance: none;
  cursor: pointer;
  color: var(--wc-text);
  border-color: rgba(2, 15, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 15, 42, 0.06);
}

.worldcup-page .btn.primary {
  background: linear-gradient(135deg, #021538, #0a63ff);
  border-color: transparent;
  color: #ffffff;
}

.worldcup-page .btn.ghost {
  color: var(--wc-text);
  background: #ffffff;
}

.worldcup-page .btn:hover {
  border-color: rgba(10, 99, 255, 0.28);
}

.worldcup-page .btn:focus-visible {
  outline: 2px solid rgba(10, 99, 255, 0.55);
  outline-offset: 2px;
}

.worldcup-page .auth-card .btn {
  width: 100%;
  justify-content: center;
}

.worldcup-page .auth-card .btn.primary {
  background: linear-gradient(135deg, #021538, #0a63ff);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(10, 99, 255, 0.18);
}

.worldcup-page .auth-card .btn.ghost {
  background: #eef4ff;
  border-color: rgba(10, 99, 255, 0.24);
  color: #05357d;
}

.worldcup-page .auth-card .btn.ghost:hover,
.worldcup-page .auth-card .btn.ghost:focus-visible {
  background: #e2ecff;
  border-color: rgba(10, 99, 255, 0.34);
}

.hero-note,
.empty-copy,
.readonly-score-row strong,
.saved-item p,
.source-link span,
.method-list,
.match-status,
.group-card-status {
  color: var(--wc-muted);
}

.hero-note {
  line-height: 1.6;
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 20px;
}

.app-layout.app-layout-single {
  grid-template-columns: 1fr;
}

.share-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.app-main,
.app-sidebar,
.editor-section,
.source-panel,
.side-card,
.saved-prediction-list,
.share-panel-card,
.knockout-stage-stack {
  display: grid;
  gap: 18px;
}

.editor-section,
.source-panel,
.side-card {
  padding: 20px;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.readonly-group-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
}

.group-card {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  height: 100%;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
}

.group-card-head,
.knockout-match-head,
.share-panel-topline,
.readonly-score-row,
.saved-item,
.saved-item-actions,
.saved-list-head,
.share-action-grid,
.knockout-meta-row,
.share-action-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.group-card-head > div {
  min-width: 0;
}

.group-card-head h3,
.side-card h3,
.source-panel h2,
.knockout-stage-panel h3 {
  margin: 6px 0 0;
}

.spotlight-actions {
  flex-wrap: wrap;
}

.saved-list-head {
  align-items: flex-start;
}

.side-help {
  margin: -4px 0 2px;
  color: var(--wc-muted);
  line-height: 1.55;
}

.user-avatar {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #021538, #0a63ff);
  color: #ffffff;
  font-family: "Fifa Poppins", "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.group-team-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  align-items: stretch;
}

.group-team-strip .team-identity,
.group-team-strip .team-pill {
  width: 100%;
  min-width: 0;
}

.group-team-strip .team-pill {
  justify-content: flex-start;
  padding: 7px 8px;
}

.group-team-strip .team-meta strong {
  font-size: 0.78rem;
}

.group-team-strip .team-meta small {
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.group-match-list,
.readonly-score-list,
.knockout-grid,
.source-list {
  display: grid;
  gap: 12px;
}

.prediction-match-row,
.readonly-score-row,
.saved-item,
.source-link,
.knockout-match-card {
  border-radius: 16px;
  border: 1px solid var(--wc-line);
  background: #ffffff;
}

.prediction-match-row,
.readonly-score-row {
  padding: 12px;
}

.prediction-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.team-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team-identity.align-right {
  flex-direction: row-reverse;
  text-align: right;
}

.team-identity.team-pill {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f5f8fc;
}

.team-identity.placeholder {
  opacity: 0.74;
}

.team-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.team-meta strong,
.team-meta small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-meta strong {
  font-size: 0.98rem;
  color: var(--wc-text);
}

.team-meta small {
  color: var(--wc-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-identity.compact .team-meta strong {
  font-size: 0.92rem;
}

.team-flag,
.team-flag-svg,
.team-flag-image {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(2, 15, 42, 0.08);
  box-shadow: 0 4px 12px rgba(12, 24, 48, 0.06);
}

.team-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  line-height: 1;
  background: #f5f8fc;
}

.team-flag-svg {
  overflow: hidden;
  background: #f5f8fc;
}

.team-flag-image {
  overflow: hidden;
  background: #f5f8fc;
}

.team-flag-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.team-flag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-flag-image.fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-text);
  background: rgba(255, 255, 255, 0.1);
}

.team-flag-image.fallback::after {
  content: attr(data-fallback);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.team-flag-placeholder {
  color: var(--wc-muted);
  font-weight: 800;
}

.score-side {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.score-side.align-right {
  justify-items: end;
  text-align: right;
}

.score-side input {
  width: min(76px, 100%);
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(2, 15, 42, 0.12);
  background: #ffffff;
  color: var(--wc-text);
  text-align: center;
  padding: 8px 10px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.score-side input:focus {
  outline: none;
  border-color: rgba(10, 99, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(10, 99, 255, 0.12);
}

.score-side input::placeholder {
  color: rgba(102, 114, 137, 0.55);
}

.score-side input:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.score-divider {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f2f5fb;
  color: #8d98ad;
  font-size: 0.92rem;
  font-weight: 900;
}

.standings-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.standings-scroll {
  width: 100%;
  overflow-x: visible;
  overflow-y: hidden;
}

.standings-table th,
.standings-table td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--wc-line);
  text-align: left;
  white-space: nowrap;
}

.standings-table th {
  color: var(--wc-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-team {
  min-width: 0;
}

.standings-table .team-meta strong,
.standings-table .team-meta small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.standings-table th:first-child,
.standings-table td:first-child {
  width: 34px;
  text-align: center;
}

.standings-table th:nth-child(3),
.standings-table td:nth-child(3),
.standings-table th:nth-child(4),
.standings-table td:nth-child(4),
.standings-table th:nth-child(5),
.standings-table td:nth-child(5) {
  width: 42px;
  text-align: center;
}

.standings-table th:nth-child(6),
.standings-table td:nth-child(6) {
  width: 92px;
}

.standings-table .team-identity {
  width: 100%;
  gap: 8px;
}

.standings-table .team-flag,
.standings-table .team-flag-svg,
.standings-table .team-flag-image {
  width: 28px;
  height: 28px;
}

.standings-table .team-meta {
  gap: 1px;
}

.standings-table .team-meta strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.standings-table .team-meta small {
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.qualified-row {
  background: rgba(13, 154, 107, 0.08);
}

.third-row {
  background: rgba(10, 99, 255, 0.05);
}

.knockout-stage-panel {
  padding: 20px;
}

.knockout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.knockout-match-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
}

.knockout-match-card.resolved {
  border-color: rgba(13, 154, 107, 0.22);
}

.knockout-team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.readonly-score-row:not(.schedule-row-card) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.readonly-score-row > strong {
  display: inline-flex;
  justify-content: center;
  min-width: 86px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(2, 15, 42, 0.08);
  background: #f7f9fc;
  color: var(--wc-text);
  font-weight: 800;
}

.tiebreak-field {
  display: grid;
  gap: 8px;
  min-width: 200px;
}

.tiebreak-field span {
  color: var(--wc-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tiebreak-field.required span,
.match-status-warning {
  color: #c25a5a;
}

.tiebreak-field.required select {
  border-color: rgba(194, 90, 90, 0.42);
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(194, 90, 90, 0.12);
}

.share-action-grid,
.saved-item-actions {
  flex-wrap: wrap;
}

.saved-item,
.source-link {
  padding: 14px;
}

.share-panel-card {
  padding: 18px;
}

.saved-item.active {
  border-color: rgba(10, 99, 255, 0.32);
}

.saved-item strong,
.source-link strong {
  display: block;
}

.small-btn {
  min-height: 36px;
  padding: 0 12px;
}

.source-link {
  display: grid;
  gap: 6px;
}

.source-link:hover {
  border-color: rgba(10, 99, 255, 0.24);
}

.compact-list,
.compact-source-list {
  gap: 10px;
}

.compact-source-list .source-link {
  padding: 12px;
}

.share-empty {
  padding: 30px;
}

.share-hero .spotlight-meta {
  display: grid;
  gap: 8px;
}

.readonly-card {
  box-shadow: none;
}

.share-view-shell,
.share-poster-shell {
  display: grid;
  gap: 18px;
}

.share-poster-shell {
  justify-items: center;
}

.share-poster-preview {
  width: min(100%, 860px);
}

.share-poster-preview svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(4, 24, 68, 0.24);
}

.readonly-score-row {
  justify-content: space-between;
}

.flash-info {
  border-color: rgba(243, 199, 95, 0.38);
}

.flash-success {
  border-color: rgba(41, 177, 112, 0.38);
}

.flash-error {
  border-color: rgba(240, 107, 107, 0.38);
}

body.print-mode .watch-header,
body.print-mode .watch-nav,
body.print-mode [data-action],
body.print-mode .btn,
body.print-mode .share-action-grid,
body.print-mode .saved-item-actions,
body.print-mode [data-flash] {
  display: none !important;
}

body.print-mode .app-layout,
body.print-mode .share-layout {
  grid-template-columns: 1fr;
}

body.print-mode .watch-page {
  width: 100%;
  margin: 0;
}

body.print-mode .share-view-shell,
body.print-mode .share-poster-shell {
  gap: 0;
  min-height: calc(297mm - 16mm);
  height: calc(297mm - 16mm);
  align-content: stretch;
  break-inside: avoid;
  page-break-inside: avoid;
}

body.print-mode .share-poster-preview {
  width: 100%;
  max-width: none;
  height: calc(297mm - 16mm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  break-inside: avoid;
  page-break-inside: avoid;
}

body.print-mode .share-poster-preview svg {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: calc(297mm - 16mm);
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .worldcup-page .watch-brand-copy small {
    display: none;
  }

  .worldcup-page .watch-brand-copy strong {
    font-size: 1rem;
  }

  .app-view-nav {
    gap: 8px;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  body.worldcup-body {
    background: #ffffff;
    color: #111111;
  }

  body.worldcup-body::before {
    display: none;
  }

  body.print-mode .worldcup-page {
    width: 100%;
    margin: 0;
  }

  .panel,
  .prediction-match-row,
  .readonly-score-row,
  .knockout-match-card,
  .saved-item,
  .source-link {
    box-shadow: none !important;
    background: #ffffff !important;
    color: #111111 !important;
    border-color: #d0d0d0 !important;
  }

  .team-code,
  .team-badge,
  .team-status,
  .stage-code {
    border-color: #d0d0d0 !important;
    color: #444444 !important;
    background: #f3f3f3 !important;
  }

  .hero-note,
  .empty-copy,
  .method-list,
  .match-status,
  .group-card-status,
  .source-link span {
    color: #444444 !important;
  }
}

@media (max-width: 1280px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card-wide {
    grid-column: span 1;
  }

  .header-simulation-foot {
    grid-template-columns: 1fr;
  }

  .group-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  }
}

@media (max-width: 1120px) {
  .predict-toolbar,
  .home-stat-grid,
  .simple-home-grid,
  .leaderboard-summary-grid {
    grid-template-columns: 1fr;
  }

  .auth-content-grid {
    grid-template-columns: 1fr;
  }

  .auth-leaderboard-card {
    position: static;
  }

  .auth-content-grid .auth-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-home-nav {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .public-home-links {
    justify-content: flex-start;
  }

  .public-auth-actions {
    justify-content: flex-start;
  }

  .public-home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-tab-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-card-wide {
    grid-column: span 1;
  }

  .share-poster-preview {
    width: 100%;
  }

  .predict-inline-tools .btn {
    width: 100%;
  }

  .app-layout,
  .share-layout,
  .auth-card-grid,
  .readonly-group-grid {
    grid-template-columns: 1fr;
  }

  .knockout-grid {
    grid-template-columns: 1fr;
  }

  .header-card-head,
  .header-user-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-user-panel {
    grid-template-columns: 1fr;
  }

  .nav-user-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-user-chip-wide {
    grid-column: span 2;
  }

  .nav-user-panel > .btn {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .worldcup-page {
    width: min(100%, calc(100% - 20px));
    margin: 10px auto 24px;
  }

  .app-shell-header {
    gap: 12px;
  }

  .worldcup-header .watch-brand-area {
    justify-content: flex-start;
    gap: 10px;
  }

  .app-header-tools,
  .schedule-meta {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .schedule-row-main {
    grid-template-columns: 1fr;
  }

  .schedule-team-block-right {
    justify-items: start;
  }

  .schedule-team-block-right .team-meta {
    justify-items: start;
  }

  .schedule-info-line {
    justify-content: flex-start;
    text-align: left;
  }

  .group-grid,
  .worldcup-hero-stats {
    grid-template-columns: 1fr;
  }

  .auth-hero-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .public-home-hero {
    grid-template-columns: 1fr;
  }

  .public-home-scorecard {
    min-height: auto;
  }

  .public-home-card-grid {
    grid-template-columns: 1fr;
  }

  .public-home-card-wide {
    grid-column: span 1;
  }

  .auth-hero-side {
    min-height: auto;
  }

  .auth-content-grid .auth-card-grid {
    grid-template-columns: 1fr;
  }

  [data-leaderboard-compact="true"] .leaderboard-summary-grid {
    grid-template-columns: 1fr;
  }

  .group-team-strip {
    gap: 6px;
  }

  .group-team-strip .team-pill {
    padding: 6px 7px;
  }

  .group-team-strip .team-meta strong {
    font-size: 0.72rem;
  }

  .group-team-strip .team-meta small {
    font-size: 0.58rem;
  }

  .prediction-match-row,
  .knockout-team-row,
  .readonly-score-row:not(.schedule-row-card) {
    grid-template-columns: 1fr;
  }

  .score-fixture-row {
    grid-template-columns: 64px minmax(0, 1fr) 48px 30px;
  }

  .score-side.align-right {
    justify-items: stretch;
    text-align: left;
  }

  .team-identity.align-right {
    flex-direction: row;
    text-align: left;
  }

  .score-divider {
    justify-self: center;
  }

  .group-card-head,
  .knockout-meta-row,
  .saved-item,
  .share-action-row,
  .header-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tiebreak-field {
    width: 100%;
    min-width: 0;
  }

  .standings-table th,
  .standings-table td {
    white-space: normal;
  }

  .nav-user-stats {
    grid-template-columns: 1fr;
  }

  .nav-user-chip-wide {
    grid-column: span 1;
  }

  .stage-team {
    min-width: 0;
  }

  .worldcup-page .watch-brand-copy small {
    display: none;
  }
}

@media (max-width: 720px) {
  body.worldcup-body {
    overflow-x: hidden;
  }

  .worldcup-page {
    width: min(100%, calc(100% - 16px));
    margin: 8px auto 20px;
    gap: 16px;
  }

  .worldcup-header {
    top: 6px;
    gap: 10px;
  }

  .worldcup-header-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .app-shell-header {
    gap: 0;
  }

  .app-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .app-shell-header .watch-brand-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .app-shell-header .watch-brand {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
  }

  .app-shell-header .app-menu-toggle {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .app-shell-header:not(.menu-open) .app-view-nav {
    display: none !important;
  }

  .app-shell-header.menu-open .app-view-nav {
    display: grid !important;
    grid-template-columns: 1fr;
    flex: 1 0 100%;
    gap: 10px;
    width: 100%;
    overflow: visible;
    padding-top: 10px;
  }

  .app-header-tools {
    margin-left: 0;
    justify-content: flex-start;
  }

  .worldcup-page .watch-brand-copy strong {
    font-size: 1rem;
  }

  .app-shell-header.menu-open .watch-nav a,
  .app-shell-header.menu-open .watch-nav .nav-logout,
  .app-shell-header.menu-open .theme-toggle {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    font-size: 0.82rem;
    text-align: center;
    padding: 10px 12px;
    border: 1px solid var(--wc-line);
    border-radius: 14px;
    background: var(--wc-surface-strong);
    box-sizing: border-box;
  }

  .home-shell,
  .predict-shell,
  .profile-shell,
  .profile-grid {
    gap: 14px;
  }

  .auth-shell {
    gap: 14px;
  }

  .public-home-shell {
    gap: 14px;
  }

  .auth-topbar {
    align-items: flex-start;
  }

  .auth-topbar .theme-toggle {
    flex: 0 0 auto;
  }

  .auth-hero-card,
  .auth-content-grid .auth-card,
  .auth-reset-panel,
  .auth-leaderboard-card {
    border-radius: 18px !important;
  }

  .auth-hero-card {
    padding: 20px;
  }

  .auth-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .auth-rule-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .leaderboard-head {
    flex-direction: column;
  }

  .leaderboard-head .btn {
    width: 100%;
  }

  .leaderboard-list,
  .leaderboard-list-head,
  .leaderboard-list-row {
    width: 100%;
  }

  .leaderboard-list-head,
  .leaderboard-list-row {
    grid-template-columns: 42px minmax(0, 1fr) 54px;
    column-gap: 10px;
  }

  .leaderboard-list-head span:nth-child(1) {
    grid-column: 2;
  }

  .leaderboard-list-head span:nth-child(2) {
    display: none;
  }

  .leaderboard-list-head span:nth-child(3) {
    grid-column: 3;
  }

  .leaderboard-user-id {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
    min-width: 0;
  }

  .leaderboard-points {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .public-home-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-home-links a,
  .public-home-links button {
    border: 1px solid var(--wc-line);
    border-radius: 12px;
    background: var(--wc-surface-strong);
    text-align: center;
  }

  .public-home-cta,
  .share-code-row,
  .public-auth-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-tab-bar {
    grid-template-columns: 1fr;
  }

  .profile-tab {
    min-height: 0;
    padding: 14px 16px;
  }

  .profile-account-shell {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-width: 0;
  }

  body.worldcup-body .profile-account-menu.panel {
    position: static;
    top: auto;
    z-index: auto;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .profile-account-user {
    padding: 18px;
  }

  .profile-account-content,
  .profile-account-content .profile-card,
  .profile-competition-drilldown,
  .profile-competition-detail,
  .profile-competition-current,
  .profile-competition-headline,
  .profile-competition-select-field,
  .competition-league-select-field,
  .competition-matchday-field,
  .profile-matchday-field {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-competition-current {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .profile-competition-current .btn {
    width: 100%;
    justify-content: center;
  }

  .profile-competition-select-field select,
  .competition-league-select-field select,
  .competition-matchday-field select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .profile-menu-tabs {
    padding: 8px;
  }

  .flash-modal-shell {
    padding: 16px;
  }

  .flash-modal {
    width: min(100%, 420px);
    padding: 20px 18px;
  }

  .home-hero-card,
  .predict-hero-card,
  .profile-card,
  .auth-card,
  .group-card,
  .third-place-panel,
  .knockout-stage-panel,
  .share-panel-card {
    padding: 16px;
    border-radius: 20px;
  }

  .worldcup-page .spotlight-panel {
    min-height: auto;
    padding: 20px 18px;
    gap: 18px;
  }

  .spotlight-strip,
  .spotlight-meta,
  .spotlight-actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .worldcup-page .spotlight-copy h1 {
    font-size: clamp(2rem, 12vw, 3.05rem);
    line-height: 0.94;
  }

  .worldcup-page .spotlight-copy p,
  .worldcup-spotlight-copy p,
  .home-hero-card p {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .predict-inline-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .predict-inline-tools .btn,
  .profile-action-grid .btn {
    width: 100%;
  }

  .profile-inline-form .btn,
  .profile-security-grid > .btn,
  .profile-security-form .btn {
    width: 100%;
    justify-self: stretch;
  }

  .group-team-strip {
    gap: 6px;
  }

  .group-team-strip .team-pill {
    padding: 6px;
    border-radius: 14px;
  }

  .group-team-strip .team-identity {
    gap: 6px;
    align-items: flex-start;
  }

  .group-team-strip .team-meta strong,
  .group-team-strip .team-meta small,
  .prediction-match-row .team-meta strong,
  .prediction-match-row .team-meta small,
  .knockout-match-card .team-meta strong,
  .knockout-match-card .team-meta small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .group-team-strip .team-meta strong {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .group-team-strip .team-meta small {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }

  .schedule-row-card,
  .prediction-match-row,
  .readonly-score-row,
  .knockout-match-card {
    gap: 12px;
  }

  .schedule-row-main {
    gap: 10px;
  }

  .schedule-team-block,
  .schedule-team-block-right {
    justify-items: flex-start;
  }

  .schedule-team-block-right .team-meta {
    justify-items: start;
  }

  .schedule-score-pill {
    width: 100%;
    min-width: 0;
  }

  .schedule-info-line {
    font-size: 0.77rem;
    padding: 8px 10px;
  }

  .prediction-match-row,
  .knockout-team-row,
  .readonly-score-row:not(.schedule-row-card) {
    gap: 10px;
  }

  .score-fixture-row {
    grid-template-columns: 56px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 10px 12px;
  }

  .score-fixture-action {
    display: none;
  }

  .score-side,
  .score-side.align-right {
    justify-items: stretch;
    text-align: left;
  }

  .score-side input {
    width: 100%;
    min-height: 44px;
  }

  .score-divider {
    width: 32px;
    height: 32px;
  }

  .team-identity,
  .team-identity.align-right {
    gap: 8px;
    min-width: 0;
  }

  .schedule-row-card .team-meta strong,
  .prediction-match-row .team-meta strong,
  .knockout-match-card .team-meta strong {
    overflow-wrap: anywhere;
  }

  .standings-table {
    table-layout: fixed;
    font-size: 0.76rem;
  }

  .standings-table th,
  .standings-table td {
    padding: 8px 6px;
  }

  .nav-user-panel,
  .nav-user-stats {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .worldcup-page {
    width: calc(100% - 12px);
    margin: 6px auto 18px;
    gap: 14px;
  }

  .worldcup-header {
    top: 4px;
    border-radius: 22px;
  }

  .worldcup-page .watch-brand-area {
    gap: 8px;
  }

  .worldcup-page .watch-brand-copy strong {
    font-size: 0.92rem;
  }

  .worldcup-page .watch-nav a,
  .worldcup-page .watch-nav .nav-logout {
    font-size: 0.78rem;
    padding: 9px 10px;
  }

  .auth-topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-home-nav {
    padding: 10px;
    border-radius: 16px !important;
  }

  .public-home-links {
    grid-template-columns: 1fr;
  }

  .auth-topbar .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .auth-hero-card,
  .auth-content-grid .auth-card,
  .auth-reset-form,
  .leaderboard-panel {
    padding: 14px;
  }

  .public-home-hero,
  .public-home-card {
    padding: 16px;
    border-radius: 18px;
  }

  .public-home-copy h1 {
    font-size: clamp(2rem, 13vw, 3.05rem);
  }

  .public-home-copy p {
    font-size: 0.95rem;
  }

  .public-home-scorecard {
    padding: 16px;
    border-radius: 16px;
  }

  .auth-reset-panel summary {
    padding: 14px;
  }

  .auth-hero-copy h1 {
    font-size: clamp(1.78rem, 12vw, 2.52rem);
  }

  .auth-hero-copy p {
    font-size: 0.94rem;
  }

  [data-leaderboard-compact="true"] .leaderboard-table tr {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  [data-leaderboard-compact="true"] .leaderboard-table td:nth-child(4) {
    justify-self: start;
    text-align: left;
  }

  .score-list-group-card .group-card-head {
    padding: 12px;
  }

  .score-fixture-row {
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    padding: 9px 10px;
  }

  .score-fixture-time {
    font-size: 0.68rem;
  }

  .score-fixture-time small {
    font-size: 0.68rem;
  }

  .score-fixture-team .team-meta strong {
    font-size: 0.9rem;
  }

.score-fixture-inputs input {
    width: 34px;
    font-size: 0.94rem;
  }

  .flash-modal {
    border-radius: 20px;
  }

  .home-hero-card,
  .predict-hero-card,
  .profile-card,
  .auth-card,
  .group-card,
  .third-place-panel,
  .knockout-stage-panel,
  .share-panel-card {
    padding: 14px;
    border-radius: 18px;
  }

  .profile-tab {
    padding: 13px 14px;
    border-radius: 18px;
  }

  .profile-account-user {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .profile-account-badges span {
    display: grid;
    gap: 4px;
  }

  .profile-account-badges strong {
    text-align: left;
  }

  .worldcup-page .spotlight-panel {
    padding: 18px 14px;
    gap: 16px;
  }

  .worldcup-page .spotlight-copy h1 {
    font-size: clamp(1.72rem, 13vw, 2.6rem);
  }

  .worldcup-page .spotlight-copy p,
  .worldcup-spotlight-copy p,
  .home-hero-card p {
    font-size: 0.9rem;
  }

  .group-team-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .group-team-strip .team-pill {
    min-height: 100%;
    padding: 7px 8px;
    border-radius: 14px;
  }

  .group-team-strip .team-identity {
    align-items: center;
  }

  .group-team-strip .team-meta strong {
    font-size: 0.76rem;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
  }

  .group-team-strip .team-meta small {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .flash-modal-actions .btn {
    width: 100%;
  }

  .team-flag,
  .team-flag-svg,
  .team-flag-image {
    width: 30px;
    height: 30px;
  }

  .schedule-info-line {
    font-size: 0.74rem;
  }

  .standings-table {
    font-size: 0.72rem;
  }

  .standings-table .team-flag,
  .standings-table .team-flag-svg,
  .standings-table .team-flag-image {
    width: 24px;
    height: 24px;
  }

  .standings-table .team-meta strong {
    font-size: 0.8rem;
  }

  .standings-table .team-meta small {
    font-size: 0.58rem;
  }

  .third-place-panel .standings-table {
    table-layout: fixed;
    font-size: 0.72rem;
  }

  .third-place-panel .standings-table th,
  .third-place-panel .standings-table td {
    padding: 8px 4px;
  }

  .third-place-panel .standings-table th {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .third-place-panel .standings-table th:first-child,
  .third-place-panel .standings-table td:first-child {
    width: 24px;
  }

  .third-place-panel .standings-table th:nth-child(3),
  .third-place-panel .standings-table td:nth-child(3),
  .third-place-panel .standings-table th:nth-child(4),
  .third-place-panel .standings-table td:nth-child(4),
  .third-place-panel .standings-table th:nth-child(5),
  .third-place-panel .standings-table td:nth-child(5) {
    width: 30px;
  }

  .third-place-panel .standings-table th:nth-child(6),
  .third-place-panel .standings-table td:nth-child(6) {
    width: 34px;
    text-align: center;
  }

  .third-place-panel .team-identity {
    gap: 6px;
  }

  .third-place-panel .team-flag,
  .third-place-panel .team-flag-svg,
  .third-place-panel .team-flag-image {
    width: 22px;
    height: 22px;
  }

  .third-place-panel .team-meta strong {
    font-size: 0.76rem;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
  }

  .third-place-panel .team-meta small {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 420px) {
  .third-place-panel .standings-table th,
  .third-place-panel .standings-table td {
    padding: 7px 3px;
  }

  .third-place-panel .standings-table th {
    font-size: 0.6rem;
  }

  .third-place-panel .team-meta small {
    display: none;
  }
}

/* Final score-list alignment: mirrors compact live-score rows. */
.score-list-group-card {
  border-radius: 10px !important;
  overflow: hidden;
}

.score-list-group-card .score-competition-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 32px 44px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--wc-line);
}

.score-competition-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 1.15rem;
}

.score-competition-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.score-competition-copy h3 {
  margin: 0;
  color: var(--wc-text);
  font-size: 0.94rem;
  line-height: 1.22;
}

.score-competition-copy span {
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.score-competition-round {
  color: var(--wc-muted);
  text-align: right;
  font-size: 0.88rem;
}

.score-competition-toggle {
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  border: 0;
  border-left: 1px solid var(--wc-line);
  background: transparent;
  color: #9aa3b2;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 800;
}

.score-list-status {
  display: none;
}

.prediction-match-row.score-fixture-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 44px 44px;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 8px 0 8px 14px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: var(--wc-surface);
}

.prediction-match-row.score-fixture-row:last-child {
  border-bottom: 0;
}

.prediction-match-row.score-fixture-row .score-fixture-time {
  justify-items: center;
  align-content: center;
  color: var(--wc-muted);
  text-align: center;
}

.prediction-match-row.score-fixture-row .score-fixture-time span,
.prediction-match-row.score-fixture-row .score-fixture-time small {
  font-size: 0.82rem;
  line-height: 1.15;
}

.prediction-match-row.score-fixture-row .score-fixture-teams {
  display: grid;
  gap: 3px;
  align-content: center;
}

.prediction-match-row.score-fixture-row .team-flag,
.prediction-match-row.score-fixture-row .team-flag-svg,
.prediction-match-row.score-fixture-row .team-flag-image {
  width: 22px;
  height: 22px;
}

.prediction-match-row.score-fixture-row .score-fixture-team .team-meta strong {
  font-size: 0.98rem;
  line-height: 1.08;
}

.prediction-match-row.score-fixture-row .score-fixture-inputs {
  display: grid;
  gap: 2px;
  justify-items: center;
}

.prediction-match-row.score-fixture-row .score-fixture-inputs input {
  width: 36px;
  height: 24px;
  min-height: 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.prediction-match-row.score-fixture-row .score-fixture-action {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 44px;
  height: auto;
  border-left: 1px solid var(--wc-line);
  color: #9aa3b2;
}

.knockout-score-list-panel {
  padding: 0;
}

.knockout-score-list-panel .knockout-grid.score-fixture-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.prediction-match-row.score-fixture-row.knockout-score-row {
  grid-template-columns: 78px minmax(0, 1fr) 44px 44px;
}

.knockout-tiebreak-inline {
  grid-column: 2 / 5;
  display: grid;
  grid-template-columns: minmax(180px, 340px) auto;
  gap: 12px;
  align-items: end;
  padding: 4px 12px 8px 0;
}

.knockout-tiebreak-inline .tiebreak-field {
  min-width: 0;
}

.knockout-tiebreak-inline .tiebreak-field span {
  color: var(--wc-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knockout-tiebreak-inline .tiebreak-field select {
  min-height: 38px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.knockout-tiebreak-inline .match-status {
  align-self: center;
  color: var(--wc-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .public-home-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .public-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .public-home-nav:not(.menu-open) .public-home-links,
  .public-home-nav:not(.menu-open) .public-auth-actions {
    display: none !important;
  }

  .public-home-nav.menu-open .public-home-links,
  .public-home-nav.menu-open .public-auth-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
  }

  body.public-menu-open {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
  }

  body.public-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2440;
    background: var(--wc-surface);
  }

  body.public-menu-open .public-home-shell > :not(.public-home-nav) {
    display: none !important;
  }

  body.public-menu-open .public-home-nav {
    position: fixed;
    inset: 0;
    z-index: 2450;
    max-height: 100dvh;
    overflow-y: auto;
    align-content: start;
    padding: 12px;
    border-radius: 0 !important;
    background: var(--wc-surface) !important;
  }

  body.auth-menu-open {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
  }

  body.auth-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2440;
    background: var(--wc-surface);
  }

  body.auth-menu-open .public-home-shell {
    min-height: 100dvh;
  }

  body.auth-menu-open .public-home-shell > :not(.public-home-nav) {
    display: none !important;
  }

  body.auth-menu-open .public-home-nav {
    position: fixed;
    inset: 0;
    z-index: 2450;
    max-height: 100dvh;
    overflow-y: auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    align-content: start;
    gap: 12px;
    padding: 12px;
    border-radius: 0 !important;
    background: var(--wc-surface) !important;
  }

  body.auth-menu-open .public-home-links,
  body.auth-menu-open .public-auth-actions {
    display: none !important;
  }

  body.auth-menu-open .auth-nav-panel {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }

  .score-list-group-card .score-competition-head {
    grid-template-columns: 28px minmax(0, 1fr) 28px 38px;
    padding: 10px 10px 8px;
  }

  .prediction-match-row.score-fixture-row {
    grid-template-columns: 58px minmax(0, 1fr) 38px 34px;
    gap: 7px;
    padding-left: 10px;
  }

  .prediction-match-row.score-fixture-row.knockout-score-row {
    grid-template-columns: 58px minmax(0, 1fr) 38px 34px;
  }

  .knockout-tiebreak-inline {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding: 4px 8px 8px;
  }

  .prediction-match-row.score-fixture-row .score-fixture-time span,
  .prediction-match-row.score-fixture-row .score-fixture-time small {
    font-size: 0.7rem;
  }

  .prediction-match-row.score-fixture-row .score-fixture-team .team-meta strong {
    font-size: 0.88rem;
  }

  .prediction-match-row.score-fixture-row .score-fixture-action,
  .score-competition-toggle {
    width: auto;
  }
}

.competition-shell {
  display: grid;
  gap: 18px;
}

.competition-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.competition-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.competition-option {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1730 !important;
  -webkit-text-fill-color: #0d1730;
}

.competition-option.active {
  border-color: rgba(10, 99, 255, 0.32);
  background: #0a63ff;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

body.worldcup-body[data-theme="dark"] .competition-option {
  border-color: rgba(134, 163, 210, 0.28);
  background: rgba(16, 34, 62, 0.96);
  color: #dbe7ff !important;
  -webkit-text-fill-color: #dbe7ff;
}

body.worldcup-body[data-theme="dark"] .competition-option:hover,
body.worldcup-body[data-theme="dark"] .competition-option:focus-visible {
  border-color: rgba(83, 142, 255, 0.58);
  background: rgba(25, 50, 91, 0.98);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

body.worldcup-body[data-theme="dark"] .competition-option.active {
  border-color: rgba(74, 144, 255, 0.7);
  background: #0a63ff;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.competition-path-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.competition-path-form .btn {
  min-height: 46px;
}

.competition-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.competition-actions .btn {
  min-height: 42px;
}

.competition-league-select-field {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  color: var(--wc-text);
  font-weight: 800;
}

.competition-league-select-field span {
  color: var(--wc-muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.competition-league-select-field select {
  min-height: 44px;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: #ffffff;
  color: #0d1730;
  font-weight: 900;
}

.competition-league-select-field small {
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

body.worldcup-body[data-theme="dark"] .competition-league-select-field select {
  background: rgba(16, 34, 62, 0.96);
  color: #f4f7ff;
}

.competition-matchday-field {
  display: grid;
  gap: 8px;
  max-width: 320px;
  color: var(--wc-text);
  font-weight: 800;
}

.competition-matchday-field span {
  color: var(--wc-muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.competition-matchday-field select {
  min-height: 42px;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: #ffffff;
  color: #0d1730;
  font-weight: 800;
}

body.worldcup-body[data-theme="dark"] .competition-matchday-field select {
  background: rgba(16, 34, 62, 0.96);
  color: #f4f7ff;
}

.competition-path-form input {
  background: #ffffff;
  color: #0d1730 !important;
  caret-color: #0d1730;
  -webkit-text-fill-color: #0d1730;
}

.competition-panel {
  padding: 22px;
}

.competition-list-card {
  overflow: hidden;
  border: 1px solid var(--wc-line);
  border-radius: 16px !important;
}

.competition-list-card .score-competition-head {
  grid-template-columns: minmax(0, 1fr);
}

.competition-event-list {
  display: grid;
  gap: 0;
}

.prediction-match-row.score-fixture-row.competition-event-row {
  grid-template-columns: 92px minmax(0, 1fr) minmax(104px, 132px) minmax(128px, 180px);
  padding-right: 12px;
}

.competition-score-stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.competition-event-row .score-fixture-inputs input {
  width: 42px;
}

.competition-event-row.locked {
  opacity: 0.68;
}

.competition-event-row.locked .score-fixture-inputs input {
  cursor: not-allowed;
}

.profile-competition-list {
  display: grid;
  gap: 12px;
}

.profile-competition-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--wc-line);
  border-radius: 16px;
  background: var(--wc-surface-strong);
}

.profile-competition-headline {
  min-width: 0;
}

.profile-competition-item h3 {
  margin: 3px 0 4px;
  font-size: 1rem;
}

.profile-competition-item p {
  margin: 0;
  color: var(--wc-muted);
  overflow-wrap: anywhere;
}

.profile-competition-detail {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.profile-competition-drilldown {
  display: grid;
  gap: 14px;
}

.profile-competition-select-field {
  display: grid;
  gap: 8px;
}

.profile-competition-select-field span {
  color: var(--wc-muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-competition-select-field select {
  min-height: 44px;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
  background: #ffffff;
  color: #0d1730;
  font-weight: 900;
}

body.worldcup-body[data-theme="dark"] .profile-competition-select-field select {
  background: rgba(16, 34, 62, 0.96);
  color: #f4f7ff;
}

.profile-competition-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--wc-line);
  border-radius: 14px;
  background: var(--wc-surface-strong);
}

.profile-competition-matchday {
  display: flex;
  justify-content: flex-start;
}

.profile-matchday-field {
  width: min(100%, 340px);
  max-width: none;
}

.profile-competition-score-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--wc-line);
  border-radius: 12px;
}

.profile-matchday-total {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.profile-matchday-total span,
.profile-matchday-total strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--wc-line);
  border-radius: 999px;
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-matchday-total strong {
  background: #0a63ff;
  color: #ffffff;
}

.profile-competition-score-head,
.profile-competition-score-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 92px 92px 86px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--wc-line);
}

.profile-competition-score-head {
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-competition-score-row:last-child {
  border-bottom: 0;
}

.profile-score-match {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-score-match span {
  color: var(--wc-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-score-match strong {
  min-width: 0;
  color: var(--wc-text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.profile-competition-score-row b {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 8px;
  background: var(--wc-surface);
  color: var(--wc-text);
  font-size: 0.98rem;
}

.profile-score-points {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 8px;
  background: var(--wc-surface);
  color: var(--wc-muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.profile-score-points.exact {
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
}

.profile-score-points.result {
  background: rgba(10, 99, 255, 0.14);
  color: #0a63ff;
}

.profile-score-points.zero {
  color: var(--wc-muted);
}

.competition-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  align-items: center;
}

.competition-odds span {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 5px 4px;
  border: 1px solid var(--wc-line);
  border-radius: 10px;
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.66rem;
  font-weight: 900;
}

.competition-odd-label {
  color: inherit;
  font-style: normal;
}

.competition-odds strong {
  color: var(--wc-text);
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.competition-odds span.odd-up strong {
  color: #16a34a;
}

.competition-odds span.odd-down strong {
  color: #dc2626;
}

.competition-odd-arrow {
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity 160ms ease;
}

.competition-odd-arrow.up {
  opacity: 1;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #16a34a;
}

.competition-odd-arrow.down {
  opacity: 1;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #dc2626;
}

[data-competition-push-status] {
  color: #0a63ff;
  font-weight: 900;
}

@media (max-width: 720px) {
  .competition-toolbar,
  .competition-path-form {
    grid-template-columns: 1fr;
  }

  .competition-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-competition-item {
    grid-template-columns: 1fr;
  }

  .profile-competition-matchday {
    display: grid;
  }

  .profile-competition-current {
    grid-template-columns: 1fr;
  }

  .profile-competition-score-head {
    display: none;
  }

  .profile-competition-score-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .profile-score-match {
    grid-column: 1 / -1;
  }

  .profile-score-points {
    min-width: 0;
  }

  .competition-option-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .competition-panel {
    padding: 14px;
  }

  .prediction-match-row.score-fixture-row.competition-event-row {
    grid-template-columns: 58px minmax(0, 1fr) minmax(70px, 86px);
    padding-right: 10px;
  }

  .competition-score-stack {
    flex-direction: row;
    align-items: flex-end;
    justify-content: end;
    gap: 0;
  }

  .competition-score-line {
    grid-template-columns: 40px 22px;
    gap: 4px;
  }

  .competition-live-goal {
    width: 22px;
    font-size: 0.84rem;
  }

  .competition-live-score {
    min-width: 0;
    font-size: 0.66rem;
  }

  .competition-event-row .competition-odds {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Restores the saved-picks score table after the competition leaderboard changes. */
body.worldcup-body .profile-competition-detail .profile-competition-matchday {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2px;
}

body.worldcup-body .profile-competition-detail .competition-matchday-field {
  display: grid;
  gap: 8px;
  width: min(100%, 426px);
  max-width: none;
}

body.worldcup-body .profile-competition-detail .competition-matchday-field span {
  display: block;
  color: var(--wc-muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.worldcup-body .profile-competition-detail .competition-matchday-field select {
  width: 100%;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid var(--wc-line);
  border-radius: 16px;
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  font-weight: 900;
}

body.worldcup-body .profile-competition-detail .profile-matchday-total {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 2px 0 4px;
}

body.worldcup-body .profile-competition-detail .profile-matchday-total span,
body.worldcup-body .profile-competition-detail .profile-matchday-total strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--wc-line);
  border-radius: 999px;
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

body.worldcup-body .profile-competition-detail .profile-matchday-total strong {
  background: #0a63ff;
  border-color: #0a63ff;
  color: #ffffff;
}

body.worldcup-body .profile-competition-detail .profile-competition-score-list {
  display: grid !important;
  overflow: hidden;
  border: 1px solid var(--wc-line);
  border-radius: 16px;
  background: var(--wc-surface);
}

body.worldcup-body .profile-competition-detail .profile-competition-score-head,
body.worldcup-body .profile-competition-detail .profile-competition-score-row {
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) 120px 120px 120px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--wc-line);
}

body.worldcup-body .profile-competition-detail .profile-competition-score-head {
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.worldcup-body .profile-competition-detail .profile-competition-score-head span {
  justify-self: center;
  text-align: center;
}

body.worldcup-body .profile-competition-detail .profile-competition-score-row:last-child {
  border-bottom: 0;
}

body.worldcup-body .profile-competition-detail .profile-score-match {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body.worldcup-body .profile-competition-detail .profile-score-match span {
  color: var(--wc-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

body.worldcup-body .profile-competition-detail .profile-score-match strong {
  color: var(--wc-text);
  font-size: 0.96rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.worldcup-body .profile-competition-detail .profile-competition-score-row > b,
body.worldcup-body .profile-competition-detail .profile-score-points {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 10px;
  background: var(--wc-surface-strong);
  color: var(--wc-text);
  font-size: 0.98rem;
  font-weight: 900;
}

body.worldcup-body .profile-competition-detail .profile-score-points {
  color: var(--wc-muted);
}

/* League/cup match table: separate predicted, real score, and live points. */
body.worldcup-body .competition-event-head,
body.worldcup-body .prediction-match-row.score-fixture-row.competition-event-row {
  grid-template-columns: 92px minmax(0, 1fr) minmax(86px, 104px) minmax(72px, 88px) minmax(78px, 96px) minmax(128px, 180px);
}

body.worldcup-body .competition-event-head {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 12px 12px 10px 14px;
  border-bottom: 1px solid var(--wc-line);
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.worldcup-body .competition-event-head span {
  justify-self: center;
  text-align: center;
}

body.worldcup-body .competition-event-head span:nth-child(2) {
  justify-self: start;
  text-align: left;
}

body.worldcup-body .prediction-match-row.score-fixture-row.competition-event-row {
  padding-right: 12px;
}

body.worldcup-body .competition-event-row .competition-score-stack {
  justify-content: center;
}

body.worldcup-body .competition-event-row .score-fixture-inputs {
  justify-items: center;
  align-content: center;
  gap: 8px;
}

body.worldcup-body .competition-event-row .competition-score-line {
  grid-template-columns: 42px;
}

body.worldcup-body .competition-real-score,
body.worldcup-body .competition-live-points {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid var(--wc-line);
  border-radius: 10px;
  background: var(--wc-surface-strong);
  color: var(--wc-muted);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

body.worldcup-body .competition-real-score {
  grid-template-rows: repeat(2, minmax(24px, auto));
  align-content: center;
  gap: 8px;
}

body.worldcup-body .competition-real-score-value {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  color: inherit;
}

body.worldcup-body .competition-real-score.has-real-score {
  color: var(--wc-text);
}

body.worldcup-body .competition-live-points.exact {
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(22, 163, 74, 0.35);
  color: #16a34a;
}

body.worldcup-body .competition-live-points.result {
  background: rgba(10, 99, 255, 0.14);
  border-color: rgba(10, 99, 255, 0.34);
  color: #0a63ff;
}

body.worldcup-body .competition-live-points.zero,
body.worldcup-body .competition-live-points.pending {
  color: var(--wc-muted);
}

@media (max-width: 760px) {
  body.worldcup-body .competition-event-head {
    display: none;
  }

  body.worldcup-body .prediction-match-row.score-fixture-row.competition-event-row {
    grid-template-columns: minmax(0, 1fr) 34px 46px;
    row-gap: 8px;
    padding: 12px;
    align-items: start;
  }

  body.worldcup-body .competition-event-row .score-fixture-time {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 10px;
    text-align: left;
  }

  body.worldcup-body .competition-mobile-score-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px 46px;
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: center;
    gap: 8px;
    color: var(--wc-muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  body.worldcup-body .competition-mobile-score-head span:nth-child(1) {
    text-align: left;
  }

  body.worldcup-body .competition-mobile-score-head span:nth-child(n + 2) {
    text-align: center;
  }

  body.worldcup-body .competition-event-row .score-fixture-time span,
  body.worldcup-body .competition-event-row .score-fixture-time small {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  body.worldcup-body .competition-event-row .score-fixture-teams {
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    gap: 8px;
  }

  body.worldcup-body .competition-event-row .score-fixture-team {
    min-height: 30px;
    display: flex;
    align-items: center;
  }

  body.worldcup-body .competition-event-row .score-fixture-team .team-meta strong {
    font-size: 0.92rem;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.worldcup-body .competition-event-row .competition-score-stack {
    grid-column: 3;
    grid-row: 3;
    justify-content: center;
  }

  body.worldcup-body .competition-real-score {
    grid-column: 2;
    grid-row: 3;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    gap: 8px;
  }

  body.worldcup-body .competition-real-score-value {
    min-height: 30px;
    font-size: 1rem;
    font-weight: 900;
  }

  body.worldcup-body .competition-event-row .score-fixture-inputs {
    gap: 8px;
  }

  body.worldcup-body .competition-event-row .score-fixture-inputs input {
    width: 42px;
    height: 30px;
    min-height: 30px;
    border-radius: 10px;
    background: var(--wc-surface-strong);
  }

  body.worldcup-body .competition-live-points {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: end;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.66rem;
  }

  body.worldcup-body .competition-event-row .competition-odds {
    grid-row: 4;
    grid-column: 1 / -1;
  }
}

/* Final dark-mode dropdown readability for closed selects and opened option lists. */
body.worldcup-body[data-theme="dark"] select {
  background-color: #07111f !important;
  color: #f4f7ff !important;
  -webkit-text-fill-color: #f4f7ff;
  color-scheme: dark;
}

body.worldcup-body[data-theme="dark"] select option {
  background-color: #07111f !important;
  color: #f4f7ff !important;
  -webkit-text-fill-color: #f4f7ff;
}

body.worldcup-body[data-theme="dark"] select:disabled,
body.worldcup-body[data-theme="dark"] select option:disabled {
  color: #7f90aa !important;
  -webkit-text-fill-color: #7f90aa;
}

@media (max-width: 760px) {
  body.worldcup-body .profile-competition-detail .profile-competition-score-head {
    display: none !important;
  }

  body.worldcup-body .profile-competition-detail .profile-competition-score-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  body.worldcup-body .profile-competition-detail .profile-score-match {
    grid-column: 1 / -1;
  }
}
