/*
Theme Name: Pokemon Bets
Theme URI: https://pokemonbets.cba.pl
Author: Tomasz Borowiak
Author URI: https://pokemonbets.cba.pl
Description: Aplikacja do typowania meczów piłkarskich Pokemon Bets.
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 5.6
Version: 1.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: pokemonbets
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


@keyframes flashRed {
  0%   { box-shadow: 0 0 5px 2px rgba(255, 0, 0, 0.4); transform: scale(1); }
  50%  { box-shadow: 0 0 15px 5px rgba(255, 0, 0, 1); transform: scale(1.05); }
  100% { box-shadow: 0 0 5px 2px rgba(255, 0, 0, 0.4); transform: scale(1); }
}

.live {
  animation: flashRed 1s infinite;
  background-color: rgba(255, 0, 0, 0.2);
  border-color: red;
  color: white;
  font-weight: bold;
}

.ptr--text {
  font-size: 16px !important;
  color: #ffffff !important;
}

div#inputToQualify {
  display: list-item;
}

.ptr--ptr {
  color: green !important;
}

html, body {
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-user-select: none;
  user-select: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body.pokemonbetsSplashActive {
  overflow: hidden;
  background: transparent !important;
}

body.pokemonbetsSplashActive > :not(#pokemonbetsSplashOverlay) {
  visibility: hidden !important;
}

body.pokemonbetsSplashActive .navigateFixtures {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body:has(.pokemonbetsSplashOverlay.isLeaving) .navigateFixtures {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

div#customContextMenu
{
  background: rgba(0, 0, 200, 0.7) !important;
  box-shadow: rgba(0, 0, 0, 0.2) -13px -9px 0px 3px !important;
}

.pokemonbetsSplashOverlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #000;
  isolation: isolate;
  opacity: 1;
  transition: opacity 520ms cubic-bezier(.4, 0, .2, 1);
}

.pokemonbetsSplashOverlay.isLeaving {
  pointer-events: none;
}

.pokemonbetsSplashOverlay.isRevealing {
  opacity: 0;
}

.pokemonbetsSplashBackdrop {
  position: absolute;
  inset: -1px;
  transform: scale(1);
}

.pokemonbetsSplashBackdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 4, 24, 0.94));
  pointer-events: none;
}

.pokemonbetsSplashBackdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 43%, transparent 0 17%, rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.62) 100%);
}

.pokemonbetsSplashVignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 77%, rgba(12, 132, 255, 0.16), transparent 31%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), transparent 25%, transparent 64%, rgba(0, 0, 0, 0.44));
  opacity: 0;
}

.pokemonbetsSplashBeams {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background:
    conic-gradient(from 151deg at -2% 5%, transparent 0 7deg, rgba(60, 154, 255, 0.19) 10deg, transparent 16deg),
    conic-gradient(from 193deg at 102% 5%, transparent 0 7deg, rgba(60, 154, 255, 0.19) 10deg, transparent 16deg);
}

.pokemonbetsSplashFieldPulse {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(55px, 8.5vh, 118px);
  width: clamp(100px, 44vw, 270px);
  height: clamp(20px, 7vw, 44px);
  border-radius: 50%;
  border: 1px solid rgba(83, 223, 255, 0.62);
  box-shadow: 0 0 22px rgba(12, 143, 255, 0.54), inset 0 0 14px rgba(17, 176, 255, 0.42);
  opacity: 0;
  transform: translateX(-50%) scale(.2);
}

.pokemonbetsSplashOverlay.isLeaving .pokemonbetsSplashBackdrop::before {
  background: rgba(0, 0, 0, 0.5);
}

.pokemonbetsSplashOverlay.isLeaving .pokemonbetsSplashScene {
  opacity: 0;
  transform: translateY(-22px) scale(1.055);
  transition: opacity 240ms ease, transform 270ms cubic-bezier(.18,.7,.2,1);
}

.pokemonbetsSplashScene {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 11px;
  width: min(78vw, 340px);
  padding-bottom: clamp(44px, 8vh, 92px);
  text-align: center;
  text-shadow: 0 3px 10px #000, 0 0 18px rgba(72, 217, 255, 0.74);
  opacity: 0;
}

.pokemonbetsSplashScene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45% -48%;
  background: radial-gradient(circle at 50% 33%, rgba(32, 160, 255, 0.26), transparent 28%, rgba(0, 10, 46, 0.22) 64%, transparent 76%);
}

.pokemonbetsSplashEnergy {
  position: absolute;
  z-index: 0;
  top: calc(clamp(112px, 32vw, 184px) / 2);
  left: 50%;
  width: clamp(112px, 32vw, 184px);
  height: clamp(112px, 32vw, 184px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pokemonbetsSplashEnergy::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 174, 255, 0.56), rgba(15, 82, 224, 0.3) 34%, transparent 67%);
  filter: blur(12px);
}

.pokemonbetsSplashEnergy span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(94, 225, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 142, 255, 0.42), inset 0 0 16px rgba(0, 142, 255, 0.22);
  opacity: 0;
}

.pokemonbetsSplashOrbit {
  position: absolute;
  z-index: 0;
  top: calc(clamp(112px, 32vw, 184px) / 2);
  left: 50%;
  width: clamp(150px, 47vw, 255px);
  height: clamp(150px, 47vw, 255px);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.pokemonbetsSplashOrbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-top: 2px solid rgba(118, 229, 255, 0.82);
  border-right: 1px solid rgba(39, 117, 255, 0.18);
  filter: drop-shadow(0 0 8px rgba(41, 182, 255, 0.8));
}

.pokemonbetsSplashOrbit span:nth-child(2) {
  inset: 10%;
  border-top-color: rgba(105, 204, 255, 0.68);
  transform: rotate(180deg);
  animation-direction: reverse;
}

.pokemonbetsSplashImpact {
  position: absolute;
  z-index: 0;
  top: calc(clamp(112px, 32vw, 184px) / 2);
  left: 50%;
  width: clamp(115px, 34vw, 190px);
  height: clamp(115px, 34vw, 190px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 186, 255, 0.55) 0 4%, rgba(26, 118, 246, 0.27) 17%, transparent 57%);
  transform: translate(-50%, -50%) scale(.1);
  opacity: 0;
  pointer-events: none;
}

.pokemonbetsSplashParticles {
  position: absolute;
  z-index: 2;
  top: calc(clamp(112px, 32vw, 184px) / 2);
  left: 50%;
  width: clamp(140px, 45vw, 248px);
  height: clamp(140px, 45vw, 248px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pokemonbetsSplashParticles i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8f7ff;
  box-shadow: 0 0 10px #27baff, 0 0 20px rgba(28, 112, 255, 0.9);
  opacity: 0;
  --spark-x: 92px;
  --spark-y: -26px;
}

.pokemonbetsSplashParticles i:nth-child(2) { --spark-x: 54px; --spark-y: -94px; }
.pokemonbetsSplashParticles i:nth-child(3) { --spark-x: -28px; --spark-y: -104px; }
.pokemonbetsSplashParticles i:nth-child(4) { --spark-x: -96px; --spark-y: -44px; }
.pokemonbetsSplashParticles i:nth-child(5) { --spark-x: -84px; --spark-y: 48px; }
.pokemonbetsSplashParticles i:nth-child(6) { --spark-x: -10px; --spark-y: 105px; }
.pokemonbetsSplashParticles i:nth-child(7) { --spark-x: 72px; --spark-y: 68px; }
.pokemonbetsSplashParticles i:nth-child(8) { --spark-x: 101px; --spark-y: 18px; }

.pokemonbetsSplashTagline {
  position: relative;
  color: rgba(181, 235, 255, 0.94);
  font-size: clamp(10px, 3.1vw, 13px);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(40, 176, 255, 0.72);
  opacity: 0;
}

.pokemonbetsSplashIcon {
  position: relative;
  z-index: 1;
  width: clamp(112px, 32vw, 184px);
  height: clamp(112px, 32vw, 184px);
  border-radius: 28px;
  box-shadow:
    0 0 0 2px rgba(195, 247, 255, 0.75),
    0 16px 38px rgba(0,0,0,0.72),
    0 0 22px rgba(63, 137, 255, 0.5);
}

.pokemonbetsSplashTitle {
  position: relative;
  z-index: 1;
  font-size: clamp(29px, 9vw, 46px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.pokemonbetsSplashTitle::after {
  content: "";
  position: absolute;
  inset: -6px -18px;
  background: linear-gradient(100deg, transparent 28%, rgba(76, 181, 255, 0.4) 48%, transparent 67%);
  opacity: 0;
  transform: translateX(-110%);
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashBackdrop {
  animation: pokemonbetsSplashDrift 4300ms cubic-bezier(.16,.82,.2,1) forwards;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashBackdrop::before {
  animation: pokemonbetsSplashCurtain 760ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashBackdrop::after {
  animation: pokemonbetsSplashCurtain 1050ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashVignette {
  animation: pokemonbetsSplashVignette 4300ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashBeams {
  animation: pokemonbetsSplashBeams 3300ms 180ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashFieldPulse {
  animation: pokemonbetsSplashFieldImpact 1500ms 1320ms cubic-bezier(.1,.68,.18,1) both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashScene {
  animation: pokemonbetsSplashScene 4300ms cubic-bezier(.16,.82,.2,1) forwards;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashScene::before {
  animation: pokemonbetsSplashAura 3150ms 420ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashEnergy::before {
  animation: pokemonbetsSplashCharge 2400ms 700ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashEnergy span {
  animation: pokemonbetsSplashRing 1950ms 930ms cubic-bezier(.12,.68,.18,1) both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashEnergy span:nth-child(2) {
  animation-delay: 1060ms;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashEnergy span:nth-child(3) {
  animation-delay: 1200ms;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashOrbit {
  animation: pokemonbetsSplashOrbitAppear 1900ms 890ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashOrbit span {
  animation: pokemonbetsSplashSpin 1250ms cubic-bezier(.32,.16,.16,1) both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashImpact {
  animation: pokemonbetsSplashImpact 720ms 1320ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i {
  animation: pokemonbetsSplashSpark 900ms 1360ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(2) { animation-delay: 1415ms; }
.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(3) { animation-delay: 1380ms; }
.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(4) { animation-delay: 1460ms; }
.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(5) { animation-delay: 1420ms; }
.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(6) { animation-delay: 1375ms; }
.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(7) { animation-delay: 1450ms; }
.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i:nth-child(8) { animation-delay: 1395ms; }

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashTagline {
  animation: pokemonbetsSplashTagline 1000ms 2310ms ease-out both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashIcon {
  animation: pokemonbetsSplashIcon 2350ms cubic-bezier(.12,.78,.2,1) both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashTitle {
  animation: pokemonbetsSplashTitle 2850ms cubic-bezier(.15,.75,.18,1) both;
}

.pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashTitle::after {
  animation: pokemonbetsSplashShine 1050ms 2160ms ease-out both;
}

@keyframes pokemonbetsSplashCurtain {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pokemonbetsSplashDrift {
  0% {
    opacity: 0;
    filter: brightness(.64) blur(3px);
    transform: scale(1.025);
  }
  14% {
    opacity: 1;
    filter: brightness(1) blur(0);
    transform: scale(1.012);
  }
  100% {
    opacity: 1;
    filter: brightness(1) blur(0);
    transform: scale(1.045);
  }
}

@keyframes pokemonbetsSplashVignette {
  0% { opacity: .15; }
  38% { opacity: 1; }
  100% { opacity: .72; }
}

@keyframes pokemonbetsSplashBeams {
  0% { opacity: 0; transform: scale(.99); }
  36% { opacity: .92; transform: scale(1.01); }
  100% { opacity: .34; transform: scale(1); }
}

@keyframes pokemonbetsSplashFieldImpact {
  0% { opacity: 0; transform: translateX(-50%) scale(.15); }
  20% { opacity: .92; }
  100% { opacity: 0; transform: translateX(-50%) scale(3.7); }
}

@keyframes pokemonbetsSplashScene {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  9% {
    opacity: 1;
  }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pokemonbetsSplashIcon {
  0% {
    opacity: 0;
    transform: translateY(-46vh) scale(.34) rotate(-132deg);
  }
  39% {
    opacity: 0;
    transform: translateY(-46vh) scale(.34) rotate(-132deg);
  }
  58% {
    opacity: 1;
    transform: translateY(9px) scale(1.08) rotate(8deg);
  }
  67% { transform: translateY(-7px) scale(.985) rotate(-2deg); }
  77% { transform: translateY(0) scale(1.02) rotate(0); }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes pokemonbetsSplashAura {
  0% {
    opacity: 0;
    transform: scale(.45);
  }
  46% { opacity: 1; transform: scale(1.18); }
  100% {
    opacity: .72;
    transform: scale(1);
  }
}

@keyframes pokemonbetsSplashCharge {
  0% {
    opacity: 0;
    transform: scale(0.05);
  }
  36% {
    opacity: 1;
    transform: scale(1.55);
  }
  100% {
    opacity: 0.18;
    transform: scale(1.42);
  }
}

@keyframes pokemonbetsSplashRing {
  0% {
    opacity: 0;
    transform: scale(0.14);
  }
  22% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: scale(2.62);
  }
}

@keyframes pokemonbetsSplashOrbitAppear {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
  25% { opacity: 1; }
  75% { opacity: .76; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.16); }
}

@keyframes pokemonbetsSplashSpin {
  from { transform: rotate(-190deg); }
  to { transform: rotate(188deg); }
}

@keyframes pokemonbetsSplashImpact {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.05); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}

@keyframes pokemonbetsSplashSpark {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  18% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(.1);
  }
}

@keyframes pokemonbetsSplashTitle {
  0%,
  57% {
    opacity: 0;
    letter-spacing: .25em;
    transform: translateY(20px) scale(.94);
  }
  77%,
  100% {
    opacity: 1;
    letter-spacing: 0;
    transform: translateY(0);
  }
}

@keyframes pokemonbetsSplashTagline {
  0% { opacity: 0; transform: translateY(10px); letter-spacing: .42em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: .28em; }
}

@keyframes pokemonbetsSplashShine {
  0% {
    opacity: 0;
    transform: translateX(-110%);
  }
  20% {
    opacity: 0.44;
  }
  100% {
    opacity: 0;
    transform: translateX(110%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashBackdrop,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashVignette,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashBeams,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashFieldPulse,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashScene,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashScene::before,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashIcon,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashOrbit,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashOrbit span,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashImpact,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashParticles i,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashEnergy::before,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashEnergy span,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashTitle,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashTitle::after,
  .pokemonbetsSplashOverlay.isAnimating .pokemonbetsSplashTagline {
    animation: none;
  }

  .pokemonbetsSplashBackdrop {
    opacity: 1;
    filter: none;
    transform: scale(1.01);
  }

  .pokemonbetsSplashBackdrop::before,
  .pokemonbetsSplashBackdrop::after,
  .pokemonbetsSplashVignette {
    opacity: 1;
  }

  .pokemonbetsSplashScene {
    opacity: 1;
  }
}

.pokemonbetsAuthBar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: max(4px, env(safe-area-inset-top)) 8px 4px;
  color: #fff;
  background: rgba(0, 0, 52, 0.86);
  border-bottom: 1px solid rgba(126, 245, 255, 0.62);
  box-sizing: border-box;
  text-shadow: 2px 3px 3px #000;
}

#page > .pokemonbetsAuthBar + .tab {
  padding-top: 0;
}

.pokemonbetsAuthUser,
.pokemonbetsAuthActions {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.pokemonbetsAuthUser {
  justify-self: start;
  color: inherit;
  text-decoration: none;
}

.pokemonbetsAuthActions {
  justify-self: end;
}

.pokemonbetsAuthUser[aria-disabled="true"] {
  pointer-events: none;
}

.pokemonbetsAuthUser img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

#pokemonbetsAuthName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.pokemonbetsAuthActions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px;
  color: #fff;
  background: rgba(0, 58, 214, 0.9);
  border: 1px solid rgba(180, 245, 255, 0.75);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.pokemonbetsBettingReminder {
  justify-self: center;
  max-width: min(52vw, 280px);
  padding: 4px 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 8px rgba(0,0,0,0.26);
}

.pokemonbetsBettingReminder.isTodo {
  background: linear-gradient(180deg, rgba(0, 112, 210, 0.96), rgba(0, 34, 150, 0.92));
  border-color: rgba(126, 245, 255, 0.86);
}

.pokemonbetsBettingReminder.isClickable {
  cursor: pointer;
}

.pokemonbetsBettingReminder.isClickable:hover,
.pokemonbetsBettingReminder.isClickable:focus-visible {
  filter: brightness(1.14);
  outline: 2px solid rgba(184, 247, 255, 0.78);
  outline-offset: 2px;
}

.pokemonbetsBettingReminder.isComplete {
  background: linear-gradient(180deg, rgba(0, 155, 178, 0.94), rgba(0, 74, 126, 0.92));
  border-color: rgba(150, 255, 239, 0.86);
}

.pokemonbetsBettingReminder.isLoading,
.pokemonbetsBettingReminder.isWarning {
  background: rgba(60, 80, 150, 0.82);
  border-color: rgba(190, 210, 255, 0.7);
}

.pokemonbetsBettingReminder.isWarning {
  color: #ffe2e8;
}

.pokemonbetsAuthBar [hidden] {
  display: none !important;
}

.pokemonbetsPasskeyHint {
  padding: 6px 10px;
  color: #dffcff;
  background: rgba(0, 60, 150, 0.82);
  border-bottom: 1px solid rgba(126, 245, 255, 0.48);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 3px 3px #000;
}

.pokemonbetsPasskeyHint[hidden] {
  display: none;
}

.pokemonbetsLoginModal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 20, 0.72);
  box-sizing: border-box;
}

.pokemonbetsLoginModal[hidden] {
  display: none;
}

.pokemonbetsLoginDialog {
  position: relative;
  width: min(420px, 100%);
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 20, 155, 0.96), rgba(0, 0, 68, 0.97));
  border: 1px solid rgba(180, 245, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.72), inset 0 0 16px rgba(60, 130, 255, 0.38);
  text-shadow: 2px 3px 3px #000;
  box-sizing: border-box;
}

.pokemonbetsProfileDialog {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(126, 245, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(0, 20, 155, 0.94), rgba(0, 0, 68, 0.96));
  border: 1px solid rgba(180, 245, 255, 0.72);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.72), inset 0 0 16px rgba(60, 130, 255, 0.38);
  text-shadow: 2px 3px 3px #000;
  box-sizing: border-box;
}

.pokemonbetsProfileHero {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-right: 34px;
}

.pokemonbetsProfileHero img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(0,0,0,0.48);
}

.pokemonbetsProfileHero h2,
.pokemonbetsProfileHero strong,
.pokemonbetsProfileHero span {
  display: block;
  min-width: 0;
}

.pokemonbetsProfileHero h2 {
  margin: 0 0 2px;
  color: #b8f7ff;
  font-size: 14px;
  text-transform: uppercase;
}

.pokemonbetsProfileHero strong {
  overflow: hidden;
  font-size: 24px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pokemonbetsProfileHero span {
  margin-top: 4px;
  color: rgba(232, 237, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

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

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

.pokemonbetsProfileTabs button {
  min-height: 38px;
  color: rgba(232, 237, 255, 0.88);
  background: rgba(0, 7, 82, 0.58);
  border: 1px solid rgba(190, 228, 255, 0.38);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.pokemonbetsProfileTabs button.active {
  color: #001044;
  background: #b8f7ff;
  border-color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
}

.pokemonbetsProfilePanel {
  display: none;
  gap: 10px;
}

.pokemonbetsProfilePanel.active {
  display: grid;
}

.pokemonbetsProfilePeriodControl {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(0, 7, 82, 0.58);
  border: 1px solid rgba(190, 228, 255, 0.38);
  border-radius: 10px;
}

.pokemonbetsProfilePeriodControl label {
  color: rgba(232, 237, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.pokemonbetsProfilePeriodControl select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  color: #ffffff;
  background: rgba(0, 15, 190, 0.78);
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 6px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.35);
  font: inherit;
  font-weight: 800;
}

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

.pokemonbetsProfileStats div,
.pokemonbetsProfileSection {
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025)),
    rgba(0, 7, 82, 0.58);
  border: 1px solid rgba(190, 228, 255, 0.38);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.pokemonbetsProfileStats span,
.pokemonbetsProfileStats strong {
  display: block;
}

.pokemonbetsProfileStats span {
  color: rgba(232, 237, 255, 0.72);
  font-size: 12px;
}

.pokemonbetsProfileStats strong {
  margin-top: 3px;
  font-size: 19px;
  line-height: 1.1;
}

.pokemonbetsProfileSection {
  display: grid;
  gap: 9px;
}

.pokemonbetsProfileSection h3 {
  margin: 0;
  color: #b8f7ff;
  font-size: 15px;
}

.pokemonbetsProfileSection label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.pokemonbetsProfileHint {
  margin: 0;
  color: rgba(232, 237, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.pokemonbetsProfileHint.isLoading,
.pokemonbetsProfileHint.isError {
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 900;
}

.pokemonbetsProfileHint.isLoading {
  color: #001044;
  background: rgba(184, 247, 255, 0.92);
  text-shadow: none;
}

.pokemonbetsProfileHint.isError {
  color: #fff;
  background: rgba(210, 40, 70, 0.78);
}

.pokemonbetsProfileSection > button {
  justify-self: start;
}

.pokemonbetsProfileChartSection {
  min-height: 190px;
}

.pokemonbetsProfileChart {
  position: relative;
  height: 150px;
  min-height: 150px;
}

.pokemonbetsProfileChart canvas {
  width: 100% !important;
  height: 100% !important;
}

.pokemonbetsPushPrompt {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  z-index: 9900;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px;
  color: #fff;
  background: rgba(0, 9, 56, 0.96);
  border: 1px solid rgba(184, 247, 255, 0.72);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.pokemonbetsPushPrompt strong,
.pokemonbetsPushPrompt span {
  display: block;
}

.pokemonbetsPushPrompt strong {
  margin-bottom: 3px;
  color: #b8f7ff;
  font-size: 14px;
}

.pokemonbetsPushPrompt span {
  color: rgba(232, 237, 255, 0.88);
  font-size: 13px;
  line-height: 1.35;
}

.pokemonbetsPushPrompt .pokemonbetsPushPromptHint {
  grid-column: 1 / -1;
  color: #ffd78a;
  font-size: 12px;
}

.pokemonbetsPushPrompt button {
  min-height: 38px;
  padding: 8px 14px;
  color: #001044;
  background: #b8f7ff;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.pokemonbetsPushPromptActions {
  display: grid;
  gap: 6px;
}

.pokemonbetsPushPrompt button.pokemonbetsPushPromptDismiss {
  color: rgba(232, 237, 255, 0.9);
  background: transparent;
  border: 1px solid rgba(232, 237, 255, 0.45);
}

.pokemonbetsProfileActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pokemonbetsProfileActions a,
.pokemonbetsProfileActions button {
  flex: 1 1 160px;
  min-height: 38px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(0, 58, 214, 0.9);
  border: 1px solid rgba(180, 245, 255, 0.8);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pokemonbetsLoginDialog h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.pokemonbetsLoginDialog p {
  margin: 0 0 12px;
}

.pokemonbetsPasskeyAvailability {
  color: #ffdf91;
  font-size: 13px;
  font-weight: 700;
}

.pokemonbetsPasskeyAvailability[hidden] {
  display: none;
}

.pokemonbetsLoginClose {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(0, 0, 60, 0.78);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

#pokemonbetsLoginForm {
  display: grid;
  gap: 8px;
}

#pokemonbetsLoginForm input[type="text"],
#pokemonbetsLoginForm input[type="password"] {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(0, 0, 55, 0.82);
  border: 1px solid rgba(180, 245, 255, 0.72);
  border-radius: 6px;
  box-sizing: border-box;
}

#pokemonbetsLoginForm button,
.pokemonbetsPasskeyButton {
  min-height: 44px;
  color: #fff;
  background: #244df2;
  border: 1px solid rgba(180, 245, 255, 0.8);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 800;
}

.pokemonbetsRememberLabel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pokemonbetsLoginStatus {
  min-height: 18px;
  margin-top: 10px !important;
  color: #ffb9c4;
  font-weight: 700;
}

/* Style the tab */
.tab {
  overflow: hidden;
  /* margin-left: 5px; */
  width: 100%;
  display: flex;
  touch-action: manipulation;
}

