/* 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 */
.lobby__box__top .title, .lobby__timeline .entry a, .lobby__streams .stream strong {
  font-family: "Noto Sans", sans-serif;
}

.lobby__streams .more, .lobby__timeline .more, .lobby__timeline .entry, .lobby__streams .stream, .hooks__list th, .lpools, .ublog-post-card__intro, .tabs-horiz span,
.tabs-horiz button {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

/* text printed directly on the page background deserves special treatment (transp theme) */
.lobby__timeline .entry a, .lobby__about a, .lobby__timeline, .lobby__streams .stream, .lobby__counters, .tabs-horiz {
  color: var(--c-font-page);
}

.lobby__blog h2, .lobby__puzzle .text, .about-side, .tour-spotlight, .hooks__chart .label, .lobby__about a, .lobby__timeline, .lobby__streams .stream, .lobby__counters, .tabs-horiz {
  text-shadow: 0 1px 0 var(--c-font-shadow);
}

.lobby__box__top, .tour-spotlight, #hook .opponent {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3), 0 1px 3px 0 hsla(0, 0%, 0%, 0.2);
}
html.light .lobby__box__top, html.light .tour-spotlight, html.light #hook .opponent, #hook html.light .opponent {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5), 0 1px 3px 0 hsla(0, 0%, 0%, 0.18);
}
.lobby__box__top, .tour-spotlight, #hook .opponent {
  background: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
  text-shadow: 0.5px 0.5px 0 var(--m-dimmer--fade-20) !important;
}
.lobby__box__top:hover:not(.disabled, :disabled, [disabled]), .tour-spotlight:hover:not(.disabled, :disabled, [disabled]), #hook .opponent:hover:not(.disabled, :disabled, [disabled]) {
  box-shadow: inset 0 3px 3px -2px var(--c-border-light), inset 0 -5px 8px -3px var(--m-body-gradient--lighten-5), 0 2px 4px 0 hsla(0, 0%, 0%, 0.24);
}
html.light .lobby__box__top:hover:not(.disabled, :disabled, [disabled]), html.light .tour-spotlight:hover:not(.disabled, :disabled, [disabled]), html.light #hook .opponent:hover:not(.disabled, :disabled, [disabled]), #hook html.light .opponent:hover:not(.disabled, :disabled, [disabled]) {
  box-shadow: inset 0 4px 3px -2px #fff, inset 0 -5px 8px -3px var(--m-body-gradient--lighten-7), 0 2px 4px 0 hsla(0, 0%, 0%, 0.21);
}
.lobby__box__top:hover:not(.disabled, :disabled, [disabled]), .tour-spotlight:hover:not(.disabled, :disabled, [disabled]), #hook .opponent:hover:not(.disabled, :disabled, [disabled]) {
  background: linear-gradient(to bottom, var(--c-metal-top-hover), var(--c-metal-bottom-hover));
}

html.transp #hook::before, html.transp .lpool.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  backdrop-filter: blur(6px);
}
#hook, .lpool.active {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.hook__filters .regular-checkbox {
  appearance: none;
  background: var(--c-bg-page);
  border: 1px solid var(--c-bg-low);
  display: inline-block;
  padding: 0.5em;
}
.hook__filters .regular-checkbox:checked {
  background: var(--c-secondary-dimmer);
  border-color: var(--c-secondary-dim);
}

.lobby__classes a, .tour-spotlight, .hooks__list td, .tabs-horiz span,
.tabs-horiz button {
  white-space: nowrap;
  overflow: hidden;
}

.lobby__support__text span, .lobby__box td, .lobby__streams .stream, .lobby__counters a, .hook__filters .checkable {
  white-space: nowrap;
}

.daily-feed__update, .lpool, .ublog-post-card__intro {
  overflow-wrap: break-word;
  word-break: normal;
}

.lobby__support__text span, .lobby__box td, .lobby__streams .stream, .lobby__counters a, .hook__filters .checkable {
  overflow: hidden;
  text-overflow: ellipsis;
}

.lobby__start__button::before {
  font-size: 1.2em;
  vertical-align: middle;
  font-family: lichess;
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  speak: none;
  content: attr(data-icon);
  opacity: 0.9;
  unicode-bidi: isolate;
}

.hooks__chart {
  position: absolute;
  width: 100%;
  height: 100%;
}

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

