@charset "UTF-8";
:root {
  --space-24: 24px;
  --space-16: 16px;
  --space-12: 12px;
  --space-8: 8px;
  --space-6: 6px;
  --space-4: 4px;
  --box-space: 12px;
  --radius: 6px;
  --font-xxxl: 24px;
  --font-xxl: 18px;
  --font-xl: 15px;
  --font-l: 13px;
  --font-m: 12px;
  --font-s: 11px;
  --font-xs: 9px;
}

@media (min-width: 740px) {
  :root {
    --box-space: 24px;
  }
}
:root {
  --green-base: #4caf50;
  --green-tap: #449e48;
  --red-base: #f44336;
  --yellow-base: #FFEB3B;
  --blue-base: #2196f3;
  --orange-base: #ff9800;
  --purple-base: #9c27b0;
  --color-twitter: #000000;
  --color-facebook: #3b5998;
  --white-10: hsl(0 100% 100% / 10%);
  --white-25: hsl(0 100% 100% / 25%);
  --white-50: hsl(0 100% 100% / 50%);
  --white-75: hsl(0 100% 100% / 75%);
  --black-10: hsl(0 0% 0% / 10%);
  --black-25: hsl(0 0% 0% / 25%);
  --black-50: hsl(0 0% 0% / 50%);
  --black-75: hsl(0 0% 0% / 75%);
  --header-bg: #1b2023;
  --header-text: #5d6367;
  --header-secondary: #8a9297;
  --header-tap: #262b2e;
  --header-active: #dfe3e7;
  --header-darker: #0f1417;
}

:root,
.theme-light {
  color-scheme: light;
  --fg-primary: #1b2023;
  --fg-secondary: #78909c;
  --fg-tertiary: #b0bec5;
  --bg-primary: #e9e9ec;
  --bg-secondary: #c0cbd1;
  --bg-secondary-tap: #adb7bc;
  --bg-tertiary: #cfd8dc;
  --bg-box: white;
  --bg-box-tap: #fafafa;
  --input-bg: var(--bg-box);
  --input-border: var(--bg-tertiary);
  --input-text: var(--fg-primary);
  --pos-text: var(--bg-primary);
  --field-bg: var(--green-base);
  --score-bg: var(--fg-primary);
  --score-fg: var(--bg-primary);
  --points-list-text: var(--black-50);
  --tooltip-bg: var(--fg-primary);
  --green-shadow-primary: #79c37c;
  --green-shadow-secondary: #a6d7a8;
  --green-shadow-tertiary: #d2ebd3;
  --red-shadow-primary: #f77268;
  --red-shadow-secondary: #faa19b;
  --red-shadow-tertiary: #fcd0cd;
  --red-light-primary: #b73229;
  --yellow-shadow-primary: #fff06c;
  --yellow-shadow-secondary: #fff59d;
  --yellow-shadow-tertiary: #ffface;
  --blue-shadow-primary: #59b0f6;
  --blue-shadow-secondary: #90cbf9;
  --blue-shadow-tertiary: #c8e5fc;
  --blue-light-primary: #1971b6;
  --orange-shadow-primary: #ffb240;
  --orange-shadow-secondary: #ffcc80;
  --orange-shadow-tertiary: #ffe5bf;
  --purple-shadow-primary: #b55dc4;
  --purple-shadow-secondary: #ce93d8;
  --purple-shadow-tertiary: #e6c9eb;
}

.theme-dark {
  color-scheme: dark;
  --fg-primary: #dfe3e7;
  --fg-secondary: #8a9297;
  --fg-tertiary: #5d6367;
  --bg-primary: #0f1417;
  --bg-secondary: #1b2023;
  --bg-secondary-tap: #262b2e;
  --bg-tertiary: #303538;
  --bg-box: var(--bg-secondary);
  --bg-box-tap: var(--bg-secondary-tap);
  --input-bg: var(--bg-secondary);
  --input-border: var(--bg-tertiary);
  --input-text: var(--fg-primary);
  --pos-text: var(--bg-primary);
  --field-bg: var(--green-shadow-primary);
  --score-bg: var(--fg-primary);
  --score-fg: var(--bg-primary);
  --points-list-text: var(--black-50);
  --tooltip-bg: var(--bg-primary);
  --green-shadow-primary: #265828;
  --green-shadow-secondary: #173518;
  --green-shadow-tertiary: #0F2310;
  --red-shadow-primary: #7A221B;
  --red-shadow-secondary: #491410;
  --red-shadow-tertiary: #310D0B;
  --red-light-primary: #f6695e;
  --yellow-shadow-primary: #e6d435;
  --yellow-shadow-secondary: #4D4712;
  --yellow-shadow-tertiary: #332F0C;
  --blue-shadow-primary: #114b7a;
  --blue-shadow-secondary: #0a2d49;
  --blue-shadow-tertiary: #071e31;
  --blue-light-primary: #4dabf5;
  --orange-shadow-primary: #804c00;
  --orange-shadow-secondary: #4d2e00;
  --orange-shadow-tertiary: #331e00;
  --purple-shadow-primary: #4e1458;
  --purple-shadow-secondary: #2f0c35;
  --purple-shadow-tertiary: #1f0823;
}

/***********
 * General *
 ***********/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
  font-family: Inter, Helvetica, Arial, Sans-Serif;
}

a {
  text-decoration: none;
  color: inherit;
}
a img {
  border: 0;
}

h1 {
  font-size: var(--font-xxl);
}

h2 {
  font-size: var(--font-xl);
}

h3 {
  font-size: var(--font-l);
}

img {
  display: block;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-size: var(--font-m);
  color: var(--fg-primary);
  background-color: var(--bg-primary);
}

input, textarea {
  appearance: none;
  outline: 0;
}
input::placeholder, textarea::placeholder {
  color: var(--fg-secondary);
}

select {
  outline: 0;
}

.btn {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: 0;
  display: block;
  cursor: pointer;
  border: 0;
  background-color: transparent;
}

.btn-primary {
  background-color: var(--green-base);
  color: var(--bg-box);
}
.btn-primary.tap {
  background-color: var(--green-tap);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--fg-secondary);
}
.btn-secondary.tap {
  opacity: 0.9;
}

.fg-tertiary {
  color: var(--fg-tertiary);
}

.btn-show-more {
  width: 100%;
  padding: var(--space-12);
  font-weight: bold;
  border-radius: var(--radius);
}

.text-light {
  color: var(--fg-secondary);
}

.loading {
  position: relative;
  color: transparent !important;
}
.loading:before {
  content: "";
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 8px;
  height: 4px;
  animation: bounce-shadow 0.7s infinite;
}
.loading:after {
  content: "";
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  animation: bounce 0.7s infinite;
  background-color: white;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(0, -100%);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1);
  }
  40% {
    transform: translate(0, 100%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1);
  }
}
@keyframes bounce-shadow {
  0%, 100% {
    transform: translate(0, 350%);
    animation-timing-function: cubic-bezier(0.42, 0, 1, 1);
    filter: blur(1px);
    background-color: var(--black-10);
  }
  40% {
    transform: translate(0, 200%);
    animation-timing-function: cubic-bezier(0, 0, 0, 1);
    filter: blur(0);
    background-color: var(--black-25);
  }
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.pt-0 {
  color: var(--fg-secondary);
}

.pt-1 {
  color: var(--red-base);
}

.pt-2 {
  color: var(--orange-base);
}

.pt-3 {
  color: var(--green-base);
}

.pt-4 {
  color: var(--blue-base);
}

.pt-5 {
  color: var(--purple-base);
}

.bg-0 {
  background-color: var(--bg-tertiary);
}

.bg-1 {
  background-color: var(--red-base);
}

.bg-2 {
  background-color: var(--orange-base);
}

.bg-3 {
  background-color: var(--green-base);
}

.bg-4 {
  background-color: var(--blue-base);
}

.bg-5 {
  background-color: var(--purple-base);
}

.pos-1 {
  background-color: var(--yellow-base);
}
.pos-1:after {
  content: "PT";
}

.pos-2 {
  background-color: var(--blue-base);
}
.pos-2:after {
  content: "DF";
}

.pos-3 {
  background-color: var(--green-base);
}
.pos-3:after {
  content: "MC";
}

.pos-4 {
  background-color: var(--red-base);
}
.pos-4:after {
  content: "DL";
}

.pos-5 {
  background-color: var(--fg-primary);
}
.pos-5:after {
  content: "×";
  font-size: 20px;
  font-weight: normal;
}

.player-position {
  font-size: var(--font-s);
  font-weight: bold;
  border-radius: var(--radius);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pos-text);
  flex-shrink: 0;
}

/**********
 * Header *
 **********/
.header {
  position: relative;
  z-index: 888;
  background-color: var(--header-bg);
}
.header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: var(--space-6) var(--space-12) 0 var(--space-12);
}
.header .header-top a {
  position: relative;
  z-index: 2;
}
.header .header-top .logo {
  display: flex;
  align-items: center;
  padding: var(--space-6) 0;
  gap: var(--space-6);
}
.header .header-top .logo .icon {
  height: 28px;
}
.header .header-top .logo .text {
  height: 28px;
}
.header .header-top .logo-dmq {
  padding: var(--space-6) 0;
}
.header .header-top .logo-dmq img {
  height: 24px;
}
.header .header-top-right {
  display: flex;
  align-items: center;
  height: 100%;
}
.header .header-top-right .btn-search {
  margin-right: var(--space-12);
  color: var(--header-text);
  height: 100%;
  width: 40px;
  border-radius: var(--radius);
}
.header .header-top-right .btn-search.tap {
  background-color: var(--header-tap);
}
.header .header-top-right .btn-search.opened {
  color: var(--header-active);
  background-color: var(--header-tap);
}

.nav {
  height: 52px;
  position: relative;
}
.nav ul {
  display: flex;
  height: 100%;
}
.nav li {
  list-style: none;
  flex-grow: 1;
}
.nav li a {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--header-text);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  gap: var(--space-4);
}
.nav li a.tap {
  background-color: var(--header-tap);
}
.nav li a.active {
  color: var(--header-active);
}
.nav li a.opened {
  background-color: var(--header-bg);
  color: var(--header-active);
}
.nav .more {
  display: none;
}

.nav-sub li a.tap {
  background-color: var(--header-tap);
}

.nav-sub,
.search,
.search .results {
  display: none;
  background-color: var(--header-bg);
  position: absolute;
  width: 100%;
}

.promo-mundial {
  background-color: #304ffe;
  --textColor: white;
  --subTextColor: var(--white-50);
  --accentColor: #143cdb;
  --bgFilter: 1;
}

.promo-euro {
  background-color: #143cdb;
  --textColor: white;
  --subTextColor: var(--white-50);
  --accentColor: #143cdb;
  --bgFilter: 1;
}

.header-promo {
  position: relative;
  padding: var(--space-12);
  z-index: 2;
}
.header-promo .bg {
  background-image: var(--patternBg2);
  background-size: 250px;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  filter: invert(var(--bgFilter));
}
.header-promo .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-promo .wrapper > div {
  flex-basis: 0;
}
.header-promo .wrapper .text {
  text-align: right;
  font-size: var(--font-l);
  flex-grow: 1;
  font-weight: bold;
}
.header-promo .wrapper .text .text-top {
  color: var(--textColor);
}
.header-promo .wrapper .text .text-top span {
  background-color: var(--textColor);
  color: var(--accentColor);
  padding: 0 2px;
}
.header-promo .wrapper .text .text-bottom {
  color: var(--subTextColor);
}
.header-promo .wrapper .icon {
  text-align: center;
  margin: 0 var(--space-12);
  font-size: 24px;
}
.header-promo .wrapper .icon img {
  max-width: 32px;
  max-height: 50px;
}
.header-promo .wrapper .link {
  flex-grow: 1;
}
.header-promo .wrapper .btn-promo-cta {
  border: 2px solid var(--subTextColor);
  color: var(--subTextColor);
  padding: var(--space-6) var(--space-12);
  font-weight: bold;
  display: inline-block;
  border-radius: var(--radius);
  font-size: var(--font-l);
}
.header-promo .wrapper .btn-promo-cta.tap {
  color: var(--accentColor);
  background-color: var(--textColor);
  border-color: transparent;
}
.header-promo .btn-close-header-promo {
  color: var(--subTextColor);
  width: 24px;
  height: 24px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  right: 0;
  top: var(--space-12);
}
.header-promo .btn-close-header-promo.tap {
  color: var(--textColor);
}

