#insight .box .top, #insight .tab, .slist thead {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

#insight .box .top, .slist thead {
  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) #insight .box .top, #insight .box :where(html.light) .top, :where(html.light) .slist thead, .slist :where(html.light) thead {
  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);
}

#insight .box .top, .slist thead {
  background-image: linear-gradient(to bottom, var(--c-metal-top), var(--c-metal-bottom));
}

#insight .boards .vstext, .ms-choice {
  white-space: nowrap;
  overflow: hidden;
}

.ms-drop ul > li.multiple label, .ms-choice > span {
  white-space: nowrap;
}

#insight .boards .vstext__pl, #insight .boards .vstext__op, .ms-drop ul > li.multiple label, .ms-choice > span {
  text-overflow: ellipsis;
  overflow: hidden;
}

#insight .loading .spinner {
  width: 100%;
  height: 100%;
  position: absolute;
}

#insight .tutor-link, #insight .loading .spinner {
  flex-flow: wrap;
  align-items: center;
  display: flex;
}

#insight .panel-tabs, #insight .view-tabs {
  flex-flow: row;
  align-items: center;
  display: flex;
}

#insight header {
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

#insight .boards .vstext {
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

#insight .tutor-link > span {
  flex-flow: column;
  display: flex;
}

#insight .tutor-link, #insight .presets, #insight .boards a, .ms-drop {
  border-radius: var(---ui-roundness, 7px);
}

.ms-drop {
  overflow: hidden;
}

#insight header {
  border-radius: var(---ui-roundness, 7px) var(---ui-roundness, 7px) 0 0;
}

#insight .box {
  border-radius: 0 0 var(---ui-roundness, 7px) var(---ui-roundness, 7px);
}

.ms-drop, #insight .tutor-link, #insight .presets {
  box-shadow: 0 2px 2px #00000014, 0 3px 1px -2px #0000002e, 0 1px 5px #0000001a;
}

:where(html.transp) #insight .boards a, #insight .boards :where(html.transp) a {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#insight .boards a {
  border: 1px solid var(--c-border);
}

:where(html.transp) #insight .tutor-link, #insight :where(html.transp) .tutor-link, :where(html.transp) #insight .presets, #insight :where(html.transp) .presets, :where(html.transp) .ms-drop {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.slist {
  border-bottom: 1px solid var(--c-border);
  width: 100%;
}

.slist thead th {
  border-bottom: 1px solid var(--c-border);
  padding: .5rem .8rem;
}

:where(html.light) .slist thead th {
  border-top: 1px solid var(--c-border);
}

.slist thead th.large {
  font-size: 1.2rem;
}

.slist td {
  padding: 1rem;
}

.slist td .label {
  font-family: monospace;
  font-size: .8rem;
}

.slist tbody tr:nth-child(2n) {
  background: var(--c-bg-zebra);
}

.slist td:first-child, .slist th:first-child {
  padding-inline-start: 1.5rem;
}

.slist-pad td:first-child, .slist-pad th:first-child {
  padding-inline-start: var(---box-padding);
}

.slist-pad td:last-child, .slist-pad th:last-child {
  padding-inline-end: var(---box-padding);
}

.slist-invert tbody tr:nth-child(odd) {
  background: var(--c-bg-zebra);
}

.slist-invert tbody tr:nth-child(2n) {
  background: none;
}

.slist-wrapper {
  max-width: calc(100vw - var(---box-padding) * 2);
  scrollbar-width: thin;
  min-width: auto;
  overflow-x: auto;
}

.slist-wrapper:has(.slist-pad) {
  max-width: 100vw;
}

ol .slist-wrapper, ul .slist-wrapper {
  max-width: calc(100vw - var(---box-padding) * 2 - 30px);
}

ol .slist-wrapper .slist, ul .slist-wrapper .slist {
  margin-top: 0;
}

