:root {
  --app-width: 390px;
  --app-max-width: 430px;
  --player-detail-header-width: calc(var(--app-max-width) - 44px);
  --player-detail-card-width: min(calc(100vw - 44px), calc(var(--app-max-width) - 44px));
  --text: #fff;
  --page-bg-fallback: #0137a4;
  --page-bg-top: #0137a4;
  --page-bg-bottom: #0137a4;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: var(--page-bg-top);
  background-image: linear-gradient(to bottom, var(--page-bg-top), var(--page-bg-bottom));
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  color: var(--text);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background-color: var(--page-bg-bottom);
  background-image: linear-gradient(to bottom, var(--page-bg-top), var(--page-bg-bottom));
}

html.page-lionel-messi,
body.page-lionel-messi {
  --page-bg-fallback: #000;
  --page-bg-top: #000;
  --page-bg-bottom: #000;
}

@media (min-width: 431px) {
  body {
    background: linear-gradient(90deg, #080808, #1f1f1f 18%, #0d0d0d 50%, #202020 82%, #080808);
  }
}

body.page-lionel-messi {
  background-color: #000;
  background-image: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.fixed-photo-bg {
  position: fixed;
  inset: 0 auto 0 50%;
  z-index: 0;
  width: min(100vw, var(--app-max-width));
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
  background: var(--page-bg-fallback);
}

.fixed-photo-bg img {
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(100vw, var(--app-max-width));
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 80px rgba(0, 0, 0, .55);
}

.app-screen {
  position: relative;
  min-height: 100vh;
  padding: 55px 22px 105px;
  background: transparent;
}

.screen-tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.app-screen > :not(.screen-tint) {
  position: relative;
  z-index: 1;
}

.app-screen:has(.fixture-footer-brand) {
  padding-bottom: 0;
}

.players-screen {
  padding: 86px 22px 0;
}

.players-screen__tint {
  background: rgba(22, 0, 48, .18);
}

body.page-player-detail .players-screen__tint {
  background: rgba(0, 0, 0, 0);
}

.squad-list {
  display: grid;
  gap: 30px;
}

body.page-player-detail .squad-list {
  width: var(--player-detail-header-width);
  margin-left: 50%;
  transform: translateX(-50%);
  justify-items: stretch;
}

.squad-player {
  position: relative;
  isolation: isolate;
  min-height: 132px;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 82px;
  grid-template-rows: 61px 43px;
  align-items: center;
  column-gap: 0;
  color: #fff;
}

body.page-player-detail .squad-player {
  width: 100%;
}

.squad-player::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 64px;
  background: transparent;
  box-shadow: 8px 10px 18px rgba(0, 0, 0, .32);
  pointer-events: none;
}

.squad-player__acrylic {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 64px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  -webkit-mask: radial-gradient(circle 52px at 68px 66px, transparent 0 50px, #000 51px);
  mask: radial-gradient(circle 52px at 68px 66px, transparent 0 50px, #000 51px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

body.page-player-detail .squad-player__acrylic {
  inset: -14.286px 0;
  border-radius: 999px;
  transform: translateY(169px) rotate(90deg) scale(1.4);
  transform-origin: center;
  filter: none;
  -webkit-mask: radial-gradient(circle 66px at 78.714px 80.143px, transparent 0 64.286px, #000 65.286px);
  mask: radial-gradient(circle 66px at 78.714px 80.143px, transparent 0 64.286px, #000 65.286px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

body.page-player-detail .squad-player::before {
  inset: -14.286px 0;
  border-radius: 999px;
  transform: translateY(169px) rotate(90deg) scale(1.4);
  transform-origin: center;
  box-shadow:
    18px -24px 22px rgba(0, 0, 0, .36),
    6px -10px 14px rgba(0, 0, 0, .22);
}

.squad-player > :not(.squad-player__acrylic) {
  position: relative;
  z-index: 2;
}

/* Player photo */
.squad-player__portrait {
  position: absolute;
  left: 23px;
  top: 35px;
  width: 90px;
  height: 90px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
  transform: none;
}

body.page-player-detail .squad-player__portrait {
  width: 166px;
  height: 166px;
  box-shadow: none;
  transform: translate(calc((var(--player-detail-header-width) - 166px) / 2 - 23px), 8.286px);
  transform-origin: center;
}

body.page-player-detail .squad-player__country {
  position: absolute;
  left: calc(var(--player-detail-header-width) / 2 - 35px);
  top: 462px;
  width: 70px;
  height: 70px;
}

/* Country flag */
.squad-player__portrait > img,
.squad-player__country img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.squad-player__country {
  position: absolute;
  left: 22px;
  top: 74px;
  z-index: 2;
  width: 45px;
  height: 45px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .28);
}

/* Player text details */
.squad-player__info {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  min-width: 0;
  padding-left: 0;
  text-align: left;
  transform: translate(5px, 9px);
}

body.page-player-detail .squad-player__info {
  position: absolute;
  grid-column: 1 / -1;
  left: 0;
  right: 0;
  top: 208px;
  width: 100%;
  justify-self: stretch;
  transform: none;
  text-align: center;
}

body.page-player-detail .squad-player__info strong {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.05;
  white-space: normal;
  transform: translateY(-2px);
}

body.page-player-detail .squad-player__info small {
  font-size: 12px;
}

body.page-player-detail .squad-player__birthdate {
  margin-top: 104px;
}

body.page-player-detail .squad-player__nickname {
  position: absolute;
  left: 0;
  right: 0;
  top: 74px;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

body.page-player-detail .squad-player__age-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 140px;
  font-size: 13px;
  text-transform: none;
}

body.page-player-detail .squad-player__age-value {
  position: absolute;
  left: 0;
  right: 0;
  top: 116px;
  font-size: 21px;
  text-transform: none;
}

body.page-player-detail .squad-player__first-name,
body.page-player-detail .squad-player__last-name {
  display: block;
}

body.page-player-detail .squad-player__last-name {
  font-weight: 700;
}

body.page-player-detail .squad-player__first-name {
  font-size: 19px;
}

/* Shared text defaults */
.squad-player__info strong {
  display: block;
  overflow: hidden;
  margin-bottom: -2px;
  padding-bottom: 2px;
  color: #fff;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform: translateY(-3px);
}

.squad-player__info small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  transform: translateY(1px);
}

body.page-player-detail .squad-player__info .squad-player__age-value {
  font-size: 21px;
}

body.page-player-detail .squad-player__info .squad-player__nickname {
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

/* Jersey number */
.squad-player__number {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  transform: translate(5px, 1px);
  text-shadow: 0 4px 10px rgba(0, 0, 0, .45);
}

body.page-player-detail .squad-player__number {
  position: absolute;
  grid-column: 1 / -1;
  left: 0;
  right: 0;
  top: 221px;
  width: 100%;
  justify-self: stretch;
  justify-content: center;
  font-size: 42px;
  transform: none;
}

body.page-player-detail .squad-player__plus {
  display: none;
}

/* Hidden plus icon in the player detail page */
.squad-player__plus {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: rgba(45, 39, 73, .78);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.squad-player__plus span,
.squad-player__digit {
  transform: translateY(-1px);
}

/* Country crest */
.squad-player__crest {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 62px;
  height: 62px;
  object-fit: contain;
  justify-self: center;
  transform: translate(-18px, 12px);
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .34));
}

body.page-player-detail .squad-player__crest {
  width: 80px;
  height: 80px;
  transform: translate(-152px, 119.4px);
}

.messi-world-cups {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: var(--player-detail-card-width);
  margin: 428px auto 38px;
  color: #fff;
  text-align: center;
}

.messi-world-cups__stars {
  color: rgba(255, 255, 255, .70);
  font-size: 22.44px;
  line-height: 1;
  word-spacing: 2px;
}

.messi-world-cups__stars span:last-child {
  color: #ffb713;
}

.messi-world-cups p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.player-detail-feature-cards {
  width: var(--player-detail-card-width);
  margin-top: 436px;
  margin-left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  transform: translateX(-50%);
}

body.page-lionel-messi .player-detail-feature-cards {
  margin-top: 0;
}

.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 25px 15px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 14px 20px rgba(0, 0, 0, .18);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .22), transparent 38%),
    linear-gradient(0deg, rgba(20, 0, 0, .45), rgba(255, 255, 255, .02));
}

.champion {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-color: rgba(255, 255, 255, .13);
  align-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.champion::before {
  content: "";
  position: absolute;
  inset: 9px 8px 8px 9px;
  z-index: -1;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(75, 71, 60, .58), rgba(42, 0, 5, .72)),
    rgba(0, 0, 0, .44);
}

.champion::after {
  inset: 9px 8px 8px 9px;
  border-radius: 21px;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, .08), transparent 34%),
    linear-gradient(0deg, rgba(102, 0, 8, .22), transparent 58%);
}

