/* 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;
}

.activity rating, .number-menu .nm-item, .sub-ratings h3, .game-row .header__text strong, .ublog-post-card__intro {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

/* text printed directly on the page background deserves special treatment (transp theme) */
.sub-ratings a {
  color: var(--c-font-page);
}

.sub-ratings a {
  text-shadow: 0 1px 0 var(--c-font-shadow);
}

.user-show .angles, .cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after, .crosstable__users, .crosstable__score {
  box-shadow: inset 0 2px 3px -2px hsl(0, 0%, 45%), inset 0 -4px 6px -3px var(--m-body-gradient--lighten-3);
}
html.light .user-show .angles, .user-show html.light .angles, 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, html.light .crosstable__users, html.light .crosstable__score {
  box-shadow: inset 0 3px 3px -2px #fff, inset 0 -4px 6px -3px var(--m-body-gradient--lighten-5);
}
.user-show .angles, .cmn-toggle input:disabled + label::before, .cmn-toggle input:disabled + label::after, .crosstable__users, .crosstable__score {
  background-image: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
}

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

html.transp .user-show__social .user-actions .dropdown .dropdown-window::before, .user-show__social .user-actions .dropdown html.transp .dropdown-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  backdrop-filter: blur(6px);
}
.user-show__social .user-actions .dropdown .dropdown-window {
  box-shadow: -1px 5px 6px rgba(0, 0, 0, 0.3);
}

.activity .sub, #us_profile .bio {
  overflow: hidden;
}

.activity .line, #us_profile .col2 > a {
  white-space: nowrap;
}

.user-show .claim-title {
  padding: 4vh var(---box-padding);
}

.user-show .flash {
  margin-left: var(---box-padding);
  margin-right: var(---box-padding);
}

.user-show__social .user-actions .dropdown .dropdown-window a,
.user-show__social .user-actions .dropdown .dropdown-window button, .note-zone .note, #us_profile .bio, .ublog-post-card__intro {
  overflow-wrap: break-word;
  word-break: normal;
}

.crosstable__users, .activity .line, #us_profile .col2 > a {
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.game-row__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

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

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

.activity .entry, .note-zone .mod-note, #us_profile .tutor-link, #us_profile, .game-row .header {
  /* extends %flex-wrap */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.user-show__social .user-actions .dropdown .dropdown-window a,
.user-show__social .user-actions .dropdown .dropdown-window button, .user-show__social .user-actions, #us_profile .insight, #us_profile .warning, .sub-ratings a, .flash {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.user-show .angles .nm-item, .ublog-post-card__image::after {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

.user-show .claim-title form {
  /* extends %flex-center */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.user-show__social, .note-zone .note {
  /* extends %flex-center */
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.activity .entries, #us_profile .tutor-link > span, #us_profile .profile-side, .sub-ratings a > span, .crosstable povs, .crosstable__users, .crosstable__score, .crosstable__matchup {
  display: flex;
  flex-flow: column;
}

.activity score strong, #us_profile .warning, .flash, .flash-box, .flash-quiet, .ublog-post-card, .crosstable {
  border-radius: 7px;
}

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

.sub-ratings a, .crosstable .sep {
  border-radius: 7px 0 0 7px;
}

.number-menu--tabs .nm-item {
  border-radius: 7px 7px 0 0;
}

.user-show__social .user-actions .dropdown .dropdown-window > a:last-child {
  border-radius: 0 0 7px 7px;
}

.sub-ratings a.active, .ublog-post-card, .crosstable, .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);
}

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

.trophy.patron:hover, .trophy.streaming, .fire-trophy {
  text-shadow: 0 0.008em 0.127em #fefcc9, 0.055em -0.066em 0.2em #feec85, -0.111em -0.127em 0.272em #ffae34, 0.111em -0.272em 0.411em #ec760c, -0.111em -0.456em 0.416em #cd4606, 0 -0.533em 0.577em #973716, 0.055em -0.55em 0.533em #451b0e;
}