#page > .tab:first-child {
  padding-top: env(safe-area-inset-top);
  background: rgba(0, 0, 32, 0.72);
}

td.anytimeGoalScorerLabel {
  background-size: contain;
  background-repeat: no-repeat;
  background-size: 25%;
  background-position-y: center;
  background-position-x: 105%;
  background-clip: border-box;
}

#otherLegScore .inputScoreBox {
  background-color: #29339c9c;
  color: white;
}

div#fixtureTimestamp
{
  line-height: 1.1;
}

.fixtureCountdown {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 9px;
  color: #b8f7ff;
  background: rgba(0, 20, 110, 0.58);
  border: 1px solid rgba(184, 247, 255, 0.5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-shadow: 1px 1px 3px #000;
}

.fixtureReferee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: min(92vw, 430px);
  margin: 2px auto 8px;
  padding: 5px 12px;
  color: #b8f7ff;
  background: rgba(0, 20, 110, 0.58);
  border: 1px solid rgba(184, 247, 255, 0.5);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 1px 1px 3px #000;
  text-transform: none;
}

.fixtureReferee[hidden] {
  display: none;
}

.fixtureLeg {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 5px auto 8px;
  padding: 6px 10px;
  color: #b8f7ff;
  background: rgba(0, 20, 110, 0.58);
  border: 1px solid rgba(184, 247, 255, 0.5);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

.fixtureLeg[hidden] {
  display: none;
}

.fixtureLegLabel {
  text-transform: uppercase;
  font-size: 12px;
}

.fixtureLegLink {
  padding: 5px 8px;
  color: #fff;
  background: rgba(28, 72, 205, 0.82);
  border: 1px solid rgba(184, 247, 255, 0.52);
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
}

.fixtureRefereeFlag {
  margin-left: 3px;
  font-size: 17px;
  line-height: 1;
}

.tab button {
  margin-bottom: 0.5%;
  min-height: 35px;
  /* float: left; */
  color: white;
  background-color: rgb(43 81 121 / 70%);
  /* width: 25%; */
  text-align: center;
  top: 0;
  font-weight: bold;
  user-select: none;
  border-style: outset;
  width: inherit;
  display: block;
  width: 100%;
  flex: 1;
  position: relative;
  transition: background-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

#page > .tab:first-child button {
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 16px;
}

div#pickFixtureDateBtn {
  margin-top: 1%;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #29339c85
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #29339c9c;
  filter: drop-shadow(2px 4px 6px black);
}

.tab button.active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 1px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 10px rgba(117, 215, 255, 0.8);
}

/* Style the tab content */
.tabcontent {
  display: none;
  border-top: none;
  width: 100%;
}

.tabcontent.activeTabContent {
  animation: tabContentEnter 220ms ease-out both;
}

@keyframes tabContentEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab button,
  .tabcontent.activeTabContent {
    transition: none;
    animation: none;
  }
}

th#wonBet {
  background-color: rgba(0, 255, 0, 0.3);
  ;
}

tr.wonBet {
  background-color: rgba(0, 255, 0, 0.3);
  ;
}

tr.inProgressBet {
  background-color: rgba(146, 116, 235, 0.25);
}

tr.lostBet {
  background-color: rgba(255, 0, 0, 0.3);
}

tr.sumBet {
  background-color: rgb(42, 11, 255);
}

form.inputbet {
  border-radius: 15px;
  width: 85%;
  text-align: center;
  display: inline;
}

div.inputGoalScorersIn {
  width: 40%;
  margin: 5%;
}

input.inputScoreBox {
  border-radius: 25px;
  min-height: 20px;
  min-width: 20px;
  text-align: center;
  font-weight: bolder;
  font-family: var(--pokemonbets-numeric-font);
  max-width: 100px;
}

fieldset#inputBetFields {
  border: none;
}

.scoreBetRow[hidden] {
  display: none !important;
}

.scoreBetRow {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0 auto 18px;
}

.scoreBetValue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.scoreBetSeparator {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

input:disabled {
  color: #000;
  background-color: rgba(255, 255, 255, 0.3);
  border-color: black;
}

.inputbet label {
  display: block;
  width: 100%;
  font-size: clamp(20px, 5vw, 25px);
  color: rgba(223, 230, 255, 0.82);
}

input.inputScoreBox {
  border-radius: 30%;
  min-height: 20px;
  min-width: 20px;
  text-align: center;
  font-weight: bolder;
  font-size: xxx-large;
  font-family: var(--pokemonbets-numeric-font);
  width: 5%;
  height: 3%;
  aspect-ratio: 1;
}

#inputBetFields:not(:disabled) .inputScoreBox {
  width: clamp(58px, 16vw, 76px);
  min-height: clamp(58px, 16vw, 76px);
  border: 1px solid rgba(184, 247, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(62, 132, 255, 0.5), rgba(0, 21, 142, 0.72)),
    rgba(0, 20, 145, 0.42);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(34px, 9vw, 44px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    inset 0 -12px 22px rgba(0,0,0,0.16),
    0 7px 15px rgba(0,0,0,0.34);
}

#inputBetFields:not(:disabled) .inputScoreBox:focus {
  outline: 2px solid rgba(184, 247, 255, 0.82);
  outline-offset: 2px;
}