@keyframes icon-rainbow {
  from {
    color: var(--fg-primary);
  }
  to {
    color: var(--fg-secondary);
  }
}
/************
 * Buscador *
 ************/
.loader {
  animation: rotate 0.7s linear infinite;
}

.search {
  border-top: 1px solid var(--black-50);
  padding: var(--space-12);
  height: 48px;
}
.search input {
  width: 100%;
  height: 100%;
  font-size: var(--font-l);
  font-weight: bold;
  background-color: transparent;
  color: var(--header-active);
  border: 0;
}
.search input::placeholder {
  color: var(--header-text);
}
.search .results {
  top: 100%;
  left: 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--black-50);
}
.search .results li {
  list-style: none;
}
.search .results li a {
  display: block;
  padding: var(--space-6) var(--space-12);
  color: var(--header-active);
  font-weight: bold;
}
.search .results li a .player-position, .search .results li a .team-logo {
  margin-right: var(--space-6);
}
.search .results li a .highlight {
  color: var(--green-base);
}
.search .results li a.tap {
  background-color: var(--header-tap);
}
.search .results .noresults {
  padding: var(--space-12);
  color: var(--fg-tertiary);
  font-weight: bold;
}

/*************
 * Contenido *
 *************/
.wrapper,
.wrappper {
  max-width: 970px;
  margin: auto;
  position: relative;
}

.content {
  padding: var(--box-space);
}
.content > *:last-child {
  margin-bottom: 0;
}

/********
 * Caja *
 ********/
.box {
  background-color: var(--bg-box);
  border-radius: var(--radius);
  position: relative;
  scrollbar-color: var(--bg-primary) transparent;
}
.box .box-top-right {
  position: absolute;
  right: var(--space-12);
  top: var(--space-12);
}
.box .box-top-right select {
  border: 0;
  color: var(--fg-secondary);
  font-weight: bold;
  font-size: var(--font-l);
  background-color: transparent;
}

/**********
 * Puntos *
 **********/
#output {
  opacity: 0;
}
#output.show {
  opacity: 1;
  transition: opacity 0.3s linear;
}

/**********
 * Footer *
 **********/
.footer {
  padding: var(--space-24);
  width: 100%;
  position: relative;
  border-top: 1px solid var(--bg-secondary);
}
.footer .wrapper {
  max-width: 540px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer .col {
  flex-grow: 1;
  flex-basis: 0;
}
.footer .copy {
  color: var(--fg-secondary);
}
.footer .copy .year {
  margin-bottom: var(--space-12);
  font-weight: bold;
  font-size: var(--font-l);
}
.footer .copy .year span {
  color: var(--fg-primary);
}
.footer .copy a {
  display: inline-block;
  color: var(--fg-secondary);
  cursor: pointer;
}
.footer .copy a:not(:last-child) {
  margin-bottom: var(--space-6);
}
.footer .footer-social {
  text-align: right;
}
.footer .footer-social a, .footer .footer-social button {
  text-align: center;
  display: inline-flex;
  margin-left: var(--space-12);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.footer .footer-social a.btn-theme, .footer .footer-social button.btn-theme {
  background-color: transparent;
  border: 2px solid var(--bg-tertiary);
  color: var(--bg-primary);
}
.footer .footer-social a.btn-theme.tap, .footer .footer-social button.btn-theme.tap {
  background-color: var(--bg-tertiary);
  color: white;
}
.footer .footer-social a.btn-twitter, .footer .footer-social button.btn-twitter {
  border: 2px solid var(--fg-primary);
  color: var(--fg-primary);
}
.footer .footer-social a.btn-twitter.tap, .footer .footer-social button.btn-twitter.tap {
  background-color: var(--fg-primary);
  color: var(--bg-primary);
}
.footer .footer-social a.btn-facebook, .footer .footer-social button.btn-facebook {
  border: 2px solid var(--color-facebook);
  color: var(--color-facebook);
}
.footer .footer-social a.btn-facebook.tap, .footer .footer-social button.btn-facebook.tap {
  background-color: var(--color-facebook);
  color: white;
}
.footer .theme {
  margin-top: var(--space-16);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.footer .theme .text {
  margin-right: var(--space-6);
  color: var(--fg-secondary);
}
.footer .btn-theme {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 20px;
}
.footer .btn-theme input {
  opacity: 0;
  width: 0;
  height: 0;
}
.footer .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--fg-secondary);
  transition: 0.4s;
  border-radius: 999px;
}
.footer .slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.footer input:checked + .slider {
  background-color: var(--blue-base);
}
.footer input:focus + .slider {
  box-shadow: 0 0 1px var(--blue-base);
}
.footer input:checked + .slider:before {
  transform: translateX(15px);
}
.footer .bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-24);
}
.footer .bottom img {
  display: block;
}
.footer .bottom .mas-18 {
  width: 30px;
}

/***********
 * Alertas *
 ***********/
.alert {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12);
  border-radius: var(--radius);
}
.alert:not(:last-child) {
  margin-bottom: var(--box-space);
}
.alert svg {
  flex-shrink: 0;
}
.alert-warning {
  background-color: var(--yellow-shadow-tertiary);
  color: var(--yellow-base);
  border: 1px solid var(--yellow-base);
}
.alert-ok {
  background-color: var(--green-shadow-tertiary);
  color: var(--green-base);
  border: 1px solid var(--green-base);
}
.alert-error {
  background-color: var(--red-shadow-tertiary);
  color: var(--red-base);
  border: 1px solid var(--red-base);
}
.alert-empty, .alert-pending {
  color: var(--fg-tertiary);
  padding: 0;
}
.alert-doubt {
  background-color: var(--orange-shadow-tertiary);
  color: var(--orange-base);
  border: 1px solid var(--orange-base);
}
.alert.big {
  flex-direction: column;
  padding: var(--space-24);
}
.alert.big svg {
  width: 30px;
  height: 30px;
}
.alert.big p {
  font-size: var(--font-xxl);
}

.player-list {
  padding: var(--space-12) var(--space-12) var(--space-6) var(--space-12);
}
.player-list h2 {
  margin-bottom: var(--space-12);
}
.player-list ul {
  list-style: none;
}
.player-list ul li {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.player-list ul li a {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding: var(--space-6) 0;
  gap: var(--space-6);
}
.player-list ul li a.tap {
  background-color: var(--bg-box-tap);
}
.player-list ul li .info {
  display: flex;
  flex-direction: column;
  min-height: 33px;
  justify-content: center;
  gap: var(--space-4);
}
.player-list ul li .name {
  font-weight: bold;
  font-size: var(--font-m);
}
.player-list ul li .under-name {
  color: var(--fg-secondary);
  font-size: var(--font-s);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.player-list ul li .under-name svg {
  flex-shrink: 0;
}
.player-list ul li .right {
  margin-left: auto;
  font-weight: bold;
  font-size: var(--font-l);
}
.player-list .pt-sofascore {
  background-color: transparent !important;
  font-size: var(--font-l) !important;
}

.player-list-points .right span {
  padding: 0 var(--space-6);
  text-align: right;
  min-width: 26px;
  height: 26px;
  line-height: 26px;
  display: inline-block;
}
.player-list-points .right span.pt-sofascore {
  display: none;
}
.player-list-points .star .right .pt-comunio {
  background-color: var(--purple-base);
  border-radius: var(--radius);
  color: var(--pos-text);
}

.streak {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
}
.streak.streak-small {
  gap: 3px;
  background-color: var(--bg-primary);
  padding: 3px;
}
.streak.streak-small * {
  font-size: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.streak * {
  color: var(--pos-text);
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: var(--font-s);
  font-weight: bold;
  text-shadow: none;
}

.inputs {
  display: flex;
  gap: var(--space-12);
}
.inputs > * {
  flex-grow: 1;
}
.inputs .input {
  color: var(--input-text);
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  font-weight: normal;
  font-size: var(--font-l);
  padding: 0 var(--space-12);
}
.inputs .input:focus {
  border-color: var(--green-base);
}
.inputs .select {
  color: var(--input-text);
  padding: 0 var(--space-6);
  font-size: var(--font-l);
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  font-weight: bold;
  border-radius: var(--radius);
  min-height: 40px;
}
.inputs .select.tap {
  background-color: var(--bg-box-tap);
}
.inputs .select:focus {
  border-color: var(--green-base);
}

.user-pw-wrapper {
  display: flex;
}
.user-pw-wrapper .left {
  flex-grow: 1;
}
.user-pw-wrapper .input {
  height: 30px;
  width: 100%;
  border-right: 0;
  padding: 0 var(--space-8);
}
.user-pw-wrapper .input:first-child {
  border-bottom-width: 0;
  border-radius: var(--radius) 0 0 0;
}
.user-pw-wrapper .input:first-child:focus {
  border-bottom-width: 1px;
}
.user-pw-wrapper .input:last-child {
  border-radius: 0 0 0 var(--radius);
}
.user-pw-wrapper .btn-send {
  flex-grow: 1;
  flex-basis: 0;
  height: 100%;
  padding: 0 var(--space-12);
  font-size: var(--font-l);
  max-width: 90px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: bold;
}

table .tal {
  text-align: left;
}
table .tac {
  text-align: center;
}
table .tar {
  text-align: right;
}
table tr.btn {
  display: table-row;
}
table td.sep {
  border-right: 1px solid var(--bg-primary);
}
table th svg,
table td svg {
  vertical-align: middle;
}

.jump {
  border-top: 3px solid var(--bg-tertiary);
}

.tvs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  margin: var(--space-4) auto 0 auto;
}

img.tv {
  display: block;
}

.theme-light .gameweeks img[src*="dazn.svg"] {
  filter: invert(1);
}

input[type=checkbox] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bg-tertiary);
  background-color: transparent;
  position: relative;
  border-radius: var(--radius);
  cursor: pointer;
}
input[type=checkbox]:checked {
  background-color: var(--fg-secondary);
  border-color: var(--fg-secondary);
}
input[type=checkbox]:checked:after {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  color: var(--bg-box);
  font-weight: bold;
}

.under-inputs {
  position: relative;
  margin: var(--space-12) 0 var(--box-space) 0;
}

.password-info {
  color: var(--fg-secondary);
  font-size: var(--font-s);
}
.password-info a {
  text-decoration: underline;
}
.password-info .btn {
  font-size: var(--font-s);
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.password-info .tap strong {
  text-decoration: underline;
}
.password-info .hidden {
  display: none;
  margin-top: var(--space-6);
}
.password-info .hidden strong {
  color: var(--fg-primary);
}

.ajax-loading-data {
  color: var(--fg-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) 0;
}
.ajax-loading-data .loading {
  width: 20px;
  height: 20px;
  margin-right: var(--space-12);
}
.ajax-loading-data .loading:after {
  background-color: var(--green-base);
}
.ajax-loading-data .alert {
  margin-bottom: 0;
}

@media (min-width: 540px) {
  .footer .bottom {
    justify-content: center;
  }
  .footer .bottom a {
    margin-right: var(--box-space);
  }
}
@media (min-width: 640px) {
  .header .more {
    display: block;
  }
  .header .btn-more {
    display: none;
  }
  .header .header-top .btn-search {
    display: none;
  }
}
@media (min-width: 740px) {
  .header .header-top {
    height: auto;
  }
  .header .header-top .logo {
    padding: 0;
  }
  .header .header-top .logo .icon {
    height: 36px;
  }
  .header .header-top .logo .text {
    height: 36px;
  }
}
@media (min-width: 970px) {
  .header .header-top {
    padding: var(--space-12);
  }
  .header .nav-top {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    padding-left: 230px;
    padding-right: 70px;
  }
}
@media (max-width: 969px) {
  .header.fusion {
    background-color: var(--black-50);
  }
  .header.fusion .nav li a:not(.active),
  .header.fusion .btn-search {
    color: var(--white-50);
  }
  .header.fusion .tap {
    background-color: var(--black-25) !important;
  }
}
.scroll-wrapper {
  position: relative;
  border-radius: inherit;
}

.scroll-content {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

html.device-desktop {
  scrollbar-color: var(--bg-secondary) transparent;
}

.box-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: var(--box-space);
  align-items: flex-start;
}
.box-grid-2.grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.box-grid-2.grid-narrow {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.box-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: var(--box-space);
  align-items: flex-start;
}

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

.theme-dark .team-logo[src*="/0.png"] {
  filter: invert(1);
}

.theme-light img[src*="dmq.png"] {
  filter: invert(1);
}

.team-logo {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.store-cta {
  position: fixed;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  bottom: 0;
  left: 0;
  background-color: black;
  padding: var(--space-12);
  z-index: 99999;
  min-height: 90px;
  transition: all 0.1s linear;
  opacity: 0;
  transform: translateY(100%);
}
.store-cta.show {
  opacity: 1;
  transform: translateY(0);
}
.store-cta .left {
  margin-right: var(--space-12);
}
.store-cta .logo {
  width: 48px;
}
.store-cta .app-name {
  font-size: var(--font-xl);
  color: white;
  font-weight: bold;
  margin-bottom: var(--space-6);
}
.store-cta .stars {
  display: none;
}
.store-cta .store img {
  height: 40px;
}
.store-cta .btn-app-dl {
  border-radius: var(--radius);
  position: absolute;
  right: var(--space-12);
  bottom: var(--space-12);
  height: 40px;
  padding: 0 var(--space-12);
  line-height: 40px;
  font-weight: bold;
  font-size: var(--font-xl);
}
.store-cta .btn-close-store-cta {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--white-50);
  height: 24px;
  width: 24px;
}

span.dot {
  margin: 0 var(--space-4);
}

.score sub {
  opacity: 0.5;
  margin-left: 1px;
}

.blurred {
  filter: blur(5px);
  opacity: 0.5;
  pointer-events: none;
}

.no-team {
  color: var(--bg-tertiary);
}

body:has(.top-info-match) .header {
  border-bottom: 1px solid var(--black-50);
}

.top {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  grid-gap: var(--box-space);
  margin-bottom: var(--box-space);
}
.top .axd-between {
  order: 2;
}

.gameweeks .title {
  margin-bottom: var(--space-12);
  display: flex;
  justify-content: space-between;
}
.gameweeks .title .gameweek {
  font-weight: bold;
  font-size: var(--font-xxl);
}
.gameweeks .title .btn-gw {
  background-color: transparent;
  width: 20px;
  color: var(--fg-tertiary);
}
.gameweeks .title .btn-gw.tap {
  color: var(--green-base);
}
.gameweeks .title .btn-gw[disabled] {
  color: var(--bg-secondary);
}
.gameweeks .matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(141px, 1fr));
  grid-gap: var(--space-12);
}