@keyframes fire-trophy {
  0% {
    text-shadow: 0 0.008em 0.127em #fefcc9, 0.055em -0.066em 0.2em #feec85, -0.111em -0.127em 0.272em #ffae34, 0.111em -0.272em 0.411em #ec760c, -0.111em -0.456em 0.416em #cd4606, 0 -0.533em 0.577em #973716, 0.055em -0.55em 0.533em #451b0e;
  }
  100% {
    text-shadow: 0 0 0.111em #fefcc9, 0.055em -0.055em 0.166em #fefcc9, -0.111em -0.111em 0.222em #feec85, 0.122em -0.233em 0.333em #ffae34, -0.122em -0.322em 0.277em #ec760c, 0 -0.456em 0.444em #cd4606, 0.055em -0.5em 0.444em #973716;
  }
}
.fire-trophy {
  color: var(--c-font);
  font-size: 90px;
  display: block;
}
.fire-trophy:hover {
  animation: fire-trophy 1.5s ease-in-out infinite alternate;
}

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

.hover-text::after {
  content: attr(title);
}
.hover-text:hover::after {
  content: attr(data-hover-text);
}

.crosstable__users {
  flex: 1 1 auto;
}

.crosstable {
  width: 100%;
  line-height: 1.9em;
  display: flex;
}
.crosstable fill,
.crosstable povs {
  background: var(--c-bg-box);
  flex: 1 1 auto;
}
.crosstable povs, .crosstable__users, .crosstable__score, .crosstable__matchup {
  text-align: center;
}
.crosstable__users {
  max-width: 40vw;
  text-align: left;
}
.crosstable__users a {
  padding-inline-start: var(---block-gap);
}
.crosstable__score {
  flex: 0 0 auto;
  font-weight: bold;
}
.crosstable__score span {
  padding: 0 var(---block-gap);
}
.crosstable__matchup {
  flex: 1 1 auto;
  font-weight: bold;
  background: var(--m-primary_bg--mix-20);
}
.crosstable povs a {
  color: var(--c-font-dim);
  flex: 0 0 50%;
}
.crosstable povs:hover a {
  opacity: 1 !important;
}
.crosstable povs a.loss {
  opacity: 0.2;
}
.crosstable povs.current a {
  background: var(--m-accent_bg--mix-70);
  color: #fff;
  opacity: 1 !important;
}
.crosstable povs.new {
  border: var(--c-border);
}
@media (max-width: 649.29px) {
  .crosstable povs {
    display: none;
  }
  .crosstable povs:nth-last-child(-n+12) {
    display: flex;
  }
}
.crosstable .sep {
  border-inline-start: 1px solid var(--c-border);
  margin-inline-start: 0.3em;
}
.crosstable .win {
  font-weight: bold;
  color: var(--c-good);
}
.crosstable .loss {
  color: var(--c-bad);
}

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

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

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

.game-row {
  display: flex;
  align-items: stretch;
  min-height: 17rem;
  padding: 0.5em 1em;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  transition: background 150ms ease;
}
.game-row:nth-child(even) {
  background: var(--c-bg-zebra);
}
.game-row:hover {
  background: var(--m-primary_bg--mix-20);
}
.game-row__board {
  flex: 0 0 16rem;
  margin-inline-end: 1em;
}
@media (max-width: 799.29px) {
  .game-row__board {
    display: none;
  }
}
.game-row__infos {
  flex: 1 1 100%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  margin: 0.5em 0;
  overflow: hidden;
}
.game-row .header::before {
  font-size: 3em;
  opacity: 0.7;
  margin-inline-end: 0.7rem;
}
.game-row .header__text strong {
  font-weight: normal;
  font-size: 1.4em;
  text-transform: uppercase;
  display: block;
}
.game-row .versus {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5em;
}
.game-row .versus .swords {
  text-align: center;
  font-size: 2em;
  opacity: 0.7;
}
.game-row .versus .player {
  width: 100%;
  font-size: 1.3em;
  text-align: right;
}
.game-row .versus .player.black {
  text-align: left;
}
.game-row .versus a {
  font-weight: bold;
  position: relative;
  z-index: 3;
}
.game-row .versus .anon {
  line-height: 2em;
}
@media (width <= 400px) {
  .game-row .versus {
    column-gap: 1em;
  }
  .game-row .versus .swords {
    font-size: 1.5em;
  }
}
.game-row .result {
  display: block;
  text-align: center;
}
.game-row .win {
  color: var(--c-good);
}
.game-row .loss {
  color: var(--c-bad);
}