.lobby__support a, .lobby__classes a, .tour-spotlight, .hook__filters .rating-range, .tabs-horiz {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.connect-links, .ublog-post-card__image::after {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

.carousel__controls, .lobby__box__top {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.lobby__counters {
  /* extends %flex-center */
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.lobby__nope .lobby__app__content, .lobby__side, .lobby__box, .lobby__classes, .lobby__start, .lobby__table, .now-playing .meta, .lobby__app, #hook .inner, .lpool {
  display: flex;
  flex-flow: column;
}

.lobby__app .toggle, .lpool, .lobby__feed, .lobby__support a, .lobby__classes a, .lobby__app__content, #hook, .lobby__box, .lobby__spotlights, .ublog-post-card, .hook__filters .regular-checkbox {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
#hook, .lobby__box, .lobby__spotlights, .ublog-post-card {
  overflow: hidden;
}

.lobby__blog .ublog-post-card:hover, .lobby__box, .lobby__spotlights, .ublog-post-card, .lobby__feed, .lobby__support a, .lobby__classes a, .lobby__app__content {
  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 .lobby__feed, html.transp .lobby__support a, .lobby__support html.transp a, html.transp .lobby__classes a, .lobby__classes html.transp a, html.transp .lobby__app__content {
  backdrop-filter: blur(6px);
}

html.transp .lobby__box, html.transp .lobby__spotlights, html.transp .ublog-post-card {
  backdrop-filter: blur(6px);
}

input.range {
  appearance: none;
  background: none;
  border: 0;
}
input.range:focus {
  outline: none;
}
input.range::-webkit-slider-runnable-track {
  width: 100%;
  height: 1em;
  cursor: pointer;
  background: var(--c-shade);
  border-radius: 0.5em;
}
input.range::-webkit-slider-thumb {
  border: 1px solid var(--c-font-dimmer);
  height: 1em;
  width: 1.5em;
  border-radius: 12px;
  background: var(--c-bg-box);
  cursor: pointer;
  appearance: none;
}
input.range::-moz-range-track {
  width: 100%;
  height: 1em;
  cursor: pointer;
  background: var(--c-shade);
  border-radius: 0.5em;
}
input.range::-moz-range-thumb {
  border: 1px solid var(--c-font-dimmer);
  height: 1em;
  width: 1.5em;
  border-radius: 12px;
  background: var(--c-bg-box);
  cursor: pointer;
}
input.range::-ms-track {
  width: 100%;
  height: 1em;
  cursor: pointer;
  background: var(--c-shade);
  border-radius: 0.5em;
}
input.range::-ms-fill-lower {
  background: rgba(191, 191, 191, 0.78);
  border-radius: 11.8px;
}
input.range::-ms-fill-upper {
  background: rgba(214, 214, 214, 0.78);
  border-radius: 11.8px;
}
input.range::-ms-thumb {
  border: 1px solid var(--c-font-dimmer);
  height: 1em;
  width: 1.5em;
  border-radius: 12px;
  background: var(--c-bg-box);
  cursor: pointer;
  border-color: transparent;
  color: transparent;
}
input.range:-moz-focusring::-moz-range-thumb {
  outline: 2px solid var(--c-primary);
}
input.range:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--c-primary);
}

.now-playing {
  display: grid;
  ---np-min-width: 200px;
}
@media (max-width: 499.29px) {
  .now-playing {
    ---np-min-width: 50%;
  }
}
.now-playing {
  grid-template-columns: repeat(auto-fill, minmax(var(---np-min-width), 1fr));
}
.now-playing > a {
  color: var(--c-font);
  padding: 0.3em;
}
.now-playing > a:focus-visible {
  outline-offset: -2px;
}
.now-playing .indicator {
  color: var(--c-accent);
  margin-top: -3px;
  display: block;
}
.now-playing cg-board {
  box-shadow: none;
}

.color-icon.white::before {
  content: "\e028";
}
.color-icon.black::before {
  content: "\e029";
}
html.light .color-icon.white::before {
  content: "\e029";
}
html.light .color-icon.black::before {
  content: "\e028";
}
.color-icon.random::before {
  content: "\e04a";
}

@keyframes glowing {
  42% {
    background: none;
  }
  50% {
    background: var(--m-primary_bg--mix-20);
  }
  58% {
    background: none;
  }
}
.glowing {
  animation: glowing 2s ease-in-out infinite;
}

.tabs-horiz {
  user-select: none;
}
html.transp .tabs-horiz {
  backdrop-filter: blur(6px);
}
.tabs-horiz {
  justify-content: center;
  align-items: flex-end;
}
@media (max-width: 499.29px) {
  .tabs-horiz {
    font-size: 0.9em;
  }
}
.tabs-horiz span,
.tabs-horiz button {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.5em 0.2em;
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  min-width: 15%;
  letter-spacing: -0.5px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
@media (min-width: 499.3px) {
  .tabs-horiz span,
  .tabs-horiz button {
    letter-spacing: inherit;
  }
}
.tabs-horiz span:hover,
.tabs-horiz button:hover {
  border-color: var(--m-accent--fade-50);
}
.tabs-horiz span.active,
.tabs-horiz button.active {
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.tabs-horiz span.narrow,
.tabs-horiz button.narrow {
  padding-left: 0;
  padding-right: 0;
  flex: 0 3 auto;
  min-width: 10%;
}
.tabs-horiz span:focus-visible,
.tabs-horiz button:focus-visible {
  outline: 2px solid var(--c-primary);
}
.tabs-horiz .unread {
  margin-inline-start: 0.3em;
}

.ublog-post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22em, 1fr));
  gap: 1em;
}