#inputBetFields:disabled {
  display: grid;
  gap: 7px;
  width: min(92%, 430px);
  margin: 10px auto 16px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(184, 247, 255, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.24), rgba(0, 8, 90, 0.38)),
    rgba(0, 0, 110, 0.28);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

#inputBetFields:disabled .scoreBetRow {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: stretch;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid rgba(82, 238, 255, 0.22);
  border-radius: 7px;
  background: rgba(0, 10, 112, 0.28);
}

#inputBetFields:disabled .inputbet label,
#inputBetFields:disabled label {
  width: auto;
  margin: 0;
  color: #dfe6ff;
  font-size: 14px;
  line-height: 1.15;
  text-align: left;
}

#inputBetFields:disabled .scoreBetValue {
  gap: 4px;
}

#inputBetFields:disabled .scoreBetSeparator {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
}

#inputBetFields:disabled .inputScoreBox {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid rgba(184, 247, 255, 0.44);
  border-radius: 7px;
  background: rgba(8, 24, 132, 0.72);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
  font-size: 24px;
  line-height: 1;
  opacity: 1;
}

.fixture {
  position: relative;
  border-radius: 15px;
  color: white;
  /* background-color: rgb(43 81 121 / 70%); */
  justify-content: center;
  text-align: center;
  text-align: -webkit-center;
  top: 0;
  font-size: 25px;
  font-weight: bold;
  user-select: none;
  width: 100%;
  /* box-shadow: 5px 5px 5px rgb(0 0 0 / 70%); */
}

div#FixtureDiv.fixture-data-loading #fixture::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(184, 247, 255, 0.28);
  border-top-color: rgba(255, 222, 89, 0.96);
  border-radius: 50%;
  animation: pokemonbetsFixtureSpin 850ms linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.65));
}

@keyframes pokemonbetsFixtureSpin {
  to {
    transform: rotate(360deg);
  }
}

img.fixtureTeamImg {
  width: 55%;
  max-width: 300px;
  margin-bottom: 10px;
  aspect-ratio: 1;
  filter: drop-shadow(12px 14px 16px black);
}

div.calendar-date-picker input.calendar-date-picker-input {
  border: var(--calendar-js-spacing-border-size) solid var(--calendar-js-input-border-color);
  /* border-radius: var(--calendar-js-border-radius); */
  outline: none;
  width: 50%;
  padding: unset; //;0.375rem 0.75rem;
  line-height: 21px;
  color: #ffffff;
  margin-bottom: 0 !important;
  background-color: var(--calendar-js-input-background-color);
  transition: var(--calendar-js-transition);
  box-sizing: border-box;
  max-height: 35px;
  background-color: inherit;
  filter: drop-shadow(2px 4px 6px black);
  border-radius: 0px;
  /* margin:5px; */
  /* font-size:15px; */
  border-style: inset;
  text-align: center;
}

.date-picker input[type="date"],
.seasonSelect {
  width: 100%;
  max-width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  color: white;
  background-color: rgba(13, 0, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.65);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 3px 3px black;
  color-scheme: dark;
  box-sizing: border-box;
}

.date-picker input[type="date"]:focus,
.seasonSelect:focus {
  outline: 2px solid rgba(255, 222, 89, 0.85);
  outline-offset: 2px;
}

.rankingDateFilters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.settlementPeriodControls {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.rankingDateFilters .date-picker,
.rankingDateFilters input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.seasonSelect {
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}

div.calendar {
  min-width: 0px;
}


div#fixtureTeams {
  overflow-x: hidden;
  flex-wrap: wrap;
  display: flex;
  display: -webkit-flex;
}

.teamFigure {
  width: 50%;
  font-size: 80%;
}

.fixtureTeamForm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  width: fit-content;
  max-width: 94%;
  margin: 8px auto 0;
  padding: 5px 7px;
  background: linear-gradient(180deg, rgba(184, 247, 255, 0.14), rgba(0, 8, 90, 0.42));
  border: 1px solid rgba(184, 247, 255, 0.34);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 14px rgba(0,0,0,0.26);
}

.fixtureTeamForm[hidden] {
  display: none;
}

.fixtureTeamFormLabel {
  width: 100%;
  color: rgba(232, 237, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

#fixtureArrows {

  touch-action: manipulation;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.button {
  background-color: rgba(0, 0, 255, 0.5);
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  padding: 20px;
  transition: all 0.5s;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 15px 25px;
  text-align: center;
  cursor: pointer;
  outline: none;
  border: none;
  box-shadow: 0 5px #999;
  margin-top: 10px;
}

#submitBetButton
{
  border-radius:15px;
}

button.navigateFixturesButton {
  background-color: rgb(0 0 255 / 73%);
  border-color: darkblue;
  color: #FFFFFF;
  font-weight: bold;
  /* box-shadow: 0 5px #999; */
  cursor: pointer;
  transition: all 0.5s;
  font-weight: bold;
  border-style: double;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 48px;
}

img#venueImg {
  border-radius: 5%;
  border-style: solid;
  display: flex;
  width: 90%;
  max-width: 600px;
  margin-bottom: 2%;
  margin-top: 5%;
}

.polak {
  background: linear-gradient(86deg, rgba(255, 255, 255, 1) 0%, rgba(255, 235, 235, 1) 50%, rgb(247 73 73) 100%);
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bolder;
}

.fixtureDesc {
  width: 100%;
  margin-bottom: 6px;
  font-size: 25px;
  text-shadow: aliceblue;
  text-shadow: 5px 5px 5px rgb(0, 0, 0);
  font-weight: bolder;
  text-transform: capitalize;
  filter: drop-shadow(2px 4px 6px black);
  /* transform: scale(1.5); */
  rotate: 0 0 4;
  transform: transform: perspective(75em) rotateX(18deg);
  transform: perspective(75em) rotateX(24deg);
  /* box-shadow: rgba(22, 31, 39, 0.42) 0px 20px 23px -29px, rgba(19, 26, 32, 0.08) 0px 15px 15px -35px; */
}
.userAvatar {
  border-radius: 25%;
  filter: drop-shadow(4px 8px 12px black);
  width: clamp(52px, 16vw, 108px);
  height: clamp(52px, 16vw, 108px);
  margin: 0 auto 6px;
  aspect-ratio: 1;
  object-fit: cover;
}

table#venueTable td {
  width: 50%;
  background-color: rgba(0, 0, 90, 0.2);
  padding-left: 2%;
  color: white;
  text-shadow: 2px 2px black;
}

table#venueTable tbody {
  background-color: transparent;
}
table#venueTable {
  /* background: transparent; */
  margin-bottom: 5%;
  text-align: justify;
  width: 90%;
  font-size: 45%;
}

.standingsPanel {
  overflow-x: auto;
}

.standingsTable {
  width: 100%;
  border-spacing: 0;
  color: white;
  text-shadow: 2px 2px black;
  background: rgba(0, 0, 60, 0.42);
  border-radius: 10px;
  overflow: hidden;
}

.standingsLegend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 0 0 8px;
  padding: 7px 8px;
  color: rgba(232, 237, 255, 0.94);
  background: rgba(0, 0, 60, 0.42);
  border: 1px solid rgba(184, 247, 255, 0.22);
  border-radius: 10px;
  font-size: clamp(11px, 2.6vw, 13px);
  font-weight: 900;
  text-shadow: 2px 2px black;
}

.standingsLegendItem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.standingsLegendSwatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.standingsLegendSwatch-champions {
  background: #3b82ff;
}

.standingsLegendSwatch-europa {
  background: #ff9800;
}

.standingsLegendSwatch-conference {
  background: #00b86b;
}

.standingsLegendSwatch-relegation {
  background: #ff405f;
}

.standingsTable td {
  padding: 6px 5px;
  border-bottom: 1px solid rgba(184, 247, 255, 0.2);
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.standingsGroupRow td {
  padding: 10px 8px;
  color: #b8f7ff;
  background: rgba(0, 20, 130, 0.72);
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 900;
  text-align: center;
}

.standingsHeaderRow td {
  color: rgba(232, 237, 255, 0.86);
  background: rgba(0, 0, 30, 0.6);
  font-size: clamp(10px, 2.2vw, 12px);
}

.standingsRow-currentFixture td {
  background: rgba(0, 220, 255, 0.2);
}

.standingsRow-champions td:first-child,
.standingsRow-europa td:first-child,
.standingsRow-conference td:first-child,
.standingsRow-relegation td:first-child {
  border-left: 5px solid transparent;
}

.standingsRow-champions td {
  background: rgba(31, 110, 255, 0.22);
}

.standingsRow-champions td:first-child {
  border-left-color: #3b82ff;
}

.standingsRow-europa td {
  background: rgba(255, 145, 0, 0.22);
}

.standingsRow-europa td:first-child {
  border-left-color: #ff9800;
}

.standingsRow-conference td {
  background: rgba(0, 170, 90, 0.22);
}

.standingsRow-conference td:first-child {
  border-left-color: #00b86b;
}

.standingsRow-relegation td {
  background: rgba(210, 40, 70, 0.24);
}

.standingsRow-relegation td:first-child {
  border-left-color: #ff405f;
}

.standingsRow-currentFixture td {
  box-shadow: inset 0 0 0 999px rgba(0, 220, 255, 0.12);
}

.standingsRow-currentFixture .standingsTeamCell span {
  color: #ffffff;
  font-weight: 950;
}

.standingsTeamCell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 112px;
  text-align: left !important;
}

.standingsTeamCell img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.standingsTeamCell span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.standingsPointsCell {
  color: #b8f7ff;
  font-weight: 900 !important;
}

.standingsFormCell {
  min-width: 82px;
}

.standingsFormBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0 1px;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-shadow: none;
}

.fixtureTeamForm .standingsFormBadge {
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.42),
    0 3px 7px rgba(0,0,0,0.42),
    0 0 9px rgba(184, 247, 255, 0.18);
  font-size: 11px;
}

.standingsFormBadge-W {
  background: linear-gradient(180deg, #25e68a, #009f62);
}

.standingsFormBadge-D {
  background: linear-gradient(180deg, #ffd95f, #c99700);
}

.standingsFormBadge-L {
  background: linear-gradient(180deg, #ff6c82, #c92045);
}

.standingsFormTooltip {
  position: fixed;
  z-index: 10020;
  max-width: calc(100vw - 24px);
  padding: 7px 10px;
  color: #001044;
  background: rgba(184, 247, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.48);
  font-size: 12px;
  font-weight: 900;
  text-shadow: none;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.standingsFormTooltip[hidden] {
  display: none;
}

@media all and (max-width: 520px) {
  .standingsTable td {
    padding: 5px 3px;
    font-size: 10px;
  }

  .standingsTeamCell {
    gap: 4px;
    min-width: 98px;
  }

  .standingsTeamCell img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .standingsFormHeaderCell,
  .standingsFormCell {
    display: none;
  }
}

html #wpadminbar {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
}

td#venueTableHeader {
  text-align: center;
  padding-right: 10%;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.button:hover {
  background-color: #29339c85
}

.button:active {
  background-color: rgba(10, 10, 96, 0.584);
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

header#welcomeDiv {
  background-color: rgb(32 30 30 / 40%);
  color: white;
  font-size: 50px;
  margin-top: 10px;
  height: 100px;
  align-content: center;
  width: 100%;
  display: grid;
  justify-content: center;
}


div#ranking {
  touch-action: manipulation;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  font-size: 100%;
  user-select: none;
  min-height: 0;
  line-height: 200%;
  margin-bottom: 8px;
}

.navigateFixtures {
  width: 100%;
  text-align: center;
  min-height: 56px;
  display: flex;
  align-content: center;
  align-items: center;
  place-content: center;
  box-sizing: border-box;
}

thead#rankingTableHeader td {
  /* padding: 15px; */
  font-weight: bold;
  background:
    linear-gradient(180deg, rgba(58, 110, 255, 0.76), rgba(0, 16, 148, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 58%);
}

.userCell {
  height: auto;
  background-size: contain;
  background-repeat: no-repeat;
  display: table-cell;
  padding-top: 4px;
  padding-bottom: 4px;
  background-repeat: round;
  background-blend-mode: initial;
  width: 30%;
}

tbody#rankingTableBody td, thead#rankingTableHeader td  {
  border: 0;
  border-right: 1px solid rgba(82, 238, 255, 0.34);
  border-bottom: 1px solid rgba(82, 238, 255, 0.28);
  filter: none;
  box-sizing: border-box;
}

tbody#rankingTableBody td:last-child,
thead#rankingTableHeader td:last-child {
  border-right: 0;
}

tbody#rankingTableBody tr:last-child td {
  border-bottom: 0;
}

#rankingTableBody .userPointsRow td {
  background:
    linear-gradient(90deg, rgba(20, 72, 190, 0.28), rgba(0, 8, 90, 0.22)),
    rgba(0, 0, 110, 0.34);
}

#rankingTableBody .userPointsRow:nth-child(even) td {
  background:
    linear-gradient(90deg, rgba(30, 95, 210, 0.22), rgba(0, 12, 100, 0.18)),
    rgba(0, 0, 105, 0.3);
}

#rankingTableBody .rankingLeaderDiffCell {
  font-weight: 900;
  white-space: nowrap;
}

#rankingTableBody .rankingLeaderDiffCell.isLeader {
  color: #72ffad;
}

#rankingTableBody .rankingLeaderDiffCell.isBehind {
  color: #ff7777;
  text-shadow: 0 0 5px rgba(0,0,0,0.95), 0 0 7px rgba(255,0,55,0.55);
}

#rankingTableBody .userPointsRowPreviewable {
  cursor: pointer;
}

#rankingTableBody .userPointsRowPreviewable:hover td {
  background:
    linear-gradient(90deg, rgba(82, 238, 255, 0.18), rgba(30, 90, 255, 0.26)),
    rgba(0, 20, 150, 0.36);
}

div#page {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-top: 2px;
}

div#FixtureDiv {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

.specialBetsPanel {
  width: 100%;
  max-width: 100%;
  margin: 8px auto 14px;
  box-sizing: border-box;
  text-align: center;
}

.specialBetEvent {
  width: 100%;
  display: grid;
  align-items: stretch;
  justify-items: center;
  padding: 0 8px;
  box-sizing: border-box;
  overflow: visible;
}

.specialBetForm {
  width: 100%;
  max-width: none;
  display: grid;
  align-items: stretch;
}

.specialBetCard {
  width: 100%;
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.5vw, 18px);
  margin: 12px auto;
  padding: clamp(14px, 2vw, 28px);
  box-sizing: border-box;
  overflow: visible;
  border: 1px solid rgba(184, 247, 255, 0.58);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(0, 20, 145, 0.54), rgba(0, 5, 66, 0.66)),
    rgba(0, 0, 200, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 0 28px rgba(88, 174, 255, 0.16),
    5px 5px 5px rgb(0 0 0 / 70%);
}

