/* 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 */
.slist thead {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

/* text printed directly on the page background deserves special treatment (transp theme) */
.tour-home__side {
  text-shadow: 0 1px 0 var(--c-font-shadow);
}

.slist thead {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3);
}
html.light .slist thead, .slist html.light thead {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5);
}
.slist thead {
  background-image: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
}

.tsht .name,
.tsht .body {
  white-space: nowrap;
}

.tsht .infos .text, .leaderboard .user-link, .tsht .name,
.tsht .body {
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.scheduled a:hover, .tsht {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
.tsht {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.08), 0 3px 1px -2px rgba(0, 0, 0, 0.18), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

html.transp .tsht {
  backdrop-filter: blur(6px);
}

.slist {
  width: 100%;
  border-bottom: 1px solid var(--c-border);
}
.slist thead th {
  border-bottom: 1px solid var(--c-border);
  padding: 0.5rem 0.8rem;
}
html.light .slist thead th {
  border-top: 1px solid var(--c-border);
}
.slist thead th.large {
  font-size: 1.2rem;
}
.slist td {
  padding: 1rem;
}
.slist td .label {
  font-family: monospace;
  font-size: 0.8rem;
}
.slist tbody tr:nth-child(even) {
  background: var(--c-bg-zebra);
}
.slist td:first-child,
.slist th:first-child {
  padding-inline-start: 1.5rem;
}
.slist-pad td:first-child,
.slist-pad th:first-child {
  padding-inline-start: var(---box-padding);
}
.slist-pad td:last-child,
.slist-pad th:last-child {
  padding-inline-end: var(---box-padding);
}
.slist-invert tbody tr:nth-child(odd) {
  background: var(--c-bg-zebra);
}
.slist-invert tbody tr:nth-child(even) {
  background: none;
}

.slist-wrapper {
  overflow-x: auto;
  max-width: calc(100vw - var(---box-padding) * 2);
}
@media (max-width: 649.29px) {
  .slist-wrapper .slist {
    min-width: calc(650px - var(---box-padding) * 2);
  }
}

/* requires each td to have a data-label attribute */
@media (max-width: 649.29px) {
  .slist.slist-resp {
    border-collapse: collapse;
    table-layout: fixed;
  }
  .slist.slist-resp thead {
    border: none;
    clip-path: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .slist.slist-resp tr {
    display: block;
    border-top: 1px solid var(--c-border);
  }
  .slist.slist-resp td {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem var(---box-padding);
    border-top: 1px solid var(--c-border);
  }
  .slist.slist-resp td::before {
    /* aria-label has no advantage, it won't be read inside a table
       content: attr(aria-label); */
    content: attr(data-label);
  }
}

@media (max-width: 499.29px) {
  .stack-row {
    display: flex;
    flex-direction: column;
  }
  .stack-row td {
    width: 100%;
    padding-inline-start: var(---box-padding);
    padding-inline-end: var(---box-padding);
  }
}
.tour-home {
  display: grid;
}
.tour-home__side {
  grid-area: side;
  margin: 0 var(---block-gap);
}
.tour-home__schedule {
  grid-area: schedule;
}
.tour-home__list {
  grid-area: list;
  display: none;
}
.tour-home {
  gap: var(---block-gap);
  grid-template-areas: "schedule" "side";
}
@media (min-width: 979.3px) {
  .tour-home {
    grid-template-columns: minmax(200px, 300px);
    grid-template-areas: "side schedule" "side list" "side .";
  }
  .tour-home__side {
    margin: 0;
  }
  .tour-home__list {
    display: block;
  }
}

.tour-home__side h2 {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--c-border);
}
.tour-home__side h2 a {
  color: var(--c-font);
}
.tour-home__side h2 a:hover {
  color: var(--c-link);
}

.leaderboard li {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  white-space: nowrap;
  padding: 0.4em 0;
  transition: all 150ms ease;
}
.leaderboard li:hover a {
  color: var(--c-link);
}
.leaderboard a {
  color: var(--c-font);
}
.leaderboard .user-link {
  margin: 0 5px 0 -3px;
}

.tour__links {
  margin-top: 1em;
}
.tour__links a {
  color: var(--c-font);
  transition: all 150ms ease;
}
.tour__links a:hover {
  color: var(--c-link);
}

.scheduled a {
  color: var(--c-font);
  padding-inline-start: 2.7em;
  padding-inline-end: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: block;
  position: relative;
  line-height: 1.2;
  transition: all 150ms ease;
}
.scheduled a:hover {
  padding-inline-start: 3.2rem;
  background: var(--m-brag_bg-page--mix-20);
}
html:not([dir=rtl]) .scheduled a:hover::before {
  left: 0.5rem;
}
html[dir=rtl] .scheduled a:hover::before {
  right: 0.5rem;
}
.scheduled a:hover::before {
  opacity: 1;
}
.scheduled strong {
  color: var(--c-font-dim);
  display: block;
}
.scheduled a::before {
  transition: all 150ms ease;
  position: absolute;
  top: 0.3rem;
}
html:not([dir=rtl]) .scheduled a::before {
  left: 0;
}
html[dir=rtl] .scheduled a::before {
  right: 0;
}
.scheduled a::before {
  font-size: 2.2em;
  opacity: 0.6;
  color: var(--c-brag);
}

.tour-chart {
  user-select: none;
  min-height: 400px;
  position: relative;
}
.tour-chart .spinner {
  width: 120px;
  height: 120px;
  padding-top: 120px;
  opacity: 0.7;
}
.tour-chart__inner {
  position: relative;
  overflow-x: scroll;
  padding-top: 2.3em;
  border-top: 1px solid var(--c-border);
  cursor: move;
}
.tour-chart .timeline {
  position: absolute;
  top: 0;
  height: 100%;
}
.tour-chart .tournamentline {
  position: relative;
  height: 4em;
}
.tour-chart .timeheader {
  position: absolute;
  display: inline;
  height: 100%;
  border-inline-start: 1px dashed var(--c-border);
  padding: 5px 6px;
}
.tour-chart .timeheader.hour {
  font-weight: bold;
  border-inline-start-style: solid;
}
.tour-chart .timeheader.now {
  top: 24px;
  height: calc(100% - 2em);
  margin-inline-start: 1px;
  border-inline-start: 3px dashed var(--c-accent);
}
.tour-chart .timeheader.now::after {
  content: "";
  position: absolute;
  top: -24px;
}
html:not([dir=rtl]) .tour-chart .timeheader.now::after {
  left: -10px;
}
html[dir=rtl] .tour-chart .timeheader.now::after {
  right: -10px;
}
.tour-chart .timeheader.now::after {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--c-accent);
}

.tsht {
  position: absolute;
  padding: 4px 0;
  background-color: #303e43;
  white-space: nowrap;
  color: #fff;
}
.tsht:hover, .tsht:focus {
  color: #fff;
}
.tsht-joinable:hover {
  filter: brightness(1.08);
}
.tsht-finished {
  opacity: 0.4;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset;
}
.tsht-hourly {
  background-color: #3d9333;
}
.tsht-daily, .tsht-eastern {
  background-color: #0072b2;
}
@keyframes tour-bg-up {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 1000%;
  }
}
.tsht-weekly, .tsht-weekend, .tsht-monthly, .tsht-marathon, .tsht-yearly {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  background-image: url("../hashed/grain.91560814.png");
}
.tsht-weekly {
  background-color: #d55e00;
}
.tsht-monthly {
  background-color: #c93d3d;
}
.tsht-yearly {
  background-color: var(--c-brag);
}
.tsht-weekend {
  background-color: var(--c-brag);
}
.tsht-marathon {
  background-color: #66558c;
}
.tsht-max-rating {
  background-color: #8572ff;
}
.tsht-variant {
  background-color: #7c5133;
}
.tsht-user-created {
  background-color: var(--c-primary);
}
.tsht-unique {
  background-color: var(--c-brag);
}
.tsht-short.tsht-thematic {
  letter-spacing: -1px;
}
.tsht span {
  margin-inline-end: 4px;
}
.tsht .icon {
  font-size: 2.4em;
  line-height: 1;
  margin: 0 0.2em 0 0.2em;
}
.tsht .icon::before {
  vertical-align: middle;
}
.tsht .name {
  display: flex;
  max-width: none;
  vertical-align: top;
}
.tsht .body {
  flex: 1 0;
  margin-inline-end: 0;
}
.tsht .infos {
  display: inline-flex;
}
.tsht .infos .text {
  flex: 1 1;
}
.tsht .infos .nb-players {
  flex: 0 0 auto;
}

@media (max-width: 649.29px) {
  .arena-list .slist .date {
    display: none;
  }
}
@media (max-width: 499.29px) {
  .arena-list .slist .players {
    display: none;
  }
}
.arena-list .slist td > span,
.arena-list .slist td > a > span {
  display: block;
  margin: 0.25em 0;
}
.arena-list .slist td.players {
  white-space: nowrap;
}
.arena-list .slist td i {
  color: var(--c-brag);
}
.arena-list .slist .header {
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 150ms ease;
  padding: 0;
}
.arena-list .slist .header:hover {
  transform: translateX(3px);
}
.arena-list .slist .header a {
  padding: 1em;
  display: block;
}
.arena-list .slist a {
  color: var(--c-font);
}
.arena-list .slist a:hover {
  color: var(--c-link-hover);
}
.arena-list .slist .name {
  font-size: 1.5em;
  display: block;
}
.arena-list .icon {
  width: 0;
}
.arena-list .icon i {
  font-size: 3em;
  color: var(--c-brag);
  opacity: 0.8;
}

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