.ublog-post-card {
  transition: box-shadow 150ms ease;
  background: var(--c-bg-zebra);
  color: var(--c-font);
  position: relative;
  direction: ltr;
  text-align: left;
}
.ublog-post-card--link:hover {
  box-shadow: 0 0 5px var(--c-link), 0 0 20px var(--c-link);
}
.ublog-post-card__top {
  display: block;
  position: relative;
  line-height: 0;
  background-size: cover;
  background-image: var(---thumb-backdrop-url);
}
.ublog-post-card__over-image {
  position: absolute;
  top: 0;
  line-height: 1.3em;
}
.ublog-post-card__over-image.pos-bottom {
  top: unset;
  bottom: 0;
}
.ublog-post-card__over-image {
  padding-inline-start: 0.5em;
  padding-inline-end: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.3em;
  --c-ublog-post-card-over-image: #ddd;
}
html.light .ublog-post-card__over-image {
  --c-ublog-post-card-over-image: #333;
}
.ublog-post-card__over-image {
  background: rgba(0, 0, 0, 0.65);
  color: var(--c-ublog-post-card-over-image);
  text-shadow: 0 1px 1px black;
}
html.light .ublog-post-card__over-image {
  background: rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 1px white;
}
.ublog-post-card__over-image {
  opacity: 1;
}
html:not([dir=rtl]) .ublog-post-card time {
  left: 0;
}
html[dir=rtl] .ublog-post-card time {
  right: 0;
}
.ublog-post-card time {
  border-radius: 0 0 7px 0;
}
html:not([dir=rtl]) .ublog-post-card .user-link {
  right: 0;
}
html[dir=rtl] .ublog-post-card .user-link {
  left: 0;
}
.ublog-post-card .user-link {
  border-radius: 0 0 0 7px;
}
.ublog-post-card__image {
  width: 100%;
  height: auto;
}
.ublog-post-card__image.ublog-post-image-default {
  background-image: url("../images/placeholder-margin.png");
  background-size: cover;
  background-position: center;
}
.ublog-post-card__image {
  display: block;
  position: relative;
  aspect-ratio: 1.6;
}
.ublog-post-card__image::after {
  content: attr(alt);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-font-dimmer);
  color: var(--c-font-dim);
}
.ublog-post-card__content {
  padding: 4% 3% 4% 6%;
  display: block;
  max-height: 12em;
}
.ublog-post-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.3em;
  color: var(--c-font-clear);
}
.ublog-post-card__intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-font);
  margin-top: 0.5em;
}
.ublog-post-card--by-lichess {
  border: 1px solid var(--c-brag);
}
.ublog-post-card--by-lichess .user-link {
  color: var(--c-brag);
  font-weight: bold;
}

.lpools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 9px;
  padding-top: 9px;
  background-color: transparent !important;
  box-shadow: none;
  overflow: visible !important;
}
.lpools {
  font-size: 14px;
}
@media (min-width: 300px) {
  .lpools {
    font-size: calc(14px + 11 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  .lpools {
    font-size: 25px;
  }
}
.lpools .spinner {
  flex: 0 0 auto;
  margin: 0.1em 0 0.6em 0;
  width: 2em;
  height: 2em;
  pointer-events: none;
}
.lpools .clock {
  display: block;
  font-size: 1.5em;
  line-height: 1.6em;
  letter-spacing: 0.1em;
}
@keyframes range-sweep {
  0% {
    background-position: 180% 0;
  }
  100% {
    background-position: -90% 0;
  }
}
.lpools .range {
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(90deg, transparent, var(--c-brag), transparent);
  animation: range-sweep 3s cubic-bezier(0.2, 0.6, 0.95, 0.7) infinite;
  margin: 0.2em 0 1.3em 0;
}

.lpool {
  transition: all 150ms ease;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--c-font-dim);
  background: var(--c-pool-button);
}
html.light .lpool {
  background: var(--m-bg--fade-50);
}
.lpool:hover {
  color: var(--c-font);
  background: var(--m-accent--fade-80) !important;
  opacity: 1;
}
.lpool.active .perf {
  display: none;
}
.lpool.transp {
  opacity: 0.35;
}

html:not([dir=rtl]) .hooks__chart {
  right: 0;
}
html[dir=rtl] .hooks__chart {
  left: 0;
}
.hooks__chart {
  bottom: 0;
  overflow: hidden;
}
html:not([dir=rtl]) .hooks__chart .label {
  left: 3px;
}
html[dir=rtl] .hooks__chart .label {
  right: 3px;
}
.hooks__chart .label {
  color: var(--c-font-dim);
  font-size: 0.7em;
  position: absolute;
  bottom: 1px;
  font-weight: bold;
}
html:not([dir=rtl]) .hooks__chart .grid {
  left: 0;
}
html[dir=rtl] .hooks__chart .grid {
  right: 0;
}
.hooks__chart .grid {
  position: absolute;
  bottom: 0;
}
.hooks__chart .grid.horiz {
  width: 100%;
  border-top: 1px dashed var(--c-border);
}
.hooks__chart .grid.vert {
  height: 100%;
  border-inline-end: 1px dashed var(--c-border);
}
.hooks__chart .canvas {
  position: relative;
  width: 100%;
  height: 100%;
}
.hooks__chart .plot {
  transition: all 150ms ease;
  position: absolute;
  cursor: pointer;
  z-index: 3;
  font-size: 1.6em;
  opacity: 0.7;
  transform: scale(1);
}
.hooks__chart .plot.rated {
  opacity: 0.9;
  color: var(--c-brag);
}
.hooks__chart .plot.cancel {
  opacity: 0.9;
  color: var(--c-good);
}
.hooks__chart .plot.new {
  transform: translateY(-7px);
  opacity: 0;
}
.hooks__chart .plot:hover {
  z-index: 2;
  opacity: 1;
  transform: scale(1.15);
}

#hook {
  visibility: hidden;
  background: var(--c-bg-box);
  position: absolute;
  z-index: 120;
}
#hook .inner {
  text-align: center;
}
#hook .inner-clickable {
  cursor: pointer;
  padding: 5px 0;
}
#hook .opponent {
  min-width: 120px;
  padding: 0.5em 0.7em;
}

