@font-face {
  font-family: 'Helvetica Ultra Compressed';
  src: url('fonts/Helvetica%20Ultra%20Compressed.otf') format('opentype');
  font-display: swap;
}

:root {
  --paper: #fffdf7;
  --ink: #070707;
  --muted: #65615b;
  --cyan: #15c5d8;
  --cyan-text: #0795a8;
  --yellow: #ffd019;
  --lime: #9cff18;
  --line: #111;
  --soft: #f2efe5;
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  --fixture-headline: 'Bebas Neue', 'Helvetica Ultra Compressed', Anton, Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #d7d7d7;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #eeeeee, #cfcfcf);
}

button {
  color: inherit;
  font: inherit;
}

.phone-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding-top: var(--masthead-height, 170px);
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 0, 0, 0.035) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 30%, rgba(0, 0, 0, 0.025) 0 1px, transparent 1.5px),
    var(--paper);
  background-size: 32px 32px, 46px 46px, auto;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.24);
  position: relative;
  overflow-x: hidden;
}

.landing-screen {
  transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    display: grid;
    gap: 22px;
    padding: 30px 18px 24px;
    width: 100vw;
    top: 50%;
}

.phone-shell.is-started .landing-screen {
  display: none;
}

.phone-shell:not(.is-started) {
  padding-bottom: 0;
}

.phone-shell:not(.is-started) .filters,
.phone-shell:not(.is-started) .view-viewport,
.phone-shell:not(.is-started) .bottom-nav {
  display: none;
}

.landing-headline {
  display: grid;
  justify-items: center;
  text-align: center;
  color: #050505;
  text-transform: uppercase;
}

.landing-headline span {
  font-family: Anton, Impact, sans-serif;
  font-size: 43px;
  font-weight: 900;
  line-height: 0.86;
}

.landing-headline > span:first-child {
  font-size: 120px;
  line-height: 0.86;
}

.landing-headline strong {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

.landing-headline .landing-time {
   font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 0.5;
}

.landing-headline strong + span {
     font-size: 36px;
    line-height: 0.88;
}

#tiempo{
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 100;
    letter-spacing: -1px;
}

.fixture-ad {
  min-height: 170px;
    background: #d5d5d5;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-family: impact;
    text-transform: uppercase;
    color: #08080861;
 
}

.enter-fixture {
      width: 90vw;
    border: 0;
    border-radius: 10px;
    background: var(--cyan);
    color: #050505;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    bottom: -40px;
    left: 5vw;
}

.view-viewport {
  --swipe-offset: 0px;
  overflow: hidden;
  touch-action: pan-y;
  transition: height 240ms ease;
}

.view-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transform: translateX(calc((var(--active-view-index, 0) * -100%) + var(--swipe-offset)));
  transition: transform 260ms cubic-bezier(0.2, 0.85, 0.25, 1);
  will-change: transform;
}

.view-viewport.is-dragging .view-track {
  transition: none;
}

.masthead {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(100%, 430px);
  transform: translateX(-50%);
  z-index: 20;
  background: #fff;
  text-align: center;
    
}

.brand-logo {
    display: block;
    width: calc(100% - 100px);
    max-height: 88px;
    margin: 12px auto 0;
    object-fit: contain;
    object-position: center;
    margin-bottom:10px;
}

.masthead h1 {
  margin: 2px;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.filters {
  position: fixed;
  top: var(--masthead-height, 170px);
  left: 50%;
  width: min(100%, 430px);
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  overflow-x: auto;
  background: #fbfaf5;
  transition: opacity 160ms ease, transform 160ms ease;
}

.filters.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-110%);
}

#matchesView {
  padding: var(--filters-height, 49px) 0 0;
}

#matchesView .match-list {
  padding: 14px 20px 18px;
}

.chip {
   flex: 0 0 auto;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    background: #000000;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
}

.chip.is-active {
  background: #00a9dc;
}

