/* 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 */
.activity section h2 {
  font-family: "Noto Sans", sans-serif;
}

.streamer-show h1, .live-ribbon span, .streamer-header h1, .activity rating {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

/* text printed directly on the page background deserves special treatment (transp theme) */
.cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3);
}
html.light .cmn-toggle input:disabled + label::before, .cmn-toggle html.light input:disabled + label::before, html.light .cmn-toggle input:disabled + label::after, .cmn-toggle html.light input:disabled + label::after {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5);
}
.cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after {
  background-image: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
}

.cmn-toggle label::after {
  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 .cmn-toggle label::after, .cmn-toggle html.light label::after {
  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);
}
.cmn-toggle label::after {
  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;
}
.cmn-toggle label:hover:not(.disabled, :disabled, [disabled])::after {
  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 .cmn-toggle label:hover:not(.disabled, :disabled, [disabled])::after, .cmn-toggle html.light label:hover:not(.disabled, :disabled, [disabled])::after {
  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);
}
.cmn-toggle label:hover:not(.disabled, :disabled, [disabled])::after {
  background: linear-gradient(to bottom, var(--c-metal-top-hover), var(--c-metal-bottom-hover));
}

.activity .sub {
  overflow: hidden;
}

.activity .line {
  white-space: nowrap;
}

.streamer-show h1, .activity .line {
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer-show .embed {
  position: relative;
  display: block;
  height: 0;
  padding-bottom: 56.25%;
  /* 16/9 */
  width: 100%;
}
.streamer-show .embed > * {
  border: none;
}

.flash::before, .cmn-favourite label::before, .cmn-toggle label::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;
}

.streamer-show .embed > * {
  position: absolute;
  width: 100%;
  height: 100%;
}

.cmn-favourite input, .cmn-toggle input {
  touch-action: manipulation;
}

.cmn-toggle input {
  position: absolute;
  inset-inline-start: -99999px;
}

.streamer-footer {
  display: flex;
  flex-flow: row wrap;
}