#events.specialBetMode > .tab,
#events.specialBetMode > .tabcontent,
#events.specialBetMode > hr.rounded {
  display: none !important;
}

#events.specialBetMode {
  margin-top: 0;
  padding-top: 0;
  min-height: 0;
  background: transparent;
  box-shadow: none;
}

.specialBetMode + .specialBetsPanel,
.navigateFixtures + .specialBetsPanel {
  margin-top: 0;
}

.navigateFixtures + .specialBetsPanel .specialBetCard {
  margin-top: 0;
}

#events.specialBetMode #bets_results {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  box-sizing: border-box;
}

.specialBetHeader {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding-bottom: clamp(8px, 1vw, 14px);
  border-bottom: 1px solid rgba(184, 247, 255, 0.34);
}

.specialBetTitle {
  display: block;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.2;
}

.specialBetMeta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 18px;
}

.specialBetStatus {
  display: inline-block;
  color: #b8f7ff;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
}

.specialBetSettlementStatus {
  color: rgba(255, 255, 255, 0.82);
}

.specialBetDescription {
  margin: 0;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.specialBetChoices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  width: 100%;
  justify-self: center;
}

.specialBetCategory {
  display: grid;
  grid-template-columns: minmax(150px, max-content) minmax(220px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: clamp(8px, 1.1vw, 14px);
  border: 1px solid rgba(82, 238, 255, 0.26);
  border-radius: 9px;
  background: rgba(0, 18, 115, 0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
  overflow: visible;
}

.specialBetCategoryLabel {
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 900;
  text-align: left;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: anywhere;
}

.specialBetSelectCell {
  min-width: 0;
}

.specialBetDropdown {
  position: relative;
  display: block;
}

.specialBetDropButton {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: clamp(34px, 3vw, 42px);
  padding: 5px 9px;
  text-align: left;
  font-size: clamp(11px, 1vw, 14px);
}

.specialBetVisual {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.specialBetDropButton span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.specialBetButtonText {
  display: inline-block;
}

.specialBetDropButton:hover .specialBetButtonText,
.specialBetDropButton:focus-visible .specialBetButtonText {
  color: #ffffff;
}

.specialBetDropButton[data-full-label]:hover::after,
.specialBetDropButton[data-full-label]:focus-visible::after {
  content: attr(data-full-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  z-index: 10020;
  max-width: min(320px, 86vw);
  padding: 6px 9px;
  border: 1px solid rgba(184, 247, 255, 0.75);
  border-radius: 8px;
  background: rgba(0, 12, 90, 0.96);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transform: translateX(-50%);
  pointer-events: none;
}

.specialBetDropButton:disabled {
  color: rgba(255,255,255,0.74);
  cursor: default;
  opacity: 0.82;
}

.specialBetDropdownContent {
  width: 100%;
  min-height: 0;
  max-height: min(
    300px,
    56vh,
    calc((var(--special-bet-options-count, 6) * 42px) + 10px)
  );
  z-index: 10000;
}

.specialBetOption {
  min-height: 40px;
  gap: 6px;
  padding: 4px 8px;
  font-size: clamp(11px, 1vw, 14px);
}

.specialBetOptionImg,
.specialBetButtonImg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(124, 180, 255, 0.85);
  background: rgba(0, 0, 70, 0.55);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
}

.specialBetDropButton .specialBetButtonImg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.specialBetFlagBadge {
  width: 16px;
  height: 12px;
  flex: 0 0 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  background: rgba(0, 0, 40, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.specialBetOptionText small {
  color: #b8f7ff;
  font-size: 0.78em;
}

.specialBetTableValue {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}

.specialBetTableValue .specialBetVisual {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.specialBetTableValueImg {
  width: 23px;
  height: 23px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(124, 180, 255, 0.85);
  background: rgba(0, 0, 70, 0.55);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

.specialBetTableValue .specialBetFlagBadge {
  width: 14px;
  height: 10px;
  flex-basis: 14px;
}

.specialBetTableValueText {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specialBetCategory select {
  width: 100%;
  min-width: 0;
  min-height: clamp(38px, 3.7vw, 52px);
  border: 1px solid rgba(184, 247, 255, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(184, 247, 255, 0.95) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(184, 247, 255, 0.95) 50%, transparent 50%) calc(100% - 12px) 50% / 7px 7px no-repeat,
    linear-gradient(180deg, rgba(15, 75, 230, 0.94), rgba(0, 15, 120, 0.96));
  color: #ffffff;
  padding: 7px 34px 7px 12px;
  font-family: var(--pokemonbets-display-font);
  font-size: clamp(14px, 1.35vw, 20px);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -10px 20px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.26);
  appearance: none;
  -webkit-appearance: none;
}

.specialBetCategory select:focus {
  outline: 2px solid rgba(184, 247, 255, 0.8);
  outline-offset: 2px;
}

.specialBetCategory select:disabled {
  color: rgba(255,255,255,0.74);
  opacity: 0.82;
}

.specialBetCategory select option {
  background: #071b73;
  color: #ffffff;
}

#submitBetButton.button,
.specialBetSaveButton.button {
  justify-self: center;
  min-height: 44px;
  min-width: min(220px, 100%);
  margin: 10px auto 0;
  padding: 10px 18px;
  border: 1px solid rgba(184, 247, 255, 0.5);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(42, 111, 255, 0.9), rgba(0, 20, 150, 0.98));
  color: #ffffff;
  font-family: var(--pokemonbets-display-font);
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 18px rgba(0,0,0,0.34);
}

#submitBetButton.button:disabled,
.specialBetSaveButton.button:disabled {
  cursor: progress;
  opacity: 0.78;
  filter: none;
}

#submitBetButton.button:hover,
#submitBetButton.button:focus-visible,
.specialBetSaveButton.button:hover,
.specialBetSaveButton.button:focus-visible {
  filter: brightness(1.12);
  outline: 2px solid rgba(184, 247, 255, 0.74);
  outline-offset: 2px;
}

.specialBetNote {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  font-weight: 800;
}

.pokemonbetsApiStatus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: center;
  margin: 12px auto 14px;
  width: min(92vw, 720px);
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 216, 120, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(78, 14, 22, 0.96), rgba(22, 21, 68, 0.94)),
    rgba(96, 20, 20, 0.92);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.pokemonbetsApiStatus[hidden] {
  display: none;
}

.pokemonbetsApiStatus strong {
  grid-column: 1;
  font-size: 18px;
  line-height: 1.1;
  text-align: left;
}

.pokemonbetsApiStatusLead,
.pokemonbetsApiStatusMessage {
  grid-column: 1;
  text-align: left;
}

.pokemonbetsApiStatusLead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.pokemonbetsApiStatusMessage {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.35;
}

.pokemonbetsApiStatus button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 800;
}

.pokemonbetsApiStatus button:active {
  transform: translateY(1px);
}

body.pokemonbetsApiBlocking .tab,
body.pokemonbetsApiBlocking div#ranking,
body.pokemonbetsApiBlocking div#pickFixtureDateBtn,
body.pokemonbetsApiBlocking div#FixtureDiv {
  display: none !important;
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatus {
  position: relative;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  width: min(92vw, 760px);
  min-height: 190px;
  margin: clamp(42px, 8vh, 86px) auto 32px;
  padding: 24px;
  border-color: rgba(255, 230, 150, 0.88);
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatus::before {
  content: "!";
  display: grid;
  grid-row: 1 / span 3;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 230, 150, 0.9);
  border-radius: 50%;
  color: #ffe696;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatus strong,
body.pokemonbetsApiBlocking .pokemonbetsApiStatusLead,
body.pokemonbetsApiBlocking .pokemonbetsApiStatusMessage {
  grid-column: 2;
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatus strong {
  font-size: clamp(24px, 3vw, 34px);
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatusLead {
  font-size: clamp(16px, 2vw, 20px);
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatusMessage {
  max-width: 58ch;
}

body.pokemonbetsApiBlocking .pokemonbetsApiStatus button {
  grid-column: 3;
  grid-row: 1 / span 3;
  min-width: 110px;
  min-height: 44px;
}

@media (max-width: 680px) {
  .pokemonbetsApiStatus,
  body.pokemonbetsApiBlocking .pokemonbetsApiStatus {
    grid-template-columns: 1fr;
  }

  body.pokemonbetsApiBlocking .pokemonbetsApiStatus::before {
    grid-column: 1;
    grid-row: 1;
  }

  .pokemonbetsApiStatus strong,
  .pokemonbetsApiStatusLead,
  .pokemonbetsApiStatusMessage,
  .pokemonbetsApiStatus button,
  body.pokemonbetsApiBlocking .pokemonbetsApiStatus strong,
  body.pokemonbetsApiBlocking .pokemonbetsApiStatusLead,
  body.pokemonbetsApiBlocking .pokemonbetsApiStatusMessage,
  body.pokemonbetsApiBlocking .pokemonbetsApiStatus button {
    grid-column: 1;
    grid-row: auto;
  }

  .pokemonbetsApiStatus button,
  body.pokemonbetsApiBlocking .pokemonbetsApiStatus button {
    width: 100%;
  }
}

div#FixtureDiv.fixture-transitioning {
  pointer-events: none;
}

div#FixtureDiv.fixture-waiting-for-next {
  opacity: 0;
}

div#FixtureDiv.fixture-slide-out-left {
  animation: fixtureSlideOutLeft 0.36s ease-in forwards;
}

div#FixtureDiv.fixture-slide-out-right {
  animation: fixtureSlideOutRight 0.36s ease-in forwards;
}

div#FixtureDiv.fixture-slide-in-left {
  animation: fixtureSlideInLeft 0.36s ease-out both;
}

div#FixtureDiv.fixture-slide-in-right {
  animation: fixtureSlideInRight 0.36s ease-out both;
}

@keyframes fixtureSlideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-105%);
  }
}

@keyframes fixtureSlideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(105%);
  }
}

@keyframes fixtureSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-105%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fixtureSlideInRight {
  from {
    opacity: 0;
    transform: translateX(105%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  div#FixtureDiv.fixture-slide-out-left,
  div#FixtureDiv.fixture-slide-out-right,
  div#FixtureDiv.fixture-slide-in-left,
  div#FixtureDiv.fixture-slide-in-right {
    animation-duration: 0.01ms;
  }
}

table {
  text-align: center;
  vertical-align: center;
}

.squadTableInjuries {
  width: 100%;
}

table#rankingTable {
  /* min-width: 350px; */
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.3), rgba(0, 8, 90, 0.42)),
    rgba(0, 0, 110, 0.34);
  border: 1px solid rgba(184, 247, 255, 0.68);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow:
    0 0 0 1px rgba(30, 80, 255, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  /* font-size: 50px; */
}

.user {
  display: grid;
  width: 100%;
  height: auto;
  justify-items: center;
  align-items: center;
  gap: 4px;
}

table.squadTable {
  display: inline-table;
  margin-top: 1%;
  width: 90%;
  justify-content: center;
  height: fit-content;
  background-color: rgba(2, 2, 168, 0.57);
  background-color: rgba(123, 195, 238, 0.6);
  font-size: 12px;
  /* color: black;
  text-shadow: 2px 3px 3px #444444; */
  font-size: 25px;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

div#squadTableBtns {
  width: 90%;
  display: flex;
  display: -webkit-flex;
}

.squadCoaches {
  display: none;
}

.squadCoach {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  min-height: 62px;
  box-sizing: border-box;
  padding: 10px 14px;
  background-color: rgba(13, 0, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.55);
}

.squadCoachPhoto {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.25);
}

.squadCoachText {
  min-width: 0;
}

.squadCoachText span,
.squadCoachText strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squadCoachText span {
  font-size: 12px;
}

.squadCoachText strong {
  font-size: 15px;
}

.squadCoachPanel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: 90%;
  min-height: 74px;
  margin: 6px auto 10px;
  padding: 12px 18px;
  color: white;
  text-shadow: none;
  background: linear-gradient(90deg, rgba(34, 88, 150, 0.78), rgba(88, 150, 210, 0.58));
  border-left: 4px solid rgba(216, 241, 255, 0.95);
  border-top: 1px solid rgba(190, 228, 255, 0.36);
  border-bottom: 1px solid rgba(23, 75, 132, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.22);
}

.squadCoachListPhoto {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  box-shadow: none;
}

.squadCoachListLabel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.squadCoachListLabel strong {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
}