.hook__filters {
  padding: var(---block-gap) 1.5em;
  background: var(--m-bg--fade-50);
  height: 100%;
  white-space: nowrap;
  display: block;
}
.hook__filters td {
  padding: 1em 0;
}
.hook__filters td:first-child {
  font-size: 1.1em;
  padding-inline-end: 2rem;
  width: 25%;
  white-space: normal;
}
.hook__filters .checkable {
  padding: 4.3px 2px 4.3px 0;
}
.hook__filters .checkable label,
.hook__filters .checkable input {
  vertical-align: middle;
  cursor: pointer;
}
.hook__filters tr.variant td:last-child {
  display: flex;
  flex-flow: row wrap;
}
.hook__filters tr.variant .checkable {
  width: 33.3%;
}
.hook__filters tr.inline .checkable {
  display: inline-block;
  padding: 4.3px 20px 4.3px 2px;
}
.hook__filters input {
  margin-inline-end: 0.3em;
}
.hook__filters .range {
  display: block;
  text-align: center;
}
.hook__filters .rating-range {
  justify-content: center;
}
.hook__filters .rating-range input {
  padding: 0.6em 0;
  margin: 0 1ch;
}
@media (max-width: 499.29px) {
  .hook__filters .rating-range input {
    width: 26vw;
  }
}
.hook__filters .actions {
  margin-top: 1.5em;
  text-align: end;
}
.hook__filters .actions button {
  margin-inline-start: 0.3em;
}
@media (max-width: 499.29px) {
  .hook__filters {
    padding: var(---block-gap) 1em;
  }
  .hook__filters td {
    max-width: 50vw;
  }
  .hook__filters td:first-child {
    margin-inline-end: 1rem;
  }
  .hook__filters tr.variant .checkable {
    width: 50%;
  }
}

.hooks__list {
  width: 100%;
}
.hooks__list tr.disabled {
  opacity: 0.4;
}
.hooks__list tr.disabled td {
  cursor: default;
  background: transparent;
  border-color: transparent;
}
.hooks__list tr.cancel td {
  background: var(--m-secondary--fade-60);
}
.hooks__list tr.join:hover td {
  background: var(--m-accent--fade-50);
  color: #fff;
}
.hooks__list tr:not(.disabled):hover ::before {
  opacity: 1;
}
.hooks__list tr.variants td {
  text-align: center;
  padding: 3px 0;
  background: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: default;
}
.hooks__list th {
  padding: 1em 0.7em;
}
.hooks__list th.sortable {
  cursor: pointer;
}
.hooks__list th.sortable:hover, .hooks__list th.sort {
  font-weight: normal;
}
.hooks__list th.sort .is::before {
  opacity: 0.7;
  margin-inline-end: 3px;
  content: "\e030";
}
.hooks__list th.player {
  width: 110px;
}
@media (max-width: 499.29px) {
  .hooks__list th {
    padding: 1em 0.4em;
  }
  .hooks__list th:nth-child(2) {
    max-width: 13vw;
    direction: rtl;
    text-align: left;
  }
}
.hooks__list td {
  padding: 0.5em 0.7em;
  border-bottom: 1px solid var(--c-border);
  cursor: pointer;
  background: var(--m-bg--fade-50);
}
.hooks__list td:first-child {
  padding-inline-start: 2em;
}
.hooks__list td:last-child ::before {
  margin-inline-end: 8px;
  line-height: 0.9;
  font-size: 1.6em;
}
.hooks__list td ::before {
  opacity: 0.6;
}
@media (max-width: 499.29px) {
  .hooks__list td {
    padding: 0.5em 0.4em;
  }
  .hooks__list td:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 25vw;
  }
}
.hooks__list tbody.stepping {
  opacity: 0.7;
}

.lseeks .create {
  margin-top: 20px;
  text-align: center;
}

.lobby__app {
  min-height: 300px;
}
@media (min-width: 499.3px) {
  .lobby__app {
    min-height: 400px;
  }
}
@media (min-width: 799.3px) {
  .lobby__app {
    height: 600px;
    max-height: calc(100vh - calc(var(---site-header-height) + var(---site-header-margin) + var(---sticky-gap)) - var(---block-gap));
  }
}
.lobby__app {
  user-select: none;
}
.lobby-nope .lobby__app {
  display: none;
}
.lobby__app__content {
  flex: 1 1 100%;
  position: relative;
  background-color: var(--c-bg-box);
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-2 -2 54 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23383633' stroke='%23383633' stroke-linejoin='round'%0Ad='M38.956.5c-3.53.418-6.452.902-9.286 2.984C5.534 1.786-.692 18.533.68 29.364 3.493 50.214 31.918 55.785 41.329 41.7c-7.444 7.696-19.276 8.752-28.323 3.084C3.959 39.116-.506 27.392 4.683 17.567 9.873 7.742 18.996 4.535 29.03 6.405c2.43-1.418 5.225-3.22 7.655-3.187l-1.694 4.86 12.752 21.37c-.439 5.654-5.459 6.112-5.459 6.112-.574-1.47-1.634-2.942-4.842-6.036-3.207-3.094-17.465-10.177-15.788-16.207-2.001 6.967 10.311 14.152 14.04 17.663 3.73 3.51 5.426 6.04 5.795 6.756 0 0 9.392-2.504 7.838-8.927L37.4 7.171z'/%3E%3C/svg%3E%0A");
}
html.light .lobby__app__content {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-2 -2 54 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23dadada' stroke='%23dadada' stroke-linejoin='round'%0Ad='M38.956.5c-3.53.418-6.452.902-9.286 2.984C5.534 1.786-.692 18.533.68 29.364 3.493 50.214 31.918 55.785 41.329 41.7c-7.444 7.696-19.276 8.752-28.323 3.084C3.959 39.116-.506 27.392 4.683 17.567 9.873 7.742 18.996 4.535 29.03 6.405c2.43-1.418 5.225-3.22 7.655-3.187l-1.694 4.86 12.752 21.37c-.439 5.654-5.459 6.112-5.459 6.112-.574-1.47-1.634-2.942-4.842-6.036-3.207-3.094-17.465-10.177-15.788-16.207-2.001 6.967 10.311 14.152 14.04 17.663 3.73 3.51 5.426 6.04 5.795 6.756 0 0 9.392-2.504 7.838-8.927L37.4 7.171z'/%3E%3C/svg%3E%0A");
}
html.transp .lobby__app__content {
  background: var(--m-bg--fade-20);
}
.lobby__app__content {
  overflow-x: hidden;
  overflow-y: auto;
}
.lobby__app .lredir {
  background: var(--c-bg-box) !important;
  display: flex;
}
.lobby__app .lredir .spinner {
  width: 100px;
  height: 100px;
}
.lobby__app .toggle {
  transition: all 150ms ease;
  position: absolute;
  padding: 0.6em;
  cursor: pointer;
  z-index: 2;
  font-size: 1.3em;
}
html:not([dir=rtl]) .lobby__app .toggle.toggle-filter {
  right: 0;
}
html[dir=rtl] .lobby__app .toggle.toggle-filter {
  left: 0;
}
.lobby__app .toggle:hover {
  color: var(--c-accent);
}
.lobby__app .gamesFiltered {
  color: var(--c-accent);
  transition: all 150ms ease;
}
.lobby__app .gamesFiltered:hover {
  color: var(--c-accent-dim);
}

