.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;
}

:where(html.light) .cmn-toggle input:disabled + label:before, .cmn-toggle :where(html.light) input:disabled + label:before, :where(html.light) .cmn-toggle input:disabled + label:after, .cmn-toggle :where(html.light) input:disabled + label:after {
  box-shadow: inset 0 3px 3px -2px #fff6, inset 0 -4px 8px -3px hsl(from var(--c-body-gradient) h s calc(l + 5)/.8);
}

.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 1px 3px -2px #737373, inset 0 -4px 8px -3px hsl(from var(--c-body-gradient) h s calc(l + 3)/.8), 0 1px 3px 0 #0003;
}

:where(html.light) .cmn-toggle label:after, .cmn-toggle :where(html.light) label:after {
  box-shadow: inset 0 3px 3px -2px #fff6, inset 0 -4px 8px -3px hsl(from var(--c-body-gradient) h s calc(l + 5)/.8), 0 1px 3px 0 #0000002e;
}

.cmn-toggle label:after {
  background: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
  text-shadow: .5px .5px 0 rgb(from var(--c-dimmer) r g b/calc(alpha * .8)) !important;
}

.cmn-toggle label:hover:not(.disabled, :disabled, [disabled]):after {
  box-shadow: inset 0 1px 3px -2px var(--c-border-light), inset 0 -5px 16px -3px hsl(from var(--c-body-gradient) h s calc(l + 5)/.8), 0 2px 4px 0 #0000003d;
}

:where(html.light) .cmn-toggle label:hover:not(.disabled, :disabled, [disabled]):after, .cmn-toggle :where(html.light) label:hover:not(.disabled, :disabled, [disabled]):after {
  box-shadow: inset 0 4px 3px -2px #fff6, inset 0 -5px 8 16px -3px hsl(from var(--c-body-gradient) h s calc(l + 7)/.8), 0 2px 4px 0 #00000036;
}

.cmn-toggle label:hover:not(.disabled, :disabled, [disabled]):after {
  background: linear-gradient(to bottom, var(--c-metal-top-hover), var(--c-metal-bottom-hover));
}

:where(html.transp) .cmn-toggle label:hover:not(.disabled, :disabled, [disabled]):after, .cmn-toggle :where(html.transp) label:hover:not(.disabled, :disabled, [disabled]):after {
  box-shadow: inset 0 1px 3px -2px var(--c-border-light), inset 0 -5px 16px -3px hsl(from var(--c-body-gradient) h s calc(l + 5)/.8), 0 2px 4px 0 #00000026;
}

:where(html.light) :where(html.transp) .cmn-toggle label:hover:not(.disabled, :disabled, [disabled]):after, .cmn-toggle :where(html.light) :where(html.transp) label:hover:not(.disabled, :disabled, [disabled]):after {
  box-shadow: inset 0 4px 3px -2px #fff6, inset 0 -5px 8 16px -3px hsl(from var(--c-body-gradient) h s calc(l + 7)/.8), 0 2px 4px 0 #0000001f;
}

.activity .sub {
  overflow: hidden;
}

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

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

.streamer-show .embed {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  display: block;
  position: relative;
}

.streamer-show .embed > * {
  border: none;
}

.flash:before, .cmn-favourite label:before, .cmn-toggle label:before {
  vertical-align: middle;
  text-transform: none;
  speak: none;
  content: attr(data-icon);
  opacity: .9;
  unicode-bidi: isolate;
  font-family: lichess;
  font-size: 1.2em;
  font-style: normal;
  font-weight: normal;
}

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

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

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

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

.streamer-show .ratings, .activity .entry {
  flex-flow: wrap;
  align-items: center;
  display: flex;
}

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

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

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

.activity score strong, .flash, .cmn-toggle label:before, .cmn-toggle label, .flash-box, .flash-quiet {
  border-radius: var(---ui-roundness, 7px);
}

.flash, .flash-box, .flash-quiet {
  box-shadow: 0 2px 2px #00000014, 0 3px 1px -2px #0000002e, 0 1px 5px #0000001a;
}