.sub-ratings a {
  padding-inline-start: 0.4em;
  padding-inline-end: var(---block-gap);
  padding-top: 0.7em;
  padding-bottom: 0.7em;
  transition: background 150ms ease;
  white-space: nowrap;
}
.sub-ratings a.empty {
  opacity: 0.5;
}
.sub-ratings a::before {
  font-size: 3em;
  opacity: 0.5;
  margin-inline-end: 0.2em;
  transition: opacity 150ms ease, color 150ms ease;
}
.sub-ratings a[href=""] {
  pointer-events: none;
}
.sub-ratings a[href]:hover {
  background: var(--m-bg-page_bg--mix-50);
}
.sub-ratings a[href]:hover::before {
  color: var(--c-link);
  opacity: 0.7;
}
.sub-ratings a.active {
  background: var(--c-bg-box);
}
.sub-ratings a.active::before {
  color: var(--c-accent);
  opacity: 0.7;
}
.sub-ratings a > span {
  flex: 1 1 100%;
  margin-inline-end: 0.5em;
}
.sub-ratings a rating span,
.sub-ratings a .rank {
  font-size: 0.9em;
}
.sub-ratings a i {
  font-size: 0.75em;
  opacity: 0.2;
  color: var(--c-font-dim);
  transition: all 150ms ease;
}
.sub-ratings a:hover i {
  color: var(--c-link);
  opacity: 0.7;
}
.sub-ratings a.active i {
  display: none;
}
.sub-ratings a .shy {
  font-size: 0.8em;
  opacity: 0.6;
  line-height: 1em;
}
.sub-ratings hr {
  margin: var(---block-gap) auto;
  width: 80%;
}
.sub-ratings h3 {
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  display: inline-block;
}
.sub-ratings strong {
  color: var(--c-font-dim);
  font-weight: bold;
  font-size: 1.2em;
}
@media (max-width: 1019.29px) {
  .sub-ratings a {
    padding: 0.3em;
  }
  .sub-ratings a > i,
  .sub-ratings h3,
  .sub-ratings hr,
  .sub-ratings rating .rp,
  .sub-ratings rating span {
    display: none;
  }
}
@media (max-width: 799.29px) {
  .sub-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9ch, 1fr));
  }
  .sub-ratings hr,
  .sub-ratings .rank {
    display: none;
  }
  .sub-ratings a {
    display: flex;
    justify-content: center;
  }
  .sub-ratings a::before {
    opacity: 0.8;
    font-size: 1.5em;
  }
  .sub-ratings a > span {
    flex: 0 0 auto;
    margin-inline-end: 0;
  }
  .sub-ratings a strong {
    font-weight: normal;
  }
}

.user-show__header {
  background: var(--c-bg-zebra);
  padding: 2em 1.5em 2em 1.5em;
  flex-flow: row nowrap;
}
.user-show__header h1 {
  flex: 0 0 auto;
  font-size: 2em;
  margin-top: 0;
}
.user-show__header .connected {
  color: var(--c-good);
}
.user-show__header .closed {
  color: var(--c-bad);
  font-weight: bold;
  margin-inline-end: 1em;
}
.user-show__header .line {
  vertical-align: top;
}

html:not([dir=rtl]) .trophies {
  right: 1.5em;
}
html[dir=rtl] .trophies {
  left: 1.5em;
}
.trophies {
  position: absolute;
  top: 35px;
  height: 40px;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: 0 !important;
}
@media (max-width: 799.29px) {
  .trophies {
    display: none;
  }
}

.trophy.award {
  font-family: lichess;
  speak: none;
  line-height: 100%;
}

.trophy {
  display: flex;
  align-items: flex-end;
  height: 40px;
  user-select: none;
}
.trophy img {
  height: 80px;
}
.trophy.top1 {
  filter: drop-shadow(0 0 6px var(--c-brag));
}