@media (max-width: 499.29px) {
  .lreal_time,
  .lseeks .hooks__list {
    font-size: 0.9em;
  }
  .lobby__app .toggle {
    padding: 0.4em;
  }
}
.now-playing .meta {
  align-items: center;
}
.now-playing .local {
  position: relative;
}
.now-playing .local .mini-board-wrapper {
  padding: 12px;
}
.now-playing .local img {
  pointer-events: none;
  position: absolute;
  top: 6px;
  left: 6px;
  width: 72px;
  height: 72px;
  z-index: 9;
  border-radius: 6px;
  border: 1px solid rgba(119, 119, 119, 0.6);
}
.now-playing .local img.white {
  background-color: var(--c-paper);
}
.now-playing .local img.black {
  background-color: var(--c-dark);
}
html.transp .now-playing .local img {
  backdrop-filter: blur(6px);
}
html.transp .now-playing .local img.white {
  background-color: var(--m-paper--fade-40);
}
html.transp .now-playing .local img.black {
  background-color: var(--m-dark--fade-40);
}
.now-playing .local button {
  position: absolute;
  background: center/contain url("../flair/img/symbols.cancel.webp") var(--c-bg-page);
  border-radius: 100%;
  border: 2px solid var(--c-bg-page);
  top: 4px;
  right: 4px;
  z-index: 9;
  width: 24px;
  height: 24px;
}
@media (max-width: 799.29px) and (orientation: portrait) {
  .now-playing .local button {
    top: 2px;
    right: 2px;
    width: 32px;
    height: 32px;
  }
}
.now-playing .local button:hover {
  filter: brightness(140%);
}

.lobby__table {
  user-select: none;
  position: relative;
}
.lobby__start {
  flex: 1 1 auto;
  justify-content: stretch;
  gap: 9px;
}
.lobby__start__button {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  gap: 1em;
  padding-inline: 2em 3em;
  height: 3.2em;
  text-transform: none;
}
.lobby__start__button.disabled {
  opacity: 0.2;
}
.lobby__start__button::before {
  transition: color 150ms ease;
  font-size: 32px;
  color: var(--c-font-dimmer);
}
.lobby__start__button--hook.button::before {
  content: "\e044";
}
.lobby__start__button--friend.button::before {
  content: "\e050";
}
.lobby__start__button--ai.button::before {
  content: "\e07e";
}
.lobby__start__button--friend-user.button::before {
  content: "\e033";
}
@media (hover: hover) {
  .lobby__start__button:hover.disabled {
    cursor: default;
  }
  .lobby__start__button:hover:not(.disabled) {
    color: var(--c-font-clear) !important;
  }
  .lobby__start__button:hover:not(.disabled)::before {
    color: var(--c-accent);
  }
}
.lobby__counters {
  margin-top: 1rem;
  display: none;
}
.lobby__counters a {
  color: var(--c-font-page);
  transition: color 150ms ease;
}
.lobby__counters a:hover {
  color: var(--c-link);
}
.lobby .lobby__tournaments-simuls .lobby__box__top {
  border-bottom: 1px solid var(--c-border);
}
@media (max-width: 649.29px) {
  .lobby .lobby__tournaments-simuls .timeago {
    display: none;
  }
}

.lobby__streams:empty {
  display: none;
}
.lobby__streams .stream {
  color: var(--c-font-page);
  display: block;
  margin-bottom: 0.5em;
  line-height: 0.9;
}
.lobby__streams .stream.highlight strong {
  color: var(--c-brag);
}
.lobby__streams .stream strong::before {
  font-size: 1.5em;
  margin-inline-end: 0.1rem;
}
.lobby__spotlights {
  flex: 0 0 auto;
}

