.sport-market {
  --sport-ink: #141724;
  --sport-blue: #2457c6;
  --sport-gutter: clamp(24px, 4.75vw, 96px);
  --sport-radius: clamp(14px, 1.4vw, 20px);
  background: white;
  color: var(--sport-ink);
  font-family: futura-pt, Futura, Arial, sans-serif;
}

.sport-market button, .sport-market input, .sport-market select {
  font-family: inherit;
}

.sport-market :focus-visible {
  outline: 3px solid var(--sport-blue);
  outline-offset: 3px;
}

.sport-market .market-wrap, .sport-market .container {
  max-width: none;
  padding-inline: var(--sport-gutter);
}

.sport-market .site-header {
  background: white;
  border: 0;
  position: relative;
  z-index: 10;
}

.sport-market .header-inner {
  display: flex;
  min-height: 62px;
  padding-block: 7px;
  gap: 18px;
}

.sport-market .brand-lockup {
  gap: 7px;
  white-space: nowrap;
  color: #000;
  text-decoration: none;
}

.sport-market .cw-whale-mark {
  width: 48px;
  height: 24px;
}

.sport-market .brand-word {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: normal;
}

.sport-market .brand-subpill {
  font: 700 12px/1 Arial, sans-serif;
  background: var(--sport-blue);
  padding: 6px 10px;
  color: white;
  border-radius: 30px;
  letter-spacing: normal;
}

.sport-market .top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3px;
}

.sport-market .nav-pill {
  background: none;
  border: 0;
  color: var(--sport-ink);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: none;
}

.sport-market .nav-pill.active {
  background: var(--sport-ink);
  color: white;
}

.sport-market .nav-ico {
  display: none;
}

.sport-market .header-right-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sport-market .lang-switcher {
  border: 0;
  background: #f4f5f9;
}

.sport-market .lang-link {
  font-size: 12px;
  padding: 5px 6px;
  font-weight: 500;
}

.sport-market .header-auth-desktop {
  display: none !important;
}

.sport-market .profile-icon-btn, .market-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  color: var(--sport-ink);
  background: none;
  cursor: pointer;
}

.sport-market .profile-icon-btn {
  background: #f2f3f7;
}

.sport-market .market-icon svg, .sport-market .profile-icon-btn svg {
  width: 23px;
  height: 23px;
}

.sport-market .market-menu, .sport-market .market-menu-how, .market-dock, .market-pages {
  display: none;
}

.sport-market .hero-banner {
  padding: 0;
}

.market-cover {
  position: relative;
  isolation: isolate;
  background: #f3f1fc;
  overflow: hidden;
}

.market-cover-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.market-cover-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(295px, 23.5vw, 390px);
  padding-block: 24px;
}

.market-copy {
  width: 43%;
}

.market-copy h1 {
  margin: 0;
  max-width: 10.4em;
  color: #08090e;
  font-size: clamp(48px, 5vw, 86px);
  line-height: .94;
  font-weight: 700;
  text-wrap: balance;
}

.market-intro {
  margin: 14px 0 22px;
  max-width: 21em;
  color: #30364c;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 400;
  line-height: 1.17;
}

.market-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.market-primary, .market-secondary {
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 21px;
  line-height: 1.2;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.market-primary {
  background: var(--sport-ink);
  color: white;
}

.market-secondary {
  background: rgba(255,255,255,.94);
  color: var(--sport-ink);
}

.market-primary svg, .market-secondary svg, .market-all-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.market-stats {
  display: grid;
  gap: 12px;
  width: clamp(130px, 11vw, 180px);
}

.market-stats > div {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1px;
  background: rgba(255,255,255,.89);
  border-radius: var(--sport-radius);
  padding: 12px 20px;
}

.market-stats svg {
  width: 23px;
  height: 23px;
  color: var(--sport-blue);
}

.market-stats strong {
  font-size: clamp(27px, 2.3vw, 38px);
  line-height: 1.05;
}

.market-stats span {
  font-size: 16px;
  line-height: 1.1;
}

.market-tiles {
  display: grid;
  grid-template-columns: repeat(8,minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
}

.sport-market .market-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  min-width: 0;
  max-width: none;
  min-height: 0;
  aspect-ratio: 1.5;
  padding: 8px 5px 12px;
  border: 0;
  border-radius: var(--sport-radius);
  background: var(--sport-ink);
  color: white;
  font-size: clamp(14px,1.35vw,21px);
  font-weight: 700;
  line-height: 1.1;
  backdrop-filter: none;
  box-shadow: none;
  cursor: pointer;
}

.market-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.market-tile:has(img)::after, .market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to top,rgba(8,10,18,.85),transparent 72%);
}

.sport-market .market-tile.active {
  outline: 3px solid var(--sport-blue);
  outline-offset: 1px;
}

.sport-market .market-tile:not(.market-all) svg {
  display: none;
}