.trophy,
.shield-trophy {
  transition: transform 0.2s;
}
.trophy:not(.patron):hover,
.shield-trophy:not(.patron):hover {
  transform: translateY(-3px);
}

.stacked {
  height: 40px;
  display: flex;
  align-items: flex-end;
}

.stacked .trophy {
  width: 65px;
  height: 65px;
  font-size: 65px;
}

.fire-trophy, .fire-trophy:hover {
  color: var(--m-font_white--mix-20);
}
.fire-trophy {
  opacity: 0.9;
  height: 80px;
  position: relative;
}
.fire-trophy:hover {
  opacity: 1;
}
.fire-trophy.marathonWinner, .fire-trophy.marathonTopTen, .fire-trophy.marathonTopFifty {
  filter: hue-rotate(190deg);
  color: var(--c-marathon);
}
.fire-trophy.marathonTopTen {
  font-size: 58px;
  width: 55px;
  height: 55px;
  margin-top: 22px;
}
.fire-trophy.marathonTopFifty, .fire-trophy.marathonTopHundred, .fire-trophy.marathonTopFivehundred {
  font-size: 50px;
  height: 50px;
  width: 50px;
  margin-top: 30px;
  animation: none;
}
.fire-trophy.marathonTopFifty {
  text-shadow: 0 0 5px #ffae34, 0 0 6.25px #ec760c, 0 0 7.5px #cd4606;
}
.fire-trophy.marathonTopHundred {
  text-shadow: none;
  color: #066ccd;
}
.fire-trophy.marathonTopFivehundred {
  text-shadow: none;
}

.packed .trophy {
  margin-inline-end: -8px;
}

.packed .stacked {
  margin-inline-end: 30px;
}

.packed .stacked .trophy {
  margin-inline-end: -30px;
}