.pulse {
  animation: pulse 0.5s linear infinite alternate;
  text-shadow: none;
  color: var(--red-base);
}

@keyframes pulse {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: var(--space-4);
  display: inline-block;
}

.bullet-pulse {
  animation: pulse 0.5s linear infinite alternate;
}

.box-news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.box-news a {
  position: relative;
  display: flex;
  padding: var(--space-12);
  height: 100%;
  gap: var(--space-12);
}
.box-news a.tap {
  background-color: var(--bg-box-tap);
}
.box-news a .left {
  min-width: 26px;
  text-align: center;
}
.box-news a .left .emoji {
  width: 26px;
  height: 26px;
  line-height: 26px;
  font-size: 20px;
}
.box-news a .date {
  color: var(--fg-secondary);
  margin-top: var(--space-4);
  font-size: var(--font-s);
}

.social {
  text-align: center;
  margin-bottom: var(--box-space);
  font-weight: bold;
}
.social p {
  font-size: var(--font-l);
  margin-bottom: var(--space-6);
}
.social .buttons {
  display: flex;
  gap: var(--space-12);
}
.social .buttons a {
  flex-grow: 1;
  flex-basis: 0;
  color: white;
  padding: var(--space-12) 0;
  font-size: var(--font-xl);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}
.social .twitter {
  background-color: var(--color-twitter);
}
.social .twitter.tap {
  box-shadow: 0 0 0 2px var(--black-25) inset;
}
.social .facebook {
  background-color: var(--color-facebook);
}
.social .facebook.tap {
  box-shadow: 0 0 0 2px var(--black-25) inset;
}

.box-covers {
  margin: var(--box-space) 0;
  position: relative;
}
.box-covers .covers {
  text-align: center;
  display: flex;
  position: relative;
  z-index: 2;
  margin: 0 calc(var(--box-space) * -1);
  padding: calc(var(--box-space) / 3) var(--box-space);
  gap: var(--space-24);
}
.box-covers .covers .cover {
  display: inline-block;
  flex-grow: 1;
  flex-basis: 0;
}
.box-covers .covers .cover img {
  margin: 0 auto;
  max-height: 200px;
}
.box-covers .covers .cover img.tap {
  outline: 2px solid var(--bg-box);
  box-shadow: 0 0 0 4px var(--green-base);
  cursor: zoom-in;
}

.boxes-home {
  margin-bottom: var(--box-space);
}

#overlay {
  text-align: center;
  cursor: zoom-out;
  position: fixed;
  background: var(--black-75);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.1s linear;
}
#overlay:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
#overlay .cover {
  display: inline-block;
  vertical-align: middle;
  width: 90%;
  height: 90%;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.box-top-players {
  padding: var(--space-12);
}
.box-top-players h2 {
  margin-bottom: var(--space-12);
}
.box-top-players .name {
  margin-bottom: var(--space-12);
}
.box-top-players .players {
  display: flex;
  flex-wrap: wrap;
}
.box-top-players .item {
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.box-top-players .item.tap .name {
  text-decoration: underline;
}
.box-top-players .item .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  position: relative;
}
.box-top-players .item .head .team-logo, .box-top-players .item .head .player-position {
  flex-shrink: 0;
}
.box-top-players .item .pic {
  height: 50px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}
.box-top-players .item .name {
  font-size: var(--font-l);
  color: white;
  text-align: center;
  margin: 0 var(--space-6);
  text-shadow: 1px 1px var(--black-25);
  font-weight: bold;
}
.box-top-players .item .emoji {
  position: absolute;
  right: var(--space-12);
  bottom: var(--space-12);
  font-size: var(--font-xl);
}

.box-top3 .top-1 {
  width: 100%;
  border-bottom: 1px solid var(--bg-box);
  border-radius: var(--radius) var(--radius) 0 0;
}
.box-top3 .top-1 .head {
  padding: var(--space-12);
}
.box-top3 .top-1 .pic {
  height: 80px;
}
.box-top3 .top-1 .name {
  font-size: var(--font-xxl);
  margin: 0 var(--space-12);
}
.box-top3 .top-1 .emoji {
  right: var(--space-12);
  bottom: var(--space-12);
  font-size: var(--font-xl);
}
.box-top3 .top-2 {
  border-right: 1px solid var(--bg-box);
  border-radius: 0 0 0 var(--radius);
}
.box-top3 .top-3 {
  border-radius: 0 0 var(--radius) 0;
}
.box-top3 .top-2 .head,
.box-top3 .top-3 .head {
  padding: var(--space-12);
}
.box-top3 .top-2 .player-position,
.box-top3 .top-3 .player-position {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.box-top4 .top-1 {
  border-right: 1px solid var(--bg-box);
  border-bottom: 1px solid var(--bg-box);
  border-radius: var(--radius) 0 0 0;
}
.box-top4 .top-2 {
  border-bottom: 1px solid var(--bg-box);
  border-radius: 0 var(--radius) 0 0;
}
.box-top4 .top-3 {
  border-right: 1px solid var(--bg-box);
  border-radius: 0 0 0 var(--radius);
}
.box-top4 .top-4 {
  border-radius: 0 0 var(--radius) 0;
}
.box-top4 .item .head {
  padding: var(--space-12);
}
.box-top4 .item .player-position {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.gameweek-reminder {
  display: block;
  margin: 0 var(--space-12);
  margin-bottom: var(--space-12);
  overflow: hidden;
  background-color: var(--green-base);
  color: white;
}
.gameweek-reminder.tap {
  background-color: var(--green-tap);
}
.gameweek-reminder .bg {
  background-image: var(--patternBg);
  background-size: 150px;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}
.gameweek-reminder .wrapper {
  padding: var(--space-12);
}
.gameweek-reminder .gw-title {
  font-weight: bold;
  font-size: var(--font-xl);
  margin-bottom: var(--space-6);
}
.gameweek-reminder .gw-subtitle {
  font-size: var(--font-l);
  color: var(--white-75);
}
.gameweek-reminder img {
  height: 50px;
  position: absolute;
  right: var(--space-12);
  bottom: 0;
}

.match-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) 0;
  flex-grow: 1;
  height: 48px;
}
.match-box.tap {
  background-color: var(--bg-box-tap);
}
.match-box .home,
.match-box .away {
  margin: 0 var(--space-12);
}
.match-box .home img,
.match-box .away img {
  max-width: 26px;
  max-height: 26px;
}
.match-box .mid {
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
}
.match-box .mid .date {
  color: var(--fg-secondary);
  text-transform: uppercase;
  font-size: var(--font-xs);
  white-space: nowrap;
}
.match-box .mid .score {
  color: var(--fg-primary);
  font-size: var(--font-xxl);
  margin-top: var(--space-4);
  line-height: 1;
  white-space: nowrap;
}
.match-box .bubble {
  position: absolute;
  width: 12px;
  height: 12px;
  right: -5px;
  top: -5px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
}
.match-box.match-today .mid .date, .match-box.match-live .mid .date {
  color: var(--red-base);
  border-color: var(--red-base);
}
.match-box .tv {
  max-height: 16px;
  max-width: 40px;
}
.match-box .red-card-home {
  position: absolute;
  bottom: 100%;
  left: calc(var(--space-12) + 8px);
  margin-bottom: -3px;
  z-index: -1;
  display: flex;
}
.match-box .red-card-away {
  position: absolute;
  bottom: 100%;
  right: calc(var(--space-12) + 8px);
  margin-bottom: -3px;
  z-index: -1;
  display: flex;
}

.latest-questions {
  margin: 0 calc(var(--space-12) * -1) var(--space-12) calc(var(--space-12) * -1);
}
.latest-questions .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-12);
}
.latest-questions .title img {
  height: 50px;
}
.latest-questions h2 {
  font-size: var(--font-xl);
}
.latest-questions .questions {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  gap: var(--space-12);
  padding: 0 var(--space-12) var(--space-6) var(--space-12);
}
.latest-questions .question {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.latest-questions .question.tap {
  background-color: var(--bg-box-tap);
}
.latest-questions .question .text {
  font-size: var(--font-m);
  width: max-content;
}
.latest-questions .question .options {
  margin-top: var(--space-12);
  display: flex;
  gap: var(--space-12);
}
.latest-questions .question .options .option {
  border-radius: var(--radius);
  border: 1px solid var(--bg-tertiary);
  padding: var(--space-6);
  text-align: center;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  font-size: var(--font-s);
}
.latest-questions .question .options .option.check {
  background-color: var(--bg-tertiary);
  border-color: transparent;
}
.latest-questions .question .options .dots {
  color: var(--fg-secondary);
  font-size: var(--font-xl);
  display: flex;
  align-items: center;
}
.latest-questions .btn-go-questions {
  align-self: center;
  padding: var(--space-12);
  font-weight: bold;
  border-radius: var(--radius);
  white-space: nowrap;
}

@media (min-width: 540px) {
  .top .box-news li {
    width: 50%;
  }
}
@media (min-width: 970px) {
  .top {
    grid-template-columns: 2fr 1fr;
  }
  .top .gameweeks {
    order: 2 !important;
  }
  .top .box-news {
    order: 1 !important;
  }
  .social {
    display: none;
  }
}
.boxes-points-ajax {
  margin-bottom: var(--box-space);
}

.boxes-matches {
  margin-bottom: var(--box-space);
}

.box-match a {
  padding: var(--space-12);
  display: block;
}
.box-match a.tap {
  background-color: var(--bg-box-tap);
}
.box-match h2 {
  display: flex;
  align-items: center;
}
.box-match h2 > div {
  flex-grow: 1;
  flex-basis: 0;
  white-space: nowrap;
}
.box-match h2 .score {
  text-align: center;
  flex: 0 0 70px;
}
.box-match h2 .score span {
  width: 26px;
  height: 26px;
  line-height: 26px;
  color: var(--score-fg);
  background-color: var(--score-bg);
  border-radius: var(--radius);
  display: inline-block;
  margin: 0 var(--space-4);
}
.box-match h2 .away {
  text-align: right;
}
.box-match .points-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-12);
}
.box-match .points-status .left {
  font-size: var(--font-xl);
  font-weight: bold;
}
.box-match .teams {
  display: flex;
  gap: var(--space-12);
}
.box-match .teams ul {
  flex-grow: 1;
  flex-basis: 0;
}