.view {
  display: block;
  flex: 0 0 100%;
  min-width: 0;
  padding: 12px;
  opacity: 0.48;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.view.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.match-list {
  display: grid;
  gap: 0;
}

.match-group-section {
  display: grid;
  gap: 9px;
}

.match-group-section h3 {
  margin: 10px 0 0;
  padding: 7px 12px 6px;
  border: 3px solid var(--line);
  background: var(--yellow);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.match-group-section .match-card:first-of-type {
  margin-top: 0;
}

.date-card {
  overflow: hidden;
  border: 4px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow);
}

.date-card h3 {
  margin: 0;
  padding: 12px 12px 10px;
  background: var(--yellow);
  font-family: var(--fixture-headline);
  font-size: 35px;
  line-height: 0.95;
  text-transform: uppercase;
}

.date-card-stage {
  margin: 0;
  padding: 0 12px 9px;
  border-bottom: 4px solid var(--line);
  background: var(--yellow);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.group-fixture-card h3 {
  background: transparent;
}

.group-fixture-card .date-card-stage {
  background: var(--cyan);
}

.stage-filter-heading {
  margin: 0;
    padding: 2px 0 9px;
    /* border-bottom: 7px solid var(--line); */
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-size: 50px;
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    /* background: #00a9dc; */
    color: #00000070;
}

.date-match-list {
  display: grid;
}

.date-match-row {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-bottom: 1px solid #e3ded2;
}

.date-match-row.is-argentina {
  background: #bfefff;
}

.date-match-row:last-child {
  border-bottom: 0;
}

.date-match-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 21px;
  line-height: 1.02;
  text-transform: uppercase;
}

.date-match-detail,
.date-match-venue {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.date-match-venue {
  color: #7a746b;
}

.date-fixture-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-top:10px;
}

.date-fixture-card h3 {
  margin: 0;
  padding: 0 0 7px;
  border-bottom: 7px solid var(--line);
  background: transparent;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.date-fixture-card .date-match-row {
  display: grid;
  gap: 2px;
  padding: 13px 0 12px;
  border-bottom: 1px solid #d8d8d8;
  background: transparent;
}

.date-fixture-card .date-match-row.is-argentina {
  background: transparent;
}

.date-fixture-card .date-match-title {
  grid-column: 1 / -1;
    font-family: var(--fixture-headline);
    font-size: 20px;
    font-weight: 700;
    line-height: 0.94;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
    letter-spacing: 0.5px;
}

.date-fixture-card .date-match-meta,
.date-fixture-card .date-match-detail {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.06;
}

.date-fixture-card .date-match-detail {
  font-weight: 500;
}


.match-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-bottom: 3px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 15px 0 12px;
}

.match-card.is-argentina {
  background: #fff;
}

.stripe {
  display: none;
}

.match-title {
  display: block;
  padding: 0;
}

.match-title h2 {
  min-width: 0;
  margin: 0;
  font-family: var(--fixture-headline);
  font-size: 30px;
  line-height: 0.94;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.flag {
  display: none;
  place-items: center;
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  overflow: hidden;
}

.flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flag-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.match-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  border-top: 0;
}

.date {
  min-width: 0;
  align-self: center;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}

.stage {
  max-width: 112px;
  align-self: center;
  color: var(--ink);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 0.95;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 -0.5em 0 rgb(21 197 216 / 31%);
}

.venue {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.12;
  margin: 10px 0 0;
}

.match-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0 0;
}

.badge {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cyan);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  box-shadow: none;
}

.score {
  display: none;
}

.follow {
  width: 110px;
  height: 38px;
  background: #050505;
  color: var(--cyan);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(21, 197, 216, 0.25);
}

.follow.is-following {
  background: #050505;
  color: #fff;
}

.knockout-teaser-card {
  display: grid;
  gap: 12px;
  padding: 14px 12px;
  border: 4px solid var(--line);
  border-radius: 7px;
  background: var(--yellow);
  box-shadow: var(--shadow);
  margin: 20px 0px 10px 0px;
}

.knockout-teaser-card h2 {
  margin: 0;
  font-family: var(--fixture-headline);
  font-size: 42px;
  line-height: 0.95;
  text-transform: uppercase;
}