.birth-country-card::before {
  background:
    linear-gradient(180deg, rgba(3, 10, 35, .08), rgba(12, 13, 51, .20)),
    url("../img/texturas/card-blue.jpg") center / cover no-repeat;
}

.birth-country-card::after {
  background:
    linear-gradient(180deg, rgba(9, 13, 31, .02), rgba(5, 7, 22, .48) 62%, rgba(6, 7, 22, .62));
}

body.page-lionel-messi .champion:not(.birth-country-card)::before {
  background:
    linear-gradient(180deg, rgba(68, 68, 68, .54), rgba(0, 0, 0, .72)),
    rgba(0, 0, 0, .44);
}

body.page-lionel-messi .champion:not(.birth-country-card)::after {
  background:
    linear-gradient(152deg, rgba(255, 255, 255, .08), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, .22), transparent 58%);
}

.player-orb {
  width: 77px;
  height: 77px;
  margin-top: 4px;
  margin-bottom: 11px;
  padding: 0;
  border: 5px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 7px 12px rgba(0, 0, 0, .20);
}

.player-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.feature-copy,
.data-clone-copy {
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: none;
}

.feature-copy strong,
.data-clone-copy strong {
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 400;
}

.feature-copy small,
.data-clone-copy small {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.05;
  font-weight: 300;
}