.streamer-show .ratings, .activity .entry {
  /* extends %flex-wrap */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.flash {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.streamer-title, .streamer-header .overview > span {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.activity .entries {
  display: flex;
  flex-flow: column;
}

.activity score strong, .flash, .flash-box, .flash-quiet {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
.flash-box, .flash-quiet {
  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 .flash-box, html.transp .flash-quiet {
  backdrop-filter: blur(6px);
}

.cmn-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8ch;
  cursor: pointer;
  user-select: none;
}

.cmn-toggle label {
  user-select: none;
  transition: background 150ms ease, box-shadow 150ms ease;
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  padding: 1px;
  width: 40px;
  height: 24px;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background-clip: padding-box;
  background-color: var(--c-font-dimmer);
}
.cmn-toggle label::before, .cmn-toggle label::after {
  display: block;
  position: absolute;
  content: "";
  width: 22px;
  height: 22px;
  bottom: 0;
}
html:not([dir=rtl]) .cmn-toggle label::before, html:not([dir=rtl]) .cmn-toggle label::after {
  left: 0;
}
html[dir=rtl] .cmn-toggle label::before, html[dir=rtl] .cmn-toggle label::after {
  right: 0;
}
.cmn-toggle label::before {
  transition: margin 150ms ease, color 150ms ease;
  font-size: 1em;
  z-index: 1;
  text-align: center;
  line-height: 22px;
  content: "\e02a";
  color: var(--c-font-dimmer);
  border-radius: 100%;
}
.cmn-toggle label::after {
  transition: margin 150ms ease, box-shadow 150ms ease;
  border-radius: 100%;
}
html.transp .cmn-toggle label::after {
  background: linear-gradient(to bottom, hsl(37, 7%, 22%), hsl(37, 5%, 19%) 100%);
}

.cmn-toggle input:checked + label {
  background-color: var(--c-good);
}
.cmn-toggle input:checked + label::before, .cmn-toggle input:checked + label::after {
  margin-inline-start: 16px;
}
.cmn-toggle input:checked + label::before {
  content: "\e023";
  color: var(--c-good);
}

.cmn-toggle input:disabled + label {
  opacity: 0.6;
  cursor: not-allowed !important;
}
.cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after {
  box-shadow: none;
}

.cmn-toggle input:focus-visible:not(:disabled) + label {
  box-shadow: 0 0 12px var(--c-font-dimmer);
  border-color: var(--c-primary);
}

.cmn-favourite input {
  position: absolute;
  margin-inline-start: -99999px;
}
.force-ltr .cmn-favourite input {
  margin-left: -99999px;
}

.cmn-favourite label {
  user-select: none;
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  width: 1.8rem;
  height: 1.8rem;
}
html:not([dir=rtl]) .cmn-favourite label::before {
  left: 0;
}
html[dir=rtl] .cmn-favourite label::before {
  right: 0;
}
.cmn-favourite label::before {
  content: "\e051";
  display: block;
  position: absolute;
  font-size: 1.8rem;
  z-index: 1;
  text-align: center;
}

.cmn-favourite:hover label {
  color: var(--c-brag);
}

.cmn-favourite input:checked + label::before {
  content: "\e052";
  color: var(--c-brag);
}

.cmn-favourite input:disabled + label {
  opacity: 0.6;
  cursor: not-allowed !important;
}

.flash {
  margin: 1em 0 2em 0;
  padding: 1em 2em;
  background: var(--c-good);
}
.flash::before {
  content: "\e023";
  margin-inline: 0 2rem;
  font-size: 1.5em;
}
.flash__content a {
  color: var(--c-over);
  unicode-bidi: plaintext;
}
.flash-success {
  color: var(--c-over);
}
.flash-warning {
  background: var(--c-warn);
  color: var(--c-over);
}
.flash-warning::before {
  content: "\e060";
}
.flash-failure {
  background: var(--c-bad);
  color: var(--c-over);
}
.flash-failure::before {
  content: "\e048";
}
.flash-quiet {
  background: var(--c-bg-zebra);
}
.flash-box {
  background: var(--c-bg-zebra);
}
.flash-box a {
  color: var(--c-primary);
}

.activity section {
  font-size: 1.2em;
  margin-inline-start: 2rem;
  padding-top: 1rem;
}
@media (max-width: 799.29px) {
  .activity section {
    margin-inline-end: 2em;
  }
}
.activity section h2 {
  color: var(--c-brag);
  font-size: 1.2em;
  margin-bottom: 10px;
}
.activity section h2 time {
  font-weight: bold;
  text-transform: uppercase;
}
.activity .entry {
  min-height: 64px;
  position: relative;
  padding: 6px 0;
}
.activity .entry:not(:first-child) {
  margin-top: -4px;
}
.activity .entry > div {
  max-width: 100%;
}
.activity .entry > i {
  position: absolute;
  top: 7px;
  font-size: 24px;
  float: inline-start;
  width: 50px;
  height: 50px;
  margin-inline-start: -72px;
  line-height: 39px;
  text-align: center;
  background-color: var(--c-contours);
  border: 3px solid var(--c-bg-box);
  border-radius: 50%;
  color: #fff;
}
@media (min-width: 499.3px) {
  .activity .entries {
    margin: 0 50px;
    border-inline-start: 3px solid var(--c-contours);
  }
  .activity .entry {
    padding-inline-start: 45px;
  }
}
.activity .sub {
  margin: 1px 0 3px;
  font-size: 1rem;
  direction: ltr;
}
.activity .sub > div {
  overflow: hidden;
}
.activity .line .more {
  flex: 0 1 auto;
}
.activity .line a {
  color: var(--c-font);
}
.activity .line a:hover {
  color: var(--c-link);
}
.activity rating {
  display: inline-block;
  direction: ltr;
  margin-inline-start: 0.7em;
}
.activity rating .rp {
  margin-left: 0.2em;
}
.activity score {
  margin-left: auto;
  font-size: 0.7em;
  display: flex;
  gap: 8px;
}
.activity score > * {
  display: flex;
  gap: 4px;
  align-items: center;
}
.activity score strong {
  color: #fff;
  font-size: 1.2em;
  padding: 0 6px;
  display: inline-block;
  text-align: center;
  opacity: 0.7;
}
.activity .sub score strong {
  padding: 0 4px 1px;
  text-align: center;
}
.activity win strong {
  background: var(--c-good);
}
.activity draw strong {
  background: var(--c-brag);
}
.activity loss strong {
  background: var(--c-bad);
}

.streamer-header {
  display: flex;
}
.streamer-header .picture {
  flex: 0 0 300px;
}
.streamer-header .overview {
  padding-inline-start: 2em;
  display: flex;
  flex: auto;
  flex-flow: column;
  justify-content: space-between;
}
.streamer-header .overview .online-check {
  padding: 0.5em 1em;
  margin-inline-end: 2em;
}
.streamer-header .metas {
  display: flex;
  justify-content: space-between;
  align-content: center;
}
.streamer-header h1 {
  font-size: 2.2rem;
}
.streamer-header .headline {
  font-style: italic;
}
.streamer-header .headline.medium {
  font-size: 0.95em;
}
.streamer-header .headline.large {
  font-size: 0.9em;
}
.streamer-header .services {
  margin: 0.5em 0;
}
.streamer-header .services li {
  font-size: 1.2em;
  white-space: nowrap;
  padding: 0.3em 0;
}
.streamer-header .service.live {
  color: var(--c-brag);
}

.live-ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  z-index: 2;
}
.live-ribbon span {
  position: absolute;
  transform: rotate(45deg);
  display: block;
  width: 225px;
  padding: 15px 0;
  background-color: var(--c-primary);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: var(--c-over);
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
}

.live-ribbon {
  top: -10px;
  right: -10px;
}
@media (max-width: 499.29px) {
  .live-ribbon {
    transform: scale(0.7);
    transform-origin: top right;
  }
}
.live-ribbon::before, .live-ribbon::after {
  position: absolute;
  z-index: 0;
  content: "";
  display: block;
  border: 5px solid #2980b9;
  border-top-color: transparent;
  border-right-color: transparent;
}
.live-ribbon::before {
  top: 0;
  left: 0;
}
.live-ribbon::after {
  bottom: 0;
  right: 0;
}
.live-ribbon span {
  top: 35px;
  left: -20px;
}

.streamer-title {
  gap: 1em;
  margin: 1.5em var(---box-padding) 1em 0;
}

.streamer-profile {
  z-index: 2;
}

.live .streamer-lang {
  margin-right: 100px;
}
@media (max-width: 499.29px) {
  .live .streamer-lang {
    margin-right: 50px;
  }
}

.streamer-footer {
  align-items: center;
  gap: 3em;
}

.streamer-show .page-menu__content {
  overflow: hidden;
}
.streamer-show h1 {
  font-size: 23px;
}
@media (min-width: 300px) {
  .streamer-show h1 {
    font-size: calc(23px + 17 * (100vw - 300px) / 900);
  }
}
@media (min-width: 1200px) {
  .streamer-show h1 {
    font-size: 40px;
  }
}
.streamer-show h1::before {
  margin-inline-end: 0.2em;
  display: none;
}
@media (min-width: 499.3px) {
  .streamer-show h1::before {
    display: inline;
  }
}
@media (min-width: 1119.3px) {
  .streamer-show h1::before {
    display: none;
  }
}
.streamer-show .streamer-chat {
  margin-inline-end: var(---block-gap);
  display: none;
}
@media (min-width: 979.3px) {
  .streamer-show .streamer-chat {
    display: block;
  }
}
.streamer-show .streamer-chat iframe {
  height: 500px;
}
.streamer-show .picture {
  display: none;
}
@media (min-width: 1119.3px) {
  .streamer-show .picture {
    display: block;
  }
}
.streamer-show .embed {
  margin-bottom: var(---block-gap);
}
.streamer-show .nostream {
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  letter-spacing: 10px;
}
.streamer-show .description {
  padding-inline-start: 65px;
  padding-inline-end: 50px;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  font-size: 1.4em;
}
.streamer-show .services a:hover,
.streamer-show .description a {
  color: #3893e8;
}
.streamer-show .service {
  white-space: normal;
}
.streamer-show .ratings {
  justify-content: space-between;
  padding-inline-start: 58px;
  padding-inline-end: 50px;
  padding-top: 2em;
  padding-bottom: 1em;
  font-size: 1.6em;
  line-height: 0.9;
  background: var(--m-brag_bg--mix-20);
  color: var(--c-font);
}
.streamer-show .ratings span {
  margin-bottom: 1em;
}
.streamer-show .ratings span::before {
  font-size: 1.6em;
  margin-inline-end: 0.1em;
}
.streamer-show .blocker {
  margin: var(---block-gap) var(---block-gap) 0 0;
  flex-flow: column;
  align-items: center;
  text-align: center;
  font-weight: normal;
  text-transform: none;
  display: none;
}
@media (min-width: 799.3px) {
  .streamer-show .blocker {
    display: flex;
  }
}
.streamer-show .blocker i {
  font-size: 40px;
  margin-bottom: 10px;
}

/*# sourceMappingURL=bits.streamer.show.css.map */