.knockout-teaser-action {
  justify-self: start;
  min-height: 38px;
  padding: 0 12px;
  border: 3px solid var(--line);
  background: #fff;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.match-number-note {
  margin: 8px 4px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.group-phase-header {
  display: grid;
  gap: 10px;
  padding: 0 0 13px;
  border-bottom: 3px solid var(--line);
}

.worldcup-countdown {
  display: grid;
  gap: 3px;
  color: var(--ink);
}

.countdown-label {
  color: rgba(0,0,0,0.5);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.worldcup-countdown strong {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 11px 12px 10px;
  background: #050505;
  color: #fff;
  font-family: var(--fixture-headline);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.countdown-item {
  display: grid;
  gap: 3px;
  justify-items: center;
  text-align: center;
}

.countdown-number {
  font-size: 50px;
}

.countdown-unit {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.group-phase-intro {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.28;
  text-align: justify;
}

.group-grid,
.stadium-grid {
  display: grid;
  gap: 0;
}

.group-card,
.stadium-card,
.info-card,
.empty-panel {
  border: 0;
  border-bottom: 3px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.group-card h2,
.stadium-card h2,
.info-card h2,
.empty-panel h2 {
  margin: 0;
  padding: 14px 0 8px;
  border-bottom: 6px solid var(--line);
  background: transparent;
  font-family: var(--fixture-headline);
  font-size: 34px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 900;
}

.table th,
.table td {
  padding: 9px 4px;
  border-bottom: 1px solid #d8d8d8;
  text-align: right;
}

.table th {
  color: var(--cyan);
  font-family: var(--fixture-headline);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.table th:first-child,
.table td:first-child {
  text-align: left;
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--fixture-headline);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.mini-flag {
  display: inline-block;
  min-width: 28px;
  width: 28px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  overflow: hidden;
}

.stadium-card {
  padding: 0 0 13px;
}

.stadium-photo {
  margin: 0;
  padding: 14px 0 0;
}

.stadium-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 5px solid var(--line);
  background: #d8d8d8;
}

.stadium-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.stadium-photo a {
  color: var(--cyan);
  text-decoration: none;
}

.stadium-match-list {
  display: grid;
  margin-top: 9px;
  border-top: 1px solid #d8d8d8;
}

.stadium-match-row {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid #d8d8d8;
}

.stadium-match-row strong {
  font-family: var(--fixture-headline);
  font-size: 18px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.stadium-match-row span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.stadium-card p,
.info-card p,
.empty-panel p {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.info-card {
  margin-bottom: 0;
  overflow: hidden;
}

.programming-card {
  margin-top: 0;
  padding: 0 0 16px;
}

.programming-card h2 {
  background: transparent;
}

.programming-card p {
  color: var(--ink);
  font-family: var(--fixture-headline);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.05;
}

.programming-card p + p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 18px;
}

.info-card .info-row {
  display: grid;
  grid-template-columns: minmax(96px, 38%) 1fr;
  align-items: start;
  column-gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #d8d8d8;
  font-size: 14px;
  line-height: 1.2;
}

.info-card .info-row:last-child {
  border-bottom: 0;
}

.info-card .info-row label {
  display: block;
  color: var(--cyan-text);
  font-family: var(--fixture-headline);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.info-card .info-row span {
  display: block;
  min-width: 0;
  text-align: left;
  font-family: var(--fixture-headline);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 22px auto 8px;
  border: 4px solid var(--line);
  border-radius: 50%;
  font-family: var(--fixture-headline);
  font-size: 40px;
}

.empty-panel {
  min-height: 260px;
  text-align: center;
}

.source {
  padding-bottom: 12px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 430px);
  transform: translateX(-50%);
  border-top: 2px solid var(--line);
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  position: relative;
  min-height: 70px;
  border: 0;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 7px 4px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-item.is-active {
  background: #d7f5ff;
}

.nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(-50%);
}

.nav-item:active {
  transform: translateY(1px);
}

.icon {
  display: none;
}

.nav-item > span {
  display: none;
}

.nav-icon {
  display: block;
  width: min(62px, 100%);
  max-height: 56px;
  object-fit: contain;
}



@media (min-width: 431px) {
  .phone-shell {
    min-height: 860px;
  }
}