.tour-spotlight {
  transition: all 150ms ease;
  flex: 0 0 auto;
  padding: 0.3em;
  opacity: 0.8;
  color: var(--c-font);
}
html.light .tour-spotlight {
  background-image: linear-gradient(to bottom, var(--m-primary_bg--mix-20), rgb(197, 216, 234));
}
.tour-spotlight.invert, .tour-spotlight.event-spotlight, .tour-spotlight:hover {
  text-shadow: none;
}
html.light .tour-spotlight.invert, html.light .tour-spotlight.event-spotlight, html.light .tour-spotlight:hover {
  background-image: linear-gradient(to bottom, var(--m-primary_bg--mix-25), var(--m-primary_bg-page--mix-20));
}
.tour-spotlight:hover {
  opacity: 1;
}
.tour-spotlight:focus-visible {
  outline-offset: -2px;
}
.tour-spotlight .img {
  flex: 0 0 42px;
  width: 44px;
  margin: 0 0.7em 0 0.4em;
}
.tour-spotlight i.img::before {
  color: #fff;
  font-size: 42px;
}
html.light .tour-spotlight i.img::before {
  text-shadow: 1px 1px 2px var(--c-link);
}
html.light .tour-spotlight img.img.icon {
  filter: drop-shadow(1px 1px 1px var(--c-link));
}
.tour-spotlight .name {
  margin-top: 1px;
  line-height: 13px;
  display: block;
}
.tour-spotlight .headline {
  display: block;
  font-size: 0.85em;
  margin-bottom: -3px;
}
.tour-spotlight .more {
  font-size: 0.85em;
}
.tour-spotlight .more time {
  margin-inline-start: 3px;
}
.tour-spotlight.little .img {
  flex: 0 0 40px;
  margin: 0 0.7em 0 0.4em;
}
.tour-spotlight.little .img::before {
  font-size: 40px;
}
.tour-spotlight .tour-team-icon {
  margin-left: 1ch;
}

.lobby__classes {
  gap: 1em;
}
.lobby__classes a {
  transition: all 150ms ease;
  background: linear-gradient(to right bottom, hsl(276, 29%, 49%), hsl(276, 65%, 32%), hsl(286, 37%, 21%));
}
html.light .lobby__classes a {
  background: linear-gradient(to right bottom, hsl(276, 29%, 58%), hsl(276, 65%, 44%), hsl(286, 37%, 37%));
}
.lobby__classes a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
  padding: 0.8em 0.5em 0.8em 1.5em;
}
.lobby__classes a::before {
  font-size: 1.7em;
  margin-inline-end: 0.5em;
}
.lobby__classes a:hover {
  filter: brightness(120%);
}

.lobby__timeline {
  flex: 1 1 auto;
  margin-inline-start: var(---block-gap);
  scrollbar-gutter: stable;
  overflow-y: auto;
}
@media (hover: hover) {
  .lobby__timeline:not(:hover) {
    overflow: hidden;
  }
}
.lobby__timeline .entry a {
  font-weight: normal;
}
.lobby__timeline .entry:hover a {
  color: var(--c-link);
}
.lobby__timeline .entry::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to start, var(--c-border) 20%, var(--c-bg-page));
  margin: 0.7em 0;
}
html[dir=rtl] .lobby__timeline .entry::after {
  background: linear-gradient(to end, var(--c-border) 20%, var(--c-bg-page));
}
.lobby__timeline .entry .line:not(.patron) {
  display: none;
}
.lobby__box__top {
  flex: 0 0 auto;
  padding: 0.3em 0.5em;
}
.lobby__box__top .more {
  color: var(--c-font-dim);
}
.lobby__box__top .more:hover {
  color: var(--c-link);
}
.lobby__box__top .title {
  font-size: 1em;
  font-weight: bold;
  color: var(--c-font-dim);
  padding: 0.3em;
}
.lobby__box__content {
  background: var(--c-bg-box);
  overflow-x: hidden;
  overflow-y: auto;
}
.lobby__box .user-link {
  font-weight: bold;
  color: var(--c-font-dim);
}
.lobby__box table {
  width: 100%;
  height: 100%;
}
.lobby__box td {
  padding: 0.5em 0.4em;
  border-bottom: 1px solid var(--c-border);
  max-width: 21ch;
}
@media (max-width: 649.29px) {
  .lobby__box td {
    max-width: 18ch;
  }
}
.lobby__box td.name a {
  font-weight: bold;
  color: var(--c-font-dim);
  transition: all 150ms ease;
}
.lobby__box td.name a:hover {
  color: var(--c-link);
}
.lobby__box tr:last-child td {
  border-bottom: none;
}
.lobby__box tr:nth-child(even) {
  background: var(--c-bg-zebra);
}
.lobby__blog .lobby__box__top {
  border-bottom: 1px solid var(--c-border);
}
.lobby .progress-td {
  padding: 0.3em 0.4em;
}
.lobby .progress {
  border-radius: 2em;
  display: block;
  position: relative;
  width: 30ch;
  height: 1.25em;
  background: var(--m-bg-page--fade-40);
}
html.light .lobby .progress {
  background: var(--m-shade--fade-40);
}
html.transp .lobby .progress {
  background: var(--m-bg--fade-40);
}
.lobby .progress {
  overflow: hidden;
}
@media (max-width: 649.29px) {
  .lobby .progress {
    max-width: 23ch;
    margin: auto;
  }
}
@media (max-width: 499.29px) {
  .lobby .progress {
    max-width: 16ch;
  }
}
.lobby .progress__bar {
  border-radius: 2em;
  display: block;
  height: 100%;
  background: var(--m-primary_bg-page__mix-20--fade-70);
}
html:not([dir=rtl]) .lobby .progress__text {
  left: 1.5ch;
}
html[dir=rtl] .lobby .progress__text {
  right: 1.5ch;
}
.lobby .progress__text {
  position: absolute;
  color: var(--c-font);
  font-size: 0.9em;
  top: 0;
  width: 100%;
  z-index: 3;
}