.squadCoachListLabel strong > span {
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.squadCoachListLabel strong.isOverflowing > span {
  animation: coachNameMarquee 4.8s ease-in-out 300ms infinite alternate;
}

@keyframes coachNameMarquee {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(var(--coach-name-scroll-distance, -32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .squadCoachListLabel strong.isOverflowing > span {
    animation: none;
    text-overflow: ellipsis;
  }
}

.squadCoachListLabel span {
  color: #d8f1ff;
  font-size: 15px;
  font-weight: 700;
}

.squadCoachListLabel small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squadCoachTeamBadge {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.squadCoachTeamBadge img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.squadCoachTeamBadge span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squadTable tbody {
  display: inline-table;
  background-color: #0091ff00;
  text-shadow: 2px 3px 3px black;
  color: white;
  height: 10%;
}

.squadTable tr {
  display:  inline-block;
  width: 100%;
  margin-top: 2px;
  border-style: double;
  border-color: rgba(0,0,0,0.1);
}

.squadTable td {
  display: -webkit-flex;
  display: flex;
  font-size: 16px;
}

.squadTable thead td {
  justify-content: center;
  display: inherit;
  width: max-content;
}

.squadTableHeader {
  display: inherit !important;
  background-color: rgba(50, 50, 50, 0.4);
  width: max-content;
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 26px;
  border: none;
}

.squatTableChoosePlayer {
  display: flex;
  width: 30px;
  height: 30px;
  flex-direction: row-reverse;
  aspect-ratio: 1/1;
  margin-left: auto;
  margin-right: 5px;
  margin-top: auto;
  margin-bottom: auto;
  background-image: url("pickPlayer.png");
  background-size: contain;
  border-radius: 90px;
}

.squadCell.active {
  background-color:rgba(0, 255, 0, 0.3)
}

.squadCellSelectable {
  cursor: pointer;
}

.squadCell.selectedGoalScorer {
  background-color: rgba(0, 220, 255, 0.22);
  box-shadow: inset 0 0 0 2px rgba(82, 238, 255, 0.72);
}

.squadCell.selectedGoalScorer .squadCellPhoto {
  border-color: rgba(126, 245, 255, 0.95);
  box-shadow: 0 0 12px rgba(0, 220, 255, 0.75);
}

.injuredSquadCell {
  opacity: 0.86;
}

button.squatTableChoosePlayer.selectedGoalScorer
{
  background-image: url("cancelChoice.png");
}


.active .lineUpPlayerPhoto {
  background-color: rgba(0, 255, 0, 0.3);
  border-color: rgba(0, 255, 0, 0.3);
  border-width: 5px;
  filter: drop-shadow(1px 1px 50pc green) brightness(113.9%) saturate(111%);
  transform: scale(1.2) rotateX(15deg) rotateZ(5deg);
}

.active .lineUpPlayerPhoto {
  background-color: rgba(0, 255, 0, 0.3);
  border-color: #6ef7ff;
  border-width: 5px;
  filter: drop-shadow(1px 1px 50pc #00d4ff) brightness(113.9%) saturate(111%);
  transform: scale(1.2) rotateX(15deg) rotateZ(5deg);
  box-shadow: 1px 1px 10px 10px rgba(0, 220, 255, 0.75);
}

.active .lineUpPlayerLabel, .selectedGoalScorer .lineUpPlayerLabel{
  font-size: 12px;
  text-transform: uppercase;
  font-family: var(--pokemonbets-display-font);
  font-weight: 600;
  color: #f5f5f5;
  text-shadow: 1px 1px 1px #919191, 1px 2px 1px #919191, 1px 3px 1px #919191, 1px 4px 1px #919191, 1px 5px 1px #919191, 1px 6px 1px #919191, 1px 7px 1px #919191, 1px 8px 1px #919191, 1px 9px 1px #919191, 1px 10px 1px #919191, 1px 18px 6px rgba(16,16,16,0.4), 1px 22px 10px rgba(16,16,16,0.2), 1px 25px 35px rgba(16,16,16,0.2), 1px 30px 60px rgba(16,16,16,0.4);
  transform: translateY(10px);
}

.selectedGoalScorer .lineUpPlayerPhoto {
  background-color: rgba(0, 255, 0, 0.3);
  border-color: rgba(47, 78, 255, 0.6);
  border-width: 5px;
  filter: drop-shadow(1px 1px 50pc blue) brightness(113.9%) saturate(111%);
  transform: scale(1.2) rotateX(15deg) rotateZ(5deg);
  box-shadow: 1px 1px 10px 10px rgba(47, 78, 255, 0.6);
}

# {
  width: 100%;
  height: 100%;
}

.squadCellPhoto {
  width: 30px;
  aspect-ratio: 3 / 3;
  border-radius: 90%;
  border-style: ridge;
  border-color: rgb(86 0 255 / 56%);
  box-shadow: 3px 3px 20px 9px #07259187;
  margin-right: 2%;
}

.squadTableBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 10px;
  box-sizing: border-box;
  text-shadow: 2px 3px 3px black;
  background-color: rgba(100, 127, 189, 0.6);
  color: white;
}

.squadTableBtn:disabled {
  background-color: rgba(40,50, 211, 0.8);
}

.squadTableBtnLogo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
}

.squadTableBtnLabel {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squadCellLabel {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 30px;
  vertical-align: text-bottom;
  min-width: 0;
  text-align: left;
}

.squadCellNameLine {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.squadCellNameLine strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.12;
}

.squadCellNameLine .playerStatusIcons {
  flex: 0 0 auto;
  min-height: 0;
  margin-top: 0;
}

.playerStatusIcons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  vertical-align: middle;
}

.playerStatusIcons:empty {
  display: none;
}

.playerStatusIcon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.82));
}

.playerStatusIcon-injury,
.playerStatusIcon-questionable {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.squadPlayerContext {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(235, 241, 255, 0.88);
  font-size: 11px;
  line-height: 1.15;
  text-transform: none;
}

.squadPlayerContext img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.squadPlayerContextFlag {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
}

.squadPlayerContext span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squadCell.polishPlayer {
  background-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.9), inset 8px 0 0 rgba(220, 20, 60, 0.9);
}

/* td.squadCell.active {
  background-color: rgb(52 255 7 / 60%);
} */


div#lineupTab
{
  justify-content: center;
  align-content: center;
  text-align: -webkit-center;
}

div#squadField {
  width: 90%;
  aspect-ratio: 9 / 16;
  background-image: url(img/field2.jpg);
  background-size: cover;
  background-repeat: round;
  border: black;
  border-style: none;
  border-width: 10px;
  margin: 0 auto;
  border-radius: 2%;
  border-style: ridge;
  border-color: rgb(86 0 255 / 56%);
  box-shadow: inset 3px 3px 14px 8px #07259187;
  max-width: 900px;
}

div.squadFieldHalf {
  display: flex;
  -webkit-flex: auto;
  display: -webkit-flex;
  width: 100%;
  height: 50%;
  flex-direction: column;
  align-items: center;
  -webkit-box-align: center;
  justify-content: space-evenly;
  border: red;
  border-style: none;
  border-width: 10px;
}

div.squadFieldRow {
  display: flex;
  display: -webkit-flex;
  justify-content: space-evenly;
  width: 100%;
  height: 20%;
  align-items: end;
  border: yellow;
  border-style: none;
  border-width: 10px;
}

.lineUpPlayer {
  display: flex;
  display: -webkit-flex;
  display: table-cell;
  width: 10%;

  width: -webkit-fill-available;
  height: 100%;
  justify-content: center;

  border: green;
  border-style: none;
  border-width: 10px;
}

.lineUpPlayerSelectable {
  cursor: pointer;
}

.lineUpPlayerPhoto {
  height: 60%;
  aspect-ratio: 3 / 3;
  border-radius: 90%;
  border-style: ridge;
  border-color: rgb(86 0 255 / 56%);
  box-shadow: 3px 3px 20px 9px #07259187;
}

.lineUpPlayerLabel {
  font-size: 10px;
}

div#squadFieldAway {
  flex-direction: column;
}

td {
  text-transform: capitalize;
}

body.home.blog.logged-in.admin-bar.custom-background.customize-support {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  width: 100%;
}

div#inputGoalScorers {
  display: flex;
  display: -webkit-flex;
  width: 100%;
  justify-content: center;
}

.goalScorerButtonImg {
  border-radius: 90%;
  border-style: double;
  border-color: rgba(0,0,200,0.6);
  border-width: 3px;
  width: 46px;
  height: 46px;
  margin: 0;
  object-fit: cover;
}



html,
body {
  --pokemonbets-display-font: "Trebuchet MS", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --pokemonbets-numeric-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  touch-action: manipulation;
  font-family: var(--pokemonbets-display-font);
  font-size: 16px;
  line-height: 1.4em;
  margin: 0;
  touch-action: pan-x pan-y;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  text-shadow: 2px 3px 3px black;
  color: white;
}

hr.rounded {
  /* box-shadow: 7px 2px #010e2569; */
  height: 10px;
  border-radius: 5px;
  background-color: rgb(0 0 57 / 46%);
  border-style: none;
  margin-bottom: 5%;
}

.site-title-bg {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px
}

.site-title h1,
.site-title p {
  font-size: 16px;
  display: inline-block;
  padding: 5px 0 5px 5px;
  margin: 0
}

.site-title h1 a {
  color: #fff;
  font-weight: 700;
  text-decoration: none
}

.custom-logo {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto
}

#colophon {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 10px 0;
  text-align: center;
  color: #333;
  background-color: rgba(241, 241, 241, 0.4)
}

#colophon a {
  text-decoration: none;
  color: #333;
}

div#eventsDiv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

div#events {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  color: white;
  background-color: rgba(0, 0, 60, 0.2);
  justify-content: center;
  text-align: center;
  top: 0;
  font-size: 15px;
  font-weight: bold;
  user-select: none;
  box-shadow: 5px 5px 5px rgb(0 0 0 / 70%);
  padding-bottom: 0;
  text-shadow: 2px 3px 3px black;
  color: white;
}

table.eventsTable {
  width: 100%;
  min-width: 0;
  border: none;
  border-radius: 15px;
  margin: 5% 0;
  table-layout: fixed;
}

#fixtureTab table.eventsTable {
  margin-bottom: 0;
}

hr.betsResultsSeparator {
  display: none;
}

#statisticsTable {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

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

.h2hSummaryItem {
  background-color: rgba(13, 0, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.55);
  padding: 8px;
  text-align: center;
}

.h2hSummaryItem span,
.h2hSummaryItem strong {
  display: block;
}

.h2hSummaryItem span {
  font-size: 12px;
}

.h2hSummaryItem strong {
  font-size: 15px;
}

.h2hGoalsSummaryItem {
  grid-column: 1 / -1;
}

#h2hTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

#h2hTable td {
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.h2hDateCell {
  width: 20%;
  text-align: center;
}

.h2hTeamCell {
  width: 28%;
}

.h2hTeam {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
}

.h2hTeam span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h2hAwayCell .h2hTeam {
  justify-content: flex-end;
}

.h2hWinnerTeam {
  background: rgba(0, 220, 255, 0.18);
  box-shadow: inset 0 0 0 2px rgba(82, 238, 255, 0.68);
}

.h2hWinnerTeam .h2hTeam span {
  color: #b8f7ff;
  font-weight: 800;
}

.h2hLinkedMatch {
  cursor: pointer;
}

.h2hLinkedMatch:hover {
  filter: brightness(1.14);
}

.h2hTeamLogo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.h2hScoreCell {
  width: 24%;
  text-align: center;
  white-space: nowrap;
}

.h2hDateCell strong,
.h2hDateMeta {
  display: block;
}

.h2hDateMeta {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.2;
  opacity: 0.86;
  white-space: normal;
}

.h2hScoreCell strong,
.h2hScoreCell span {
  display: block;
}

.h2hScoreCell span {
  font-size: 12px;
  opacity: 0.9;
}

.h2hCurrentHomeWin {
  background-color: rgba(0, 255, 0, 0.18);
}

.h2hCurrentAwayWin {
  background-color: rgba(255, 91, 91, 0.18);
}

.h2hDraw {
  background-color: rgba(255, 222, 89, 0.16);
}

span.spanBar {
  display: block;
  position: relative;
  height: 12px;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 42%, rgba(0,0,0,0.24) 100%),
    linear-gradient(
      90deg,
      #0020f2 0,
      #004dff calc(var(--home-stat-percent, 50%) * 0.72),
      #0010b8 var(--home-stat-percent, 50%),
      #8f003c var(--home-stat-percent, 50%),
      #d90055 calc(var(--home-stat-percent, 50%) + (100% - var(--home-stat-percent, 50%)) * 0.28),
      #6f002d 100%
    );
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -2px 4px rgba(0,0,0,0.42), 0 1px 5px rgba(0,0,0,0.55);
  font-size: 0;
}

tr.rowBar {
  background: transparent;
}

.statisticsBarCell {
  padding: 0 10px 12px;
  background: rgba(0, 8, 85, 0.72);
  box-shadow: inset 0 0 8px rgba(0, 36, 255, 0.42);
}

tr.eventsRow
{
  display: flow-root;
  margin-bottom: 4%;
}

#homeEvents tr.eventsRow {
  text-align: left;
  margin-left:2%;
}

#awayEvents tr.eventsRow {
  text-align: right;
  margin-right:2%;
}

table.eventsTable tbody {
  background-color: rgba(0,0,0,0);
  color: white;
  display: inline-table;
  width: 100%;
}

td.eventsCell {
  height: 100%;
  font-size: 85%;
  border: none;
  font-style: italic;
  font-family: var(--pokemonbets-display-font);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(100%, 360px);
  min-width: 0;
  min-height: 38px;
  margin-bottom: 8%;
  padding: 5px 8px;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.03)),
    linear-gradient(90deg, rgba(7, 33, 142, 0.46), rgba(0, 2, 72, 0.16));
  border: 1px solid rgba(126, 245, 255, 0.26);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 16px rgba(0,0,0,0.18);
  backdrop-filter: blur(1px);
}

#awayEvents td.eventsCell {
  flex-direction: row-reverse;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.03)),
    linear-gradient(270deg, rgba(7, 33, 142, 0.46), rgba(0, 2, 72, 0.16));
}

td.emptyEventsCell {
  visibility: hidden;
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
}

.tooltip {
  min-width: 0;
  max-width: 100%;
  font-family: inherit;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  border-bottom: 0;
  overflow: visible;
}

.eventText {
  flex: 1 1 auto;
  line-height: 1.15;
  cursor: pointer;
}

.eventTextClip {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.eventTextValue {
  display: inline-block;
  min-width: max-content;
  will-change: transform;
}

.eventText.isOverflowing .eventTextValue {
  animation: eventTextMarquee 4.4s ease-in-out 250ms infinite alternate;
}

@keyframes eventTextMarquee {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(var(--event-text-scroll-distance, -32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .eventText.isOverflowing .eventTextValue {
    animation: none;
  }

  .tooltiptext.isOverflowing .tooltipTextValue {
    animation: none;
  }
}

.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 100%;
  width: max-content;
  max-width: calc(100vw - 16px);
  background-color: #000280d6;
  text-align: center;
  border-radius: 6px;
  padding: 15px 30px;
  position: absolute;
  z-index: 1;
  bottom: 200%;
  left: 50%;
  transform: translateX(calc(-50% + var(--event-tooltip-shift-x, 0px)));
  opacity: 0;
  transition: opacity 0.3s;
  box-sizing: border-box;
  box-shadow: 0 10px #0a004db2;
}

.tooltipTextClip {
  display: block;
  overflow: hidden;
}

.tooltipTextValue {
  display: inline-block;
  min-width: max-content;
}

.tooltiptext.isOverflowing .tooltipTextValue {
  animation: tooltipTextMarquee 4.4s ease-in-out 250ms infinite alternate;
}

@keyframes tooltipTextMarquee {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(var(--event-tooltip-scroll-distance, -32px));
  }
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--event-tooltip-arrow-x, 50%);
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext,
.tooltip:focus .tooltiptext,
.tooltip.isOpen .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.dropbtn {
  background-color: rgba(2, 0, 79, 0.0);
  color: white;
  min-height: 55px;
  font-size: 98%;
  border: none;
  cursor: pointer;
  /* width: 25%;
  min-width: 140px; */
  box-shadow: 0px 50px 100px -20px rgba(32, 32, 109, 0.75), 0px 30px 60px -30px rgba(11, 15, 232, 0.7), 0px -2px 6px 0px inset rgba(2, 129, 255, 0.75);
}

#goalScorerButton1,
#goalScorerButton2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 260px;
  min-width: 150px;
  padding: 6px 10px;
}

#goalScorerButton1 span,
#goalScorerButton2 span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

div#teamsToQualify {
  min-height: auto;
  overflow-y: auto;
}

#seasonsDdCnt {
  height: fit-content;
  min-height: 0;
  width: 50%;
  justify-content: center;
  margin-left: 25%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 255, 0.8);
    /* min-width: 160px; */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  min-height: 300px;
  max-height: 700px;
  overflow-y: scroll;
  border-color: rgba(0, 0, 255, 0.8);
  border-width: thick;
  border-style: groove;
  filter: drop-shadow(2px 4px 6px black);
}