.sport-market .market-all {
  background: #f0f1fb;
  color: var(--sport-ink);
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.market-all svg {
  width: 28px;
  height: 28px;
}

.market-recs {
  margin-top: clamp(26px, 2.8vw, 45px);
}

.market-section-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.market-flash {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff6e8;
  color: #b76c00;
  flex-shrink: 0;
}

.market-flash svg {
  width: 24px;
  height: 24px;
  fill: #ffc73b;
}

.market-section-head h2, .market-catalog-head h2, .market-how h2 {
  font-size: clamp(26px,2.2vw,38px);
  font-weight: 700;
  line-height: 1.05;
  color: #090b11;
  margin: 0;
}

.market-section-head p {
  margin: 4px 0 0;
  color: #414653;
  font-size: clamp(15px,1.25vw,19px);
  line-height: 1.15;
}

.market-all-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border: 0;
  margin-left: auto;
  padding: 8px;
  min-height: 44px;
  background: none;
  color: var(--sport-blue);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.market-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(10px,1.2vw,19px);
}

.market-card {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #354254;
  color: white;
  border-radius: var(--sport-radius);
  aspect-ratio: 1.47;
  min-width: 0;
  display: flex;
  align-items: flex-end;
}

.market-portrait {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.market-portrait img, .market-portrait .avatar {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

.market-portrait .avatar {
  display: grid;
  place-items: start center;
  padding: 15px;
  font-size: 42px;
}

.market-card::after {
  background: linear-gradient(to top,rgba(8,10,15,.94),rgba(8,10,15,.62) 28%,rgba(8,10,15,.04) 70%);
}

.market-rating, .sport-market .market-heart {
  position: absolute;
  top: 12px;
  z-index: 2;
}

.market-rating {
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: white;
  color: var(--sport-ink);
  line-height: 1.15;
}

.market-rating > span {
  color: #946000;
}

.sport-market .market-heart {
  right: 9px;
  background: rgba(14,16,22,.64);
  color: white;
  border: 0;
  box-shadow: none;
  width: auto;
  min-width: 44px;
  height: 44px;
  justify-content: center;
  border-radius: 50px;
}

.sport-market .market-heart svg {
  width: 23px;
  height: 23px;
}

.market-card-copy {
  width: 100%;
  padding: clamp(13px,1.3vw,22px);
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.market-tags span {
  padding: 4px 10px;
  border-radius: 99px;
  background: #fff;
  color: var(--sport-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.market-card h3 {
  margin: 7px 0 0;
  font-size: clamp(23px,2.05vw,35px);
  line-height: 1;
  font-weight: 700;
  text-wrap: initial;
}

.market-card-copy p {
  margin: 5px 0 11px;
  font-size: 16px;
  line-height: 1.15;
}

.market-card-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 6px 9px 6px 14px;
  background: rgba(255,255,255,.94);
  color: var(--sport-ink);
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}

.market-card-open::before {
  content:"";
  position:absolute;
  inset:0;
}

.market-round-arrow {
  display: grid;
  place-items: center;
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font: 22px/1 Arial,sans-serif;
}

.market-catalog-head {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 12px;
  scroll-margin: 20px;
}

.sport-market .market-catalog-head .hero-search-pill {
  max-width: 950px;
  width: 100%;
  border: 1px solid #d8dce4;
  box-shadow: none;
}

.market-examples summary {
  cursor: pointer;
  color: var(--sport-blue);
  font-weight: 500;
  width: fit-content;
}

.market-examples .hero-ai-prompts {
  margin-top: 8px;
}

.sport-market .market-examples .hero-ai-chip {
  color: var(--sport-ink);
  background: #f3f4f8;
  border: 0;
}

.market-how {
  width: min(400px,90vw);
  padding: 26px;
  border: 0;
  border-radius: 16px;
  color: var(--sport-ink);
}

.market-how::backdrop {
  background: rgba(12,15,22,.55);
}

.market-how p {
  font-size: 18px;
  line-height: 1.4;
}

.sport-market .page-layout {
  padding-top: 30px;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .sport-market {
    --sport-gutter: 24px;
  }

  .sport-market .header-inner {
    gap: 8px;
  }

  .sport-market .nav-pill {
    padding-inline: 8px;
    font-size: 14px;
  }

  .sport-market .brand-word {
    font-size: 20px;
  }

  .sport-market .cw-whale-mark {
    width: 30px;
  }

  .sport-market .header-right-group {
    gap: 0;
  }

  .sport-market .lang-link {
    padding: 4px;
  }

}

@media (max-width: 760px) {
  .sport-market {
    --sport-gutter: 16px;
    padding-bottom: calc(65px + env(safe-area-inset-bottom));
  }

  .sport-market .header-inner {
    min-height: 60px;
    gap: 5px;
  }

  .sport-market .cw-whale-mark {
    width: clamp(24px, 7.5vw, 34px);
    height: 19px;
  }

  .sport-market .brand-word {
    font-size: clamp(18px, 5vw, 22px);
  }

  .sport-market .brand-lockup {
    gap: 5px;
  }

  .sport-market .brand-subpill {
    font-size: 10px;
    padding: 5px 7px;
  }

  .sport-market .header-right-group {
    margin-left: auto;
    gap: 1px;
  }

  .sport-market .market-header-search, .sport-market .top-nav, .sport-market .lang-switcher {
    display: none;
  }

  .sport-market .market-menu {
    display: inline-flex;
  }

  .sport-market .menu-open .header-inner {
    flex-wrap: wrap;
  }

  .sport-market .menu-open .top-nav {
    display: flex;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 58px;
  }

  .sport-market .menu-open .lang-switcher {
    display: flex;
    position: absolute;
    bottom: 8px;
    left: var(--sport-gutter);
  }

  .sport-market .menu-open .market-menu-how {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
  }

  .sport-market .menu-open .lang-link {
    min-width: 44px;
    min-height: 44px;
    padding: 6px 13px;
    font-size: 14px;
  }

  .market-cover-inner {
    min-height: 246px;
    padding-block: 22px;
    align-items: center;
  }

  .market-cover-photo {
    width: 100%;
    object-position: 50% center;
  }

  .market-copy {
    width: 65%;
  }

  html[lang="pl"] .market-copy h1 {
    width: 110%;
  }

  .market-copy h1 {
    font-size: clamp(32px,8.25vw,50px);
    line-height: .96;
    text-wrap: initial;
  }

  .market-intro {
    font-size: 16px;
    line-height: 1.16;
    margin: 11px 0 19px;
    max-width: 11.8em;
  }

  .market-primary {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 15px;
    gap: 7px;
    white-space: nowrap;
  }

  .market-stats, .market-secondary {
    display: none;
  }

  .market-tiles {
    display: flex;
    gap: 7px;
    margin: 10px calc(-1 * var(--sport-gutter)) 0;
    padding: 2px var(--sport-gutter) 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .sport-market .market-tile {
    flex: 0 0 auto;
    width: auto;
    min-width: 76px;
    max-width: 123px;
    height: 78px;
    padding: 9px;
    aspect-ratio: auto;
    gap: 7px;
    border-radius: 15px;
    justify-content: center;
    background: #f3f4fa;
    color: var(--sport-ink);
    font-size: 14px;
    line-height: 1.1;
    scroll-snap-align: center;
  }

  .sport-market .market-tile.active {
    outline-offset: -2px;
  }

  .market-tile img, .market-tile:has(img)::after {
    display: none;
  }

  .sport-market .market-tile:not(.market-all) svg, .sport-market .market-all svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  .market-recs {
    margin-top: 22px;
  }

  .market-section-head {
    gap: 6px;
    margin-bottom: 11px;
  }

  .market-section-head h2, .market-catalog-head h2 {
    font-size: 25px;
  }

  .market-flash, .market-section-head p {
    display: none;
  }

  .market-all-link {
    position: relative;
    min-height: 44px;
    min-width: 44px;
    padding: 8px;
    color: var(--sport-ink);
  }

  .market-all-link svg {
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 50%;
    background: #f0f1f7;
  }

  .market-all-link span {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .market-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--sport-gutter));
    padding-inline: var(--sport-gutter);
    scroll-padding-inline: var(--sport-gutter);
  }

  .market-card {
    flex: 0 0 92%;
    max-width: 430px;
    aspect-ratio: 1.43;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .market-card-copy {
    padding: 14px 16px;
    padding-right: 62px;
  }

  .market-tags span {
    font-size: 12px;
    padding: 3px 7px;
  }

  .market-card h3 {
    font-size: 26px;
  }

  .market-card-copy p {
    font-size: 15px;
    margin-bottom: 0;
  }

  .market-card-open {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
    background: none;
  }

  .market-card-open > span:first-child {
    display: none;
  }

  .market-round-arrow {
    position: absolute;
    right: 14px;
    bottom: 13px;
    width: 36px;
    height: 36px;
  }

  .market-pages {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 11px auto 0;
  }

  .market-pages i {
    width: 7px;
    height: 7px;
    background: #d2d4df;
    border-radius: 50%;
  }

  .market-pages .active {
    background: var(--sport-ink);
  }

  .market-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 5px 4px calc(4px + env(safe-area-inset-bottom));
    background: white;
    border-top: 1px solid #e9e9ee;
  }

  .market-dock button {
    flex: 1;
    display: grid;
    min-width: 0;
    min-height: 49px;
    gap: 3px;
    place-items: center;
    align-content: center;
    font-size: 12px;
    line-height: 1.05;
    font-weight: 500;
    padding: 2px;
    border: 0;
    background: none;
    color: var(--sport-ink);
  }

  .market-dock button[aria-current] {
    color: var(--sport-blue);
  }

  .market-dock svg {
    width: 21px;
    height: 21px;
  }

  .sport-market .page-layout {
    padding-top: 24px;
  }

}
