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

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

:where(html.light) .user-show .angles, .user-show :where(html.light) .angles, :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, :where(html.light) .crosstable__users, :where(html.light) .crosstable__score {
  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);
}

.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 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, :where(html.light) .crosstable povs:hover, .crosstable :where(html.light) povs:hover {
  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, .crosstable povs:hover {
  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, .crosstable povs:hover:not(.disabled, :disabled, [disabled]) {
  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, :where(html.light) .crosstable povs:hover:not(.disabled, :disabled, [disabled]), .crosstable :where(html.light) povs:hover:not(.disabled, :disabled, [disabled]) {
  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, .crosstable povs:hover:not(.disabled, :disabled, [disabled]) {
  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, :where(html.transp) .crosstable povs:hover:not(.disabled, :disabled, [disabled]), .crosstable :where(html.transp) povs:hover:not(.disabled, :disabled, [disabled]) {
  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, :where(html.light) :where(html.transp) .crosstable povs:hover:not(.disabled, :disabled, [disabled]), .crosstable :where(html.light) :where(html.transp) povs:hover:not(.disabled, :disabled, [disabled]) {
  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;
}

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

.user-show__social .user-actions .dropdown .dropdown-window {
  box-shadow: -1px 5px 6px #0000004d;
}

.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 {
  text-overflow: ellipsis;
  overflow: hidden;
}

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

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

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

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

.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 {
  flex-flow: row;
  align-items: center;
  display: flex;
}

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

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

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

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

.user-show__social .user-actions .dropdown .dropdown-window, .activity score strong, #us_profile .warning, .cmn-toggle label:before, .cmn-toggle label, .flash, .flash-box, .flash-quiet, .crosstable, .ublog-post-card {
  border-radius: var(---ui-roundness, 7px);
}

.ublog-post-card {
  overflow: hidden;
}

.sub-ratings a, .crosstable .sep {
  border-radius: var(---ui-roundness, 7px) 0 0 var(---ui-roundness, 7px);
}

.number-menu--tabs .nm-item {
  border-radius: var(---ui-roundness, 7px) var(---ui-roundness, 7px) 0 0;
}

.user-show__social .user-actions .dropdown .dropdown-window > a:last-child {
  border-radius: 0 0 var(---ui-roundness, 7px) var(---ui-roundness, 7px);
}

.sub-ratings a.active, .flash, .ublog-post-card, .flash-box, .flash-quiet {
  box-shadow: 0 2px 2px #00000014, 0 3px 1px -2px #0000002e, 0 1px 5px #0000001a;
}

:where(html.transp) .crosstable {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.crosstable {
  border: 1px solid var(--c-border);
}

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

.trophy.patron:hover, .trophy.streaming, .fire-trophy {
  text-shadow: 0 .008em .127em #fefcc9, .055em -.066em .2em #feec85, -.111em -.127em .272em #ffae34, .111em -.272em .411em #ec760c, -.111em -.456em .416em #cd4606, 0 -.533em .577em #973716, .055em -.55em .533em #451b0e;
}

@keyframes fire-trophy {
  0% {
    text-shadow: 0 .008em .127em #fefcc9, .055em -.066em .2em #feec85, -.111em -.127em .272em #ffae34, .111em -.272em .411em #ec760c, -.111em -.456em .416em #cd4606, 0 -.533em .577em #973716, .055em -.55em .533em #451b0e;
  }

  100% {
    text-shadow: 0 0 .111em #fefcc9, .055em -.055em .166em #fefcc9, -.111em -.111em .222em #feec85, .122em -.233em .333em #ffae34, -.122em -.322em .277em #ec760c, 0 -.456em .444em #cd4606, .055em -.5em .444em #973716;
  }
}

.fire-trophy {
  color: var(--c-font);
  font-size: 90px;
  display: block;
}

.fire-trophy:hover {
  animation: 1.5s ease-in-out infinite alternate fire-trophy;
}

.now-playing {
  ---np-min-width: 200px;
  display: grid;
}

@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: .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: auto;
}

.crosstable {
  width: 100%;
  line-height: 1.9em;
  display: flex;
  overflow: hidden;
}

.crosstable fill, .crosstable povs {
  background: var(--c-bg-zebra);
  flex: auto;
}

.crosstable povs, .crosstable__users, .crosstable__score, .crosstable__matchup {
  text-align: center;
}

.crosstable__users {
  text-align: left;
  max-width: 40vw;
}

.crosstable__users a {
  padding-inline-start: var(---block-gap);
}

.crosstable__score {
  flex: none;
  font-weight: bold;
}

.crosstable__score span {
  padding: 0 var(---block-gap);
}

.crosstable__matchup {
  background: color-mix(in oklab, var(--c-primary) 20%, var(--c-bg));
  flex: auto;
  font-weight: bold;
}

.crosstable povs a {
  color: var(--c-font-dim);
  flex: 0 0 50%;
}

.crosstable povs:hover a {
  opacity: 1 !important;
}

.crosstable povs a.loss {
  opacity: .2;
}

.crosstable povs.current a {
  background: color-mix(in oklab, var(--c-accent) 70%, var(--c-bg));
  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: .3em;
}

.crosstable .win {
  color: var(--c-good);
  font-weight: bold;
}

.crosstable .loss {
  color: var(--c-bad);
}

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

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

.ublog-post-card {
  background: var(--c-bg-zebra);
  color: var(--c-font);
  text-align: left;
  direction: ltr;
  transition: box-shadow .15s;
  position: relative;
}

.ublog-post-card--link:hover {
  box-shadow: 0 0 5px var(--c-link), 0 0 20px var(--c-link);
}

.ublog-post-card__top {
  background-size: cover;
  background-image: var(---thumb-backdrop-url);
  line-height: 0;
  display: block;
  position: relative;
}

.ublog-post-card__over-image {
  line-height: 1.3em;
  position: absolute;
  top: 0;
}

.ublog-post-card__over-image.pos-bottom {
  top: unset;
  bottom: 0;
}

.ublog-post-card__over-image {
  padding-inline: .5em;
  --c-ublog-post-card-over-image: #ddd;
  padding-top: .2em;
  padding-bottom: .3em;
}

:where(html.light) .ublog-post-card__over-image {
  --c-ublog-post-card-over-image: #333;
}

.ublog-post-card__over-image {
  color: var(--c-ublog-post-card-over-image);
  text-shadow: 0 1px 1px #000;
  background: #000000a6;
}

:where(html.light) .ublog-post-card__over-image {
  text-shadow: 0 1px 1px #fff;
  background: #ffffffa6;
}

.ublog-post-card__over-image {
  opacity: 1;
}

.ublog-post-card time, .ublog-post-card .user-link {
  z-index: 0;
}

.ublog-post-card time:before, .ublog-post-card .user-link:before {
  content: "";
  z-index: -1;
  border-radius: inherit;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: absolute;
  inset: 0;
}

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: var(---ui-roundness, 7px) 0 calc(var(---ui-roundness, 7px) / 2) 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 var(---ui-roundness, 7px) 0 calc(var(---ui-roundness, 7px) / 2);
}

.ublog-post-card__image {
  border-radius: calc(var(---ui-roundness, 7px) - 1px) calc(var(---ui-roundness, 7px) - 1px) 0 0;
  width: 100%;
  height: auto;
}

.ublog-post-card__image.ublog-post-image-default {
  background-image: url("../images/placeholder-margin.png");
  background-position: center;
  background-size: cover;
}

.ublog-post-card__image {
  aspect-ratio: 1.6;
  display: block;
  position: relative;
}

.ublog-post-card__image:after {
  content: attr(alt);
  background: var(--c-font-dimmer);
  width: 100%;
  height: 100%;
  color: var(--c-font-dim);
  position: absolute;
  top: 0;
  left: 0;
}

.ublog-post-card__content {
  max-height: 12em;
  padding: 4% 3% 4% 6%;
  display: block;
}

.ublog-post-card__title {
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  color: var(--c-font-clear);
  -webkit-box-orient: vertical;
  font-size: 1.3em;
  display: -webkit-box;
  overflow: hidden;
}

.ublog-post-card__intro {
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  color: var(--c-font);
  -webkit-box-orient: vertical;
  margin-top: .5em;
  display: -webkit-box;
  overflow: hidden;
}

.ublog-post-card--by-lichess {
  border: 2px solid var(--c-brag);
  border-radius: calc(var(---ui-roundness, 7px) + 2px);
}

.ublog-post-card--by-lichess .user-link {
  color: var(--c-brag);
  font-weight: bold;
}

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

.game-row {
  border-bottom: 1px solid var(--c-border);
  align-items: stretch;
  min-height: 17rem;
  padding: .5em 1em;
  transition: background .15s;
  display: flex;
  position: relative;
}

.game-row:nth-child(2n) {
  background: var(--c-bg-zebra);
}

.game-row:hover {
  background: color-mix(in oklab, var(--c-primary) 20%, var(--c-bg));
}

.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-flow: column;
  flex: 100%;
  justify-content: space-between;
  margin: .5em 0;
  display: flex;
  overflow: hidden;
}

.game-row .header:before {
  opacity: .7;
  margin-inline-end: .7rem;
  font-size: 3em;
}

.game-row .header__text strong {
  text-transform: uppercase;
  font-size: 1.4em;
  font-weight: normal;
  line-height: 1;
  display: block;
}

.game-row .header__text strong .separator {
  color: var(--c-font-dim);
}

.game-row .versus {
  justify-content: center;
  align-items: center;
  column-gap: 1.5em;
  display: flex;
}

.game-row .versus .swords {
  text-align: center;
  opacity: .7;
  font-size: 2em;
}

.game-row .versus .player {
  text-align: right;
  width: 100%;
  font-size: 1.3em;
}

.game-row .versus .player.black {
  text-align: left;
}

.game-row .versus a {
  z-index: 3;
  font-weight: bold;
  position: relative;
}

.game-row .versus .anon {
  line-height: 2em;
}

@media (max-width: 400px) {
  .game-row .versus {
    column-gap: 1em;
  }

  .game-row .versus .swords {
    font-size: 1.5em;
  }
}

.game-row .result {
  text-align: center;
  display: block;
}

.game-row .result .separator {
  opacity: .75;
}

.game-row .win {
  color: var(--c-good);
}

.game-row .loss {
  color: var(--c-bad);
}

.sub-ratings a {
  padding-inline: .4em var(---block-gap);
  white-space: nowrap;
  padding-top: .7em;
  padding-bottom: .7em;
  transition: background .15s;
}

.sub-ratings a.empty {
  opacity: .5;
}

.sub-ratings a:before {
  opacity: .5;
  margin-inline-end: .2em;
  font-size: 3em;
  transition: opacity .15s, color .15s;
}

.sub-ratings a[href=""] {
  pointer-events: none;
}

.sub-ratings a[href]:hover {
  background: color-mix(in oklab, var(--c-bg-page) 50%, var(--c-bg));
}

.sub-ratings a[href]:hover:before {
  color: var(--c-link);
  opacity: .7;
}

.sub-ratings a.active {
  background: var(--c-bg-box);
}

.sub-ratings a.active:before {
  color: var(--c-accent);
  opacity: .7;
}

.sub-ratings a > span {
  flex: 100%;
  margin-inline-end: .5em;
}

.sub-ratings a rating span, .sub-ratings a .rank {
  font-size: .9em;
}

.sub-ratings a icon {
  opacity: .2;
  color: var(--c-font-dim);
  font-size: .75em;
  transition: all .15s;
}

.sub-ratings a:hover icon {
  color: var(--c-link);
  opacity: .7;
}

.sub-ratings a.active icon {
  display: none;
}

.sub-ratings a .shy {
  opacity: .6;
  font-size: .8em;
  line-height: 1em;
}

.sub-ratings hr {
  margin: var(---block-gap) auto;
  width: 80%;
}

.sub-ratings h3 {
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0;
  font-size: 1.1em;
  display: inline-block;
}

.sub-ratings strong {
  color: var(--c-font-dim);
  font-size: 1.2em;
  font-weight: bold;
}

@media (max-width: 1019.29px) {
  .sub-ratings a {
    padding: .3em;
  }

  .sub-ratings a > icon, .sub-ratings h3, .sub-ratings hr, .sub-ratings rating .rp, .sub-ratings rating span {
    display: none;
  }
}

@media (max-width: 799.29px) {
  .sub-ratings {
    grid-template-columns: repeat(auto-fit, minmax(9ch, 1fr));
    display: grid;
  }

  .sub-ratings hr, .sub-ratings .rank {
    display: none;
  }

  .sub-ratings a {
    justify-content: center;
    display: flex;
  }

  .sub-ratings a:before {
    opacity: .8;
    font-size: 1.5em;
  }

  .sub-ratings a > span {
    flex: none;
    margin-inline-end: 0;
  }

  .sub-ratings a strong {
    font-weight: normal;
  }
}

.user-show__header {
  background: var(--c-bg-zebra);
  flex-flow: row;
  padding: 2em 1.5em;
}

.user-show__header h1 {
  flex: none;
  margin-top: 0;
  font-size: 2em;
}

.user-show__header .connected {
  color: var(--c-good);
}

.user-show__header .closed {
  color: var(--c-bad);
  margin-inline-end: 1em;
  font-weight: bold;
}

.user-show__header .line {
  vertical-align: top;
}

html:not([dir="rtl"]) .trophies {
  right: 1.5em;
}

html[dir="rtl"] .trophies {
  left: 1.5em;
}

.trophies {
  flex-flow: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  height: 40px;
  display: flex;
  position: absolute;
  top: 35px;
  margin-top: 0 !important;
}

@media (max-width: 799.29px) {
  .trophies {
    display: none;
  }
}

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

.trophy {
  -webkit-user-select: none;
  user-select: none;
  align-items: flex-end;
  height: 40px;
  display: flex;
}

.trophy img {
  height: 80px;
}

.trophy.top1 {
  filter: drop-shadow(0 0 6px var(--c-brag));
}

.trophy, .shield-trophy {
  transition: transform .2s;
}

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

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

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

.fire-trophy, .fire-trophy:hover {
  color: color-mix(in oklab, var(--c-font) 20%, white);
}

.fire-trophy {
  opacity: .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 {
  width: 55px;
  height: 55px;
  margin-top: 22px;
  font-size: 58px;
}

.fire-trophy.marathonTopFifty, .fire-trophy.marathonTopHundred, .fire-trophy.marathonTopFivehundred {
  width: 50px;
  height: 50px;
  margin-top: 30px;
  font-size: 50px;
  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;
  color: var(--c-font-dimmer);
  text-shadow: 0 1px #00000080;
  font-size: 39px;
}

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

.trophy.patron {
  flex: none;
  margin: 0 -10px 0 30px;
  font-size: 60px;
  transform: scaleX(-1);
}

html[dir="rtl"] .trophy.patron {
  transform: none;
}

.trophy.patron {
  color: var(--c-brag);
  transition: margin-top .5s;
}

.trophy.patron:hover {
  animation: 1.25s ease-in-out infinite alternate fire-trophy;
}

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

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

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

#us_profile {
  border-top: 1px solid var(--c-border);
}

#us_profile .warning {
  background: color-mix(in oklab, var(--c-bad) 10%, var(--c-bg));
  border: 1px solid color-mix(in oklab, var(--c-bad) 30%, var(--c-bg));
  color: var(--c-bad);
  padding: .7em;
}

#us_profile .warning span {
  margin-inline-end: .2em;
  font-size: 2.7em;
}

#us_profile .tos_warning {
  margin: 10px 0;
}