.lobby__support a {
  background: var(--c-bg-box);
  font-size: 1.3em;
  padding: 0.2em 0.5em;
  transition: background 150ms ease;
}
.lobby__support a:hover {
  background: var(--c-brag);
}
.lobby__support a:hover .lobby__support__text, .lobby__support a:hover i::before {
  color: #fff;
}
.lobby__support i {
  flex: 0 0 auto;
  margin: 0 0.5em;
}
.lobby__support i::before {
  margin-inline-end: 0.15em;
  color: var(--c-brag);
  font-size: 2.6em;
  transition: color 150ms ease;
}
.lobby__support__text {
  flex: 1 1 auto;
  color: var(--c-brag);
  transition: color 150ms ease;
}
.lobby__support__text strong {
  font-weight: normal;
  display: block;
}
.lobby__support__text span {
  display: block;
  font-size: 0.8em;
}

.lobby__about {
  display: flex;
  align-content: flex-start;
  justify-content: center;
  flex-flow: row wrap;
  font-size: 0.85em;
  font-weight: bold;
}
.lobby__about a {
  margin-inline-end: 1.2em;
  white-space: nowrap;
}
@media (any-pointer: coarse) {
  .lobby__about a {
    padding: 0.5em;
  }
}
.lobby__about a {
  transition: color 150ms ease;
}
.lobby__about a:hover {
  color: var(--c-link);
}

.connect-links {
  flex: 1 0 100%;
  margin-top: 0.5em;
}
.connect-links a {
  font-weight: normal;
}

.lobby__feed {
  scrollbar-gutter: stable;
  overflow-y: auto;
}
@media (hover: hover) {
  .lobby__feed:not(:hover) {
    overflow: hidden;
  }
}
.lobby__feed {
  background: var(--c-bg-box);
  min-height: 20em;
}

