body {
  margin: 0;
  padding-top: 0 !important;
  font-family: Arial, sans-serif;
  background: #050505;
  color: #ffffff;
}

main {
  padding: 20px;
  max-width: 430px;
  margin: auto;
}

h1 {
  text-align: center;
}

h2,
h3 {
  margin-top: 0;
  color: #ffffff;
}

p,
li,
label {
  color: #e5e5e5;
}

button {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  font-weight: bold;
  margin: 12px 0;
}

.card {
  background: #000000 !important;
  color: white !important;
  padding: 18px;
  border-radius: 18px;
  margin-top: 16px;
  border: 1px solid #ffffff;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.tab {
  padding: 12px;
  font-size: 14px;
  border-radius: 999px;
  background: #151515;
  color: #ffffff;
  border: 1px solid #000000;
  margin: 0;
}

.tab.active {
  background: #facc15;
  color: #000000;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 12px;
}

.status.upcoming {
  background: #2f2f2f;
  color: #e5e5e5;
}

.status.live {
  background: #dc2626;
  color: white;
}

.status.finished {
  background: #16a34a;
  color: white;
}

.fixture-row {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
}

.team-flag {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.teams {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: white !important;
}

.meta {
  color: #bdbdbd !important;
  font-size: 14px;
  margin-top: 6px;
  text-align: center;
}

.section-label {
  margin-top: 18px;
  text-align: center;
  color: #d4d4d4 !important;
  font-size: 14px;
  font-weight: bold;
}

.actual-result-box {
  width: 100%;
  border: 2px solid #ffffff;
  border-radius: 18px;
  padding: 18px 14px;
  margin: 12px 0 18px;
  text-align: center;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.25;
  background: #050505;
}

.actual-result-box.compact-result-box {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.35;
  padding: 14px 12px;
  margin: 8px 0 10px;
  overflow-wrap: anywhere;
}

.method-result-box {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ffffff;
  border-radius: 14px;
  padding: 14px 12px;
  margin: 10px 0 18px;
  background: #000000;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.bonus-section .method-result-box:last-child {
  margin-bottom: 10px;
}

.score-inputs,
.actual-score-boxes {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 18px;
  color: white !important;
}

.score-inputs span,
.actual-score-boxes span {
  color: white !important;
}

input,
select {
  width: 80px;
  padding: 14px;
  font-size: 20px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #000000;
}

select {
  width: 100%;
  text-align: left;
}

input:disabled,
select:disabled {
  opacity: 0.75;
  background: #000000;
  color: white;
}

.score-box {
  width: 80px;
  padding: 14px;
  font-size: 20px;
  text-align: center;
  border-radius: 10px;
  background: #000000;
  border: 1px solid #ffffff;
  color: white !important;
  font-weight: bold;
}

.final-score-boxes {
  margin-bottom: 10px;
}

.prediction-message {
  color: #86efac;
  font-weight: bold;
  text-align: center;
}

.hidden {
  display: none;
}

.league-player-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: #000000;
  border: 1px solid #ffffff;
  color: white;
  padding: 14px;
  border-radius: 12px;
  margin: 10px 0;
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
}

.table-scroll table {
  min-width: 640px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #ffffff;
  text-align: left;
  white-space: nowrap;
}

th {
  color: #facc15;
}