@media (max-width: 649.29px) {
  .slist-wrapper .slist {
    min-width: calc(max(100vw, 650px) - var(---box-padding) * 2);
  }

  .slist.slist-resp {
    border-collapse: collapse;
    table-layout: fixed;
  }

  .slist.slist-resp thead {
    clip-path: rect(0 0 0 0);
    border: none;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .slist.slist-resp tr {
    border-top: 1px solid var(--c-border);
    display: block;
  }

  .slist.slist-resp td {
    padding: .5rem var(---box-padding);
    border-top: 1px solid var(--c-border);
    flex-flow: wrap;
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .slist.slist-resp td:before {
    content: attr(data-label);
  }
}

@media (max-width: 499.29px) {
  .stack-row {
    flex-direction: column;
    display: flex;
  }

  .stack-row td {
    width: 100%;
    padding-inline: var(---box-padding);
  }
}

.ms-parent {
  vertical-align: middle;
  display: inline-block;
  position: relative;
}

.ms-choice {
  cursor: pointer;
  border: 1px solid var(--c-border);
  text-align: left;
  background-color: var(--c-bg-box);
  border-radius: 2px;
  width: 100%;
  height: 26px;
  padding: 0;
  line-height: 26px;
  text-decoration: none;
  display: block;
}

.ms-choice.disabled {
  background-color: var(--c-shade);
  cursor: default;
  background-image: none;
}

.ms-choice > span {
  padding-left: 8px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 20px;
}

.ms-choice > div {
  background: url("../hashed/multiple-select.b0a8e7df.png") 0 0 no-repeat;
  width: 20px;
  height: 25px;
  position: absolute;
  top: 0;
  right: 0;
}

.ms-choice > div.open {
  background: url("../hashed/multiple-select.b0a8e7df.png") 100% 0 no-repeat;
}

.ms-drop {
  z-index: 1000;
  background: var(--c-bg-opaque);
  border: 1px solid var(--c-border);
  width: 100%;
  margin-top: -1px;
  padding: 0;
  display: none;
  position: absolute;
}

.ms-drop.bottom {
  top: 100%;
  box-shadow: 0 4px 5px #00000026;
}

.ms-drop.top {
  bottom: 100%;
  box-shadow: 0 -4px 5px #00000026;
}

.ms-search {
  white-space: nowrap;
  z-index: 10000;
  width: 100%;
  min-height: 26px;
  margin: 0;
  padding: 4px;
  display: inline-block;
  position: relative;
}

.ms-search input {
  border: 1px solid var(--c-border);
  width: 100%;
  min-height: 24px;
  box-shadow: none;
  background: url("../hashed/multiple-select.b0a8e7df.png") 100% -22px no-repeat;
  border-radius: 0;
  outline: 0;
  margin: 0;
  padding: 0 20px 0 5px;
  font-size: 1em;
  height: auto !important;
}

.ms-drop ul {
  margin: 0;
  padding: 5px 8px;
  overflow: auto;
}

.ms-drop ul > li {
  background-image: none;
  list-style: none;
  display: list-item;
  position: static;
}

.ms-drop ul > li .disabled {
  opacity: .35;
}

.ms-drop ul > li.multiple {
  float: left;
  display: block;
}

.ms-drop ul > li.group {
  clear: both;
}

.ms-drop ul > li.multiple label {
  width: 100%;
  display: block;
}

.ms-drop ul > li label {
  white-space: nowrap;
  font-weight: normal;
  display: block;
}

.ms-drop ul > li label.optgroup {
  font-weight: bold;
}

.ms-drop input[type="checkbox"] {
  vertical-align: middle;
}

.ms-drop .ms-no-results {
  display: none;
}

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

#insight .filters {
  z-index: 4;
  position: relative;
}

#insight .filters .box {
  border-radius: 0;
  overflow: visible;
}

:where(html.transp) #insight .filters .box {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#insight .filters .box:last-child {
  border-bottom-width: 1px;
}

#insight .filters .ms-parent {
  display: block;
}

#insight .filters .ms-parent:last-child .ms-choice {
  border-bottom: 0;
}

#insight .filters .ms-parent.selected .ms-choice {
  background: linear-gradient(to right, rgb(from var(--c-accent) r g b/calc(alpha * .7)) 0, rgb(from var(--c-accent) r g b/calc(alpha * .7)) 5px, #0000 5px, #0000 100%);
}

html[dir="rtl"] #insight .filters .ms-parent.selected .ms-choice {
  background: linear-gradient(to left, rgb(from var(--c-accent) r g b/calc(alpha * .7)) 0, rgb(from var(--c-accent) r g b/calc(alpha * .7)) 5px, #0000 5px, #0000 100%);
}

#insight .filters .ms-parent:hover .ms-choice {
  background: color-mix(in oklab, var(--c-accent) 20%, var(--c-bg));
}

#insight .filters .ms-choice {
  transition: all .15s;
}

:where(html.transp) #insight .filters .ms-choice {
  background: none;
}

#insight .filters .ms-choice {
  border-width: 0 0 1px;
  padding: 15px 10px;
}

#insight .filters .ms-choice.selected {
  background: color-mix(in oklab, var(--c-primary) 20%, var(--c-bg));
  border-left: 3px solid var(--c-link);
}