.daily-feed__updates {
  margin-inline-start: 24px;
  border-inline-start: 2px solid var(--c-contours);
  margin-bottom: 1.5em;
}
.daily-feed__update {
  padding-inline-start: 25px;
  margin-top: 1.5em;
}
.daily-feed__update table {
  display: none;
}
.daily-feed__update__marker {
  float: inline-start;
  width: 32px;
  height: 32px;
  padding: 5px;
  transform: translateY(-5px);
  margin-inline-start: -42px;
  background-color: var(--c-contours);
  border: 3px solid var(--c-bg-box);
  border-radius: 50%;
}
.daily-feed__update__marker.nobg {
  background: var(--c-bg-box);
  border: 2px solid var(--c-contours);
}
.daily-feed__update__day {
  display: inline;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--c-contours);
}
.daily-feed__update__day time {
  font-size: 1em;
  opacity: 1;
}
.daily-feed__update__day:hover {
  color: var(--c-brag);
}
.daily-feed__update strong {
  font-weight: bold;
}
.daily-feed__update em {
  font-style: italic;
}
.daily-feed__update p,
.daily-feed__update pre {
  margin: 0.6em 0;
}
.daily-feed__update h3 {
  font-size: 18px;
}
@media (min-width: 300px) {
  .daily-feed__update h3 {
    font-size: calc(18px + 9 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  .daily-feed__update h3 {
    font-size: 27px;
  }
}
.daily-feed__update h3 {
  font-weight: bold;
  margin: calc(0.8 * 0.6em) 0 calc(0.5 * 0.6em) 0;
}
.daily-feed__update h3:first-child {
  margin-top: 0;
}
.daily-feed__update h4 {
  font-size: 17px;
}
@media (min-width: 300px) {
  .daily-feed__update h4 {
    font-size: calc(17px + 6 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  .daily-feed__update h4 {
    font-size: 23px;
  }
}
.daily-feed__update h2 a[id],
.daily-feed__update h3 a[id],
.daily-feed__update h4 a[id] {
  opacity: 0;
}
.daily-feed__update h2 a[id]::before,
.daily-feed__update h3 a[id]::before,
.daily-feed__update h4 a[id]::before {
  color: var(--c-font-dimmer);
  content: "\e001";
  font-family: lichess;
  margin-left: -3rem;
  width: 3rem;
  position: absolute;
}
.daily-feed__update h2:hover a[id],
.daily-feed__update h3:hover a[id],
.daily-feed__update h4:hover a[id] {
  opacity: 1;
}
.daily-feed__update p time {
  border-bottom: 1px dashed var(--c-font-dim);
  cursor: help;
  font-size: 100%;
}
.daily-feed__update p a > time {
  border-color: var(--c-link);
}
.daily-feed__update p a:hover > time {
  border-color: var(--c-link-hover);
}
.daily-feed__update h3 {
  font-size: 1.2em;
  color: var(--c-font-dim);
  border-bottom: 1px solid var(--c-border);
}
.daily-feed__update h4 {
  font-size: 1.15em;
}

.carousel {
  visibility: hidden;
  overflow-x: hidden;
  width: 100%;
  height: auto;
  gap: var(---block-gap);
  position: relative;
}
.carousel__track {
  display: flex;
  flex-flow: row nowrap;
  width: fit-content;
  align-items: stretch;
}
.carousel__controls {
  transition: opacity 150ms ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}
.carousel__controls button {
  padding: 0;
  font-size: 3em;
  pointer-events: auto;
  height: 100%;
}
.carousel__controls button:hover {
  color: var(--c-primary);
}
.carousel:hover .carousel__controls {
  opacity: 1;
}

.lobby {
  ---cols: 1;
  grid-area: main;
  display: grid;
  grid-template-areas: "app" "table" "side" "blog" "support" "feed" "tv" "puzzle" "tours" "timeline" "about";
  gap: var(---block-gap);
}
.lobby__tournaments, .lobby__simuls {
  max-height: 30em;
}
.lobby__start {
  margin: 0 var(---block-gap);
}
@media (min-width: 499.3px) {
  .lobby {
    ---cols: 2;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto fit-content(0) repeat(3, min-content) 20em;
    grid-template-areas: "app      app" "side     table" "blog     blog" "tv       puzzle" "support  support" "feed     feed" "tours    tours" "timeline timeline" "about    about";
  }
  .lobby__support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
  }
  .lobby__start {
    margin-inline-start: 0;
    margin-inline-end: var(---block-gap);
  }
  .lobby__start__button {
    padding-inline: 1em;
  }
}
@media (min-width: 799.3px) {
  .lobby {
    ---cols: 3;
    grid-template-columns: 34% 1fr;
    grid-template-rows: minmax(12em, auto) fit-content(0) min-content 1fr fit-content(15em) repeat(2, fit-content(0)) minmax(0, 1fr);
    grid-template-areas: "table  app" "side   app" "tv     blog" "tv     support" "puzzle feed" "tours  tours" "about  about";
  }
  .lobby__start {
    margin: 2em 0 0 0;
    font-weight: bold;
  }
  .lobby__counters {
    display: flex;
  }
  .lobby__blog {
    margin-top: 1.65em;
  }
  .lobby__support {
    margin-bottom: 1.65em;
  }
  .lobby__side, .lobby__timeline {
    margin-inline-start: 0;
  }
}
@media (min-width: 1259.3px) {
  .lobby {
    ---cols: 4;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: fit-content(0) min-content 1fr repeat(3, fit-content(0));
    grid-template-areas: "side   app     app     table" "tv     blog    blog    puzzle" "tv     support support puzzle" "feed   feed    tours   tours" ".      about   about   .";
  }
  .lobby__start {
    margin: 0;
    justify-content: center;
  }
  .lobby__side {
    margin-top: 2em;
  }
  .lobby__counters {
    flex-flow: column;
    align-items: flex-start;
    position: absolute;
    bottom: 0;
  }
}
.lobby__side {
  grid-area: side;
}
.lobby__app, .lobby__nope {
  grid-area: app;
}
.lobby__table {
  grid-area: table;
}
.lobby__tv {
  grid-area: tv;
}
.lobby__puzzle {
  grid-area: puzzle;
}
.lobby__tournaments-simuls {
  grid-area: tours;
}
.lobby__simuls {
  margin-top: var(---block-gap);
}
.lobby__blog {
  grid-area: blog;
}
.lobby__support {
  grid-area: support;
}
.lobby__feed {
  grid-area: feed;
}
.lobby__about {
  grid-area: about;
}
.lobby__timeline {
  grid-area: timeline;
}

body {
  /* improves preload */
  overflow-y: scroll;
}

#main-wrap {
  ---main-max-width: 1400px;
}

.lobby__streams .more, .lobby__timeline .more {
  font-size: 0.9em;
  margin: 0.5em 1em 0.5em 0;
  display: block;
  text-align: right;
  color: var(--c-font-dim);
}
.lobby__streams .more:hover, .lobby__timeline .more:hover {
  color: var(--c-link);
}

html.transp .lobby__side {
  backdrop-filter: blur(6px);
}
.lobby__side {
  gap: var(---block-gap);
  overflow: hidden;
}

.lobby__nope {
  min-height: 300px;
}
@media (min-width: 499.3px) {
  .lobby__nope {
    min-height: 400px;
  }
}
@media (min-width: 799.3px) {
  .lobby__nope {
    height: 600px;
    max-height: calc(100vh - calc(var(---site-header-height) + var(---site-header-margin) + var(---sticky-gap)) - var(---block-gap));
  }
}
.lobby__nope {
  text-align: center;
}
.lobby__nope .lobby__app__content {
  height: 100%;
  align-items: center;
  padding-top: 2em;
}
.lobby__nope .lobby__app__content.lobby__app__content {
  justify-content: center;
}
.lobby__nope ul {
  margin: 0.6em auto;
  display: inline-block;
  text-align: left;
}
.lobby__nope li {
  list-style: disc outside;
  font-size: 1.1em;
}

.about-side {
  margin-top: var(---block-gap);
}

.lobby__tv .mini-game {
  overflow: visible;
}
.lobby__tv .mini-game__player {
  padding-top: 0;
}

.lobby__puzzle .text {
  color: var(--c-font-dim);
  display: block;
  text-align: right;
  margin-inline-end: 1ch;
}
@media (min-width: 499.3px) {
  .lobby__puzzle .text {
    min-height: 19px;
  }
}
@media (min-width: 799.3px) {
  .lobby__puzzle .text {
    min-height: 21px;
  }
}

.lobby__blog {
  gap: var(---block-gap);
  font-size: 0.9em;
}
.lobby__blog h2 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.3em;
}
.lobby__blog .ublog-post-card {
  background: var(--c-bg-box);
}
.lobby__blog .ublog-post-card:hover {
  background: var(--c-bg-zebra);
}
.lobby__blog .ublog-post-card .user-link {
  border-radius: 7px 0 0 0;
}

.lobby__support {
  visibility: hidden;
}

.tour-team-icon {
  color: var(--c-brag);
}

/*# sourceMappingURL=lobby.css.map */