#us_profile .rating-history-container {
  flex: 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;
}

#us_profile .rating-history-container .time-selector-buttons {
  margin: 4px 0 -4px 4px;
}

#us_profile .rating-history-container .time-selector-buttons button {
  text-transform: uppercase;
  border: 1px solid var(--c-border);
  box-shadow: none;
  border-right: 0;
  display: inline-flex;
}

#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 {
  color: var(--c-font);
  background-color: #262421;
  text-shadow: none !important;
}

:where(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);
}

:where(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 .noUi-target, #us_profile .rating-history-container .noUi-target * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: #0000;
  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 {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: relative;
}

#us_profile .rating-history-container .noUi-base {
  background-color: var(--c-bg-zebra);
  border-radius: 4px;
}

#us_profile .rating-history-container .noUi-connects {
  z-index: 0;
  overflow: hidden;
}

#us_profile .rating-history-container .noUi-connect, #us_profile .rating-history-container .noUi-origin {
  will-change: transform;
  z-index: 1;
  transform-origin: 0 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  position: absolute;
  top: 0;
  right: 0;
}

#us_profile .rating-history-container .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
  left: 0;
  right: auto;
}

#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;
  width: 100%;
  height: 100%;
}

#us_profile .rating-history-container .noUi-state-tap .noUi-connect, #us_profile .rating-history-container .noUi-state-tap .noUi-origin {
  transition: transform .3s;
}