:where(html.transp) .flash-box, :where(html.transp) .flash-quiet {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

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

.cmn-toggle label {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  border: 1px solid var(--c-border);
  background-clip: padding-box;
  background-color: var(--c-font-dimmer);
  outline: none;
  width: 40px;
  height: 24px;
  padding: 1px;
  transition: background .15s, box-shadow .15s;
  display: block;
  position: relative;
}

.cmn-toggle label:before, .cmn-toggle label:after {
  content: "";
  width: 23px;
  height: 23px;
  display: block;
  position: absolute;
  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 {
  z-index: 1;
  text-align: center;
  content: "";
  color: var(--c-font-dimmer);
  font-size: 1em;
  line-height: 23px;
  transition: margin .15s, color .15s;
}

.cmn-toggle label:after {
  border-radius: calc(var(---ui-roundness, 7px) - 1px);
  transition: margin .15s, box-shadow .15s;
}

:where(html.transp) .cmn-toggle label:after {
  background: linear-gradient(to bottom, hsl(var(---site-hue), 7%, 22%), hsl(var(---site-hue), 5%, 19%) 100%);
}

:where(html.transp.light) .cmn-toggle label:after {
  background: linear-gradient(to bottom, hsl(var(---site-hue), 7%, 88%), hsl(var(---site-hue), 5%, 91%) 100%);
}

:where(html.transp) .cmn-toggle label:hover:after {
  background: linear-gradient(to bottom, hsl(var(---site-hue), 7%, 26%), hsl(var(---site-hue), 5%, 23%) 100%);
}

:where(html.transp.light) .cmn-toggle label:hover:after {
  background: linear-gradient(to bottom, hsl(var(---site-hue), 7%, 90%), hsl(var(---site-hue), 5%, 93%) 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: "";
  color: var(--c-good);
}

.cmn-toggle input:disabled + label {
  opacity: .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 {
  margin-inline-start: -99999px;
  position: absolute;
}

.force-ltr .cmn-favourite input {
  margin-left: -99999px;
}

.cmn-favourite label {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  outline: none;
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  position: relative;
}

html:not([dir="rtl"]) .cmn-favourite label:before {
  left: 0;
}

html[dir="rtl"] .cmn-favourite label:before {
  right: 0;
}

.cmn-favourite label:before {
  content: "";
  z-index: 1;
  text-align: center;
  font-size: 1.4rem;
  display: block;
  position: absolute;
}

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

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

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

.flash {
  background: var(--c-good);
  margin: 1em 0 2em;
  padding: 1em 2em;
}

.flash:before {
  content: "";
  margin-inline: 0 .5rem;
  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: "";
}

.flash-failure {
  background: var(--c-bad);
  color: var(--c-over);
}

.flash-failure:before {
  content: "";
}

.flash-quiet, .flash-box {
  background: var(--c-bg-zebra);
}

.flash-box a {
  color: var(--c-primary);
}

.activity section {
  margin-inline-start: 2rem;
  padding-top: 1rem;
  font-size: 1.2em;
}

@media (max-width: 799.29px) {
  .activity section {
    margin-inline-end: 2em;
  }
}

.activity section h2 {
  color: var(--c-brag);
  margin-bottom: 10px;
  font-size: 1.2em;
}

.activity section h2 time {
  text-transform: uppercase;
  font-weight: bold;
}

.activity .entry {
  min-height: 64px;
  padding: 6px 0;
  position: relative;
}

.activity .entry:not(:first-child) {
  margin-top: -4px;
}

.activity .entry > div {
  max-width: 100%;
}

.activity .entry > icon {
  float: inline-start;
  text-align: center;
  background-color: var(--c-contours);
  border: 3px solid var(--c-bg-box);
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-inline-start: -72px;
  font-size: 24px;
  line-height: 39px;
  position: absolute;
  top: 7px;
}

@media (min-width: 499.3px) {
  .activity .entries {
    border-inline-start: 3px solid var(--c-contours);
    margin: 0 50px;
  }

  .activity .entry {
    padding-inline-start: 45px;
  }
}

.activity .sub {
  direction: ltr;
  margin: 1px 0 3px;
  font-size: 1rem;
}

.activity .sub > div {
  overflow: hidden;
}

.activity .line .more {
  flex: 0 auto;
}

.activity .line a {
  color: var(--c-font);
}

.activity .line a:hover {
  color: var(--c-link);
}

.activity rating {
  direction: ltr;
  margin-inline-start: .7em;
  display: inline-block;
}

.activity rating .rp {
  margin-left: .2em;
}

.activity score {
  gap: 8px;
  margin-left: auto;
  font-size: .7em;
  display: flex;
}

.activity score > * {
  align-items: center;
  gap: 4px;
  display: flex;
}

.activity score strong {
  color: #fff;
  text-align: center;
  opacity: .7;
  padding: 0 6px;
  font-size: 1.2em;
  display: inline-block;
}

.activity .sub score strong {
  text-align: center;
  padding: 0 4px 1px;
}

.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 {
  flex-flow: column;
  flex: auto;
  justify-content: space-between;
  padding-inline-start: 2em;
  display: flex;
}

.streamer-header .overview .online-check {
  margin-inline-end: 2em;
  padding: .5em 1em;
}

.streamer-header .metas {
  place-content: center space-between;
  display: flex;
}

.streamer-header h1 {
  font-size: 2.2rem;
}

.streamer-header .headline {
  font-style: italic;
}

.streamer-header .headline.medium {
  font-size: .95em;
}

.streamer-header .headline.large {
  font-size: .9em;
}

.streamer-header .services {
  margin: .5em 0;
}

.streamer-header .services li {
  white-space: nowrap;
  padding: .3em 0;
  font-size: 1.2em;
}

.streamer-header .service.live {
  color: var(--c-brag);
}

.live-ribbon {
  z-index: 2;
  width: 150px;
  height: 150px;
  position: absolute;
  overflow: hidden;
}

.live-ribbon span {
  background-color: var(--c-primary);
  width: 225px;
  color: var(--c-over);
  text-shadow: 0 1px 1px #0003;
  text-transform: uppercase;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  font-weight: 700;
  display: block;
  position: absolute;
  transform: rotate(45deg);
  box-shadow: 0 5px 10px #0000001a;
}

.live-ribbon {
  top: -10px;
  right: -10px;
}

@media (max-width: 499.29px) {
  .live-ribbon {
    transform-origin: 100% 0;
    transform: scale(.7);
  }
}

.live-ribbon:before, .live-ribbon:after {
  z-index: 0;
  content: "";
  border: 5px solid #0000;
  border-color: #0000 #0000 #2980b9 #2980b9;
  display: block;
  position: absolute;
}

.live-ribbon:before {
  top: 0;
  left: 0;
}

.live-ribbon:after {
  bottom: 0;
  right: 0;
}

.live-ribbon span {
  top: 35px;
  left: -20px;
}

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

.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(1.88889vw + 17.3333px);
  }
}

@media (min-width: 1200px) {
  .streamer-show h1 {
    font-size: 40px;
  }
}

.streamer-show h1:before {
  margin-inline-end: .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 {
  letter-spacing: 10px;
  background: #000;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  display: flex;
}

.streamer-show .description {
  padding-inline: 65px 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 {
  padding-inline: 58px 50px;
  background: color-mix(in oklab, var(--c-brag) 20%, var(--c-bg));
  color: var(--c-font);
  justify-content: space-between;
  padding-top: 2em;
  padding-bottom: 1em;
  font-size: 1.6em;
  line-height: .9;
}

.streamer-show .ratings span {
  margin-bottom: 1em;
}

.streamer-show .ratings span:before {
  margin-inline-end: .1em;
  font-size: 1.6em;
}

.streamer-show .blocker {
  margin: var(---block-gap) var(---block-gap) 0 0;
  text-align: center;
  text-transform: none;
  flex-flow: column;
  align-items: center;
  font-weight: normal;
  display: none;
}

@media (min-width: 799.3px) {
  .streamer-show .blocker {
    display: flex;
  }
}

.streamer-show .blocker icon {
  margin-bottom: 10px;
  font-size: 40px;
}