.tabs-points {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  display: flex;
  border-radius: var(--radius);
}
.tabs-points .tab {
  flex-grow: 1;
  flex-basis: 0;
  height: 20px;
  font-size: var(--font-xs);
  font-weight: bold;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
}
.tabs-points .tab:not(.tab-active).tap {
  background-color: var(--bg-box-tap);
}
.tabs-points .tab:last-child {
  border: 0;
}
.tabs-points .tab-active {
  background: var(--bg-tertiary);
}

.box-caption {
  padding: var(--space-12);
}
.box-caption h2 {
  margin-bottom: var(--space-12);
}
.box-caption .cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}
.box-caption ul {
  flex-grow: 1;
}
.box-caption ul li {
  margin-bottom: var(--space-6);
}
.box-caption ul li:last-child {
  margin-bottom: 0;
}
.box-caption ul li a {
  text-decoration: underline;
}
.box-caption ul.info {
  margin-bottom: var(--space-12);
  padding-left: var(--space-12);
}
.box-caption ul.events {
  list-style: none;
}
.box-caption ul.events li {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.box-community {
  padding: var(--space-6) var(--space-12) var(--space-12) var(--space-12);
}
.box-community table {
  border-collapse: collapse;
  width: 100%;
}
.box-community table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--bg-tertiary);
}
.box-community table th, .box-community table td {
  padding: var(--space-6) 0;
}
.box-community table .info {
  color: var(--fg-secondary);
}
.box-community table .points {
  font-size: var(--font-xl);
}
.box-community table .active .name {
  color: var(--green-base);
}
.box-community table .btn.tap {
  background-color: var(--bg-box-tap);
}
.box-community table .sort {
  display: table-cell;
}
.box-community table .sort.tap {
  background-color: var(--bg-box-tap);
}
.box-community table .sort span {
  font-size: var(--font-xxl);
  vertical-align: -2px;
  margin-right: var(--space-4);
}
.box-community table .sort.active {
  color: var(--green-base);
}

.fix-lineup {
  margin-top: var(--space-12);
  color: var(--fg-secondary);
  display: none;
  align-items: center;
}
.fix-lineup.tap {
  text-decoration: underline;
}
.fix-lineup input {
  margin-right: var(--space-6);
}
.fix-lineup label {
  cursor: pointer;
}

.content-points .field .head .right {
  max-width: 128px;
}
.content-points .box-match h2 {
  justify-content: space-between;
}

.boxes-injuries-ajax {
  margin-bottom: var(--box-space);
}

.boxes-injuries {
  margin-bottom: var(--box-space);
}
.boxes-injuries .alert-empty {
  margin: var(--space-12) 0;
}

.injuries-updated {
  text-align: right;
  color: var(--fg-secondary);
  position: absolute;
  top: 0;
  right: 0;
}

.player-list.box-injuries h2 {
  margin-bottom: var(--space-6);
}
.player-list.box-injuries h2 a.tap {
  background-color: var(--bg-box-tap);
}
.player-list.box-injuries a.btn {
  align-items: flex-start;
}
.player-list.box-injuries .under-name {
  align-items: flex-start;
}

.box-injuries-ajax .scroll-content {
  padding: var(--space-12);
}
.box-injuries-ajax table {
  border-collapse: collapse;
  width: 100%;
}
.box-injuries-ajax table td, .box-injuries-ajax table th {
  padding: var(--space-6) var(--space-12);
  white-space: nowrap;
}
.box-injuries-ajax table td a, .box-injuries-ajax table th a {
  display: flex;
  align-items: center;
}
.box-injuries-ajax table td a > *:not(:last-child), .box-injuries-ajax table th a > *:not(:last-child) {
  margin-right: var(--space-6);
  flex-shrink: 0;
}
.box-injuries-ajax table td:first-child, .box-injuries-ajax table th:first-child {
  padding-left: 0;
}
.box-injuries-ajax table td:last-child, .box-injuries-ajax table th:last-child {
  padding-right: 0;
}
.box-injuries-ajax table th {
  padding: 0 var(--space-6) var(--space-12) var(--space-6);
}
.box-injuries-ajax table tr:not(:first-child):not(:last-child) {
  border-bottom: 1px solid var(--bg-tertiary);
}
.box-injuries-ajax table .btn.tap:not(.injured) {
  background-color: var(--bg-box-tap);
}
.box-injuries-ajax .injury {
  color: var(--red-base);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.box-injuries-ajax .vs {
  color: var(--fg-tertiary);
  font-weight: bold;
  font-size: var(--font-s);
  margin: 0 var(--space-6);
}
.box-injuries-ajax .place {
  width: 20px;
  font-size: var(--font-xxxl);
  color: var(--fg-secondary);
  vertical-align: middle;
}
.box-injuries-ajax .injured {
  background-color: var(--red-shadow-tertiary);
}

.content-balance .text {
  margin: 0 auto;
  max-width: 540px;
}
.content-balance .text h1 {
  margin-bottom: var(--space-12);
}
.content-balance .text p {
  color: var(--fg-secondary);
}

.form-balance {
  margin: var(--box-space) auto;
  max-width: 540px;
}
.form-balance #ajax-user {
  margin-bottom: var(--box-space);
}
.form-balance .input {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  padding: var(--space-12);
  font-size: var(--font-xl);
  width: 100%;
  border-radius: var(--radius);
  height: 40px;
  font-weight: bold;
}
.form-balance .input:focus {
  border-color: var(--green-base);
}
.form-balance .segment {
  margin: var(--box-space) 0;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  display: flex;
  border-radius: var(--radius);
}
.form-balance .segment input[type=radio] {
  display: none;
}
.form-balance .segment label {
  flex-grow: 1;
  flex-basis: 0;
  border-right: 1px solid var(--input-border);
  height: 40px;
  font-size: var(--font-xl);
  font-weight: bold;
  color: var(--input-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-balance .segment label.tap {
  background-color: var(--bg-box-tap);
}
.form-balance .segment label:last-child {
  border: 0;
}
.form-balance .segment input:checked + label {
  background: var(--input-border);
}
.form-balance .btn-primary {
  width: 100%;
  height: 40px;
  font-size: var(--font-xl);
  font-weight: bold;
  border-radius: var(--radius);
}

.box-balance-users {
  max-width: 540px;
  margin: var(--box-space) auto;
  padding: var(--space-6) var(--space-12);
}
.box-balance-users table {
  border-collapse: collapse;
  width: 100%;
}
.box-balance-users table h2 {
  margin-bottom: 0;
  word-break: break-word;
}
.box-balance-users table tr:not(:first-child):not(:last-child) {
  border-bottom: 1px solid var(--bg-tertiary);
}
.box-balance-users table th {
  padding: var(--space-6);
}
.box-balance-users table td {
  padding: var(--space-12) var(--space-6);
}
.box-balance-users table .active .name {
  color: var(--green-base);
}
.box-balance-users table .btn.tap {
  background-color: var(--bg-box-tap);
}
.box-balance-users table .sort {
  display: table-cell;
}
.box-balance-users table .sort.tap {
  background-color: var(--bg-box-tap);
}
.box-balance-users table .sort span {
  font-size: var(--font-xxl);
  vertical-align: -2px;
  margin-right: var(--space-4);
}
.box-balance-users table .sort.active {
  color: var(--green-base);
}

.content-balance .table-players {
  padding: 0;
}
.content-balance .panels {
  padding: var(--space-12);
}
.content-balance .panel-market {
  display: none;
}
.content-balance .panel-news {
  display: none;
}
.content-balance .tabs {
  display: flex;
  flex-wrap: wrap;
  height: 40px;
  background-color: var(--bg-primary);
}
.content-balance .tabs .tab {
  flex-grow: 1;
  flex-basis: 0;
  font-weight: bold;
  font-size: var(--font-m);
  color: var(--fg-secondary);
}
.content-balance .tabs .tab:last-child {
  border-right: 0;
}
.content-balance .tabs .tab.active {
  background-color: var(--bg-box);
  color: var(--fg-primary);
  height: 40px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.content-balance .tabs .tab.tap {
  text-decoration: underline;
}

th.filter-pos .player-position {
  margin-right: var(--space-6);
  cursor: pointer;
}
th.filter-pos .player-position.inactive {
  filter: grayscale(1);
}

.table-market table {
  border-collapse: collapse;
  width: 100%;
}
.table-market table td, .table-market table th {
  padding: var(--space-6);
  white-space: nowrap;
}
.table-market table td a, .table-market table th a {
  display: flex;
  align-items: center;
}
.table-market table td a > *:not(:last-child), .table-market table th a > *:not(:last-child) {
  margin-right: var(--space-6);
}
.table-market table td:first-child, .table-market table th:first-child {
  padding-left: 0;
}
.table-market table td:last-child, .table-market table th:last-child {
  padding-right: 0;
}
.table-market table th {
  padding: 0 var(--space-6) var(--space-12) var(--space-6);
}
.table-market table tr:not(:first-child):not(:last-child) {
  border-bottom: 1px solid var(--bg-tertiary);
}
.table-market table tr.tap {
  background-color: var(--bg-box-tap);
}

.btn-filters {
  padding: var(--space-12) var(--space-24);
  font-weight: bold;
  border-radius: var(--radius);
  position: absolute;
  left: var(--space-12);
  top: var(--space-12);
  z-index: 9;
  height: 40px;
}
.btn-filters.active {
  background-color: var(--bg-tertiary);
  color: var(--fg-secondary);
}

.btn-filters-placeholder {
  height: 20px;
}

.filters-content {
  display: none;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius);
  padding: var(--space-12);
  margin: var(--space-16) 0 var(--space-12) 0;
}

.filters {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
  font-weight: bold;
  color: var(--fg-secondary);
}
.filters .filter {
  flex-grow: 1;
  width: 100%;
  height: 30px;
  line-height: 30px;
}
.filters .filter .label {
  width: 55px;
  text-align: left;
  float: left;
}
.filters .filter .values {
  background-color: var(--input-bg);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}
.filters .filter .values a {
  flex-grow: 1;
  flex-basis: 0;
  text-align: center;
  border-right: 1px solid var(--bg-tertiary);
  color: var(--fg-secondary);
}
.filters .filter .values a:last-child {
  border-right: 0;
}
.filters .filter .values a.active {
  background-color: var(--green-base);
  color: var(--bg-box);
}

.filter-teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  grid-gap: var(--space-12);
  margin-top: var(--space-12);
}
.filter-teams a {
  text-align: center;
}

.table-players {
  padding: var(--space-12);
}
.table-players table {
  border-collapse: collapse;
  width: 100%;
}
.table-players table td, .table-players table th {
  padding: var(--space-6) var(--space-12);
  white-space: nowrap;
}
.table-players table td a, .table-players table th a {
  display: flex;
  align-items: center;
}
.table-players table td a > *:not(:last-child), .table-players table th a > *:not(:last-child) {
  margin-right: var(--space-6);
}
.table-players table td:first-child, .table-players table th:first-child {
  padding-left: 0;
}
.table-players table td:last-child, .table-players table th:last-child {
  padding-right: 0;
}
.table-players table th {
  padding: 0 var(--space-6) var(--space-12) var(--space-6);
}
.table-players table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--bg-primary);
}
.table-players table tr.tap {
  background-color: var(--bg-box-tap);
}
.table-players tbody:not(.page-1) {
  display: none;
}
.table-players .btn-show-more {
  margin-top: var(--space-12);
}

.boxes-player {
  margin: var(--box-space) 0;
}