#us_profile .rating-history-container .noUi-state-drag * {
  cursor: grabbing !important;
}

#us_profile .rating-history-container .noUi-horizontal {
  height: 9px;
  margin-top: 3px;
  margin-left: 32px;
  margin-right: 36px;
}

#us_profile .rating-history-container .noUi-horizontal .noUi-handle {
  width: 7px;
  height: 20px;
  top: -6px;
  right: -2px;
}

#us_profile .rating-history-container .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
  left: 0;
  right: auto;
}

#us_profile .rating-history-container .noUi-target {
  border: 1px solid var(--c-border);
  background: #fff0;
  border-radius: 4px;
}

#us_profile .rating-history-container .noUi-connects {
  border-radius: 3px;
}

#us_profile .rating-history-container .noUi-connect {
  background: var(--c-primary);
  cursor: grab;
}

#us_profile .rating-history-container .noUi-handle {
  cursor: ew-resize;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  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 .noUi-handle:before, #us_profile .rating-history-container .noUi-handle:after {
  left: 17px;
}

#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 {
  color: var(--c-font);
  position: absolute;
}

#us_profile .rating-history-container .noUi-value {
  white-space: nowrap;
  text-align: center;
  position: absolute;
}

#us_profile .rating-history-container .noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}

#us_profile .rating-history-container .noUi-marker {
  background: var(--c-border);
  position: absolute;
}