#players1.dropdown-content,
#players2.dropdown-content {
  min-height: 0;
  max-height: 240px;
  width: 220px;
  overflow-y: auto;
}

.goalScorerOption {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 6px 10px;
  color: white;
  background: transparent;
  border: 0;
  border-top: double rgba(110,110,255,0.8);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.goalScorerOption:hover {
  background-color: #1245ffa6;
}

.goalScorerPositionHeader {
  padding: 5px 10px;
  color: #b8f7ff;
  background: rgba(0, 0, 90, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.goalScorerOption.selectedGoalScorer {
  background-color: rgba(0, 220, 255, 0.22);
  box-shadow: inset 0 0 0 2px rgba(82, 238, 255, 0.72);
}

.goalScorerOptionImg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(124, 180, 255, 0.85);
  background: rgba(0, 0, 70, 0.55);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
}

.goalScorerOptionText {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.goalScorerOptionText .playerStatusIcons {
  margin-top: 4px;
}

.goalScorerOptionText strong,
.goalScorerOptionText small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goalScorerOptionText small {
  min-height: 14px;
  color: rgba(225, 235, 255, 0.82);
  font-size: 11px;
  text-transform: lowercase;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-top-style: double;
  border-color: rgba(110,110,255,0.8);
}

.dropdown-content a:hover {
  background-color: #1245ffa6;
}

.dropdown:hover .dropbtn {
  background-color: rgba(12, 10, 142, 0.2);
  ;
}

table.betsTable
{
  margin: 12px auto;
}

div#pickFixtureDateBtn {
  margin-top: 1%;
  display: flex;
  width: 100%;
  /* background-color: rgb(0 0 255 / 73%); */
  border-radius: 0;
  margin: 0;
}

.betsTable th {
  border-width: 2px;
  border-style: groove;
  border-color: blue;
  background-color: rgb(0 0 255 / 23%);
  border-style: groove;
  border-color: rgba(0, 0, 255, 0.7);
  border-width: 2px;
  border-block-end-color: aliceblue;
  filter: drop-shadow(2px 4px 6px black);
  border-block-start-color: white;
  border-spacing: 0px;
  border-collapse: unset;
}

thead.betsTableBody td {
  border-style: groove;
  border-width: 1px;
  border-color: blue;
}

tbody.betsTableBody td {
  border-style: groove;
  border-width: 1px;
  border-color: blue;
}

div#pickFixtureDateBtn .calendar-date-picker {
  width: 100%;
  display: grid;
  border-radius: 0;
  /* background-color: rgb(0 0 255 / 73%); */
  margin: 0;
}

div#pickFixtureDateBtn {
  width: min(420px, 96vw);
  margin: 8px auto 12px;
}

#pickFixtureDateBtn input[type="date"] {
  width: 100%;
}

#pickFixtureDateBtn div.calendar-date-picker input.calendar-date-picker-input {
  text-align: center;
  background-color: rgb(0 0 255 / 73%);
  border-radius: 0;
  margin: 0;
  width: 100%;
}

#fixtureDesc {
  margin: 5%;
}

@media all and (min-width: 1024px) {
  div#bets_results {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
  }

  div.inputGoalScorersIn {
    display: grid;
  }

  table.betsTable {
    margin-left: 5px;
    margin-right: 5px;
    width: inherit;
  }

  .tooltip
  {
      font-size: xxx-large;
  }

  #ranking
  {
    font-size: xxx-large !important;
  }
}

@media all and (min-width:0px) and (max-width: 1024px) {
  #page > .tab:first-child button {
    min-height: 48px;
  }

  div#bets_results {
    display: grid;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0 0;
  }

  #events.specialBetMode #bets_results {
    display: grid;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0 0;
  }

  .specialBetEvent {
    min-height: auto;
    padding: 0 4px;
  }

  .specialBetCard {
    align-content: start;
    padding: 12px 8px;
  }

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

  .specialBetCategory {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .navigateFixtures {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000;
    width: 100vw;
    min-height: 56px;
    padding-bottom: 0;
    background: rgba(0, 0, 190, 0.96);
    border-top: 2px solid rgba(255,255,255,0.82);
    box-shadow: 0 -8px 18px rgba(0,0,0,0.45);
  }

  .navigateFixturesButton {
    align-self: stretch;
    min-height: 56px;
    flex: 1 1 0;
    width: auto !important;
    border-radius: 0;
  }

  table.betsTable {
    margin: 0;
    width: inherit;
    font-size: 12px;
    border-collapse: collapse;

  }

  div#bets_results::after {
    content: "";
    display: block;
    height: 56px;
  }

  table#rankingTable {
    table-layout: auto;
    width: 100%;
  }

  table#rankingTable th {
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
  }

  .rankingDateFilters {
    gap: 6px;
  }

  #seasonsDd {
    width: min(100%, calc(100vw - 12px));
    margin: 0 auto;
  }

  .seasonSelect {
    width: 100%;
    max-width: calc(100vw - 16px);
    min-width: 0;
    font-size: 16px;
  }

  div.inputGoalScorersIn {
    display: grid;
  }

  input.inputScoreBox {
    aspect-ratio: 1;
    width: 20%;
    padding: 5px;
}

  #h2hHeader {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .h2hSummary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0 10px;
  }

  .h2hSummaryItem {
    padding: 6px;
  }

  .h2hSummaryItem span {
    font-size: 10px;
  }

  .h2hSummaryItem strong {
    font-size: 13px;
  }

  #h2hTable,
  #h2hTableBody,
  #h2hTable td {
    display: block;
    width: 100%;
  }

  #h2hTable {
    font-size: 10px;
    table-layout: auto;
  }

  #h2hTable tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 2px 6px;
    margin-bottom: 8px;
    padding: 0 1px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 26, 150, 0.48);
  }

  #h2hTable td {
    box-sizing: border-box;
    border: none;
    padding: 3px 6px;
  }

  .h2hDateCell,
  .h2hScoreCell {
    width: 100% !important;
    min-height: 28px;
  }

  .h2hDateCell {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 6px !important;
    padding-bottom: 5px !important;
  }

  .h2hTeamCell {
    width: 100% !important;
  }

  .h2hScoreCell {
    grid-column: 2;
    grid-row: 2;
    text-align: center;
    font-size: 12px;
  }

  #h2hTable tr > .h2hTeamCell:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .h2hAwayCell {
    grid-column: 3;
    grid-row: 2;
  }

  .h2hTeam {
    gap: 5px;
    min-height: 28px;
    font-size: 12px;
    line-height: 1.15;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .h2hTeam span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .h2hAwayCell .h2hTeam {
    justify-content: flex-end;
    text-align: right;
  }

  .h2hWinnerTeam {
    box-shadow: none;
    background: rgba(0, 220, 255, 0.16);
  }

  .h2hHomeWinnerTeam {
    box-shadow: inset 4px 0 0 rgba(82, 238, 255, 0.82);
  }

  .h2hAwayWinnerTeam {
    box-shadow: inset -4px 0 0 rgba(82, 238, 255, 0.82);
  }

  .h2hTeamLogo {
    width: 16px;
    height: 16px;
  }

  .h2hScoreCell span,
  .h2hDateMeta {
    font-size: 9px;
    line-height: 1.25;
  }

  .h2hDateCell strong {
    font-size: 11px;
  }
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  /* Preserve aspet ratio */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liveDot {
  position: absolute;
  margin: 2%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 82, 82, 1);
  border-radius: 50%;
  animation: pulse-red 1.9s infinite;
  height: 15px;
  width: 15px;
}

div#liveText {
  position: absolute;
  margin-top: 1.8%;
  margin-left: 7%;
  transform: translate(-50%, -50%);
  /* background-color: rgba(255, 82, 82, 1); */
  border-radius: 50%;
  animation: pulse 1.9s infinite;
  height: 15px;
  width: 15px;
}

div#matchVideo {
  text-align: center;
  max-width: 100%;
  text-align: center;
  width: 90%;
  margin-left: 5%;
  filter: drop-shadow(2px 4px 6px black);
  margin-top: 18px;
}

iframe#matchVideoFrame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.9) translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
  }
  80% {
    transform: scale(1) translate(-50%, -50%);
    box-shadow: 0 0 0 11px rgba(255, 82, 82, 0);
  }
  100% {
    transform: scale(0.9) translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.9) translate(-50%, -50%);
  }
  80% {
    transform: scale(1) translate(-50%, -50%);
  }
  100% {
    transform: scale(0.9) translate(-50%, -50%);
  }
}

div#seasonsDd {
  width: 100%;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

button#seasonsDdBtn {
  position: relative;
  font-variant: diagonal-fractions;
  width: 100%;
}

tr.betsTableSum {
  background-color: rgba(0, 0, 255, 0.7);
}

#rankingChartPanel {
  position: relative;
  width: 100%;
  height: 360px;
  min-height: 360px;
  background-color: rgb(241 241 241 / 80%);
}

canvas#rankingChart {
  display: block;
  width: 100% !important;
  height: 360px !important;
}

.betValueCell.injured {
  background-image: url("injury.png");
  background-size: 10%;
  background-repeat: no-repeat;
  background-position: 96%;
  background-clip: content-box;
}

.betStatusCell {
  padding: 2px;
}

.hidden {
    display: none !important;
}

#statisticsTable td
{
  margin: 5%;
}

#statisticsTable .statisticsLabelRow td,
#statisticsTable .statisticsValueRow td {
  padding: 8px 12px;
}

.statisticsHomeValue {
  text-align: left;
}

.statisticsAwayValue {
  text-align: right;
}

.statisticsValueCell {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 2px 2px 4px #000;
}

.statisticsType {
  text-align: center !important;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.statisticsTeamImg {
  width: 26px;
  height: 26px;
  margin-left: 5px;
  margin-right: 5px;
  object-fit: contain;
  vertical-align: middle;
}

.statisticsTeamHeader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
  flex-wrap: nowrap;
}

.statisticsTeamName {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#statisticsTable thead td {
  width: 50%;
  padding: 8px 6px;
  font-size: clamp(18px, 4vw, 28px);
  line-height: 1.05;
  vertical-align: middle;
  min-width: 0;
  overflow: hidden;
}

@media all and (min-width:0px) and (max-width: 640px) {
  .squadCoachPanel {
    min-height: 68px;
    width: 90%;
    padding: 10px 14px;
  }

  .squadCoachListPhoto {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .squadCoachListLabel strong {
    font-size: 18px;
  }

  .squadCoachTeamBadge {
    grid-template-columns: 30px minmax(64px, 1fr);
    gap: 6px;
    font-size: 12px;
  }

  .squadCoachTeamBadge img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  #statisticsTable thead td {
    font-size: clamp(18px, 4.8vw, 22px);
    padding: 8px 4px;
  }

  #statisticsTable .statisticsLabelRow td,
  #statisticsTable .statisticsValueRow td {
    padding: 5px 8px;
  }

  .statisticsValueCell {
    font-size: 20px;
    line-height: 1.15;
  }

  .statisticsType {
    font-size: 14px !important;
    padding: 8px 4px !important;
  }

  .statisticsTeamImg {
    width: 22px;
    height: 22px;
  }

  .statisticsTeamHeader {
    gap: 4px;
  }
}

.eventIcon {
  aspect-ratio: 1;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.58));
}

@media all and (max-width: 520px) {
  div#eventsDiv {
    gap: 4px;
    padding: 0 4px;
  }

  #homeEvents tr.eventsRow,
  #awayEvents tr.eventsRow {
    margin-right: 0;
    margin-left: 0;
  }

  td.eventsCell {
    gap: 4px;
    min-height: 32px;
    padding: 4px 6px;
    font-size: 78%;
  }

  .eventIcon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}


/* Production fixes */
div#FixtureDiv {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

#fixtureStatus.liveStatus::before {
  content: "LIVE";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(255, 0, 0, 0.55);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

#lineUpHeader.officialLineup::after {
  content: " aktualne";
  color: #b8f7ff;
  font-size: 12px;
  text-transform: uppercase;
}

button#lineupsTabBtn.official::before {
  content: "aktualne";
  display: inline-block;
  margin-right: 6px;
  padding: 2px 5px;
  color: #b8f7ff;
  background: rgba(0, 220, 255, 0.16);
  border: 1px solid rgba(184, 247, 255, 0.64);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

table.betsTable {
  table-layout: fixed;
  justify-self: stretch;
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.34), rgba(0, 8, 90, 0.46)),
    rgba(0, 0, 110, 0.34);
  border: 1px solid rgba(184, 247, 255, 0.68);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(30, 80, 255, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 0 18px rgba(90, 150, 255, 0.18);
}

.betsTable .betNameCol {
  width: 21%;
}

.betsTable .betValueCol {
  width: 34%;
}

.betsTable .betPointsCol {
  width: 15%;
}

.betsTable .betStatusCol {
  width: 9%;
}

.betsTable th,
.betsTable td {
  border: 0;
  border-right: 1px solid rgba(82, 238, 255, 0.34);
  border-bottom: 1px solid rgba(82, 238, 255, 0.26);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  box-sizing: border-box;
  filter: none;
}

table.betsTable tbody.betsTableBody td {
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(82, 238, 255, 0.34);
  border-bottom: 1px solid rgba(82, 238, 255, 0.26);
}

.betsTable th:last-child,
.betsTable td:last-child,
table.betsTable tbody.betsTableBody td:last-child {
  border-right: 0;
}

.betsTable tbody tr:last-child td,
table.betsTable tbody.betsTableBody tr:last-child td {
  border-bottom: 0;
}

.betsTable .betNameCell,
.betsTable .betValueCell {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.betsTable .betNameCell {
  width: auto;
}

.betsTable .betValueCell {
  width: auto;
}

.betsTable .betPointsCell {
  white-space: nowrap;
  overflow: visible;
  text-align: center;
}

.betsTable .betStatusCell,
.betsTable td:last-child {
  min-width: 28px;
  padding: 2px 4px;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  font-size: 18px;
  color: #dffcff;
  background: transparent;
}

.betsTable .betWonStatus,
.betsTable .betLostStatus {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  font-family: var(--pokemonbets-display-font), Arial, sans-serif;
  font-variant-emoji: text;
}

.betsTable .betPendingStatus {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  min-height: 24px;
  font-size: 16px;
}

.betsTable .betWonStatus {
  color: #28ff7a;
  -webkit-text-fill-color: #28ff7a;
  text-shadow: 0 0 4px rgba(0,0,0,0.95), 0 0 7px rgba(0,255,120,0.85);
}

.betsTable .betStatusCell.betLostStatus,
.betsTable td.betLostStatus:last-child {
  color: #ff1f3d;
  -webkit-text-fill-color: #ff1f3d;
  font-size: 22px;
  text-shadow: 0 0 4px rgba(0,0,0,0.95), 0 0 8px rgba(255,0,35,0.95);
}

.betsTable .betGroupHeader td {
  padding: 7px 4px;
  background:
    linear-gradient(180deg, rgba(117, 170, 255, 0.28), rgba(0, 22, 150, 0.76)),
    radial-gradient(circle at 50% 0%, rgba(184, 247, 255, 0.28), transparent 64%);
  border-top: 1px solid rgba(184, 247, 255, 0.52);
  border-bottom: 1px solid rgba(82, 238, 255, 0.54);
  color: #b8f7ff;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  background:
    linear-gradient(180deg, rgba(117, 170, 255, 0.28), rgba(0, 22, 150, 0.76)),
    radial-gradient(circle at 50% 0%, rgba(184, 247, 255, 0.28), transparent 64%) !important;
}

.betsTable .betNameCell,
.betsTable .betValueCell {
  text-align: left;
}

.goalScorerTeamName {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
}

.goalScorerTeamLogo {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.75));
}