.top-info {
  --topMargin: -130px;
  margin: var(--topMargin) calc(var(--space-12) * -1) var(--space-12) calc(var(--space-12) * -1);
  position: relative;
  text-shadow: 1px 1px var(--black-25);
  padding-top: calc(var(--topMargin) * -1 - var(--space-12));
}
.top-info .head {
  text-align: center;
  padding-top: var(--space-12);
  position: relative;
  z-index: 3;
}
.top-info .head .info {
  position: relative;
  z-index: 3;
}
.top-info .head .info .team,
.top-info .head .info .position {
  position: absolute;
  top: 0;
}
.top-info .head .info .team {
  left: var(--space-12);
}
.top-info .head .info .position {
  right: var(--space-12);
  text-shadow: none;
}
.top-info .head .info .pic img {
  height: 80px;
  margin: auto;
}
.top-info .head h1 {
  margin-bottom: var(--space-12);
  color: white;
}
.top-info .head .compare {
  position: absolute;
  z-index: 3;
  right: var(--space-12);
  bottom: var(--space-12);
  display: flex;
  align-items: center;
}
.top-info .head .compare .results {
  position: absolute;
  width: 100%;
  top: 100%;
  background-color: black;
  display: none;
  padding: var(--space-12) var(--space-6) var(--space-6) var(--space-6);
  margin-top: calc(var(--space-12) * -1);
  border-radius: var(--radius);
}
.top-info .head .compare .results ul {
  list-style: none;
  text-shadow: none;
}
.top-info .head .compare .results a {
  display: flex;
  align-items: center;
  padding: var(--space-6);
  color: var(--header-active);
  font-weight: bold;
  text-align: left;
  gap: var(--space-6);
}
.top-info .head .compare .results a.tap {
  background-color: var(--black-25);
}
.top-info .head .compare .results a .highlight {
  color: var(--green-base);
}
.top-info .head .compare .results .noresults {
  color: white;
  padding: var(--space-6);
  text-align: left;
}
.top-info .head label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: var(--font-s);
  font-weight: bold;
  border-radius: var(--radius);
  color: white;
}
.top-info .head label.tap {
  background-color: var(--black-25);
}
.top-info .head .btn-compare {
  background-color: var(--black-25);
  border-radius: var(--radius);
  color: white;
  padding: var(--space-12);
  font-weight: bold;
  font-size: var(--font-s);
  width: 100px;
  text-align: center;
}
.top-info .head .btn-compare::placeholder {
  color: white;
  opacity: 0;
}
.top-info .head .btn-compare.tap {
  background-color: var(--black-50);
}
.top-info .head .btn-compare:focus {
  background-color: black;
  width: 200px;
  text-align: left;
}
.top-info .head .btn-compare:focus::placeholder {
  color: var(--white-50);
  opacity: 1;
}
.top-info .head .btn-compare:focus + label {
  display: none;
}
.top-info .head .sofascore-avg {
  position: absolute;
  bottom: var(--space-12);
  left: var(--space-12);
  color: white;
}
.top-info .head .sofascore-avg .value {
  font-size: var(--font-xl);
  color: white;
  font-weight: bold;
}
.top-info .head .sofascore-avg .label {
  text-transform: uppercase;
  color: white;
  font-size: var(--font-s);
  margin-top: var(--space-6);
}
.top-info .numboxes-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-12);
  padding: var(--space-12);
}
.top-info .numboxes-container .btn-dropdown {
  position: absolute;
  right: -5px;
  bottom: -5px;
  z-index: 999;
  color: var(--white-50);
  width: 18px;
  height: 18px;
}
.top-info .numboxes-container .btn-dropdown.tap {
  color: white;
}
.top-info .numboxes {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  justify-content: space-around;
  flex-grow: 1;
  gap: var(--space-12);
  color: white;
}
.top-info .numboxes .break {
  flex-basis: 100%;
  height: 0;
}
.top-info .numboxes .numbox {
  display: flex;
  align-items: center;
}
.top-info .numboxes .numbox .big,
.top-info .numboxes .numbox .item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-direction: column;
}
.top-info .numboxes .numbox .big {
  align-items: flex-start;
}
.top-info .numboxes .numbox .value {
  font-size: var(--font-xl);
  color: white;
  font-weight: bold;
}
.top-info .numboxes .numbox .label {
  text-transform: uppercase;
  color: white;
  font-size: var(--font-s);
}
.top-info .numboxes .numbox .small {
  border: 1px solid var(--white-25);
  border-radius: var(--radius);
  text-align: center;
  margin-left: var(--space-6);
  display: flex;
}
.top-info .numboxes .numbox .small .item {
  padding: var(--space-6);
  flex-basis: 0;
}
.top-info .numboxes .numbox .small .item:not(:first-child) {
  border-left: 1px solid var(--white-25);
}
.top-info .numboxes .numbox .small .value {
  font-size: var(--font-l);
}
.top-info .numboxes .numbox .small .label {
  font-size: var(--font-xs);
}
.top-info .numboxes.hidden {
  display: none;
}
.top-info .numboxes .flag {
  text-shadow: none;
  display: none;
}
.top-info .matches {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  padding-bottom: var(--space-12);
  scrollbar-color: var(--bg-primary) transparent;
}
.top-info .matches .btn {
  margin-left: var(--space-12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) 0;
  flex-grow: 1;
  min-width: 120px;
  height: 42px;
  text-shadow: none;
  border-radius: var(--radius);
  background-color: var(--header-darker);
}
.top-info .matches .btn.tap {
  background-color: black;
}
.top-info .matches .btn:last-child {
  margin-right: var(--space-12);
}
.top-info .matches .btn.won .mid .score {
  color: var(--green-base);
}
.top-info .matches .btn.lost .mid .score {
  color: var(--red-base);
}
.top-info .matches .btn.draw .mid .score {
  color: var(--yellow-base);
}
.top-info .matches .btn.match-playing .mid .date {
  color: var(--red-base);
}
.top-info .matches .btn .home,
.top-info .matches .btn .away {
  margin: 0 6px;
}
.top-info .matches .btn .mid {
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
}
.top-info .matches .btn .mid .date {
  color: var(--header-text);
  text-transform: uppercase;
  font-size: var(--font-xs);
  line-height: 1;
  white-space: nowrap;
}
.top-info .matches .btn .mid .score {
  color: white;
  font-size: var(--font-xl);
  margin-top: var(--space-4);
  line-height: 1;
}
.top-info .matches .btn .tv {
  max-height: 16px;
  max-width: 40px;
}

.team-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.team-logo-overlay img {
  filter: blur(5px);
  position: absolute;
  width: 120%;
}
.team-logo-overlay div {
  opacity: 0.7;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.top-info-players .head {
  border-bottom: 1px solid var(--white-25);
}

.box-points {
  padding: var(--space-12);
}
.box-points .fixtures {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  overflow-x: auto;
  margin: var(--space-12) calc(var(--space-12) * -1) 0 calc(var(--space-12) * -1);
  padding: 0 var(--space-12);
}
.box-points .fixtures .btn-fixture {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-6);
  border-radius: var(--radius);
}
.box-points .fixtures .btn-fixture.tap {
  background-color: var(--bg-tertiary);
}
.box-points .fixtures .btn-fixture .number {
  color: var(--fg-tertiary);
  font-size: var(--font-s);
}
.box-points .points-list {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.box-points .points-list .gameweek {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 24px;
  position: relative;
}
.box-points .points-list .gameweek .bar-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: var(--radius);
  flex-grow: 1;
}
.box-points .points-list .gameweek .bar-wrapper:has(.status) {
  background-color: transparent;
}
.box-points .points-list .gameweek .number {
  color: var(--fg-tertiary);
  width: 30px;
  text-align: center;
  font-size: var(--font-s);
  padding: 0 var(--space-4);
}
.box-points .points-list .gameweek .bar {
  height: 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  font-weight: bold;
}
.box-points .points-list .gameweek .bar span:not([class*=pt-]) {
  color: var(--bg-box);
}
.box-points .points-list .gameweek .status {
  color: var(--red-shadow-primary);
  font-size: var(--font-s);
}
.box-points .points-list .gameweek .events {
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: absolute;
  right: 0;
  height: 100%;
}
.box-points .points-list .gameweek .events svg {
  position: relative;
}
.box-points .points-list .gameweek .events .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  border-radius: var(--radius);
  opacity: 0.5;
}
.box-points .live-blink .bar {
  animation: pulse 0.5s linear infinite alternate;
}
.box-points .alert {
  margin-top: var(--space-12);
}

.content-players .box-chart .chart {
  height: 150px;
}

.box-values,
.box-history {
  padding: var(--space-12) var(--space-12) var(--space-6) var(--space-12);
}
.box-values ul li,
.box-history ul li {
  padding: var(--space-6) 0;
}

.comparator-top {
  display: flex;
  overflow: hidden;
  margin-bottom: var(--box-space);
}
.comparator-top .comparator-left,
.comparator-top .comparator-right {
  display: flex;
  flex-basis: 0;
  color: white;
  flex-grow: 1;
  flex-shrink: 0;
}
.comparator-top .comparator-left {
  background-color: var(--blue-shadow-primary);
  padding: var(--space-12) var(--space-16) 0 var(--space-12);
}
.comparator-top .comparator-left .comparator-pic {
  margin-left: auto;
}
.comparator-top .comparator-left .team-logo {
  margin-left: var(--space-6);
}
.comparator-top .comparator-right {
  background-color: var(--red-shadow-primary);
  padding: var(--space-12) var(--space-12) 0 var(--space-16);
}
.comparator-top .comparator-right .comparator-info {
  margin-left: auto;
  text-align: right;
}
.comparator-top .comparator-right .team-logo {
  margin-right: var(--space-6);
}
.comparator-top .vs {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  background-color: var(--black-25);
  color: white;
  font-size: var(--font-xl);
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: auto;
}
.comparator-top .comparator-info {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-12);
}
.comparator-top .name {
  font-size: var(--font-xl);
  font-weight: bold;
  margin-bottom: var(--space-12);
  text-shadow: 1px 1px var(--black-25);
}
.comparator-top .team-position {
  margin-top: auto;
  white-space: nowrap;
}
.comparator-top .comparator-pic {
  width: 70px;
  align-self: flex-end;
  flex-shrink: 0;
}
.comparator-top .comparator-pic img {
  width: 100%;
}

.boxes-comparator {
  margin-bottom: var(--box-space);
}