#us_profile .rating-history-container .noUi-marker-sub, #us_profile .rating-history-container .noUi-marker-large {
  background: #aaa;
}

#us_profile .rating-history-container .noUi-pips-horizontal {
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
}

#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 {
  width: 2px;
  height: 5px;
  margin-left: -1px;
}

#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 {
  border-inline-start: 1px solid var(--c-border);
  flex: 1 0 300px;
  height: 350px;
  overflow: hidden;
}

#us_profile .location {
  align-items: center;
  gap: .5em;
  display: flex;
}

#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 {
  text-align: start;
  unicode-bidi: plaintext;
  flex: auto;
  padding: .8em;
  overflow: auto;
}

#us_profile .user-infos time {
  opacity: 1;
  font-size: 100%;
}

#us_profile .insight {
  border-top: 1px solid var(--c-border);
  color: var(--c-link);
  flex: none;
  padding: .3em 1em;
}

#us_profile .insight strong {
  font-size: 1.5em;
  font-weight: normal;
  display: block;
}

#us_profile .insight em {
  display: block;
}

#us_profile .insight:before {
  margin-inline-end: 1rem;
  font-size: 2.5em;
}

#us_profile .insight:hover {
  background: var(--c-primary);
  color: var(--c-over);
  transition: all .15s;
}