.trophy.icon3d {
  width: 40px;
  height: 40px;
  font-size: 39px;
  color: var(--c-font-dimmer);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.trophy.streaming {
  color: var(--c-brag);
  animation: fire-trophy 1.25s ease-in-out infinite alternate;
}

.trophy.patron {
  flex: 0 0 auto;
  font-size: 60px;
  margin: 0 -10px 0 30px;
  transform: scaleX(-1);
}
html[dir=rtl] .trophy.patron {
  transform: none;
}
.trophy.patron {
  color: var(--c-brag);
  transition: margin-top 0.5s;
}
.trophy.patron:hover {
  animation: fire-trophy 1.25s ease-in-out infinite alternate;
}

.combo-trophy {
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  font-family: lichess;
  text-align: center;
}

.shield-trophy {
  width: 50px;
  background-image: url("../hashed/shield-gold.c4a4fd74.png");
  font-size: 30px;
  line-height: 60px;
  color: #333 !important;
  text-shadow: 0 0 6px #fff;
  margin-top: -20px;
  filter: drop-shadow(0 0 6px var(--c-brag));
}

.revol_trophy {
  background-image: url("../hashed/round-star.d905aae6.png");
  font-size: 24px;
  line-height: 68px;
  color: #fff !important;
  text-shadow: 0 0 4px #444;
  margin-top: -18px;
}

#us_profile {
  border-top: 1px solid var(--c-border);
}
#us_profile .warning {
  padding: 0.7em;
  background: var(--m-bad_bg--mix-10);
  border: 1px solid var(--m-bad_bg--mix-30);
  color: var(--c-bad);
}
#us_profile .warning span {
  margin-inline-end: 0.2em;
  font-size: 2.7em;
}
#us_profile .tos_warning {
  margin: 10px 0;
}
#us_profile .rating-history-container {
  flex: 1 1 58%;
  height: 350px;
}
#us_profile .rating-history-container .chart-container {
  height: 80%;
}
#us_profile .rating-history-container .chart-container .panning {
  cursor: move;
}
#us_profile .rating-history-container .spinner {
  width: 90px;
  height: 90px;
  margin: 120px auto 0 auto;
}
#us_profile .rating-history-container .time-selector-buttons {
  margin: 4px 0 -4px 4px;
}
#us_profile .rating-history-container .time-selector-buttons button {
  display: inline-flex;
  text-transform: uppercase;
  border: 1px solid var(--c-border);
  border-right: 0;
  box-shadow: none;
}
#us_profile .rating-history-container .time-selector-buttons button:hover:not(.disabled, :disabled, [disabled]) {
  box-shadow: none;
}
#us_profile .rating-history-container .time-selector-buttons button:last-child {
  border-right: 1px solid var(--c-border);
}
#us_profile .rating-history-container .time-selector-buttons button.active {
  background-color: #262421;
  color: var(--c-font);
  text-shadow: none !important;
}
html.light #us_profile .rating-history-container .time-selector-buttons button.active {
  background-color: #dbebfc;
}
#us_profile .rating-history-container .time-selector-buttons button.active:hover:not(.disabled, :disabled, [disabled]) {
  background-color: var(--c-bg-input);
}
html.light #us_profile .rating-history-container .time-selector-buttons button.active:hover:not(.disabled, :disabled, [disabled]) {
  background-color: #e6f1fb;
}
#us_profile .rating-history-container {
  /* Functional styling;
   * These styles are required for noUiSlider to function.
   * You don't need to change these rules to apply your design.
   */
}
#us_profile .rating-history-container .noUi-target,
#us_profile .rating-history-container .noUi-target * {
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  touch-action: none;
  box-sizing: border-box;
}
#us_profile .rating-history-container .noUi-target {
  position: relative;
}
#us_profile .rating-history-container .noUi-base,
#us_profile .rating-history-container .noUi-connects {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
#us_profile .rating-history-container {
  /* Wrapper for all connect elements. */
}
#us_profile .rating-history-container .noUi-connects {
  overflow: hidden;
  z-index: 0;
}
#us_profile .rating-history-container .noUi-connect,
#us_profile .rating-history-container .noUi-origin {
  will-change: transform;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transform-origin: 0 0;
  transform-style: preserve-3d;
}
#us_profile .rating-history-container {
  /* Offset direction */
}
#us_profile .rating-history-container .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
  left: 0;
  right: auto;
}
#us_profile .rating-history-container {
  /* Give origins 0 height/width so they don't interfere with clicking the
     * connect elements.
     */
}
#us_profile .rating-history-container .noUi-horizontal .noUi-origin {
  height: 0;
}
#us_profile .rating-history-container .noUi-handle {
  backface-visibility: hidden;
  position: absolute;
}
#us_profile .rating-history-container .noUi-touch-area {
  cursor: ew-resize;
  height: 100%;
  width: 100%;
}
#us_profile .rating-history-container .noUi-state-tap .noUi-connect,
#us_profile .rating-history-container .noUi-state-tap .noUi-origin {
  transition: transform 0.3s;
}
#us_profile .rating-history-container .noUi-state-drag * {
  cursor: grabbing !important;
}
#us_profile .rating-history-container {
  /* Slider size and handle placement;
     */
}
#us_profile .rating-history-container .noUi-horizontal {
  height: 7px;
  margin-top: 5px;
  margin-left: 32px;
  margin-right: 36px;
}
#us_profile .rating-history-container .noUi-horizontal .noUi-handle {
  width: 5px;
  height: 21px;
  right: 0;
  top: -6px;
}
#us_profile .rating-history-container .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
  left: 0;
  right: auto;
}
#us_profile .rating-history-container {
  /* Styling;
     * Giving the connect element a border radius causes issues with using transform: scale
     */
}
#us_profile .rating-history-container .noUi-target {
  background: rgba(255, 255, 255, 0);
  border-radius: 4px;
  border: 1px solid var(--c-font);
}
#us_profile .rating-history-container .noUi-connects {
  border-radius: 3px;
}
#us_profile .rating-history-container .noUi-connect {
  background: rgb(118, 197, 243);
  cursor: grab;
}
#us_profile .rating-history-container {
  /* Handles and cursors;
     */
}
#us_profile .rating-history-container .noUi-handle {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  cursor: ew-resize;
  box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb;
}
#us_profile .rating-history-container .noUi-active {
  box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb;
}
#us_profile .rating-history-container {
  /* Handle stripes;
     */
}
#us_profile .rating-history-container .noUi-handle::before,
#us_profile .rating-history-container .noUi-handle::after {
  left: 17px;
}
#us_profile .rating-history-container {
  /* Base;
     *
     */
}
#us_profile .rating-history-container .noUi-pips,
#us_profile .rating-history-container .noUi-pips * {
  box-sizing: border-box;
}
#us_profile .rating-history-container .noUi-pips {
  position: absolute;
  color: var(--c-font);
}
#us_profile .rating-history-container {
  /* Values;
     *
     */
}
#us_profile .rating-history-container .noUi-value {
  position: absolute;
  white-space: nowrap;
  text-align: center;
}
#us_profile .rating-history-container .noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}
#us_profile .rating-history-container {
  /* Markings;
     *
     */
}
#us_profile .rating-history-container .noUi-marker {
  position: absolute;
  background: var(--c-font);
}
#us_profile .rating-history-container .noUi-marker-sub {
  background: #aaa;
}
#us_profile .rating-history-container .noUi-marker-large {
  background: #aaa;
}
#us_profile .rating-history-container {
  /* Horizontal layout;
     *
     */
}
#us_profile .rating-history-container .noUi-pips-horizontal {
  height: 100%;
  top: 100%;
  left: 0;
  width: 100%;
}
#us_profile .rating-history-container .noUi-value-horizontal {
  transform: translate(-50%, 50%);
}
#us_profile .rating-history-container .noUi-rtl .noUi-value-horizontal {
  transform: translate(50%, 50%);
}
#us_profile .rating-history-container .noUi-marker-horizontal.noUi-marker {
  margin-left: -1px;
  width: 2px;
  height: 5px;
}
#us_profile .rating-history-container .noUi-marker-horizontal.noUi-marker-sub {
  height: 10px;
}
#us_profile .rating-history-container .noUi-marker-horizontal.noUi-marker-large {
  height: 15px;
}
#us_profile .profile-side {
  flex: 1 0 300px;
  height: 350px;
  border-inline-start: 1px solid var(--c-border);
  overflow: hidden;
}
#us_profile .location {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
#us_profile .location img {
  aspect-ratio: 1;
}
#us_profile .user-infos {
  scrollbar-gutter: stable;
  overflow-y: auto;
}
@media (hover: hover) {
  #us_profile .user-infos:not(:hover) {
    overflow: hidden;
  }
}
#us_profile .user-infos {
  flex: 1 1 auto;
  padding: 0.8em;
  overflow: auto;
  unicode-bidi: plaintext;
  text-align: start;
}
#us_profile .user-infos time {
  font-size: 100%;
  opacity: 1;
}
#us_profile .insight {
  flex: 0 0 auto;
  padding: 0.3em 1em;
  border-top: 1px solid var(--c-border);
  color: var(--c-link);
}
#us_profile .insight strong {
  display: block;
  font-weight: normal;
  font-size: 1.5em;
}
#us_profile .insight em {
  display: block;
}
#us_profile .insight::before {
  font-size: 2.5em;
  margin-inline-end: 1rem;
}
#us_profile .insight:hover {
  transition: all 150ms ease;
  background: var(--c-primary);
  color: var(--c-over);
}
#us_profile .tutor-link {
  padding: 0.3em 1em;
  border-top: 1px solid var(--c-border);
  gap: 1em;
}
#us_profile .tutor-link img {
  height: 2.5em;
}
#us_profile .tutor-link strong {
  font-weight: normal;
  font-size: 1.5em;
}
#us_profile .tutor-link {
  background: var(--m-primary_bg--mix-10);
}
#us_profile .col2 {
  display: flex;
  flex-flow: row wrap;
}
#us_profile .col2 + .col2 {
  margin-top: 0.5em;
}
#us_profile .col2 > a {
  flex: 0 0 50%;
}
#us_profile .col2 > strong {
  flex: 0 0 100%;
  margin-bottom: 0.3em;
}
#us_profile .bio img {
  max-width: 100%;
  max-height: 300px;
}
#us_profile .muted {
  color: var(--c-font-dimmer);
}