.comparator-stats,
.comparator-points {
  padding: var(--space-12);
}
.comparator-stats h2,
.comparator-points h2 {
  margin-bottom: var(--space-12);
}
.comparator-stats table,
.comparator-points table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}
.comparator-stats tr,
.comparator-points tr {
  border-bottom: 5px solid var(--bg-box);
}
.comparator-stats tr td,
.comparator-points tr td {
  height: 30px;
}
.comparator-stats tr.sep,
.comparator-points tr.sep {
  border-bottom: 15px solid var(--bg-box);
}
.comparator-stats th,
.comparator-points th {
  padding: var(--space-6) 0;
  font-size: var(--font-xl);
}
.comparator-stats .left,
.comparator-stats .right,
.comparator-points .left,
.comparator-points .right {
  width: 50%;
}
.comparator-stats .mid,
.comparator-points .mid {
  width: 50px;
  text-align: center;
  padding: 0 var(--space-6);
  font-weight: bold;
  color: var(--fg-secondary);
  word-break: break-word;
  font-size: var(--font-s);
}
.comparator-stats .bar,
.comparator-points .bar {
  border-radius: var(--radius);
  font-weight: bold;
  font-size: var(--font-xl);
  position: relative;
  height: 30px;
  max-width: 100%;
}
.comparator-stats .bar span,
.comparator-points .bar span {
  position: absolute;
  top: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.comparator-stats .left,
.comparator-points .left {
  text-align: right;
}
.comparator-stats .left .bar,
.comparator-points .left .bar {
  background-color: var(--blue-shadow-primary);
  float: right;
}
.comparator-stats .left .bar span,
.comparator-points .left .bar span {
  color: var(--blue-light-primary);
  right: var(--space-6);
}
.comparator-stats .left .bar-injured span,
.comparator-points .left .bar-injured span {
  right: 0;
}
.comparator-stats .right,
.comparator-points .right {
  text-align: left;
}
.comparator-stats .right .bar,
.comparator-points .right .bar {
  background-color: var(--red-shadow-primary);
  float: left;
}
.comparator-stats .right .bar span,
.comparator-points .right .bar span {
  color: var(--red-light-primary);
  left: var(--space-6);
}
.comparator-stats .right .bar-injured span,
.comparator-points .right .bar-injured span {
  left: 0;
}

.comparator-stats {
  margin-bottom: var(--box-space);
}

.comparator-points {
  overflow: hidden;
}
.comparator-points tr {
  border-bottom: 1px solid var(--bg-box);
}
.comparator-points tr td {
  height: 20px;
}
.comparator-points .mid {
  color: var(--fg-tertiary);
}
.comparator-points .bar {
  height: 24px;
  font-size: var(--font-l);
}
.comparator-points .bar-injured span {
  font-size: var(--font-s);
  opacity: 0.75;
}

@media (min-width: 740px) {
  .filters .filter {
    width: auto;
  }
  .filters .filter .label {
    width: auto;
    margin-right: var(--space-12);
  }
  .top-info {
    margin: -216px calc(var(--space-12) * -2) var(--space-24) calc(var(--space-12) * -2);
  }
  .top-info .numboxes .btn-dropdown {
    display: none;
  }
  .top-info .numboxes.hidden {
    display: flex;
  }
}
@media (min-width: 970px) {
  .top-info {
    border-radius: var(--radius);
    margin: 0 0 var(--box-space) 0;
    padding-top: 0;
  }
  .top-info .team-logo-overlay {
    border-radius: var(--radius);
  }
}
body:has(.header-promo) .top-info {
  --topMargin: -200px;
}

.boxes-team {
  margin: var(--box-space) 0;
}

.boxes-wrapper .box:not(:last-child) {
  margin-bottom: var(--box-space);
}

.top-info-team .head .info {
  padding-bottom: var(--space-6);
}
.top-info-team .head .info h1 {
  margin-bottom: var(--space-12);
}

.box-news h2 {
  padding: var(--space-12);
}

.content-best_xi .inputs {
  justify-content: flex-end;
  margin-bottom: var(--box-space);
}
.content-best_xi .best_xi {
  margin: var(--box-space) 0;
}

.best_xi .panel-stats,
.best_xi .panel-bench {
  display: none;
}

.best_xi .player-list {
  background-color: var(--bg-box);
  text-align: left;
  margin-bottom: 0;
  padding-top: var(--space-6);
  border-radius: var(--radius);
}

.field {
  border-radius: var(--radius);
  padding: var(--space-12);
  text-align: center;
  background-color: var(--field-bg);
}
.field .head {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-12);
}
.field .head > div {
  flex-grow: 1;
}
.field .head .left {
  text-align: left;
  color: white;
}
.field .head .left small {
  font-weight: bold;
  color: var(--white-50);
  font-size: var(--font-s);
}
.field .head .left .points {
  font-size: var(--font-xxl);
  font-weight: bold;
  font-variant: small-caps;
  text-shadow: 1px 1px var(--black-25);
}
.field .head .left .name {
  font-weight: bold;
  color: var(--white-75);
}
.field .head .right {
  max-width: 80px;
}
.field .tabs {
  border: 1px solid var(--white-50);
  border-radius: var(--radius);
  display: flex;
}
.field .tabs .tab {
  flex-grow: 1;
  flex-basis: 0;
  background-color: transparent;
  border-right: 1px solid var(--white-50);
  color: var(--white-50);
  height: 30px;
  padding: 0 var(--space-12);
  display: flex;
  align-items: center;
}
.field .tabs .tab.tap {
  background-color: var(--black-10);
}
.field .tabs .tab:last-child {
  border-right: 0;
}
.field .tabs .tab.active {
  color: white;
}
.field .pitch {
  position: relative;
  padding: var(--space-12);
  display: inline-block;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-image: var(--fieldLinesImg), repeating-linear-gradient(180deg, var(--black-10), var(--black-10) 40px, var(--field-bg) 40px, var(--field-bg) 80px);
  border: 2px solid var(--white-25);
  min-width: 280px;
}
.field .pitch .line-mid {
  height: 2px;
  background-color: var(--white-25);
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -1px;
  width: 100%;
}
.field .pitch .lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
.field .pitch .line {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-12);
}
.field .pitch .line a {
  z-index: 2;
  position: relative;
}
.field .pitch .line a.tap .info {
  background-color: var(--black-50);
}
.field .pitch .line a > img {
  display: block;
  width: 50px;
  height: 50px;
  margin: auto;
}
.field .pitch .line a .info {
  position: relative;
  color: white;
  font-weight: bold;
  background-color: var(--black-25);
  border-radius: 999px;
  min-width: 60px;
}
.field .pitch .line a .info .team-logo {
  position: absolute;
  left: 50%;
  top: -17px;
  margin-left: -32px;
}
.field .pitch .line a .info .name {
  padding: 0 var(--space-6);
  height: 20px;
  line-height: 20px;
  font-size: var(--font-s);
}
.field .pitch .line a .info .points {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 50%;
  top: -17px;
  margin-right: -32px;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  border: 1px solid var(--field-bg);
  background-color: var(--header-bg);
  font-size: var(--font-s);
}
.field .pitch .line a .info .points.live-blink span {
  animation: pulse 0.5s linear infinite alternate;
}
.field .pitch .line a.star .info {
  background-color: var(--yellow-base);
}
.field .pitch .line a.star .info .name {
  color: var(--bg-secondary);
}
.field .alert-empty {
  color: var(--white-50);
}

@media (min-width: 740px) {
  .content-best_xi .field .tabs {
    display: none;
  }
  .content-best_xi .best_xi .panels {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    gap: var(--space-12);
  }
  .content-best_xi .best_xi .panels .panel {
    display: block;
    flex-grow: 1;
    flex-basis: 0;
    display: block;
  }
}
.boxes-competition {
  margin-bottom: var(--box-space);
}

.boxes-groups:not(:last-child) {
  margin-bottom: var(--box-space);
}

.table-table .scroll-content {
  padding: var(--space-12);
}
.table-table table {
  border-collapse: collapse;
  width: 100%;
}
.table-table table td, .table-table table th {
  padding: var(--space-6);
  white-space: nowrap;
}
.table-table table td a, .table-table table th a {
  display: flex;
  align-items: center;
}
.table-table table td a .team-logo, .table-table table th a .team-logo {
  margin-right: var(--space-6);
}
.table-table table td:first-child, .table-table table th:first-child {
  padding-left: 0;
}
.table-table table td:last-child, .table-table table th:last-child {
  padding-right: 0;
}
.table-table table th {
  padding: 0 var(--space-6) var(--space-12) var(--space-6);
}
.table-table table tr:not(:first-child):not(:last-child) {
  border-bottom: 1px solid var(--bg-tertiary);
}
.table-table table tr.tap {
  background-color: var(--bg-box-tap);
}
.table-table .zone strong {
  width: 20px;
  color: var(--pos-text);
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  line-height: 20px;
}
.table-table .zone-UCL strong {
  background-color: var(--blue-base);
}
.table-table .zone-UEL strong {
  background-color: var(--orange-base);
}
.table-table .zone-UELq strong {
  background-color: var(--orange-base);
}
.table-table .zone-UECL strong {
  background-color: var(--green-base);
}
.table-table .zone-relegation strong {
  background-color: var(--red-base);
}
.table-table .zone-playoffs strong {
  background-color: var(--green-base);
}

.table-fixtures,
.playoffs-fixtures {
  padding: var(--space-12);
}
.table-fixtures h2,
.playoffs-fixtures h2 {
  margin-bottom: var(--space-12);
}
.table-fixtures ul li,
.playoffs-fixtures ul li {
  list-style: none;
}
.table-fixtures ul li a,
.playoffs-fixtures ul li a {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  width: 100%;
}
.table-fixtures ul li a.tap,
.playoffs-fixtures ul li a.tap {
  background-color: var(--bg-box-tap);
}
.table-fixtures ul li a.match-playing .tz,
.playoffs-fixtures ul li a.match-playing .tz {
  color: var(--red-base);
}
.table-fixtures ul li a .home,
.table-fixtures ul li a .away,
.playoffs-fixtures ul li a .home,
.playoffs-fixtures ul li a .away {
  width: 40%;
  display: flex;
  align-items: center;
}
.table-fixtures ul li a .home .team-logo,
.playoffs-fixtures ul li a .home .team-logo {
  margin-right: var(--space-6);
}
.table-fixtures ul li a .score,
.playoffs-fixtures ul li a .score {
  padding: 0 var(--space-6);
  text-align: center;
  color: var(--fg-secondary);
}
.table-fixtures ul li a .score.score-played,
.playoffs-fixtures ul li a .score.score-played {
  font-size: var(--font-xl);
  color: var(--fg-primary);
}
.table-fixtures ul li a .away,
.playoffs-fixtures ul li a .away {
  text-align: right;
  justify-content: flex-end;
}
.table-fixtures ul li a .away .team-logo,
.playoffs-fixtures ul li a .away .team-logo {
  margin-left: var(--space-6);
}

.table-fixtures {
  border-top: 1px solid var(--bg-tertiary);
}

.fixtures {
  margin-bottom: var(--box-space);
}
.fixtures .box-gameweek {
  padding: var(--space-12) var(--space-12) var(--space-6) var(--space-12);
}
.fixtures .box-gameweek h2 {
  margin-bottom: var(--space-12);
}
.fixtures .box-gameweek h2 a.tap {
  background-color: var(--bg-box-tap);
}
.fixtures .box-gameweek ul li {
  list-style: none;
  border-bottom: 1px solid var(--bg-tertiary);
}
.fixtures .box-gameweek ul li:last-child {
  border-bottom: 0;
}
.fixtures .box-gameweek ul li a {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  width: 100%;
}
.fixtures .box-gameweek ul li a.tap {
  background-color: var(--bg-box-tap);
}
.fixtures .box-gameweek ul li a.match-playing .tz {
  color: var(--red-base);
}
.fixtures .box-gameweek ul li a .home,
.fixtures .box-gameweek ul li a .away {
  width: 40%;
  display: flex;
  align-items: center;
}
.fixtures .box-gameweek ul li a .home.highlight,
.fixtures .box-gameweek ul li a .away.highlight {
  color: var(--green-base);
}
.fixtures .box-gameweek ul li a .home .team-logo {
  margin-right: var(--space-6);
}
.fixtures .box-gameweek ul li a .score {
  padding: 0 var(--space-6);
  text-align: center;
  color: var(--fg-secondary);
}
.fixtures .box-gameweek ul li a .score.score-played {
  font-size: var(--font-xl);
  color: var(--fg-primary);
}
.fixtures .box-gameweek ul li a .away {
  text-align: right;
  justify-content: flex-end;
}
.fixtures .box-gameweek ul li a .away .team-logo {
  margin-left: var(--space-6);
}
.fixtures .box-gameweek ul li a.highlight {
  background-color: var(--green-shadow-tertiary);
}

.btn-calendar {
  text-align: center;
  padding: var(--space-12) 0;
  font-size: var(--font-l);
  font-weight: bold;
  border-radius: var(--radius);
  margin-top: var(--box-space);
}

.top-info-match {
  background-color: var(--header-bg);
}
.top-info-match .head {
  padding: var(--space-12);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.top-info-match .head .home,
.top-info-match .head .mid,
.top-info-match .head .away {
  flex-grow: 1;
  flex-basis: 0;
  position: relative;
  z-index: 2;
}
.top-info-match .head .home a,
.top-info-match .head .mid a,
.top-info-match .head .away a {
  width: 70px;
  height: 50px;
  display: block;
  position: relative;
  margin: auto;
}
.top-info-match .head .home .team-logo,
.top-info-match .head .mid .team-logo,
.top-info-match .head .away .team-logo {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}
.top-info-match .head .home h2,
.top-info-match .head .mid h2,
.top-info-match .head .away h2 {
  color: white;
  margin-top: var(--space-6);
}
.top-info-match .head .home .score span,
.top-info-match .head .mid .score span,
.top-info-match .head .away .score span {
  background-color: white;
  font-size: var(--font-xxxl);
  font-weight: bold;
  border-radius: var(--radius);
  padding: var(--space-6) 0;
  color: black;
  text-shadow: none;
  width: 42px;
  display: inline-block;
  margin: 0 var(--space-4);
}
.top-info-match .head .home .info,
.top-info-match .head .mid .info,
.top-info-match .head .away .info {
  color: var(--header-text);
  margin-top: var(--space-6);
  font-weight: bold;
  font-size: var(--font-s);
}
.top-info-match .head .home .info span,
.top-info-match .head .mid .info span,
.top-info-match .head .away .info span {
  margin-top: var(--space-6);
}
.top-info-match .head .home .tv,
.top-info-match .head .mid .tv,
.top-info-match .head .away .tv {
  max-height: 20px;
  max-width: 50px;
  margin-top: var(--space-4);
}
.top-info-match .head .streak {
  margin-top: var(--space-12);
}
.top-info-match .head .streak span {
  color: var(--header-bg);
}
.top-info-match .extra-info {
  display: flex;
  padding: 0 var(--space-12) var(--space-12) var(--space-12);
  gap: var(--space-12);
}
.top-info-match .extra-info .btn {
  font-size: var(--font-l);
  color: var(--header-text);
  font-weight: bold;
  background-color: var(--header-darker);
  padding: var(--space-12) 0;
  border-radius: var(--radius);
  flex-grow: 1;
  flex-basis: 0;
  text-align: center;
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}
.top-info-match .extra-info .btn.tap {
  background-color: black;
}

.content-competition .box-match .points-status {
  padding: var(--space-12) var(--space-12) 0 var(--space-12);
}
.content-competition .box-match .points-status .bullet {
  margin-right: var(--space-6);
}
.content-competition .box-match .points-status .timer {
  color: var(--fg-tertiary);
  font-size: var(--font-s);
  text-align: left;
  margin-top: var(--space-4);
  font-variant-numeric: tabular-nums;
  font-weight: normal;
}

.content-competition .axd-content {
  margin-bottom: var(--box-space);
}
.content-competition .box-calls,
.content-competition .box-injuries {
  margin-bottom: var(--box-space);
  padding: var(--space-12);
}
.content-competition .box-calls:last-child,
.content-competition .box-injuries:last-child {
  margin-bottom: 0;
}
.content-competition .box-calls h2,
.content-competition .box-injuries h2 {
  margin-bottom: var(--space-12);
}
.content-competition .box-calls .teams,
.content-competition .box-injuries .teams {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}
.content-competition .box-calls .teams ul,
.content-competition .box-injuries .teams ul {
  flex-basis: 0;
  flex-grow: 1;
  list-style: none;
}
.content-competition .box-calls li {
  display: flex;
  gap: var(--space-6);
}
.content-competition .box-calls li:not(:last-child) {
  margin-bottom: var(--space-12);
}

.box-summary {
  height: 200px;
  background-size: cover;
  background-position: 50% 50%;
  margin-bottom: var(--box-space);
  position: relative;
  overflow: hidden;
}
.box-summary.tap .overlay {
  background: linear-gradient(180deg, var(--black-25) 50%, var(--black-75) 100%);
}
.box-summary.tap .play-icon {
  outline: 2px solid white;
  outline-offset: 2px;
}
.box-summary .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, var(--black-75) 100%);
}
.box-summary h2 {
  position: absolute;
  bottom: var(--space-12);
  left: 0;
  width: 100%;
  color: white;
  text-shadow: 1px 1px var(--black-25);
  padding: 0 var(--space-12);
}
.box-summary .play-icon {
  color: black;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  padding-left: 15px;
  background-color: white;
}

