/* Common imports for all CSS modules */
/*
 * This source is generated by bin/gen/licon.py. Run licon.py after changing public/font/lichess.sfd
 *
 * Constant names and values are pulled from private use characters defined in the sfd file.
 *
 * Character names can be edited in fontforge's "glyph info" dialog, or by editing the StartChar: line that
 * begins each character chunk in lichess.sfd
 *
 * To make these characters visible in your editor, install the lichess.ttf font (which is also generated by
 * licon.py) and then add it to your editor's font list.
 */
/* Uniboard: keep the same page layout across pages */
/* text printed directly on the page background deserves special treatment (transp theme) */
#tournament-calendar .timeline {
  position: absolute;
  width: 100%;
  height: 100%;
}

#tournament-calendar .tournament {
  /* extends %flex-wrap */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

#tournament-calendar group {
  display: flex;
  flex-flow: column;
}

#tournament-calendar .tournament {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
#tournament-calendar {
  user-select: none;
}
#tournament-calendar group {
  width: 100%;
  position: relative;
}
#tournament-calendar days {
  margin-top: 22px;
}
#tournament-calendar day {
  display: flex;
  align-items: center;
}
#tournament-calendar day:nth-child(even) {
  background: var(--c-bg-zebra);
}
#tournament-calendar day date {
  flex: 0 0 40px;
  margin-inline-start: -55px;
  margin-inline-end: 15px;
}
#tournament-calendar day lanes {
  flex: 1 1 100%;
  overflow: hidden;
  padding: 5px 0;
}
#tournament-calendar day lane {
  display: block;
  width: 100%;
  height: 2.3em;
  position: relative;
}
#tournament-calendar .tournament {
  position: absolute;
  top: 0;
  padding: 4px 0;
  background-color: #303e43;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  transition: filter 0.13s;
  color: #fff;
  white-space: nowrap;
  font-size: 0.9em;
}
#tournament-calendar .tournament:hover {
  filter: brightness(1.08);
}
#tournament-calendar .tournament.hourly {
  background-color: #3d9333;
}
#tournament-calendar .tournament.daily, #tournament-calendar .tournament.eastern {
  background-color: #0072b2;
}
@keyframes animated-background {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 1000%;
  }
}
#tournament-calendar .tournament.weekly, #tournament-calendar .tournament.weekend, #tournament-calendar .tournament.monthly, #tournament-calendar .tournament.marathon, #tournament-calendar .tournament.yearly {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  background-image: url("../hashed/grain.91560814.png");
  animation: animated-background 50s linear infinite;
}
#tournament-calendar .tournament.weekly {
  background-color: #d55e00;
}
#tournament-calendar .tournament.monthly {
  background-color: #c93d3d;
}
#tournament-calendar .tournament.yearly, #tournament-calendar .tournament.weekend {
  background-color: var(--c-brag);
}
#tournament-calendar .tournament.marathon {
  background-color: #66558c;
}
#tournament-calendar .tournament.unique {
  background-color: var(--c-brag);
}
#tournament-calendar .tournament.max-rating {
  background-color: #8572ff;
}
#tournament-calendar .tournament.yesterday {
  text-align: right;
  padding-inline-end: 5px;
}
#tournament-calendar .tournament .icon {
  font-size: 1.3em;
  margin: 2px 1px -1px 3px;
}
#tournament-calendar .tournament .body {
  flex: 1 0;
  margin-inline-end: 0;
  overflow: hidden;
}
#tournament-calendar .timeline {
  border-top: 1px solid var(--c-border);
}
#tournament-calendar .timeheader {
  position: absolute;
  display: inline;
  height: 100%;
  border-inline-start: 1px dashed var(--c-border);
  padding: 2px 5px;
}
#tournament-calendar .timeheader:first-child {
  border: none;
}

#main-wrap {
  ---main-max-width: min(90vw, 100vw - 140px);
}

/*# sourceMappingURL=tournament.calendar.css.map */