#us_profile .tutor-link {
  border-top: 1px solid var(--c-border);
  gap: 1em;
  padding: .3em 1em;
}

#us_profile .tutor-link img {
  height: 2.5em;
}

#us_profile .tutor-link strong {
  font-size: 1.5em;
  font-weight: normal;
}

#us_profile .tutor-link {
  background: color-mix(in oklab, var(--c-primary) 10%, var(--c-bg));
}

#us_profile .col2 {
  flex-flow: wrap;
  display: flex;
}

#us_profile .col2 + .col2 {
  margin-top: .5em;
}

#us_profile .col2 > a {
  flex: 0 0 50%;
}

#us_profile .col2 > strong {
  flex: 0 0 100%;
  margin-bottom: .3em;
}

#us_profile .bio img {
  max-width: 100%;
  max-height: 300px;
}

#us_profile .muted {
  color: var(--c-font-dimmer);
}

.number-menu {
  -webkit-user-select: none;
  user-select: none;
  display: flex;
}

.number-menu .nm-item {
  color: var(--c-font);
  text-align: center;
  text-transform: capitalize;
  white-space: normal;
  flex: auto;
  padding: .5em 5px;
  font-size: .9em;
  line-height: 1.4em;
}

.number-menu .nm-item:hover {
  color: var(--c-link);
}