.box-events {
  padding: var(--space-12);
}
.box-events .box-events-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
}
.box-events .event {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}
.box-events .event:not(:last-child) {
  margin-bottom: var(--space-12);
}
.box-events .event-away svg:has(use[href*=switch]) {
  transform: scaleX(-1);
}
.box-events .event-away {
  flex-direction: row-reverse;
  text-align: right;
}
.box-events .event-center {
  justify-content: center;
}
.box-events .event-center span {
  background-color: var(--bg-box-tap);
  padding: var(--space-6) var(--space-12);
  border-radius: 999px;
}
.box-events .event-center .period {
  font-size: var(--font-xl);
  font-weight: bold;
}
.box-events .minute {
  font-size: var(--font-l);
  font-weight: bold;
  width: 20px;
  text-align: center;
}
.box-events small {
  display: block;
  font-size: var(--font-xs);
  color: var(--fg-secondary);
}
.box-events .in {
  color: var(--green-base);
}
.box-events .out {
  color: var(--red-base);
}
.box-events .out svg {
  vertical-align: middle;
}

.boxes-points-events {
  margin: var(--box-space) 0;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.highlight-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  grid-gap: var(--space-12);
  margin-bottom: var(--box-space);
}
.highlight-team .btn {
  padding: var(--space-6) 0;
  border-radius: var(--radius);
}
.highlight-team .highlight {
  background-color: var(--bg-secondary);
}

.match-scorers {
  padding: var(--space-12);
  color: var(--header-secondary);
  font-size: var(--font-s);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-12);
}
.match-scorers > div {
  flex-grow: 1;
  flex-basis: 0;
}
.match-scorers svg {
  color: white;
}
.match-scorers .match-scorers-home {
  text-align: right;
}

.boxes-market {
  margin-bottom: var(--box-space);
}

.box-chart {
  background-color: var(--header-bg);
  margin-bottom: var(--box-space);
  padding-bottom: var(--space-12);
}
.box-chart h2 {
  padding: var(--space-12);
  color: var(--header-active);
}
.box-chart .chart {
  position: relative;
}

.content-market .box-chart .chart {
  height: 200px;
}

.content-legal div {
  position: relative;
}
.content-legal a {
  color: var(--green-base);
}
.content-legal a.tap {
  text-decoration: underline;
}
.content-legal h1 {
  margin-bottom: var(--space-12);
}
.content-legal h2 {
  margin: var(--space-12) 0;
}
.content-legal p, .content-legal ul {
  line-height: 20px;
  margin-bottom: var(--space-12);
}
.content-legal ul {
  list-style-type: square;
  margin-left: var(--space-16);
}

.content-contact {
  max-width: 540px;
  margin: auto;
}
.content-contact h1 {
  margin-bottom: var(--box-space);
}
.content-contact .input {
  margin-bottom: var(--box-space);
  position: relative;
}
.content-contact .input label {
  display: block;
  color: var(--fg-secondary);
  margin-bottom: var(--space-12);
  font-size: var(--font-l);
}
.content-contact .input input,
.content-contact .input select,
.content-contact .input textarea {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  width: 100%;
  padding: var(--space-12);
  color: var(--input-text);
}
.content-contact .input input:focus,
.content-contact .input select:focus,
.content-contact .input textarea:focus {
  border-color: var(--green-base);
}
.content-contact .input input.error,
.content-contact .input select.error,
.content-contact .input textarea.error {
  border-color: var(--red-base);
}
.content-contact label.error {
  top: 0;
  right: 0;
  color: var(--red-base);
  font-size: var(--font-m);
  position: absolute;
}
.content-contact .btn {
  width: 100%;
  padding: var(--space-12) 0;
  font-size: var(--font-xl);
  font-weight: bold;
  border-radius: var(--radius);
  margin-top: var(--box-space);
}
.content-contact .recaptcha {
  margin-top: var(--space-24);
  color: var(--fg-tertiary);
  text-align: center;
}
.content-contact .recaptcha a {
  color: var(--fg-secondary);
}

.grecaptcha-badge {
  visibility: hidden;
}

.axd-mobile,
.axd-desktop {
  max-width: 970px;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
}

.axd-mobile {
  justify-content: center;
}
.axd-mobile.axd-header {
  margin-top: var(--space-12);
}
.axd-mobile.axd-content {
  margin: var(--box-space) auto;
}

.box-grid-2 .axd-mobile.axd-content,
.box-grid-3 .axd-mobile.axd-content,
.top .axd-mobile.axd-content {
  margin: auto;
}

.axd-desktop.axd-header {
  margin-top: var(--space-24);
}

tr .axd-mobile {
  justify-content: flex-start;
}

.axd-gw-title {
  margin-bottom: var(--space-12);
  text-align: center;
}

.axd-gw-bottom {
  margin-top: var(--space-12);
  text-align: center;
}

.axd-desktop {
  display: none;
}

.axds-sidebar-left,
.axds-sidebar-right {
  position: absolute;
  top: var(--space-24);
  display: flex;
  flex-direction: column;
}
.axds-sidebar-left .axd-desktop:not(:last-child),
.axds-sidebar-right .axd-desktop:not(:last-child) {
  margin-bottom: var(--space-24);
}

.axds-sidebar-right {
  left: 100%;
  margin-left: var(--space-24);
  align-items: flex-start;
}

.axds-sidebar-left {
  right: 100%;
  margin-right: var(--space-24);
  align-items: flex-end;
}

.axd-mobile-top {
  width: 100%;
  height: 100px;
  top: 0;
  background-color: var(--fg-primary);
  position: fixed;
  z-index: 999;
  text-align: center;
  display: none;
}

.axd-mobile-top-placeholder {
  height: 100px;
  display: none;
}

.axd-desktop.axd-news {
  align-items: center;
}
.axd-desktop.axd-news > div {
  width: 100%;
}
.axd-desktop.axd-news > div > div {
  overflow: hidden;
}

.axd-content,
.axd-header {
  justify-content: center;
}

.axd-content {
  margin-left: auto;
  margin-right: auto;
}

[class^=axd-]:empty {
  margin: 0 !important;
}
[class^=axd-] {
  /*& > div {
    position: relative;

    &.axd-label:after {
      content: "Publicidad";
      position: absolute;
      left: 0;
      right: 0;
      margin: auto;
      bottom: 100%;
      font-size: var(--font-xs);
      color: var(--fg-tertiary);
    }
  }*/
}

.env-dev .axd-header,
.env-dev .axd-content {
  height: 90px;
}
.env-dev .axd-content,
.env-dev .axd-sidebar {
  height: 250px;
}
.env-dev .axd-sidebar {
  width: 300px;
}
.env-dev .axd-sky,
.env-dev .axd-sky {
  height: 600px;
  width: 160px;
}
.env-dev .axd-desktop.axd-content {
  width: 970px;
}
.env-dev .axd-mobile.axd-content {
  width: 300px;
}

@media (min-width: 970px) {
  .axd-desktop {
    display: flex;
  }
  .axd-mobile {
    display: none;
  }
}
.mobile-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  border-top: 1px solid black;
}
.mobile-sticky:not(:empty) + .mobile-sticky-placeholder {
  background-color: black;
}
.mobile-sticky .mobile-sticky-close {
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 24px;
  height: 24px;
  color: var(--white-50);
  font-size: 20px;
  font-weight: bold;
  background-color: black;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  border-radius: var(--radius) 0 0 0;
}

.axd-desktop.axd-strip {
  margin: var(--box-space) auto;
}

.axd-widget-bet365 {
  background-color: #005440;
}

.axd-widget {
  margin: var(--box-space) 0;
  position: relative;
  background-color: var(--bg-tertiary);
  padding: var(--space-12);
  border-radius: var(--radius);
}
.axd-widget .top {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-12);
  gap: var(--space-6);
}
.axd-widget .top img {
  height: 30px;
}
.axd-widget .top .title {
  font-size: var(--font-xl);
  font-weight: bold;
}
.axd-widget .top .title .winamax {
  color: var(--red-base);
  text-transform: uppercase;
}
.axd-widget .top .title + img {
  margin-left: auto;
}
.axd-widget .entries {
  margin: 0 calc(var(--space-12) * -1);
  display: flex;
  gap: var(--space-12);
  padding: 0 var(--space-12);
}
.axd-widget .entries .entry.tap {
  text-decoration: underline;
}
.axd-widget .entries .entry img {
  max-height: 120px;
  max-width: 220px;
  min-width: 200px;
  border-radius: var(--radius);
}
.axd-widget .entries .entry .title {
  margin-top: var(--space-6);
  font-weight: bold;
  font-size: var(--font-l);
}

.adwall-wrapper {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background-color: hsla(0, 0%, 0%, 0.5);
  padding: var(--space-24);
}
.adwall-wrapper .dialog {
  background-color: var(--bg-box);
  border-radius: var(--radius);
  padding: var(--space-24);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
.adwall-wrapper .dialog .icon {
  font-size: 48px;
}
.adwall-wrapper .dialog .title {
  font-size: var(--font-xxl);
  font-weight: bold;
}
.adwall-wrapper .dialog .subtitle {
  color: var(--fg-tertiary);
}
.adwall-wrapper .dialog .btn {
  width: 100%;
  height: 40px;
  color: var(--fg-primary);
  background-color: var(--green-base);
  border-radius: var(--radius);
  font-weight: bold;
  font-size: var(--font-xl);
  color: var(--bg-primary);
}
.adwall-wrapper .dialog .btn.tap {
  background-color: var(--green-tap);
}

.posts {
  grid-gap: var(--space-24);
}
.posts .box-post-summary {
  position: relative;
}
.posts .box-post-summary.tap h3 {
  text-decoration: underline;
}
.posts .box-post-summary .no-img {
  height: 150px;
  position: relative;
  border-radius: var(--radius);
}
.posts .box-post-summary .no-img .bg {
  background-image: var(--patternBg);
  background-size: 150px;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}
.posts .box-post-summary img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  position: absolute;
  left: 0;
  top: 0;
}
.posts .box-post-summary h3 {
  font-size: var(--font-xl);
  margin-top: var(--space-12);
  color: var(--fg-primary);
}