.goalScorerTeamName span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.betValuePlayer {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.betPlayerStatusIcons {
  margin-top: 0;
}

.betsTable .missingBetRow td {
  padding: 12px 8px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 91, 91, 0.24);
}

.betsTable thead th {
  background: rgba(0, 15, 175, 0.46);
  color: #fff;
}

.betsTable .betsUserHeader th {
  padding: 12px 8px;
  background:
    linear-gradient(180deg, rgba(58, 110, 255, 0.88), rgba(0, 16, 148, 0.84)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.34), transparent 58%);
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(205,235,255,0.72);
  border-left: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0,0,0,0.92);
}

.betsTable .betsColumnHeader th {
  padding: 6px 4px;
  background: rgba(0, 12, 110, 0.68);
  border-top: 0;
  border-bottom: 1px solid rgba(82, 238, 255, 0.48);
  color: #fff;
  font-size: 13px;
}

.betsTable .wonBet td {
  background:
    linear-gradient(90deg, rgba(0, 112, 60, 0.74), rgba(0, 150, 104, 0.58)) !important;
}

.betsTable .lostBet td {
  background:
    linear-gradient(90deg, rgba(126, 0, 45, 0.78), rgba(155, 0, 95, 0.58)) !important;
}

.betsTable .inProgressBet td {
  background-color: rgba(42, 42, 118, 0.44);
}

.betsTable .sumBet td {
  position: relative;
  padding: 8px 7px;
  background:
    linear-gradient(180deg, rgba(40, 92, 255, 0.95), rgba(0, 12, 190, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.26), transparent 62%);
  border-top: 0 !important;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  border-bottom: 0 !important;
  border-right: 0 !important;
}

.betsTable .sumBet td:last-child {
  border-right: 0;
  font-size: 13px;
}

.betsTable .sumBet .betSummaryLabel {
  text-align: left;
  padding-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.betsTable .sumBet .betSummaryValue {
  font-size: clamp(9px, 2.55vw, 12px);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.betsTable .sumBet .betSummaryPercent {
  text-align: right;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media all and (max-width: 520px) {
  .betsTable .sumBet .betSummaryLabel {
    padding-left: 5px;
    font-size: 11px;
  }

  .betsTable .sumBet .betSummaryValue {
    padding: 8px 2px;
    font-size: clamp(8px, 2.35vw, 10px);
  }

  .betsTable .sumBet .betSummaryPercent {
    padding-right: 5px;
    font-size: 11px;
  }
}

.goalScorerBetName {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 42px 42px;
  padding-left: 0;
}

.squatTableChoosePlayer {
  flex: 0 0 30px;
  border: 1px solid rgba(255,255,255,0.65);
  cursor: pointer;
}

#rankingChartPanel {
  background-color: rgba(0, 13, 150, 0.58);
  border-top: 1px solid rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.45);
}

input#fixtureCalendar {
  accent-color: #2738ff;
}


.settlementPeriodSelect,
.seasonSelect,
#rankingDataPickerFrom,
#rankingDataPickerTo,
#fixtureCalendar {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,0.78);
  background: rgba(0, 15, 190, 0.78);
  color: #fff;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.35), 0 0 8px rgba(69, 112, 255, 0.55);
  font-weight: 700;
  text-align: center;
}

.settlementPeriodSelect {
  width: 100%;
}

.settlementPeriodNavButton {
  min-height: 34px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 6px;
  background: rgba(0, 15, 190, 0.78);
  color: #fff;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.35), 0 0 8px rgba(69, 112, 255, 0.55);
  font-size: 18px;
  font-weight: 700;
}

#pickFixtureDateBtn {
  position: relative;
  width: 100%;
  margin: 0 0 6px;
}

#fixtureCalendar {
  cursor: pointer;
  width: 100%;
}

#pickFixtureDateBtn.contents {
  display: block;
  flex: 1 1 100%;
  width: 100% !important;
  max-width: none;
  margin: 0 0 6px !important;
}

#pickFixtureDateBtn .calendar-date-picker {
  width: 100% !important;
  display: block !important;
}

#pickFixtureDateBtn div.calendar-date-picker input.calendar-date-picker-input,
#pickFixtureDateBtn #fixtureCalendar {
  width: 100% !important;
}

.fixtureDatePicker {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 260px;
  max-width: calc(100vw - 16px);
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(0, 10, 160, 0.96);
  box-shadow: 0 10px 28px rgba(0,0,0,0.55), inset 0 0 14px rgba(65, 93, 255, 0.45);
}

.fixtureDatePicker[hidden] {
  display: none;
}

.fixtureDatePickerHeader,
.fixtureDatePickerWeekdays,
.fixtureDatePickerGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.fixtureDatePickerHeader {
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin-bottom: 6px;
}

.fixtureDatePickerHeader strong {
  text-transform: capitalize;
  font-size: 13px;
  line-height: 1.2;
}

.fixtureDatePickerWeekdays {
  margin-bottom: 4px;
  color: #dfe6ff;
  font-size: 11px;
}

.fixtureDatePickerWeekdays span {
  text-align: center;
}

.fixtureDatePickerNav,
.fixtureDateDay {
  min-width: 0;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(20, 35, 220, 0.72);
  color: #fff;
  font-weight: 700;
}

.fixtureDatePickerNav {
  cursor: pointer;
}

.fixtureDatePickerNav:disabled,
.fixtureDateDay:disabled {
  cursor: default;
  opacity: 0.35;
  background: rgba(4, 10, 80, 0.65);
}

.fixtureDateDay.empty {
  border-color: transparent;
  background: transparent;
}

.fixtureDateDay.hasFixture {
  cursor: pointer;
}

.fixtureDateDay.hasFixture:hover,
.fixtureDateDay.active {
  background: rgba(255, 218, 72, 0.95);
  color: #00116f;
}

.shareCardCapture {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  pointer-events: none;
  display: grid;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(155deg, rgba(6, 18, 74, 0.38) 0%, rgba(7, 29, 98, 0.28) 48%, rgba(16, 22, 90, 0.42) 100%),
    url("img/background.jpeg");
  background-size: 100% 100%, 100% auto;
  background-position: center top, center top;
  background-repeat: no-repeat, repeat-y;
  color: #fff;
  border: 1px solid rgba(205, 235, 255, 0.62);
  border-radius: 18px;
  box-shadow: none;
  font-family: inherit;
}

.shareCardCapture,
.shareCardCapture * {
  text-shadow: none !important;
  filter: none !important;
}

.shareCardHeader {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  text-align: center;
  background: rgba(13, 24, 66, 0.46);
  border: 1px solid rgba(205, 235, 255, 0.46);
  border-radius: 22px;
  box-shadow: none;
}

.shareCardScoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(172px, 210px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.shareCardTeam {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  min-width: 0;
}

.shareCardTeam strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shareCardTeam img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.shareCardScoreCenter {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.shareCardScore {
  display: grid;
  gap: 5px;
  width: 100%;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  color: #fff;
}

.shareCardScore-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 7px 12px;
  border: 1px solid rgba(184, 247, 255, 0.34);
  border-radius: 11px;
  background: rgba(0, 10, 100, 0.34);
  font-size: 42px;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.shareCardScore-table {
  gap: 12px;
  padding-top: 2px;
}

.shareCardScoreLine {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 0;
  margin-top: 8px;
  padding: 12px 12px 7px;
  border: 1px solid rgba(184, 247, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 10, 100, 0.34);
}

.shareCardScoreLabel {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 8px;
  color: rgba(232, 237, 255, 0.82);
  background: #07164c;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.shareCardScoreValue {
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.shareCardState,
.shareCardMeta,
.shareCardKickoff,
.shareCardScorers,
.shareCardRanking {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  color: #e8edff;
}

.shareCardState {
  color: #b8f7ff;
}

.shareCardKickoff,
.shareCardMeta {
  color: rgba(232, 237, 255, 0.82);
}

.shareCardRanking,
.shareCardScorers {
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  text-align: left;
  background: rgba(13, 24, 66, 0.42);
  border: 1px solid rgba(190, 228, 255, 0.38);
  border-radius: 18px;
  box-shadow: none;
}

.shareCardScorers {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  justify-items: stretch;
  column-gap: 18px;
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 20px;
}

.shareCardScorerColumn {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.shareCardScorerColumn-home {
  justify-items: start;
  text-align: left;
}

.shareCardScorerColumn-away {
  justify-items: end;
  text-align: right;
}

.shareCardScorerItem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  color: rgba(232, 237, 255, 0.84);
  font-size: 15px;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
}

.shareCardEventIcon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  object-fit: contain;
}

.shareMarqueeText {
  display: inline-block;
  min-width: max-content;
  will-change: transform;
}

.shareMarquee.isOverflowing .shareMarqueeText {
  animation: shareMarqueeBoomerang 4.8s ease-in-out 250ms infinite alternate;
}

@keyframes shareMarqueeBoomerang {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(var(--share-marquee-distance, -32px));
  }
}

.shareCardScorerEmpty {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
}

.shareCardSectionTitle {
  color: #b8f7ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shareCardRankingRow {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: 28px minmax(150px, 1fr) 92px 78px 14px;
  min-height: 24px;
  font-size: 14px;
  line-height: 1.18;
}

.shareCardRankingRow strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shareCardRankingPlace,
.shareCardRankingPoints {
  color: #ffffff;
}

.shareCardRankingDelta {
  color: #d8e2ff;
  font-size: 14px;
  font-weight: 900;
}

.shareCardRankingDelta.isPositive,
.shareCardRankingMove.isUp {
  color: #4fe37b;
}

.shareCardRankingDelta.isNeutral,
.shareCardRankingMove.isSame {
  color: rgba(255, 255, 255, 0.62);
}

.shareCardRankingMove.isDown {
  color: #ff7d7d;
}

.shareCardEmpty {
  padding: 12px 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  background: rgba(13, 24, 66, 0.42);
  border: 1px solid rgba(190, 228, 255, 0.38);
  border-radius: 18px;
}

.shareBetCard {
  display: grid;
  overflow: hidden;
  background: rgba(13, 24, 66, 0.34);
  border: 1px solid rgba(190, 228, 255, 0.48);
  border-radius: 18px;
}

.shareBetCard:last-child {
  margin-bottom: 0;
}

.shareBetUserHeader {
  padding: 14px 12px;
  color: #fff;
  background: rgba(36, 64, 218, 0.62);
  border-bottom: 1px solid rgba(205, 235, 255, 0.72);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.shareBetColumnHeader,
.shareBetRow,
.shareBetSummaryRow {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 86px 32px;
  align-items: stretch;
}

.shareBetColumnHeader {
  background: rgba(13, 25, 78, 0.48);
  border-bottom: 1px solid rgba(82, 238, 255, 0.66);
  color: rgba(232, 237, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.shareBetColumnHeader span {
  padding: 9px 8px;
}

.shareBetColumnHeader span:nth-child(3) {
  grid-column: span 2;
}

.shareBetGroupHeader {
  padding: 8px 10px;
  color: #b8f7ff;
  background: rgba(34, 52, 104, 0.46);
  border-top: 1px solid rgba(190, 228, 255, 0.28);
  border-bottom: 1px solid rgba(82, 238, 255, 0.66);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.shareBetRow {
  min-height: 30px;
  color: #fff;
  background: rgba(30, 39, 91, 0.42);
  border-bottom: 1px solid rgba(82, 238, 255, 0.24);
}

.shareBetRow.isWon {
  background: rgba(0, 112, 92, 0.58);
}

.shareBetRow.isLost {
  background: rgba(114, 0, 82, 0.58);
}

.shareBetRow.isPending {
  background: rgba(52, 56, 120, 0.46);
}

.shareBetCell {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 5px 7px;
  border-right: 1px solid rgba(82, 127, 255, 0.5);
  font-size: 15px;
  line-height: 1.15;
}

.shareBetCell img,
.shareBetCell .playerStatusIcon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.shareBetCell .playerStatusIcons,
.shareBetCell .betPlayerStatusIcons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.shareBetCell:last-child {
  border-right: 0;
}

.shareBetNameCell,
.shareBetValueCell {
  justify-content: flex-start;
  overflow-wrap: anywhere;
  white-space: normal;
}

.shareBetPointsCell,
.shareBetStatusCell {
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.shareBetStatusCell {
  font-size: 18px;
  font-weight: 900;
}

.shareBetSummaryRow {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 118px;
  color: #fff;
  background: rgba(28, 52, 218, 0.62);
  border-top: 1px solid rgba(205, 235, 255, 0.72);
  font-weight: 900;
}

.shareBetSummaryRow > div {
  padding: 8px;
  border-right: 1px solid rgba(82, 127, 255, 0.55);
}

.shareBetSummaryRow > div:last-child {
  border-right: 0;
  text-align: center;
}

.shareBetSummaryPoints {
  text-align: center;
}

.shareBetMissingRow {
  padding: 12px 10px;
  color: #fff;
  background: rgba(114, 0, 82, 0.54);
  font-weight: 900;
  text-align: center;
}

.shareRenderingOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 30, 0.48);
}

.shareRenderingBox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #ffffff;
  background: rgba(0, 19, 117, 0.92);
  border: 1px solid rgba(205, 235, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  font-weight: 800;
}

.shareRenderingSpinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: shareRenderingSpin 800ms linear infinite;
}

@keyframes shareRenderingSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Gentle rounded refresh for shared chrome */
#page > .tab:first-child,
table#rankingTable,
#rankingControlsPanel,
.navigateFixtures {
  border: 1px solid rgba(184, 247, 255, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 20, 145, 0.38), rgba(0, 5, 66, 0.56)),
    rgba(0, 0, 200, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 18px rgba(0,0,0,0.28);
  overflow: hidden;
}

#page > .tab:first-child,
table#rankingTable,
#rankingControlsPanel,
.navigateFixtures {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  box-sizing: border-box;
}

.tab button,
button.navigateFixturesButton,
.settlementPeriodNavButton,
.settlementPeriodSelect,
.seasonSelect,
#fixtureCalendar,
.pokemonbetsAuthActions button,
.pokemonbetsBettingReminder {
  border-radius: 9px;
}

.tab button,
button.navigateFixturesButton,
.settlementPeriodNavButton,
.pokemonbetsAuthActions button {
  border: 1px solid rgba(184, 247, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(15, 75, 230, 0.76), rgba(0, 15, 120, 0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.tab button.active,
.tab button:hover,
button.navigateFixturesButton:hover,
button.navigateFixturesButton:focus-visible {
  background:
    linear-gradient(180deg, rgba(42, 111, 255, 0.86), rgba(0, 20, 150, 0.94));
}

.settlementPeriodSelect,
.seasonSelect,
#fixtureCalendar {
  border: 1px solid rgba(184, 247, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(15, 75, 230, 0.88), rgba(0, 15, 120, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 6px 14px rgba(0,0,0,0.28);
}

#rankingControlsPanel {
  display: grid;
  gap: 8px;
  padding: 8px;
  box-sizing: border-box;
}

.rankingDateFilters {
  gap: 8px;
}

.rankingDateFilters .date-picker {
  display: block;
  min-width: 0;
}

.settlementPeriodControls {
  gap: 8px;
}

.settlementPeriodSelect,
.seasonSelect,
#rankingDataPickerFrom,
#rankingDataPickerTo,
#fixtureCalendar {
  min-height: 42px;
  padding: 8px 34px 8px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(184, 247, 255, 0.62);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(16, 82, 238, 0.92), rgba(0, 17, 136, 0.98));
  color: #ffffff;
  font-family: var(--pokemonbets-display-font);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -12px 22px rgba(0,0,0,0.14),
    0 5px 12px rgba(0,0,0,0.24);
  color-scheme: dark;
}

#rankingDataPickerFrom,
#rankingDataPickerTo,
#fixtureCalendar {
  appearance: none;
  -webkit-appearance: none;
}

#rankingDataPickerFrom::-webkit-calendar-picker-indicator,
#rankingDataPickerTo::-webkit-calendar-picker-indicator,
#fixtureCalendar::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  margin-right: -22px;
  opacity: 0.95;
  filter: invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.8));
  cursor: pointer;
}