.number-menu {
  user-select: none;
  display: flex;
}
.number-menu .nm-item {
  flex: 1 1 auto;
  color: var(--c-font);
  text-align: center;
  line-height: 1.4em;
  padding: 0.5em 5px;
  text-transform: capitalize;
  white-space: normal;
  font-size: 0.9em;
}
.number-menu .nm-item:hover {
  color: var(--c-link);
}
.number-menu--tabs .nm-item {
  margin-top: 0.7em;
  padding-bottom: 0.8em;
  transition: background 150ms ease;
  border: 1px solid transparent;
  border-bottom: 1px solid var(--c-border);
}
.number-menu--tabs .nm-item:first-child {
  border-top-left-radius: 0;
  border-inline-start: 0 !important;
}
.number-menu--tabs .nm-item:last-child {
  border-top-right-radius: 0;
  border-inline-end: 0 !important;
}
.number-menu--tabs .nm-item:hover {
  background: var(--m-primary_bg--mix-10);
  color: var(--c-font-clear);
}
.number-menu--tabs .nm-item.active {
  color: var(--c-font-clear);
  border: 1px solid var(--c-border);
  border-bottom-color: transparent;
  background: var(--c-bg-box);
}
.number-menu strong {
  font-weight: normal;
  font-size: 1.1em;
}