#insight .filters .ms-choice span {
  text-align: right;
}

@media (max-width: 649.29px) {
  #insight .filters .ms-choice span {
    text-align: left;
  }
}

#insight .filters .ms-choice span {
  background: none;
  line-height: 30px;
}

#insight .filters .ms-choice div {
  top: 4px;
}

#insight .filters .ms-drop ul > li label input {
  cursor: pointer;
  margin-inline-end: 5px;
}

#insight .filters .ms-drop {
  margin-inline-start: 99%;
  top: 0;
}

@media (max-width: 649.29px) {
  #insight .filters .ms-drop {
    margin-inline-start: 50%;
  }
}

html:not([dir="rtl"]) #insight .filters .ms-drop {
  left: 0;
}

html[dir="rtl"] #insight .filters .ms-drop {
  right: 0;
}

#insight {
  ---chart-height: 550px;
  ---header-height: 60px;
  ---drop-menu-width: 200px;
}

#insight > div {
  display: flex;
}

#insight .view-tabs {
  border-bottom: 2px solid var(--c-border);
  align-items: flex-end;
  font-size: 1.6em;
}

#insight .tab {
  text-align: center;
  cursor: pointer;
  color: var(--c-font-page);
  flex: auto;
  min-width: 15%;
  padding: .5em .2em;
  transition: color .25s;
  position: relative;
}

#insight .tab:after {
  content: "";
  background: rgb(from var(--c-accent) r g b/calc(alpha * .6));
  width: 96%;
  height: 2px;
  position: absolute;
}

html:not([dir="rtl"]) #insight .tab:after {
  left: 2%;
}

html[dir="rtl"] #insight .tab:after {
  right: 2%;
}

#insight .tab:after {
  transition: all .25s;
  bottom: -2px;
  transform: scale(0);
}

#insight .tab.active:after, #insight .tab:hover:after {
  transform: scale(1);
}

#insight .tab.active {
  color: var(--c-accent);
}

#insight .crunching {
  margin: 3em 0 2em;
}

#insight .loading .insight__main {
  position: relative;
}

html:not([dir="rtl"]) #insight .loading .spinner {
  left: 0;
}

html[dir="rtl"] #insight .loading .spinner {
  right: 0;
}

#insight .loading .spinner {
  height: var(---chart-height);
  opacity: .7;
  top: 0;
}

#insight .loading .spinner svg {
  width: 80px;
  height: 80px;
  margin: auto;
}

#insight .broken {
  text-align: center;
  flex-flow: column;
  align-items: center;
  width: 100%;
  padding: 200px 0;
  display: flex;
}

#insight .broken icon {
  font-size: 50px;
}

#insight .chart {
  height: var(---chart-height);
}

#insight .loading .chart {
  filter: blur(3px);
  opacity: .5;
}

#insight .chart.empty {
  opacity: .7;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 1.5em;
  display: flex;
}

#insight .chart.empty icon {
  opacity: .5;
  margin-bottom: 30px;
  font-size: 200px;
  display: block;
}

#insight header {
  height: var(---header-height);
  background: var(--c-bg-zebra);
  flex-wrap: nowrap;
  padding: 0 1vw;
}

:where(html.transp) #insight header {
  background: var(--c-bg-box);
}

#insight header h2 {
  line-height: var(---header-height);
}

#insight header h2:before {
  vertical-align: top;
  line-height: var(---header-height);
  margin: 0 10px;
}

#insight header > * {
  display: inline-block;
}

#insight .insight__main {
  background: var(--c-bg-box);
  border: 1px solid var(--c-border);
  border-top: 0;
}

#insight .axis-form {
  height: var(---header-height);
  flex-flow: row;
  flex: auto;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

#insight .axis-form .by {
  margin: 0 8px;
}

@media (max-width: 399.29px) {
  #insight .axis-form .by {
    display: none;
  }
}

#insight .axis-form .ms-choice {
  padding: calc(var(---header-height) / 2) 10px;
}

@media (max-width: 499.29px) {
  #insight .axis-form .ms-choice {
    padding-left: 2px;
    padding-right: 2px;
  }
}

#insight .axis-form .ms-choice {
  border-width: 0 1px;
  border-radius: 0;
  transition: all .15s;
}

#insight .axis-form .ms-choice span {
  line-height: var(---header-height);
  text-align: center;
}

#insight .axis-form .ms-choice div {
  top: calc(var(---header-height) / 2 - 12px);
}