.number-menu--tabs .nm-item {
  border: 1px solid #0000;
  border-bottom: 1px solid var(--c-border);
  margin-top: .7em;
  padding-bottom: .8em;
  transition: background .15s;
}

.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: color-mix(in oklab, var(--c-primary) 10%, var(--c-bg));
  color: var(--c-font-clear);
}

.number-menu--tabs .nm-item.active {
  color: var(--c-font-clear);
  border: 1px solid var(--c-border);
  background: var(--c-bg-box);
  border-bottom-color: #0000;
}

.number-menu strong {
  font-size: 1.1em;
  font-weight: normal;
}

.note-zone {
  margin: 1em 1.5em;
  padding-bottom: 1em;
  display: none;
}

.note-zone textarea {
  width: 100%;
  height: 5em;
}

.note-zone .note {
  border-top: 1px solid var(--c-border);
  margin-top: 1em;
  padding-top: 1em;
}

.note-zone .note__meta {
  text-align: right;
  white-space: nowrap;
  margin: 0 1em;
}

.note-zone .note__text {
  flex: 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 {
  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);
}

.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 {
  position: relative;
}

.user-show {
  overflow: hidden;
}

.user-show__social {
  background: var(--c-bg-zebra);
  gap: 1vw;
}

.user-show__social .number-menu {
  margin: 0 0 .2em 1em;
  overflow-x: auto;
}

.user-show__social .user-actions {
  flex: 1 0 auto;
  justify-content: flex-end;
  margin: 0 1em 0 .3em;
}

.user-show__social .user-actions .menu-container {
  flex-flow: row;
  display: flex;
}

.user-show__social .user-actions .menu-container.btn-rack a, .user-show__social .user-actions .menu-container.btn-rack button {
  color: var(--c-header-dropdown);
  padding: .2em .6em;
}

.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 .5rem;
  font-size: 1.4em;
}

.user-show__social .user-actions .dropdown:not(.btn-rack__btn) > a {
  height: 1.5em;
  color: var(--c-font-dim);
  padding: 0 .7em;
  font-size: 2em;
  display: block;
}

.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-top-right-radius: 0;
  position: absolute;
  top: 2.4rem;
  overflow: hidden;
}

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 {
  white-space: normal;
  text-align: start;
  width: 20em;
  color: var(--c-header-dropdown);
  padding: .6rem 1rem;
  line-height: normal;
}

.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: var(---ui-roundness, 7px);
}

.user-show__social .user-actions .dropdown.visible .dropdown-window {
  visibility: visible;
}

.user-show__social .user-actions .dropdown.visible > a {
  border-radius: var(---ui-roundness, 7px) var(---ui-roundness, 7px) 0 0;
  background: var(--c-bg-header-dropdown);
  color: var(--c-font-clear);
  box-shadow: -1px 5px 6px #0000004d;
}

.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: var(---ui-roundness, 7px) var(---ui-roundness, 7px) 0 0;
    background: var(--c-bg-header-dropdown);
    color: var(--c-font-clear);
    box-shadow: -1px 5px 6px #0000004d;
  }

  .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 {
  margin-bottom: 1em;
  font-size: 1.5em;
}

.user-show .claim-title form {
  margin: 3em 0 1em;
}

.user-show .crosstable {
  width: auto;
  margin: 2em 1em;
}

.user-show .new-player {
  padding: 1.5em;
  overflow-y: auto;
}

.user-show .new-player h2 {
  font-size: 1.5em;
}

.user-show .new-player p {
  margin: 1em 0;
}

.user-show .new-player li {
  line-height: 1.5em;
  list-style: inside;
}

.user-show .number-menu .to-games.active, .user-show #games.number-menu {
  flex-wrap: wrap;
  background: var(--c-bg-low) !important;
}

.user-show .angles {
  height: 4rem;
  font-size: 1.2em;
}

:where(html.light) .user-show .angles {
  border-top: 1px solid var(--c-border);
}

.user-show .angles .unread {
  margin-inline-start: .5em;
}

.user-show .activity {
  margin-bottom: 2em;
}

.user-show__blog {
  border-top: 1px solid var(--c-border);
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 0;
  gap: 0 3%;
  padding: 2vh 2.5%;
}