.note-zone {
  display: none;
  margin: 1em 1.5em;
  padding-bottom: 1em;
}
.note-zone textarea {
  width: 100%;
  height: 5em;
}
.note-zone .note {
  padding-top: 1em;
  border-top: 1px solid var(--c-border);
  margin-top: 1em;
}
.note-zone .note__meta {
  text-align: right;
  margin: 0 1em;
  white-space: nowrap;
}
.note-zone .note__text {
  flex: 1 1 auto;
  min-height: 2.7em;
}
.note-zone .mod-note button[value=dox] {
  margin-left: 1.5em;
}
.note-zone .mod-note button[value=normal] {
  margin-left: auto;
}

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

.user-show .number-menu .to-playing {
  color: var(--c-accent);
}
.user-show .number-menu .to-playing strong {
  font-weight: bold;
}
.user-show .now-playing {
  grid-template-columns: repeat(auto-fill, minmax(250px, auto));
}

.page-menu {
  /* for the trophies. This glorious hack bypasses the .user-show overflow: hidden */
  position: relative;
}

.user-show {
  overflow: hidden;
  /* this fixes profile overflow, but cuts out the trophies */
}
.user-show__social {
  gap: 1vw;
  background: var(--c-bg-zebra);
}
.user-show__social .number-menu {
  overflow-x: auto;
  margin: 0 0 0.2em 1em;
}
.user-show__social .user-actions {
  flex: 1 0 auto;
  justify-content: flex-end;
  margin: 0 1em 0 0.3em;
}
.user-show__social .user-actions .menu-container {
  display: flex;
  flex-flow: row nowrap;
}
.user-show__social .user-actions .menu-container.btn-rack a,
.user-show__social .user-actions .menu-container.btn-rack button {
  padding: 0.2em 0.6em;
  color: var(--c-header-dropdown);
}
.user-show__social .user-actions .menu-container.btn-rack a::before,
.user-show__social .user-actions .menu-container.btn-rack button::before {
  margin-inline: 0 1rem;
  font-size: 1.4em;
}
.user-show__social .user-actions .dropdown:not(.btn-rack__btn) > a {
  display: block;
  font-size: 2em;
  height: 1.5em;
  color: var(--c-font-dim);
  padding: 0 0.7em;
}
.user-show__social .user-actions .dropdown:not(.btn-rack__btn) .dropdown-window {
  top: 3rem;
}
.user-show__social .user-actions .dropdown {
  position: relative;
}
.user-show__social .user-actions .dropdown .dropdown-window {
  z-index: 2;
  visibility: hidden;
  background: var(--c-bg-header-dropdown);
  border-radius: 7px 0 7px 7px;
  position: absolute;
  top: 2.4rem;
}
html:not([dir=rtl]) .user-show__social .user-actions .dropdown .dropdown-window {
  right: 0;
}
html[dir=rtl] .user-show__social .user-actions .dropdown .dropdown-window {
  left: 0;
}
body.blind-mode .user-show__social .user-actions .dropdown .dropdown-window {
  visibility: visible;
}
.user-show__social .user-actions .dropdown .dropdown-window a,
.user-show__social .user-actions .dropdown .dropdown-window button {
  width: 20em;
  padding: 0.6rem 1rem;
  line-height: normal;
  white-space: normal;
  text-align: start;
  color: var(--c-header-dropdown);
}
.user-show__social .user-actions .dropdown .dropdown-window a::before,
.user-show__social .user-actions .dropdown .dropdown-window button::before {
  margin-inline: 0 1rem;
  font-size: 1.4em;
}
.user-show__social .user-actions .dropdown .dropdown-window > a:first-child {
  border-top-left-radius: 7px;
}
.user-show__social .user-actions .dropdown.visible .dropdown-window {
  visibility: visible;
}
.user-show__social .user-actions .dropdown.visible > a {
  border-radius: 7px 7px 0 0;
  background: var(--c-bg-header-dropdown);
  color: var(--c-font-clear);
  box-shadow: -1px 5px 6px rgba(0, 0, 0, 0.3);
}
.user-show__social .user-actions .dropdown .dropdown-window a:active,
.user-show__social .user-actions .dropdown .dropdown-window button:active {
  background: var(--c-primary);
}
.user-show__social .user-actions .dropdown .dropdown-window a:active, .user-show__social .user-actions .dropdown .dropdown-window a:active::after,
.user-show__social .user-actions .dropdown .dropdown-window button:active,
.user-show__social .user-actions .dropdown .dropdown-window button:active::after {
  color: var(--c-over);
}
@media (hover: hover) and (pointer: fine) {
  .user-show__social .user-actions .dropdown:not(.btn-rack__btn):hover > a {
    border-radius: 7px 7px 0 0;
    background: var(--c-bg-header-dropdown);
    color: var(--c-font-clear);
    box-shadow: -1px 5px 6px rgba(0, 0, 0, 0.3);
  }
  .user-show__social .user-actions .dropdown .dropdown-window a:hover,
  .user-show__social .user-actions .dropdown .dropdown-window button:hover {
    background: var(--c-primary);
  }
  .user-show__social .user-actions .dropdown .dropdown-window a:hover, .user-show__social .user-actions .dropdown .dropdown-window a:hover::after,
  .user-show__social .user-actions .dropdown .dropdown-window button:hover,
  .user-show__social .user-actions .dropdown .dropdown-window button:hover::after {
    color: var(--c-over);
  }
  .user-show__social .user-actions .dropdown:hover .dropdown-window,
  .user-show__social .user-actions .dropdown:focus-within .dropdown-window {
    visibility: visible;
  }
}
.user-show .claim-title {
  border-top: 1px solid var(--c-border);
}
.user-show .claim-title h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
}
.user-show .claim-title form {
  margin: 3em 0 1em 0;
}
.user-show .crosstable {
  margin: 2em 1em;
  width: auto;
}
.user-show .new-player {
  padding: 1.5em;
  overflow-y: scroll;
}
.user-show .new-player h2 {
  font-size: 1.5em;
}
.user-show .new-player p {
  margin: 1em 0;
}
.user-show .new-player li {
  list-style: disc inside;
  line-height: 1.5em;
}
.user-show .number-menu .to-games.active,
.user-show #games.number-menu {
  background: var(--c-bg-low) !important;
  flex-wrap: wrap;
}
.user-show .angles {
  font-size: 1.2em;
  height: 4rem;
}
html.light .user-show .angles {
  border-top: 1px solid var(--c-border);
}
.user-show .angles .unread {
  margin-inline-start: 0.5em;
}
.user-show .activity {
  margin-bottom: 2em;
}
.user-show__blog {
  border-top: 1px solid var(--c-border);
  padding: 2vh 2.5%;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0 3%;
  grid-template-rows: auto; /* first row auto */
  grid-auto-rows: 0; /* all the other rows 0 */
}

/*# sourceMappingURL=user.show.css.map */