#insight .axis-form .ms-drop {
  color: var(--c-font);
  width: var(---drop-menu-width);
}

#insight .axis-form .ms-drop ul > li label input {
  display: none;
}

#insight .axis-form .ms-drop ul > li.selected label {
  background: var(--c-accent);
  color: var(--c-over);
}

#insight .hscroll {
  white-space: nowrap;
  overflow: scroll hidden;
}

#insight .panel-tabs {
  border-bottom: 2px solid var(--c-border);
  justify-content: center;
  align-items: flex-end;
}

#insight .presets a {
  color: var(--c-font);
  padding: .7em;
  transition: all .15s;
  display: block;
}

#insight .presets a:before {
  opacity: .7;
  transition: opacity .13s;
}

#insight .presets a:hover {
  background: color-mix(in oklab, var(--c-accent) 20%, var(--c-bg));
}

#insight .presets a:hover:before {
  opacity: 1;
}

#insight .presets a.active {
  color: var(--c-accent);
}

#insight .clear {
  color: var(--c-bad);
  margin-bottom: .5em;
  font-size: .9em;
}

#insight .center-clear {
  flex-flow: row;
  justify-content: center;
  align-items: center;
  height: 20px;
  display: flex;
}

#insight .ms-parent, #insight .ms-parent button {
  -webkit-user-select: none;
  user-select: none;
}

#insight .ms-choice:focus, #insight .ms-parent input:focus {
  outline: 0;
}

#insight .ms-drop {
  max-height: calc(99vh - var(---site-header-height) - var(---header-height));
  font-size: .9em;
  overflow-y: auto;
}

#insight .ms-drop ul {
  padding: 0;
  overflow: auto;
}

#insight .ms-drop ul > li label:not(.optgroup) {
  cursor: pointer;
  text-indent: 1em;
  padding: 4px 8px;
  transition: all .15s;
}

#insight .ms-drop ul > li label:not(.optgroup):hover {
  background: color-mix(in oklab, var(--c-accent) 20%, var(--c-bg));
}

#insight .ms-drop ul > li label.optgroup {
  border-top: 1px solid var(--c-border);
  text-indent: 0;
  text-transform: uppercase;
  opacity: .6;
  margin-top: 5px;
  padding: 6px 8px 2px;
  font-weight: normal;
}

#insight .ms-drop ul > li:first-child label.optgroup {
  margin-top: 0;
}

#insight .box {
  overflow: visible;
}

#insight .box .top {
  padding: .6rem var(---block-gap);
  border-bottom: 1px solid var(--c-border);
}

#insight .box .top .utitle {
  margin-right: 3px;
}

#insight .box .content {
  padding: var(---block-gap);
}

#insight .info {
  margin-bottom: var(---block-gap);
}

#insight .info p {
  margin: 0;
}

#insight .info .insight-stale {
  padding: var(---block-gap);
}

#insight .info .insight-stale button {
  width: 100%;
}

#insight .info .share a {
  text-decoration: underline;
}

#insight .tutor-link {
  gap: 1em;
  padding: .5em 1em;
}

#insight .tutor-link img {
  height: 3em;
}

#insight .tutor-link {
  background: color-mix(in oklab, var(--c-primary) 10%, var(--c-bg));
  border: 1px solid var(--c-primary);
  margin-bottom: 1em;
}

#insight .help.box {
  margin-top: 20px;
}

#insight .help .dimension {
  margin-top: 10px;
}

#insight .help h3 {
  margin: 0;
  font-weight: bold;
}

#insight .help a {
  text-decoration: underline;
}

#insight td.data {
  font-weight: bold;
}

#insight .game-sample {
  border-top: 1px solid var(--c-border);
  box-shadow: none;
}

#insight .boards {
  grid-template-columns: repeat(auto-fit, minmax(200px, calc(25% - .25em)));
  gap: .3em;
  padding: .6em;
  display: grid;
}

#insight .boards a {
  color: var(--c-font);
  padding: .4em;
  transition: background .15s;
}

#insight .boards a span {
  box-shadow: none;
  background: none;
}

#insight .boards a:hover {
  background: color-mix(in oklab, var(--c-accent) 20%, var(--c-bg));
}

#insight .boards .vstext {
  padding: .2em .3em 0;
}

#insight .boards .vstext__pl, #insight .boards .vstext__op {
  max-width: 45%;
}

#insight .boards .vstext__pl {
  text-align: left;
}

#insight .boards .vstext__op {
  text-align: right;
}

body.no-rating rating {
  display: none;
}