.pager {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-24);
}
.pager .btn {
  background-color: var(--bg-tertiary);
  padding: var(--space-12);
  color: var(--fg-secondary);
  font-weight: bold;
  border-radius: var(--radius);
  font-size: var(--font-m);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.pager .btn.tap {
  color: var(--fg-primary);
}

.box-post-single {
  margin: 0 auto;
  max-width: 728px;
  padding: var(--space-12);
}
.box-post-single .title h1 {
  font-size: var(--font-xxxl);
}
.box-post-single .img {
  margin: var(--space-24) 0;
}
.box-post-single .img img {
  max-width: 100%;
  margin: auto;
}
.box-post-single .date {
  color: var(--fg-secondary);
}
.box-post-single .body {
  color: var(--fg-primary);
  font-size: var(--font-xl);
  margin-top: var(--space-24);
  line-height: 1.8;
}
.box-post-single .body img {
  max-width: 100%;
  margin: auto;
}
.box-post-single .body h2, .box-post-single .body h3 {
  color: var(--fg-primary);
  margin-bottom: var(--space-12);
}
.box-post-single .body h2 {
  font-size: var(--font-xxl);
}
.box-post-single .body h3 {
  font-size: var(--font-xl);
}
.box-post-single .body a {
  color: var(--green-base);
  font-weight: bold;
}
.box-post-single .body a:hover {
  text-decoration: underline;
}
.box-post-single .body p:not(:last-child) {
  margin-bottom: var(--space-24);
}
.box-post-single .body blockquote {
  background-color: var(--bg-secondary);
  border-left: 3px solid var(--bg-tertiary);
  padding: var(--space-12);
  margin-bottom: var(--space-24);
}
.box-post-single .body ul, .box-post-single .body ol {
  margin-left: var(--space-24);
}
.box-post-single .body ul li:not(:last-child), .box-post-single .body ol li:not(:last-child) {
  margin-bottom: var(--space-12);
}
.box-post-single .body ul:not(:last-child), .box-post-single .body ol:not(:last-child) {
  margin-bottom: var(--space-24);
}
.box-post-single .body .table {
  overflow-x: auto;
}
.box-post-single .body table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: var(--space-24);
  background-color: var(--bg-primary);
}
.box-post-single .body table tr {
  border-bottom: 1px solid var(--bg-secondary);
}
.box-post-single .body table tbody tr:last-child {
  border-bottom: 0;
}
.box-post-single .body table td, .box-post-single .body table th {
  padding: var(--space-12);
}

.box-wiki {
  margin-top: var(--space-24);
}
.box-wiki h2 {
  padding: var(--space-12);
}
.box-wiki .wiki-posts {
  display: flex;
  padding: 0 var(--space-12) var(--space-12) var(--space-12);
  gap: var(--space-12);
}
.box-wiki .wiki-posts .btn {
  border-radius: var(--radius);
  padding: var(--space-12);
  min-width: 220px;
  position: relative;
  background-color: var(--bg-tertiary);
}
.box-wiki .wiki-posts .btn.tap h3, .box-wiki .wiki-posts .btn.tap p {
  text-decoration: underline;
}
.box-wiki .wiki-posts .btn h3 {
  color: var(--fg-primary);
}
.box-wiki .wiki-posts .btn p {
  margin-top: var(--space-12);
  color: var(--fg-secondary);
}

.content-questions .questions-title {
  margin: 0 auto;
  max-width: 540px;
}
.content-questions .questions-title h1 {
  margin-bottom: var(--space-12);
}
.content-questions .questions-title p {
  font-size: var(--font-l);
  color: var(--fg-secondary);
}
.content-questions .questions-title .float {
  overflow: auto;
}
.content-questions .questions-title img {
  float: right;
  width: 40%;
  max-width: 300px;
  margin: 0 var(--space-6);
}
.content-questions .questions-subtitle {
  margin: var(--space-24) auto var(--space-12) auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content-questions .questions-subtitle .filter select {
  font-weight: bold;
  font-size: var(--font-l);
  color: var(--fg-tertiary);
  text-align-last: right;
  padding: var(--space-6);
}
.content-questions .questions-subtitle .filter select.tap, .content-questions .questions-subtitle .filter select:focus {
  color: var(--fg-secondary);
}
.content-questions .question-form {
  margin: 0 auto var(--box-space) auto;
  max-width: 540px;
  padding: var(--space-12);
}
.content-questions .question-single {
  margin: 0 auto var(--box-space) auto;
  max-width: 540px;
}
.content-questions .questions {
  margin-bottom: var(--box-space);
}
.content-questions .question.question-mine {
  border: 1px solid var(--green-base);
  overflow: hidden;
}
.content-questions .question.question-mine:after {
  content: "";
  position: absolute;
  right: -10px;
  top: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--green-base);
  transform: rotate(45deg);
}
.content-questions .question.question-styled {
  border: 1px solid var(--blue-base);
  overflow: hidden;
}
.content-questions .question.question-styled:after {
  content: "STAFF";
  position: absolute;
  right: -22px;
  top: 10px;
  width: 80px;
  height: 14px;
  background-color: var(--blue-base);
  transform: rotate(45deg);
  color: white;
  text-align: center;
  font-size: var(--font-s);
  line-height: 14px;
}
.content-questions .question .text {
  font-size: var(--font-l);
  word-break: break-word;
  padding: var(--space-12);
}
.content-questions .question .text p:not(:last-child) {
  margin-bottom: var(--space-12);
}
.content-questions .question .text .player-wrapper {
  position: relative;
}
.content-questions .question .text .btn {
  color: var(--green-base);
  display: inline-block;
}
.content-questions .question .text .btn.tap {
  text-decoration: underline;
}
.content-questions .question .poll-separator {
  text-align: center;
  position: relative;
  margin: var(--space-12) 0;
}
.content-questions .question .poll-separator hr {
  border: 0;
  width: 100%;
  height: 1px;
  background-color: var(--bg-tertiary);
  position: absolute;
  top: 50%;
  left: 0;
}
.content-questions .question .poll-separator span {
  background-color: var(--bg-box);
  font-weight: bold;
  padding: var(--space-6) var(--space-8);
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  color: var(--fg-secondary);
}
.content-questions .question .poll {
  padding: var(--space-12);
}
.content-questions .question .poll-option:not(:last-child) {
  margin-bottom: var(--space-6);
}
.content-questions .question .btn-poll-option {
  border: 1px solid var(--green-base);
  border-radius: 999px;
  font-size: var(--font-m);
  font-weight: bold;
  text-align: center;
  width: 100%;
  padding: 0 var(--space-12);
  height: 36px;
  color: var(--fg-primary);
}
.content-questions .question .btn-poll-option.tap {
  background-color: var(--bg-box-tap);
}
.content-questions .question .btn-poll-option.loading {
  background-color: var(--green-base);
}
.content-questions .question .poll-option-bar {
  position: relative;
  height: 36px;
  padding: 0 var(--space-12);
}
.content-questions .question .poll-option-bar .bg {
  background-color: var(--bg-tertiary);
  border-radius: var(--radius);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
.content-questions .question .poll-option-bar .result {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}
.content-questions .question .poll-option-bar .perc {
  font-weight: bold;
  width: 30px;
  text-align: right;
  margin-right: var(--space-12);
}
.content-questions .question .poll-option-bar .check {
  font-weight: bold;
  margin-left: var(--space-6);
}
.content-questions .question .bottom {
  padding: 0 var(--space-12);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.content-questions .question .bottom .btn-share {
  font-weight: bold;
  color: var(--fg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--bg-tertiary);
  padding: var(--space-6) var(--space-12);
  font-size: var(--font-s);
  margin-right: var(--space-12);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.content-questions .question .bottom .btn-share.tap {
  background-color: var(--bg-box-tap);
}
.content-questions .question .bottom .btn-tweet {
  background-color: var(--color-twitter);
  color: white;
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-12);
  font-weight: bold;
}
.content-questions .question .bottom .date {
  color: var(--fg-tertiary);
  margin-left: auto;
}
.content-questions .question .bottom .date.tap {
  text-decoration: underline;
}
.content-questions .question-comments {
  border-radius: 0 0 var(--radius) var(--radius);
  padding: var(--space-12);
}
.content-questions .question-comments .comment-form {
  display: flex;
  position: relative;
}
.content-questions .question-comments .comment-form:not(:last-child) {
  margin-bottom: var(--space-12);
}
.content-questions .question-comments .comment-form textarea {
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--fg-primary);
  font-size: var(--font-l);
  width: 100%;
  min-height: 30px;
  resize: none;
  background-color: transparent;
  padding: var(--space-8) calc(var(--space-12) * 3) var(--space-8) var(--space-8);
  overflow: hidden;
  line-height: 1;
}
.content-questions .question-comments .comment-form textarea:focus {
  border-color: var(--green-base);
}
.content-questions .question-comments .comment-form textarea:focus + .btn-comment-send svg {
  opacity: 1;
}
.content-questions .question-comments .comment-form .btn-comment-send {
  width: 18px;
  height: 18px;
  position: absolute;
  right: var(--space-6);
  top: var(--space-6);
}
.content-questions .question-comments .comment-form .btn-comment-send.tap svg {
  fill: var(--green-base);
}
.content-questions .question-comments .comment-form .btn-comment-send.loading:after {
  background-color: var(--green-base);
}
.content-questions .question-comments .comment-form .btn-comment-send.loading svg {
  opacity: 0;
}
.content-questions .question-comments .comment-form .btn-comment-send svg {
  transition: opacity 0.1s linear;
  opacity: 0;
  fill: var(--fg-secondary);
}
.content-questions .question-comments .comments {
  list-style: none;
}
.content-questions .question-comments .comments li {
  display: flex;
  gap: var(--space-6);
}
.content-questions .question-comments .comments li:not(:last-child) {
  margin-bottom: var(--space-12);
}
.content-questions .question-comments .comments .right {
  background-color: var(--bg-tertiary);
  border-radius: 0 var(--space-12) var(--space-12) var(--space-12);
  padding: var(--space-8);
  position: relative;
}
.content-questions .question-comments .comments .right.comment-mine {
  background-color: var(--green-shadow-primary);
}
.content-questions .question-comments .comments .right.comment-mine:before {
  background-color: var(--green-shadow-primary);
}
.content-questions .question-comments .comments .right p {
  word-break: break-word;
}
.content-questions .question-comments .comments .right:before {
  content: "";
  position: absolute;
  top: 0px;
  left: -5px;
  width: 6px;
  height: 8px;
  background-color: var(--bg-tertiary);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
  z-index: 2;
}
.content-questions .question-comments .comments small {
  margin-top: var(--space-6);
  color: var(--fg-secondary);
  display: inline-block;
}
.content-questions .question-comments .comments .show-more a {
  color: var(--fg-tertiary);
}
.content-questions .question-comments .comments .show-more a.tap {
  text-decoration: underline;
}

#question-form textarea {
  border: 0;
  color: var(--fg-primary);
  font-size: var(--font-l);
  width: 100%;
  min-height: 50px;
  margin-bottom: var(--space-12);
  resize: none;
  background-color: transparent;
  overflow: hidden;
}
#question-form .poll-options {
  display: none;
  margin-bottom: var(--space-12);
}
#question-form .poll-options .poll-option {
  display: flex;
  justify-content: space-between;
}
#question-form .poll-options .poll-option:not(:last-child) {
  margin-bottom: var(--space-6);
}
#question-form .poll-options .poll-option.hidden {
  display: none;
}
#question-form .poll-options input {
  width: calc(100% - 25px);
  border: 1px solid var(--input-border);
  padding: var(--space-6);
  color: var(--fg-primary);
  font-size: var(--font-l);
  border-radius: var(--radius);
  background-color: var(--input-bg);
}
#question-form .poll-options input:focus {
  border-color: var(--green-base);
}
#question-form .poll-options .btn-add-option {
  color: var(--fg-secondary);
  font-size: var(--font-l);
}
#question-form .poll-options .btn-add-option.tap {
  color: var(--fg-primary);
}
#question-form .buttons {
  display: flex;
  align-items: center;
}
#question-form .buttons .btn {
  height: 36px;
  padding: 0 var(--space-12);
}
#question-form .btn-add-poll {
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--radius);
  font-size: var(--font-m);
  font-weight: bold;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
#question-form .btn-add-poll.tap {
  background-color: var(--bg-box-tap);
}
#question-form .btn-reset-question {
  color: var(--fg-tertiary);
  font-weight: bold;
  font-size: var(--font-m);
  margin-left: auto;
}
#question-form .btn-post-question {
  font-weight: bold;
  font-size: var(--font-l);
  border-radius: var(--radius);
}

.question-avatar {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: hsl(var(--userColor), 80%, 75%);
}

.theme-dark .question-avatar {
  background-color: hsl(var(--userColor), 80%, 25%);
}