#rankingDataPickerFrom:focus,
#rankingDataPickerTo:focus,
#fixtureCalendar:focus,
.settlementPeriodSelect:focus,
.seasonSelect:focus {
  outline: 2px solid rgba(184, 247, 255, 0.82);
  outline-offset: 2px;
}

#pickFixtureDateBtn,
#pickFixtureDateBtn.contents {
  width: 100% !important;
  max-width: none;
  margin: 0 0 6px !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  box-sizing: border-box;
}

#pickFixtureDateBtn .calendar-date-picker {
  width: 100% !important;
  display: block !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#pickFixtureDateBtn div.calendar-date-picker input.calendar-date-picker-input,
#pickFixtureDateBtn #fixtureCalendar {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.settlementPeriodNavButton {
  min-height: 42px;
}

#lineupTab,
#fixtureTab,
#h2hTab > .fixture,
#statisticsTab > .fixture,
#standingsTab > .fixture,
#venueTab > .fixture {
  margin-top: 8px;
  padding: clamp(10px, 1.5vw, 18px);
  box-sizing: border-box;
  border: 1px solid rgba(184, 247, 255, 0.42);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(0, 20, 145, 0.36), rgba(0, 5, 66, 0.56)),
    rgba(0, 0, 200, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 8px 18px rgba(0,0,0,0.28);
}

#lineupTab .squadTable,
#h2hTable,
#statisticsTable,
#standingsTable,
#venueTable,
.h2hSummaryItem {
  border-radius: 12px;
  overflow: hidden;
}

.h2hSummaryItem {
  border-color: rgba(184, 247, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.28), rgba(0, 8, 90, 0.42)),
    rgba(0, 0, 110, 0.2);
}

#lineUpHeader,
#h2hHeader {
  margin-top: 0;
}

#rankingChartPanel {
  width: 100%;
  margin: 6px 0;
  box-sizing: border-box;
  border: 1px solid rgba(184, 247, 255, 0.42);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(0, 20, 145, 0.36), rgba(0, 5, 66, 0.56)),
    rgba(0, 0, 200, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 8px 18px rgba(0,0,0,0.28);
  overflow: hidden;
}

#h2hTable {
  border-collapse: separate;
  border-spacing: 0 7px;
}

#h2hTable tr {
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.22), rgba(0, 8, 90, 0.42)),
    rgba(0, 0, 110, 0.22);
}

#h2hTable td {
  border-top: 1px solid rgba(184, 247, 255, 0.3);
  border-bottom: 1px solid rgba(184, 247, 255, 0.3);
  border-left: 0;
  border-right: 0;
}

#h2hTable tr > td:first-child {
  border-left: 1px solid rgba(184, 247, 255, 0.3);
  border-radius: 12px 0 0 12px;
}

#h2hTable tr > td:last-child {
  border-right: 1px solid rgba(184, 247, 255, 0.3);
  border-radius: 0 12px 12px 0;
}

#lineupTab {
  justify-items: stretch;
}

#lineupTab > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#lineupTab .squadCoachPanel,
#lineupTab #squadField,
#lineupTab .squadTable,
#lineupTab #squadTableBtns {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#lineupTab .squadCoachPanel,
#lineupTab .squadCoachTeamBadge,
#lineupTab .squadTableBtn {
  border: 1px solid rgba(184, 247, 255, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.28), rgba(0, 8, 90, 0.42)),
    rgba(0, 0, 110, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 7px 15px rgba(0,0,0,0.24);
}

#lineupTab .squadCoachPanel {
  border-left-width: 1px;
  grid-template-columns: auto minmax(0, 1fr);
}

#lineupTab .squadFieldHalf,
#lineupTab .squadFieldRow {
  width: 100%;
}

#lineupTab .squadTable {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

#inputGoalScorers {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

div.inputGoalScorersIn {
  width: 100%;
  min-width: 0;
  margin: 0;
}

#goalScorerButton1,
#goalScorerButton2,
.dropbtn {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 52px;
  box-sizing: border-box;
  border: 1px solid rgba(184, 247, 255, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(15, 75, 230, 0.86), rgba(0, 15, 120, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 7px 15px rgba(0,0,0,0.28);
  overflow: hidden;
}

#goalScorerButton1,
#goalScorerButton2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-items: start;
  padding: 6px 8px;
  text-align: left;
}

#goalScorerButton1 span,
#goalScorerButton2 span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goalScorerButtonImg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
}

#players1.dropdown-content,
#players2.dropdown-content,
.dropdown-content {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(184, 247, 255, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 22, 145, 0.98), rgba(0, 5, 78, 0.98));
  box-shadow: 0 12px 24px rgba(0,0,0,0.44);
  overflow: hidden auto;
}

.goalScorerOption {
  border-top: 1px solid rgba(82, 238, 255, 0.18);
}

.specialBetOption .specialBetOptionImg,
.specialBetDropButton .specialBetButtonImg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.specialBetOption .specialBetVisual,
.specialBetDropButton .specialBetVisual {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.specialBetDropdownContent {
  min-height: 0;
  max-height: min(
    300px,
    56vh,
    calc((var(--special-bet-options-count, 6) * 40px) + 10px)
  );
  overflow: hidden auto;
}

#submitBetButton.button {
  justify-self: center;
  min-height: 44px;
  min-width: min(220px, 100%);
  margin: 10px auto 0;
  padding: 10px 18px;
  border: 1px solid rgba(184, 247, 255, 0.5);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(42, 111, 255, 0.9), rgba(0, 20, 150, 0.98));
  color: #ffffff;
  font-family: var(--pokemonbets-display-font);
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 18px rgba(0,0,0,0.34);
}

#submitBetButton.button:hover,
#submitBetButton.button:focus-visible {
  filter: brightness(1.12);
  outline: 2px solid rgba(184, 247, 255, 0.74);
  outline-offset: 2px;
}

@media all and (max-width: 520px) {
  #inputGoalScorers {
    grid-template-columns: minmax(0, 1fr);
  }

  #lineupTab .squadCoachPanel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #lineupTab .squadCoachTeamBadge {
    grid-column: 1 / -1;
    justify-content: start;
    margin-left: 0;
    text-align: left;
  }
}

thead#rankingTableHeader td,
tbody#rankingTableBody td {
  border-color: rgba(82, 238, 255, 0.32);
}

@media all and (max-width: 520px) {
  #page > .tab:first-child,
  table#rankingTable,
  #rankingControlsPanel,
  .navigateFixtures {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    border-radius: 10px;
  }

  #pickFixtureDateBtn,
  #pickFixtureDateBtn.contents {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .settlementPeriodSelect,
  .seasonSelect,
  #rankingDataPickerFrom,
  #rankingDataPickerTo,
  #fixtureCalendar {
    min-height: 40px;
    font-size: 14px;
  }

  #lineupTab,
  #fixtureTab,
  #h2hTab > .fixture,
  #statisticsTab > .fixture,
  #standingsTab > .fixture,
  #venueTab > .fixture {
    margin-top: 6px;
    padding: 8px;
    border-radius: 12px;
  }
}

/* Lineup layout recovery: keep original proportions, only light styling */
#lineupTab {
  justify-content: center;
  align-content: center;
  text-align: -webkit-center;
}

#lineupTab > * {
  width: auto;
  max-width: none;
}

#lineupTab.tabcontent {
  display: none;
}

#lineupTab.tabcontent.activeTabContent {
  display: block;
}

#lineupTab #squadField {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 2%;
}

#lineupTab .squadCoachPanel {
  width: 100%;
  max-width: 900px;
  margin: 6px auto 10px;
  border-radius: 12px;
}

#lineupTab #squadTableBtns {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
}

#lineupTab .squadTable {
  display: inline-table;
  width: 100%;
  max-width: 900px;
  margin: 1% auto 0;
  border-collapse: separate;
  border-spacing: 0;
}

#lineupTab .squadTableBtn {
  border-radius: 10px 10px 0 0;
}

#lineupTab .squadCoachTeamBadge {
  border-radius: 10px;
}

@media all and (max-width: 520px) {
  #lineupTab #squadField,
  #lineupTab .squadCoachPanel,
  #lineupTab #squadTableBtns,
  #lineupTab .squadTable {
    width: 100%;
    max-width: 900px;
  }
}

/* H2H polish: keep one rounded language, avoid rectangular highlights inside rows */
#h2hTab .fixture {
  overflow: hidden;
}

#h2hHeader {
  text-align: center;
}

#h2hTable tr {
  background: transparent;
}

#h2hTable td {
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.22), rgba(0, 8, 90, 0.42)),
    rgba(0, 0, 110, 0.22);
}

#h2hTable .h2hWinnerTeam {
  box-shadow: inset 0 0 18px rgba(82, 238, 255, 0.08);
}

/* H2H match rows are single rounded cards; cells should not look like boxes. */
#h2hTable {
  border-collapse: separate;
  border-spacing: 0 8px;
  overflow: visible;
}

#h2hTable tr {
  overflow: hidden;
  border: 1px solid rgba(184, 247, 255, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.2), rgba(0, 8, 90, 0.44)),
    rgba(0, 0, 110, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 6px 13px rgba(0,0,0,0.22);
}

#h2hTable td,
#h2hTable tr > td:first-child,
#h2hTable tr > td:last-child {
  border: 0;
  border-radius: 0;
  background: transparent;
}

#h2hTable .h2hDateCell {
  border-bottom: 1px solid rgba(184, 247, 255, 0.2);
}

#h2hTable .h2hWinnerTeam,
#h2hTable .h2hHomeWinnerTeam,
#h2hTable .h2hAwayWinnerTeam {
  background: transparent;
  box-shadow: inset 0 -2px 0 rgba(126, 245, 255, 0.64);
}

#h2hTable .h2hWinnerTeam .h2hTeam span {
  color: #b8f7ff;
  font-weight: 900;
  text-shadow:
    0 0 8px rgba(82, 238, 255, 0.58),
    0 2px 4px rgba(0,0,0,0.9);
}

#h2hTable .h2hWinnerTeam .h2hTeamLogo {
  filter:
    drop-shadow(0 0 5px rgba(82, 238, 255, 0.7))
    drop-shadow(0 2px 3px rgba(0,0,0,0.55));
}

/* Lineup team switcher and player list polish */
#lineupTab #squadTableBtns {
  gap: 8px;
  margin: 8px auto 8px;
}

#lineupTab .squadTableBtn {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(184, 247, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(15, 75, 230, 0.62), rgba(0, 15, 120, 0.82));
  color: #ffffff;
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 6px 13px rgba(0,0,0,0.2);
  cursor: pointer;
}

#lineupTab .squadTableBtn:disabled {
  border-color: rgba(126, 245, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(42, 111, 255, 0.96), rgba(0, 27, 165, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    inset 0 -14px 24px rgba(0,0,0,0.16),
    0 0 14px rgba(82, 238, 255, 0.34);
  cursor: default;
}

#lineupTab .squadTableBtn:disabled .squadTableBtnLabel {
  color: #d9fbff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9);
}

#lineupTab .squadTable {
  overflow: hidden;
  border: 1px solid rgba(184, 247, 255, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 20, 145, 0.36), rgba(0, 5, 66, 0.56)),
    rgba(0, 0, 110, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 18px rgba(0,0,0,0.24);
}

#lineupTab .squadTable tbody {
  background: transparent;
  display: block;
  height: auto;
}

#lineupTab .squadTable tr {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  border: 0;
  border-top: 1px solid rgba(184, 247, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(22, 68, 220, 0.18), rgba(0, 8, 90, 0.28));
}

#lineupTab .squadTable tr:first-child {
  border-top: 0;
}

#lineupTab .squadTableHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 12px;
  border-top: 1px solid rgba(184, 247, 255, 0.22);
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(42, 111, 255, 0.74), rgba(0, 24, 150, 0.88));
  color: #ffffff;
  font-size: clamp(22px, 5.5vw, 27px);
  text-shadow: 0 2px 5px rgba(0,0,0,0.92);
}

#lineupTab .squadTable td {
  width: 100%;
  box-sizing: border-box;
  color: #ffffff;
  min-height: 38px;
  padding-top: 4px;
  padding-bottom: 4px;
}

#lineupTab .squadCellPhoto {
  box-shadow: 0 3px 10px rgba(0,0,0,0.42);
}

#lineupTab .squadCellLabel {
  min-height: 34px;
}

/* Fixture tabs as one segmented control */
#events > .tab {
  gap: 0;
}

#events > .tab .tablinks {
  margin-bottom: 0;
  border-radius: 0;
  border-right-width: 0;
}

#events > .tab .tablinks:first-child {
  border-radius: 10px 0 0 10px;
}

#events > .tab .tablinks:last-child {
  border-right-width: 1px;
  border-radius: 0 10px 10px 0;
}

#events > .tab .tablinks:only-child {
  border-radius: 10px;
  border-right-width: 1px;
}
