/* Generated by less 3.11.1 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #050505;
  color: #f5f5f5;
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  width: 100%;
}
button,
input {
  font-family: inherit;
}
.game {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 40px 20px 100px;
  position: relative;
}
.hero {
  text-align: center;
  margin-bottom: 40px;
}
.hero__eyebrow {
  color: #8d8d8d;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero__title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 15px;
}
.hero__subtitle {
  color: #8d8d8d;
  font-size: 18px;
}
.hero__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.edition-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 10px 18px;
  background: #ca8a04;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin: 30px auto;
}
.search {
  margin-bottom: 30px;
}
.search__wrap {
  position: relative;
  max-width: 760px;
  margin: auto;
}
.search__wrap:after {
  content: "⌕";
  position: absolute;
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
  color: #777;
  font-size: 34px;
  pointer-events: none;
}
.search__input {
  width: 100%;
  height: 90px;
  padding: 0 90px 0 36px;
  border: none;
  outline: none;
  border-radius: 999px;
  background: #ffffff;
  color: #111;
  font-size: 26px;
  font-weight: 500;
}
.search__input::placeholder {
  color: #888;
}
.search__results {
  position: absolute;
  left: 0;
  top: 102px;
  width: 100%;
  background: #171717;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  overflow: hidden;
  display: none;
  z-index: 20;
}
.search-result {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}
.search-result:hover {
  background: #202020;
}
.search-result .shirt {
  width: 46px;
  height: 46px;
}
.search-result h3 {
  font-size: 16px;
  margin-bottom: 3px;
}
.search-result p {
  color: #8d8d8d;
  font-size: 13px;
}
.status {
  text-align: center;
  margin-bottom: 30px;
}
.status__label {
  color: #8d8d8d;
  display: block;
  margin-bottom: 5px;
}
.status__value {
  font-size: 22px;
  font-weight: 700;
}
.board-header,
.guess {
  display: grid;
  grid-template-columns: 220px repeat(6, 1fr);
  gap: 12px;
}
.board-header {
  margin-bottom: 12px;
}
.board-header div {
  text-align: center;
  color: #8d8d8d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.guesses {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guess__player {
  background: #171717;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.guess__player .shirt {
  flex-shrink: 0;
}
.guess__player span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.button {
  height: 56px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: #ffffff;
  color: #111;
}
.button--secondary {
  background: #202020;
  color: #ffffff;
  border: 1px solid #2a2a2a;
}
.dev-tools {
  display: flex;
  justify-content: center;
  margin: 50px 0;
  gap: 10px;
}
.guess__tile {
  background: #171717;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px;
}
.guess__tile.tile--correct {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}
.guess__tile.tile--partial {
  background: #ca8a04;
  border-color: #ca8a04;
  color: #ffffff;
}
.guess__tile.tile--confed {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.guess__tile.tile--wrong,
.guess__tile.tile--higher,
.guess__tile.tile--lower {
  background: #1a1a1a;
  border-color: #2a2a2a;
  color: #ffffff;
}
.guess__tile .arrow {
  display: inline-block;
  margin-left: 4px;
  font-weight: 900;
}
.guess__tile .arrow--up {
  color: #22c55e;
}
.guess__tile .arrow--down {
  color: #ef4444;
}
.result {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}
.result--hidden {
  display: none !important;
}
.result__card {
  width: 100%;
  max-width: 440px;
  background: #171717;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  padding: 34px;
  text-align: center;
}
.result__eyebrow {
  color: #8d8d8d;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 12px;
}
.result h2 {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.result p {
  color: #8d8d8d;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.result .shirt {
  margin: 0 auto 20px;
  width: 90px;
  height: 90px;
}
.result .button {
  width: 100%;
  margin-top: 10px;
}
.help-guide {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.help-guide hr {
  border: none;
  border-top: 1px solid #2a2a2a;
}
.shirt {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.shirt__base,
.shirt__detail {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.shirt__base {
  background: var(--shirt-base);
  mask: url('../img/shirt-base.svg') center / contain no-repeat;
  -webkit-mask: url('../img/shirt-base.svg') center / contain no-repeat;
}
.shirt__detail {
  background: var(--shirt-detail);
}
.shirt__number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shirt-number);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(4px);
}
.shirt--cuffs .shirt__detail {
  mask: url('../img/shirt-cuffs.svg') center / contain no-repeat;
  -webkit-mask: url('../img/shirt-cuffs.svg') top / contain no-repeat;
}
.shirt--stripes .shirt__detail {
  mask: url('../img/shirt-stripes.svg') center / contain no-repeat;
  -webkit-mask: url('../img/shirt-stripes.svg') top / contain no-repeat;
}
.shirt--checks .shirt__detail {
  mask: url('../img/shirt-checks.svg') center / contain no-repeat;
  -webkit-mask: url('../img/shirt-checks.svg') top / contain no-repeat;
}
.help-button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #202020;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}
.help-button:hover {
  transform: scale(1.08);
}
@media (max-width: 1100px) {
  .board-header,
  .guess {
    grid-template-columns: 220px repeat(7, 1fr);
  }
}
@media (max-width: 768px) {
  .game {
    padding: 34px 14px 80px;
  }
  .edition-ribbon {
    top: 22px;
    right: -78px;
    width: 280px;
    font-size: 9px;
  }
  .hero {
    text-align: center;
    margin-top: 34px;
  }
  .hero__title {
    font-size: 52px;
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .board-header {
    display: none;
  }
  .guess {
    display: grid;
    background: #171717;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 12px;
    grid-template-columns: 1fr 1fr;
  }
  .guess__player {
    border: none;
    background: transparent;
    padding: 4px 4px 14px;
    margin-bottom: 8px;
    grid-column: span 2;
    text-align: center;
    justify-content: center;
  }
  .guess__attributes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .guess__tile {
    min-height: 74px;
    border-radius: 18px;
    font-size: 13px;
    padding: 10px;
    flex-direction: column;
  }
  .guess__tile:before {
    display: block;
    content: attr(data-label);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
}
@media (max-width: 768px) {
  .edition-ribbon {
    min-width: 160px;
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 0.05em;
  }
}