.result-pill {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.result-pill.correct-score {
  background: #16a34a;
  color: white;
}

.result-pill.correct-result {
  background: #facc15;
  color: #111827;
}

.result-pill.incorrect {
  background: #dc2626;
  color: white;
}

.card.correct-score {
  background: #000000 !important;
  color: white !important;
  border-color: #16a34a;
}

.card.correct-result {
  background: #000000 !important;
  color: white !important;
  border-color: #facc15;
}

.card.incorrect {
  background: #000000 !important;
  color: white !important;
  border-color: #dc2626;
}

.card.not-started {
  background: #000000 !important;
  color: white !important;
  border-color: #ffffff;
}

.card.prediction-made {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.card.prediction-made .points-message {
  color: #ffffff;
}

.points-message {
  background: transparent !important;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}

.points-message.correct-score {
  color: #22c55e !important;
}

.points-message.correct-result {
  color: #facc15 !important;
}

.points-message.incorrect {
  color: #f87171 !important;
}

.points-message.not-started {
  color: #e5e7eb !important;
}

.points-breakdown {
  font-size: 13px;
  color: white !important;
  margin-top: 8px;
  line-height: 1.5;
}

.bonus-section {
  margin-top: 16px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.bonus-section .section-label {
  margin-top: 20px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bonus-grid button {
  font-size: 14px;
  padding: 10px;
  margin: 0;
  background: #2f2f2f;
}

.bonus-grid button.selected {
  background: #22c55e;
}

.draw-winner-label {
  padding-bottom: 14px;
}

.dropdown-input,
.yellow-card-input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}

.rules-card h4 {
  color: #facc15;
  margin-bottom: 4px;
}

.rules-card ul {
  padding-left: 20px;
}

.rules-card li {
  margin-bottom: 8px;
}

.profile-input {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 16px;
}

#authMessage {
  color: #86efac;
  font-weight: bold;
}

.day-section {
  position: relative;
  margin-top: 18px;
}

.day-header {
  cursor: pointer;
  list-style: none;
  background: #000000;
  border: 1px solid #ffffff;
  border-radius: 14px;
  padding: 14px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-header::-webkit-details-marker {
  display: none;
}

.day-section .day-header {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}

.day-section .day-header span {
  color: #ffffff !important;
}

.day-section[open] .day-header {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

.day-section[open] .day-header span {
  color: #000000 !important;
}

.share-day-button {
  margin-top: 12px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.share-section-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}

.day-fixtures .card:first-child {
  margin-top: 12px;
}

.secondary-button {
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  padding: 12px;
}

.league-card {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  margin-top: 12px;
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-radius: 12px;
  cursor: pointer;
}

.league-card strong {
  display: block;
  margin-bottom: 6px;
}

.league-card.selected-league {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

.league-card.selected-league strong,
.league-card.selected-league span,
.league-card.selected-league div {
  color: #000000 !important;
}

.league-card.selected-league .league-status {
  display: none;
}

.selected-league {
  border: 2px solid #ffffff;
  background: #111111;
}

.league-status {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
}

.league-menu-summary {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.league-menu-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.league-menu-card[open] .selected-league-summary-name {
  display: none !important;
}

.league-menu-card:not([open]) .selected-league-summary-name {
  display: block !important;
}

.brand-tab {
  background: transparent;
  color: white;
  font-size: 18px;
  padding: 10px 0;
  margin: 0;
  width: auto;
}

.logo-crop {
  width: 100%;
  max-width: 360px;
  height: 130px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 10px;
  background: #000000;
}

.signin-badge {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  padding: 16px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: bold;
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.signin-badge:hover {
  transform: scale(1.02);
  background: #e5e5e5;
}

.nav-button {
  width: auto;
  flex: 1;
  margin: 0;
  padding: 12px 10px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  font-size: 14px;
}

.nav-button.active {
  background: #ffffff;
  color: #000000;
}

.signed-out-profile-button {
  flex: 3 !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

.home-logo-button {
  padding: 0 !important;
  width: auto !important;
  min-width: auto !important;
  height: auto !important;
  box-shadow: none !important;
}

.home-logo-button,
.home-logo-button:hover,
.home-logo-button.active,
#tab-home,
#tab-home.nav-button,
#tab-home.nav-button.active,
#tab-home img,
.home-nav-logo {
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.home-nav-logo {
  width: 85px;
  height: 35px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  display: block;
}

.app-header {
  text-align: center;
  background: #050505;
  margin: 0;
  padding-top: 10px;
}

.main-logo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.top-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #050505 !important;
  padding: 10px 0 !important;
  margin: 0 0 18px !important;
}

.league-sub-nav {
  position: sticky !important;
  top: 58px !important;
  z-index: 9998 !important;
  display: flex !important;
  gap: 10px;
  background: #050505 !important;
  padding: 10px 0 !important;
  margin: 16px 0 !important;
}

.league-sub-button {
  flex: 1;
  width: auto;
  padding: 12px 8px;
  margin: 0;
  font-size: 14px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.league-sub-button.active {
  background: #ffffff;
  color: #000000;
}

.league-sub-content {
  display: none;
}

.league-sub-content.active {
  display: block;
}

.leaderboard-row {
  cursor: pointer;
}

.leaderboard-row:hover {
  background: #111111;
}

.player-prediction-card {
  padding: 12px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  margin-top: 12px;
  background: #000000;
}

.missed-message {
  color: #f87171;
  margin-top: 12px;
}

.progress-bar {
  width: 100%;
  height: 16px;
  background: #222222;
  border: 1px solid #ffffff;
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 16px;
}

.progress-fill {
  height: 100%;
  background: #facc15;
  border-radius: 999px;
}

.dashboard-fixture-button {
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  text-align: left;
  padding: 10px;
  font-size: 14px;
  margin: 8px 0;
}

.dashboard-fixture-button span {
  display: block;
  font-weight: bold;
}

.dashboard-fixture-button small {
  display: block;
  margin-top: 4px;
  color: #bdbdbd;
}

.dashboard-summary {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 16px 0 20px;
}

.dashboard-stats-grid-compact {
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
}

.dashboard-stat-box {
  background: #ffffff;
  color: #000000;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
}

.dashboard-stat-box strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: #000000;
}

.dashboard-stat-box span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: bold;
  color: #000000;
}

.dashboard-fixture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-fixture-tile {
  min-height: 120px;
  width: 100%;
  margin: 0;
  padding: 10px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-fixture-tile.dashboard-prediction-made {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
}

.dashboard-fixture-tile.dashboard-result-correct-score {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.dashboard-fixture-tile.dashboard-result-correct-result {
  border-color: #facc15 !important;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.4);
}

.dashboard-fixture-tile.dashboard-result-incorrect {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.4);
}

.dashboard-team-badge {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.dashboard-score {
  font-size: 22px;
  font-weight: 800;
}

.dashboard-teams-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-bottom: 10px;
}

.dashboard-date {
  font-size: 13px;
  font-weight: 700;
}

.dashboard-prediction-line {
  margin-top: 6px;
  font-size: 13px;
  font-weight: bold;
}

.dashboard-prediction-line.made {
  color: #ffffff;
}

.dashboard-prediction-line.pending,
.dashboard-prediction-line.missed {
  color: #f87171;
}

.dashboard-points {
  margin-top: 4px;
  font-size: 13px;
  font-weight: bold;
}

.dashboard-points.correct-score {
  color: #22c55e;
}

.dashboard-points.correct-result {
  color: #facc15;
}

.dashboard-points.incorrect {
  color: #f87171;
}

.dashboard-points.not-started {
  color: #e5e7eb;
}

.dashboard-points.prediction-made {
  color: #2563eb !important;
}

.dashboard-card > .dashboard-summary,
.dashboard-subsection > summary {
  padding: 10px 0 12px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

.dashboard-card > .dashboard-summary::-webkit-details-marker,
.dashboard-subsection > summary::-webkit-details-marker {
  display: none;
}

.dashboard-card > .dashboard-summary::before,
.dashboard-subsection > summary::before {
  content: "▼";
  display: inline-block;
  margin-right: 8px;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.dashboard-card:not([open]) > .dashboard-summary::before,
.dashboard-subsection:not([open]) > summary::before {
  transform: rotate(-90deg);
}

.dashboard-league-progress {
  margin: 22px 0 18px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.dashboard-league-progress-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dashboard-league-progress-header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.dashboard-league-progress-header p {
  margin: 4px 0 0;
  color: #bdbdbd;
  font-size: 12px;
}

.dashboard-league-progress-header strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-progress-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 14px;
}

.dashboard-progress-summary-grid .dashboard-stat-box {
  min-height: 58px;
  padding: 12px 8px;
  border-radius: 16px;
}

.dashboard-progress-summary-grid .dashboard-stat-box strong {
  font-size: 30px;
  line-height: 1;
}

.dashboard-progress-summary-grid .dashboard-stat-box span {
  font-size: 15px;
  margin-top: 4px;
}

.dashboard-progress-percent {
  margin: 4px 0 10px;
  color: #d1d5db;
  font-size: 15px;
  font-weight: 800;
}

.creative-progress-bar {
  display: flex;
  width: 100%;
  height: 22px;
  overflow: hidden;
  background: #2b2b2b;
  border: 1px solid #ffffff;
  border-radius: 999px;
  margin-bottom: 14px;
}

.creative-progress-segment {
  height: 100%;
  min-width: 4px;
}

.league-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.league-progress-box {
  min-height: 72px;
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.league-progress-box strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.league-progress-box span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.league-progress-blue {
  background: #2563eb;
  color: #ffffff;
}

.league-progress-grey {
  background: #9ca3af;
  color: #000000;
}

.league-progress-green {
  background: #22c55e;
  color: #000000;
}

.league-progress-yellow {
  background: #facc15;
  color: #000000;
}

.league-progress-red {
  background: #ef4444;
  color: #ffffff;
}

.league-progress-black {
  background: #000000;
  color: #ffffff;
}

.league-progress-white {
  background: #ffffff;
  color: #000000;
}

.dashboard-live-section {
  margin-bottom: 18px;
}

.dashboard-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-live-tile {
  width: 100%;
  min-height: 150px;
  margin: 0;
  padding: 10px;
  background: #000000;
  color: #ffffff;
  border: 2px solid #dc2626;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.dashboard-live-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-live-dot {
  color: #dc2626;
  font-size: 18px;
  animation: livePulse 1.2s infinite;
}

.dashboard-live-score {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.dashboard-live-team-names {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.dashboard-live-prediction {
  color: #bdbdbd;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-live-prediction strong {
  color: #ffffff;
}

@keyframes livePulse {
  0% {
    opacity: 0.35;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
}

.fixture-highlight {
  box-shadow: 0 0 0 3px #facc15;
}

.match-details-button {
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.fixture-card-summary {
  width: auto;
  max-width: 100%;
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  position: relative;
  z-index: 2;
}

.fixture-card-summary::-webkit-details-marker {
  display: none;
}

.fixture-summary-arrow {
  display: inline-block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.card[open] .fixture-summary-arrow {
  transform: rotate(0deg);
}

.card:not([open]) .fixture-summary-arrow {
  transform: rotate(-90deg);
}

.fixture-summary-closed-title {
  display: none;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card:not([open]) .fixture-summary-closed-title {
  display: inline-block;
}

.fixture-top-row {
  display: grid !important;
  grid-template-columns: 36px 1fr auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 36px !important;
  margin-top: -36px !important;
  margin-bottom: 14px !important;
}

.fixture-top-spacer {
  min-width: 0;
}

.fixture-top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  min-width: 0;
}

.fixture-top-actions .player-predictions-pill,
.fixture-top-actions .match-details-button {
  width: auto !important;
  min-width: auto !important;
  height: 36px !important;
  min-height: 36px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.fixture-top-actions .player-predictions-pill:hover,
.fixture-top-actions .match-details-button:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.fixture-status-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 18px;
}

.fixture-status-row .status {
  height: 36px !important;
  min-height: 36px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 112px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.fixture-prediction-row {
  cursor: pointer;
}

.fixture-prediction-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.fixture-predictions-header {
  text-align: center;
  margin-bottom: 10px;
}

.fixture-predictions-header h3 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 22px;
  line-height: 1.15;
}

.fixture-predictions-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  color: #b7b7b7;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
}

.fixture-predictions-meta span {
  white-space: nowrap;
}

.fixture-predictions-table table {
  min-width: 0 !important;
  width: 100%;
  table-layout: fixed;
}

.fixture-predictions-table th,
.fixture-predictions-table td {
  padding: 7px 8px;
  vertical-align: middle;
  white-space: normal;
  line-height: 1.15;
}

.fixture-predictions-table th:first-child,
.fixture-predictions-table td:first-child {
  width: 34%;
}

.fixture-predictions-table th:last-child,
.fixture-predictions-table td:last-child {
  width: 66%;
}

.fixture-predictions-table td strong {
  font-size: 15px;
  line-height: 1.1;
}

.fixture-predictions-table td br {
  display: none;
}

.fixture-predictions-table td:nth-child(2) {
  font-size: 14px;
  line-height: 1.18;
}

.fixture-predictions-table td:nth-child(2) strong {
  font-size: 14px;
}

.fixture-predictions-table .result-pill,
.fixture-predictions-table td:nth-child(3),
.fixture-predictions-table td:nth-child(4) {
  display: none;
}

#leaderboard .table-scroll table {
  min-width: 0 !important;
  width: 100%;
  table-layout: fixed;
}

#leaderboard table th,
#leaderboard table td {
  padding: 8px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#leaderboard table th:nth-child(1),
#leaderboard table td:nth-child(1) {
  width: 12%;
  text-align: center;
}

#leaderboard table th:nth-child(2),
#leaderboard table td:nth-child(2) {
  width: 46%;
}

#leaderboard table th:nth-child(3),
#leaderboard table td:nth-child(3) {
  width: 26%;
}

#leaderboard table th:nth-child(4),
#leaderboard table td:nth-child(4) {
  width: 16%;
  text-align: right;
}

.admin-submenu {
  border: 1px solid #ffffff;
  border-radius: 14px;
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}

.admin-submenu-summary {
  cursor: pointer;
  list-style: none;
  padding: 14px;
  background: #ffffff;
  color: #000000;
}

.admin-submenu-summary strong {
  color: #000000;
}

.admin-submenu-summary::-webkit-details-marker,
.settings-summary::-webkit-details-marker {
  display: none;
}

.admin-panel {
  padding: 14px;
  margin-top: 16px;
  padding-top: 4px;
}

.admin-panel h4 {
  color: #facc15;
  margin: 18px 0 12px;
}

.admin-panel label {
  display: block;
  margin-top: 10px;
}

#adminSettingsMessage,
#adminMembersMessage,
#profileSettingsMessage {
  color: #86efac;
  font-weight: bold;
  text-align: center;
}

.danger-button {
  background: #dc2626;
  color: #ffffff;
}

.danger-title,
.admin-danger-text {
  color: #f87171 !important;
}

.admin-tools-card {
  padding: 18px;
}

.admin-tools-summary {
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
}

.admin-tools-summary::after {
  content: none !important;
}

.admin-tools-summary::-webkit-details-marker {
  display: inline-block;
}

.admin-tool-dropdown {
  margin-top: 12px;
  border: 1px solid #ffffff;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
}

.admin-tool-dropdown > .settings-summary {
  padding: 14px;
  cursor: pointer;
  list-style: none;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-tool-dropdown > .settings-summary::after {
  content: "▾";
  font-size: 14px;
  line-height: 1;
  color: #000000;
  transition: transform 0.2s ease;
}

.admin-tool-dropdown[open] > .settings-summary::after {
  transform: rotate(180deg);
}

.admin-tool-dropdown > .settings-summary strong {
  color: #000000;
}

.admin-tool-dropdown > .settings-summary::-webkit-details-marker {
  display: none;
}

.admin-inner-summary {
  font-size: 16px;
  font-weight: 800;
}

.admin-prediction-settings-card {
  border: none;
  padding: 0;
  margin-top: 12px;
}

.admin-help,
.admin-placeholder {
  color: #bdbdbd;
  font-size: 14px;
  text-align: left;
}

.admin-divider {
  height: 1px;
  background: #333333;
  margin: 20px 0;
}

.admin-mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-mini-actions button {
  font-size: 14px;
  padding: 12px;
  margin: 0;
}

.admin-toggle-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}

.admin-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  padding: 12px;
  color: #ffffff;
}

.admin-toggle-row input {
  width: 24px !important;
  height: 24px;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}

.prediction-settings-card {
  border: 1px solid #ffffff;
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0 16px;
  background: #000000;
}

.prediction-settings-card h4 {
  color: #facc15;
  margin: 0 0 8px;
}

.locked-prediction-row,
.prediction-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
}

.locked-prediction-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #ffffff;
}

.locked-prediction-row span,
.locked-prediction-row strong {
  color: #000000;
}

.prediction-field-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.prediction-field-title span {
  color: #ffffff;
  font-weight: 800;
}

.prediction-field-title input {
  width: 24px !important;
  height: 24px;
  padding: 0;
  margin: 0;
}

.prediction-start-select {
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  padding: 12px;
}

.knockout-winner-section.active {
  display: block !important;
}

.knockout-winner-section .dropdown-input {
  display: block !important;
  width: 100% !important;
  margin-top: 10px;
  background: #ffffff !important;
  color: #000000 !important;
}

.api-debug-card {
  margin-top: 16px;
}

.api-debug-output {
  width: 100%;
  max-height: 420px;
  box-sizing: border-box;
  overflow: auto;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background: #050505;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-editor-card {
  border: 1px solid #ffffff;
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
  background: #000000;
}

.admin-editor-card h4 {
  color: #facc15;
  text-align: center;
}

.admin-warning-text {
  color: #facc15 !important;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.admin-editor-card .secondary-button {
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.profile-settings-dropdown {
  margin-top: 16px;
}

.profile-settings-panel {
  margin-top: 14px;
}

.profile-settings-panel label {
  display: block;
  margin-top: 12px;
}

#forgotPasswordButton.hidden {
  display: none;
}

.terms-confirm-box {
  margin: 4px 0 16px;
  padding: 12px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background: #000000;
}

.terms-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
}

.terms-confirm-label input {
  width: 22px !important;
  height: 22px;
  min-width: 22px;
  padding: 0;
  margin: 0;
  accent-color: #facc15;
}

.terms-confirm-label span {
  color: #e5e5e5;
}

.terms-confirm-label a {
  color: #facc15;
  font-weight: 800;
  text-decoration: underline;
}

.score-border-green {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35) !important;
}

.score-border-yellow {
  border-color: #facc15 !important;
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.35) !important;
}

.score-border-red {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35) !important;
}

input.score-border-green:disabled,
select.score-border-green:disabled {
  border-color: #22c55e !important;
  color: #ffffff !important;
}

input.score-border-yellow:disabled,
select.score-border-yellow:disabled {
  border-color: #facc15 !important;
  color: #ffffff !important;
}

input.score-border-red:disabled,
select.score-border-red:disabled {
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

@media (min-width: 390px) {
  .dashboard-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .dashboard-card > .dashboard-summary,
  .dashboard-subsection > summary {
    padding: 9px 0 11px;
    font-size: 20px;
  }

  .dashboard-card > .dashboard-summary::before,
  .dashboard-subsection > summary::before {
    font-size: 20px;
    margin-right: 7px;
  }

  .league-progress-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .league-progress-box {
    min-height: 68px;
    padding: 8px 4px;
    border-radius: 12px;
  }

  .league-progress-box strong {
    font-size: 17px;
  }

  .league-progress-box span {
    font-size: 8px;
  }

  .dashboard-progress-summary-grid {
    gap: 10px;
  }

  .dashboard-progress-summary-grid .dashboard-stat-box {
    min-height: 54px;
    padding: 10px 6px;
    border-radius: 15px;
  }

  .dashboard-progress-summary-grid .dashboard-stat-box strong {
    font-size: 27px;
  }

  .dashboard-progress-summary-grid .dashboard-stat-box span {
    font-size: 13px;
  }

  .dashboard-progress-percent {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
.fixture-top-row {
  grid-template-columns: 30px 1fr auto !important;
  gap: 6px !important;
  min-height: 34px !important;
  margin-top: -34px !important;
  margin-bottom: 12px !important;
}

  .fixture-card-summary {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 12px !important;
  }

  .fixture-summary-arrow {
    font-size: 16px !important;
  }

  .fixture-top-actions {
    gap: 6px !important;
  }

  .fixture-top-actions .player-predictions-pill,
  .fixture-top-actions .match-details-button {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  .fixture-status-row .status {
    height: 34px !important;
    min-height: 34px !important;
    min-width: 96px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