.champion .feature-copy strong {
  font-weight: 400;
}

.champion .feature-copy small {
  font-weight: 700;
  transform: translateY(3px);
}

.data-card-clone {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: translateX(-2px);
  border-color: rgba(255, 255, 255, .13);
  align-items: center;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.data-card-clone::before {
  content: "";
  position: absolute;
  inset: 9px 9px 8px 8px;
  z-index: -1;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(3, 10, 35, .08), rgba(12, 13, 51, .20)),
    url("../img/texturas/card-pasto.jpg") center / cover no-repeat;
}

.data-card-clone::after {
  inset: 9px 9px 8px 8px;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(9, 13, 31, .02), rgba(5, 7, 22, .48) 62%, rgba(6, 7, 22, .62));
}

.data-clone-copy {
  position: absolute;
  left: 30px;
  right: 16px;
  top: auto;
  bottom: 8px;
  z-index: 2;
  width: auto;
  height: calc(37% + 11px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 0;
  margin-top: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.data-clone-kicker,
.data-clone-copy strong,
.data-clone-copy small {
  display: block;
  width: 100%;
}

.data-clone-kicker {
  color: #fff;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 700;
}

.data-clone-copy strong,
.data-clone-copy small {
  margin-top: 0;
}

.data-clone-copy strong {
  color: #fff;
  font-weight: 300;
}

.data-clone-copy small {
  color: #fff;
}

.data-clone-copy b {
  color: #fff;
  font-weight: 700;
}

.data-folder-shape {
  position: absolute;
  left: 8px;
  right: 9px;
  bottom: 8px;
  z-index: 1;
  display: block;
  width: calc(100% - 17px);
  height: auto;
  aspect-ratio: 144 / 89;
  object-fit: contain;
  opacity: .20;
  filter: brightness(0) saturate(1) drop-shadow(0 -1px 0 rgba(255, 255, 255, .035));
  pointer-events: none;
}

.data-clone-orb {
  align-self: flex-start;
  width: 36px;
  height: 36px;
  margin-top: 0;
  margin-left: 14px;
  margin-bottom: 39px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 7px 12px rgba(0, 0, 0, .20);
}

.data-clone-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.data-clone-orb-number {
  position: absolute;
  right: 29px;
  top: 24px;
  z-index: 2;
  color: #fff;
  font-size: 35px;
  line-height: 1;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.player-detail-goals-summaries {
  width: var(--player-detail-card-width);
  margin-top: 11px;
  margin-left: 50%;
  display: grid;
  gap: 0;
  transform: translateX(-50%);
}

.player-detail-small-ad {
  width: var(--player-detail-card-width);
  margin-top: 57px;
  margin-bottom: 57px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.pub_part_small_1 {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.pub_part_small_1__inner {
  display: block;
  overflow: hidden;
  margin: 10px;
  border-radius: 21px;
  color: #fff;
  background:
    linear-gradient(180deg, transparent 0 1px, rgba(0, 0, 0, 0) 1px 48%, rgba(0, 0, 0, .82) 100%),
    linear-gradient(180deg, transparent 0 1px, rgba(0, 0, 0, .36) 1px 100%);
}

.pub_part_small_1__image_link {
  display: block;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  transform: translateY(1px);
}

.pub_part_small_1__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.pub_part_small_1__info {
  padding: 15px 18px 18px;
  text-align: left;
}

.pub_part_small_1__title {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.pub_part_small_1__url {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
}

.pub_part_big_1 {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.pub_part_big_1__inner {
  display: block;
  overflow: hidden;
  margin: 10px;
  border-radius: 21px;
  color: #fff;
  background:
    linear-gradient(180deg, transparent 0 1px, rgba(0, 0, 0, 0) 1px 48%, rgba(0, 0, 0, .82) 100%),
    linear-gradient(180deg, transparent 0 1px, rgba(0, 0, 0, .36) 1px 100%);
}

.pub_part_big_1__image_link {
  display: block;
  aspect-ratio: 1.45 / 2;
  overflow: hidden;
  transform: translateY(1px);
}

.pub_part_big_1__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.pub_part_big_1__info {
  padding: 15px 18px 18px;
  text-align: left;
}

.pub_part_big_1__title {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.pub_part_big_1__url {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
}

.player-detail-inline-data-cards {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.player-detail-goals-summaries .goal-scorer + .goal-scorer {
  margin-top: 2px;
}

body.page-lionel-messi .player-detail-goals-summaries > * + * {
  margin-top: 10px;
}

body.page-lionel-messi .player-detail-goals-summaries > .goal-scorer + .goal-scorer,
body.page-lionel-messi .player-detail-goals-summaries > .booking-total + .booking-total {
  margin-top: 10px;
}

body.page-lionel-messi .player-detail-inline-data-cards {
  margin-top: 20px;
  margin-bottom: 10px;
}

.goal-scorer {
  position: relative;
  isolation: isolate;
  min-height: 94px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 34px 28px;
  align-items: center;
  column-gap: 8px;
  color: #fff;
}

.goal-scorer::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 11px;
  bottom: 17px;
  left: 58px;
  z-index: 1;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(75, 71, 60, .54), rgba(42, 0, 5, .66)),
    rgba(0, 0, 0, .38);
}

.goal-scorer__acrylic {
  position: absolute;
  top: 7px;
  right: 0;
  bottom: 6px;
  left: 47px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.goal-scorer > :not(.goal-scorer__acrylic) {
  position: relative;
  z-index: 2;
}

.goals-total::before {
  top: 21px;
  bottom: 20px;
  left: 11px;
  background: rgba(243, 244, 241, .92);
}

.goals-total--dark::before {
  background:
    linear-gradient(180deg, rgba(68, 68, 68, .52), rgba(0, 0, 0, .66)),
    rgba(0, 0, 0, .38);
}

.goals-total .goal-scorer__acrylic {
  top: 10px;
  bottom: 9px;
  left: 0;
}

.goals-total {
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
}

.goals-total .goals-total__ball {
  width: 78px;
  height: 78px;
  justify-self: center;
  transform: none;
}

.goals-total .goals-total__info {
  justify-self: end;
  padding-left: 0;
  padding-right: 0;
  text-align: right;
  transform: translateX(-2px);
}

.goals-total .goals-total__info--right {
  justify-self: start;
  width: 100%;
  text-align: left;
  transform: none;
}

.goals-total .goals-total__goals {
  justify-self: start;
  width: 48px;
  padding-left: 0;
  font-size: 28px;
  text-align: right;
  transform: translateX(53px);
}

.goals-total .goal-scorer__info strong,
.goals-total .goal-scorer__goals {
  color: #26303a;
  text-shadow: none;
}

.goals-total--dark .goal-scorer__info strong,
.goals-total--dark .goal-scorer__info small,
.goals-total--dark .goal-scorer__goals {
  color: #fff;
}

.goals-total .goal-scorer__info strong {
  display: block;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(-1px);
}

.goals-total .goal-scorer__info small {
  display: block;
  margin-top: 4px;
  color: rgba(38, 48, 58, .82);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  text-transform: none;
  transform: translateY(0);
}

.goals-total--dark .goal-scorer__info small {
  color: #fff;
}

.booking-total {
  position: relative;
  isolation: isolate;
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  color: #fff;
}

.player-detail-inline-data-cards + .booking-total {
  margin-top: 14px;
}

.booking-total + .booking-total {
  margin-top: 2px;
}

.booking-total::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 11px;
  bottom: 20px;
  left: 11px;
  z-index: 1;
  border-radius: 27px;
  background: rgba(243, 244, 241, .92);
}

.booking-player__acrylic {
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 9px;
  left: 0;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.booking-total > :not(.booking-player__acrylic) {
  position: relative;
  z-index: 2;
}

.booking-total__info {
  min-width: 0;
  justify-self: end;
  padding-left: 0;
  padding-right: 0;
  text-align: right;
  transform: translateX(-2px);
}

.booking-total .booking-player__info strong {
  display: block;
  overflow: hidden;
  margin-bottom: -2px;
  padding-bottom: 2px;
  color: #26303a;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: none;
  transform: translate(55px, -1px);
}

.booking-total .booking-player__info small {
  display: block;
  margin-top: 4px;
  color: rgba(38, 48, 58, .82);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  transform: translateX(55px);
}

.booking-player__card {
  width: 22px;
  height: 30px;
  justify-self: center;
  border-radius: 3px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.booking-total__card {
  width: 42px;
  height: 58px;
}

.booking-total--red .booking-player__card {
  background: linear-gradient(180deg, #ff6258, #c90b12);
}

.booking-total--yellow .booking-player__card {
  background: linear-gradient(180deg, #ffe987, #f7b900);
}

.booking-total--red .booking-total__card,
.booking-total--yellow .booking-total__card {
  transform: translateX(55px) rotate(22deg) scale(1.1);
}

.booking-player__count {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 4px 10px rgba(0, 0, 0, .45);
}

.booking-total__count {
  justify-self: center;
  width: auto;
  padding-left: 0;
  color: #26303a;
  font-size: 28px;
  text-align: center;
  text-shadow: none;
  transform: translateX(0);
}

body.page-lionel-messi .messi-booking-card {
  position: relative;
  isolation: isolate;
  min-height: 94px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 34px 28px;
  align-items: center;
  column-gap: 8px;
  color: #fff;
}

body.page-lionel-messi .messi-booking-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  bottom: 17px;
  left: 23px;
  z-index: 1;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(76, 76, 76, .58), rgba(0, 0, 0, .72)),
    rgba(0, 0, 0, .44);
}

body.page-lionel-messi .messi-booking-card__acrylic {
  position: absolute;
  top: 7px;
  right: 0;
  bottom: 7px;
  left: 12px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)),
    rgba(255, 255, 255, .10);
  backdrop-filter: blur(13px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

body.page-lionel-messi .messi-booking-card > :not(.messi-booking-card__acrylic) {
  position: relative;
  z-index: 2;
}

body.page-lionel-messi .messi-booking-card__portrait {
  width: 92px;
  height: 92px;
  padding: 4px;
  border: 4px solid rgba(255, 255, 255, .54);
  border-radius: 50%;
  background: rgba(0, 0, 0, .16);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
}

body.page-lionel-messi .messi-booking-card__portrait > img,
body.page-lionel-messi .messi-booking-card__country img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

body.page-lionel-messi .messi-booking-card__country {
  position: absolute;
  right: -13px;
  bottom: -8px;
  z-index: 2;
  width: 45px;
  height: 45px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-lionel-messi .messi-booking-card__country img {
  object-fit: contain;
  border-radius: 0;
  transform: scale(1.2);
}

body.page-lionel-messi .messi-booking-card__info {
  min-width: 0;
  padding-left: 10px;
  text-align: left;
}

body.page-lionel-messi .messi-booking-card__info strong {
  display: block;
  overflow: hidden;
  margin-bottom: -2px;
  padding-bottom: 2px;
  color: #fff;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform: translateY(-3px);
}

body.page-lionel-messi .messi-booking-card__info small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  text-transform: none;
  transform: translateY(1px);
}

body.page-lionel-messi .messi-booking-card__card {
  width: 22px;
  height: 30px;
  justify-self: center;
  border-radius: 3px;
  transform: translateX(-30px) scale(1.2);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

body.page-lionel-messi .messi-booking-card--yellow .messi-booking-card__card {
  background: linear-gradient(180deg, #ffe987, #f7b900);
}

body.page-lionel-messi .messi-booking-card__messi-orb {
  box-sizing: border-box;
  justify-self: center;
  width: 47px;
  height: 47px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 7px rgba(0, 0, 0, .20);
  transform: translateX(-26px);
}

body.page-lionel-messi .messi-booking-card__messi-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

body.page-lionel-messi .messi-booking-card__count {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  transform: translateX(-28px);
  text-shadow: 0 4px 10px rgba(0, 0, 0, .45);
}

body.page-lionel-messi .messi-awards-ad {
  margin-top: 57px;
  margin-bottom: 57px;
}

body.page-lionel-messi .messi-final-ad {
  position: relative;
  z-index: 2;
  width: var(--player-detail-card-width);
  margin: 57px auto 0;
}

body.page-lionel-messi .messi-awards-hero {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: var(--player-detail-card-width);
  margin: 28px auto 0;
  color: #fff;
  text-align: center;
}

body.page-lionel-messi .messi-awards-hero__logo {
  width: 106px;
  height: 126px;
  margin-bottom: 4px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, .22));
}

body.page-lionel-messi .messi-awards-hero strong {
  display: block;
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .55);
}

body.page-lionel-messi .messi-awards-hero p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .96);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(3px);
  text-shadow: 0 3px 10px rgba(0, 0, 0, .55);
}

body.page-lionel-messi .messi-list-player-card {
  position: relative;
  z-index: 2;
  width: var(--player-detail-card-width);
  margin: 32px auto 0;
}

body.page-lionel-messi .messi-list-player-card .squad-player {
  width: 100%;
  min-height: 132px;
  grid-template-columns: 122px minmax(0, 1fr) 82px;
  grid-template-rows: 61px 43px;
  color: #fff;
  text-decoration: none;
}

body.page-lionel-messi .messi-list-player-card .squad-player::before {
  inset: 0;
  border-radius: 64px;
  transform: none;
  box-shadow: 8px 10px 18px rgba(0, 0, 0, .32);
}

body.page-lionel-messi .messi-list-player-card .squad-player__acrylic {
  inset: 0;
  border-radius: 64px;
  transform: none;
  -webkit-mask: radial-gradient(circle 52px at 68px 66px, transparent 0 50px, #000 51px);
  mask: radial-gradient(circle 52px at 68px 66px, transparent 0 50px, #000 51px);
  box-shadow:
    0 14px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}

body.page-lionel-messi .messi-list-player-card .squad-player__portrait {
  left: 23px;
  top: 35px;
  width: 90px;
  height: 90px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
  transform: none;
}

body.page-lionel-messi .messi-list-player-card .squad-player__country {
  left: 22px;
  top: 74px;
  width: 45px;
  height: 45px;
}

body.page-lionel-messi .messi-list-player-card .squad-player__info {
  position: static;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  width: auto;
  transform: translate(5px, -8px);
  text-align: left;
}

body.page-lionel-messi .messi-list-player-card:last-of-type .squad-player__info {
  transform: translate(15px, -8px);
}

body.page-lionel-messi .messi-list-player-card .squad-player__info strong {
  font-size: 14px;
  line-height: 1.12;
  font-weight: 600;
  max-width: 100%;
  transform: translateY(-3px);
}

body.page-lionel-messi .messi-list-player-card .squad-player__info small {
  font-size: 12px;
  text-transform: none;
}

body.page-lionel-messi .messi-list-player-card__award-date {
  position: relative;
  top: 4px;
  font-size: 11px;
}

body.page-lionel-messi .messi-list-player-card .squad-player__number {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  width: auto;
  justify-content: flex-start;
  max-width: none;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 600;
  text-align: left;
  transform: translate(5px, -18px);
}

body.page-lionel-messi .messi-list-player-card__award-name {
  display: block;
  max-width: 100%;
}

body.page-lionel-messi .messi-list-player-card .squad-player__crest {
  width: 62px;
  height: 62px;
  transform: translate(-18px, 12px);
}

body.page-lionel-messi .messi-list-player-card--primary .squad-player__crest {
  width: 56px;
  height: 56px;
  transform: translate(-15px, 15px);
}

body.page-lionel-messi .messi-list-player-card--secondary .messi-list-player-card__messi-orb {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 4px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 7px 12px rgba(0, 0, 0, .20);
  overflow: hidden;
  transform: translate(-11px, 12px);
}

body.page-lionel-messi .messi-list-player-card--secondary .messi-list-player-card__messi-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.fixture-footer-spacer {
  height: 64px;
}

body.page-player-detail .fixture-footer-spacer {
  height: 14px;
}

body.page-lionel-messi .fixture-footer-spacer {
  height: 64px;
}

.fixture-footer-brand {
  position: relative;
  z-index: 1;
  display: block;
  width: 156px;
  height: auto;
  margin: 0 auto;
}

body.page-player-detail .fixture-footer-brand {
  transform: none;
}

.fixture-footer-end-spacer {
  height: 64px;
}

@media (min-width: 700px) {
  .phone-shell {
    width: min(var(--app-max-width), 100vw);
    transform-origin: top center;
  }
}

@media (max-width: 370px) {
  .app-screen {
    padding-inline: 16px;
  }

  .players-screen {
    padding-inline: 18px;
  }
}
