.an {
  --an-border:#3a4045;
  --an-muted:#8c939b;
  --an-accent:#f40;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px 40px;
  color:#dbdcde;
  font-size:16px;
  text-align:left
}

.an * {
  box-sizing:border-box
}

.an [hidden] {
  display:none!important
}

.an a {
  color:#87cefa;
  text-decoration:none
}

.an a:hover {
  color:#fff
}

.an button,.an input {
  font:inherit
}

.an button {
  cursor:pointer
}

.an button:disabled {
  cursor:wait;
  opacity:.65
}

.an a:focus-visible,.an button:focus-visible,.an input:focus-visible {
  outline:2px solid #e99874;
  outline-offset:3px
}

.an-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:53px;
  border-bottom:1px solid var(--an-border);
  font-size:.8em
}

.an-nav a {
  color:#ababab
}

.an-other {
  letter-spacing:.5px;
  text-transform:uppercase
}

.an-other span {
  color:#d88460;
  margin-left:6px
}

.an-hero {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 24px;
  padding:20px 0 16px
}

.an-hero>div {
  flex:1 1 320px;
  min-width:0
}

.an-achievement-image {
  display:block;
  max-width:100%;
  height:88px;
  object-fit:contain;
  object-position:left center
}

.an-image-mark,.an-image-badge {
  width:88px;
  background:transparent;
  border:0
}

.an-eyebrow {
  font-size:.78em;
  color:var(--an-muted);
  line-height:1.5
}

.an h1 {
  font-size:1.5em;
  line-height:1.25;
  font-weight:normal;
  color:var(--an-accent);
  margin:1px 0 5px;
  text-transform:none
}

.an-hero p {
  font-size:.92em;
  line-height:1.5;
  margin:0
}

.an-share {
  font-size:.9em;
  color:#ababab;
  font-style:italic
}

.an-share:before {
  content:' · ';
  color:#6e757c;
  padding:0 5px
}

.an-chart {
  margin:8px 0 0;
  padding:14px 16px 10px;
  background:rgba(0,0,0,.2);
  border:1px solid var(--an-border)
}

.an-chart-title {
  font-size:.9em;
  line-height:1.3;
  color:#c9cfd5
}

.an-chart-peak-label {
  height:32px;
  display:flex;
  gap:5px;
  align-items:center;
  font-size:.7em;
  color:#e99874
}

.an-chart-peak-label b {
  font-weight:normal
}

.an-chart-peak-label span {
  color:var(--an-muted)
}

.an-chart-plot {
  position:relative;
  cursor:crosshair
}

.an-chart-plot svg {
  display:block;
  width:100%;
  height:74px;
  overflow:visible
}

.an-chart-area {
  fill:rgba(194,96,60,.16)
}

.an-chart-line {
  fill:none;
  stroke:#c2603c;
  stroke-width:1.6;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke
}

.an-chart-peak {
  fill:#f07a47;
  stroke:#1a1d20;
  stroke-width:1
}

.an-chart-hover {
  fill:#fff
}

.an-chart-hits {
  position:absolute;
  inset:0;
  display:flex
}

.an-chart-hit {
  position:static;
  display:block;
  flex:1 1 0;
  min-width:0;
  border:0;
  background:transparent;
  border-radius:0;
  padding:0;
  margin:0;
  cursor:crosshair
}

.an-chart-hit:hover,.an-chart-hit:focus {
  background:rgba(255,255,255,.07)
}

.an-chart-tip {
  position:absolute;
  top:-4px;
  left:0;
  z-index:3;
  display:none;
  max-width:100%;
  padding:4px 8px;
  background:#14171a;
  border:1px solid #4a5158;
  color:white;
  font-size:12px;
  line-height:1.4;
  pointer-events:none;
  text-align:left;
  white-space:normal
}

.an-chart-hit:hover .an-chart-tip,.an-chart-hit:focus .an-chart-tip {
  display:block
}

.an-chart-ticks {
  position:relative;
  height:19px;
  margin-top:2px;
  border-top:2px solid var(--an-border)
}

.an-chart-ticks span {
  position:absolute;
  top:4px;
  transform:translateX(-50%);
  font:11px 'Courier New',monospace;
  color:#8c939b
}

.an-chart-foot {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:.7em;
  line-height:1.4;
  color:var(--an-muted)
}



.an-refresh {
  position:relative;
  max-width:800px;
  margin:18px auto 14px;
  padding:12px 14px;
  background:#1d1d1d;
  border:1px solid rgba(255,68,0,.6)
}

.an-refresh form {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 12px
}

.an-invitation {
  flex:1 1 220px;
  font-size:.85em;
  line-height:1.4
}

.an-invitation strong {
  display:block;
  font-weight:normal;
  color:#f40
}

.an-invitation span {
  color:#ababab
}

.an-combobox {
  position:relative;
  flex:0 1 230px;
  min-width:150px
}

.an #an-nickname {
  display:block;
  width:100%;
  height:34px;
  margin:0;
  padding:0 9px;
  background:#101010;
  border:1px solid #6a6a6a;
  border-radius:0;
  box-shadow:none;
  color:#fff;
  font-size:.95em;
  outline-offset:2px
}

.an #an-nickname:focus {
  border-color:#e08056
}

.an #an-nickname::placeholder {
  color:#999
}

.an-submit {
  height:34px;
  margin:0;
  padding:0 16px;
  background:rgba(0,0,0,.35);
  border:1px solid #ad3b13;
  border-radius:0;
  color:#f40;
  font-size:.84em!important;
  text-transform:uppercase;
  letter-spacing:.5px
}

.an-submit:hover {
  background:rgba(255,68,0,.12);
  border-color:#f40
}

.an .an-close {
  position:absolute;
  top:3px;
  right:5px;
  margin:0;
  padding:0 3px;
  border:0;
  background:none;
  color:#777;
  font:18px/1.2 Arial,sans-serif
}

.an-close:hover {
  color:#fff
}

.an-status {
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid var(--an-border);
  font-size:.8em;
  line-height:1.5;
  color:#e9a98d
}

.an-status[data-state=success] {
  color:#6bc285
}

.an-status[data-state=error] {
  color:#ed926d
}

.an-spinner {
  position:relative;
  flex:none;
  display:inline-block;
  width:18px;
  height:18px
}

.an-spinner:before,.an-spinner:after {
  content:'';
  position:absolute;
  border:2px solid;
  border-radius:50%;
  border-left-color:transparent!important;
  border-right-color:transparent!important
}

.an-spinner:before {
  inset:0;
  border-color:white;
  animation:an-clockwise 1.6s linear infinite
}

.an-spinner:after {
  inset:5px;
  border-color:#f40;
  animation:an-clockwise 1.1s linear infinite reverse
}

@keyframes an-clockwise {
  to {
    transform:rotate(360deg)
  }
}

.an-suggestions {
  position:absolute;
  z-index:40;
  top:100%;
  left:0;
  width:100%;
  max-height:220px;
  overflow-y:auto;
  margin-top:-1px;
  background:#14171a;
  border:1px solid #6e4a3a;
  box-shadow:0 12px 30px rgba(0,0,0,.55)
}

.an-option {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  min-height:34px;
  padding:8px 10px;
  cursor:pointer;
  font-size:.9em;
  color:#c9cfd5
}

.an-option[aria-selected=true],.an-option:hover {
  background:rgba(224,122,82,.2);
  color:white
}

.an-option>span {
  overflow:hidden;
  text-overflow:ellipsis
}

.an-option small {
  flex:none;
  font-size:.75em;
  color:#969087
}

.an-suggest-hint {
  padding:8px 10px;
  font-size:.75em;
  line-height:1.5;
  color:#929aa0
}

.an-toolbar {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px 15px;
  margin:16px 0 8px;
  font-size:.7em;
  color:var(--an-muted);
  line-height:1.5
}



.an-ranking {
  border-top:2px solid #404c57
}

.an-head,.an-row {
  display:grid;
  grid-template-columns:44px minmax(290px,1fr) 115px 112px 200px;
  align-items:center;
  gap:0 16px
}

.an-head {
  padding:11px 12px;
  color:#ababab;
  text-transform:uppercase;
  font-size:.72em;
  line-height:1.3;
  letter-spacing:.5px
}

.an-head>span:first-child {
  text-align:center
}

.an-head small {
  display:block;
  color:var(--an-muted);
  font:inherit;
  text-transform:none
}

.an-head-date {
  text-align:right
}

.an-row {
  position:relative;
  min-height:76px;
  padding:6px 12px;
  border-top:1px solid #323638;
  color:#dbdcde
}

.an-row:hover {
  background:rgba(255,255,255,.05)
}

.an-vip {
  --an-vip:rgba(255,215,0,.22);
  background:var(--an-vip)
}

.an-vip:hover {
  background:var(--an-vip);
  box-shadow:inset 0 0 0 1000px rgba(255,255,255,.04)
}

.an-position {
  text-align:center;
  font:1em 'Courier New',monospace;
  color:#ababab
}

.an-position-1 {
  color:#f1b463
}

.an-position-2 {
  color:#c1c1c1
}

.an-position-3 {
  color:#c48161
}

.an-character {
  min-width:0;
  overflow:hidden
}

.an-userbar-scale {
  height:64px;
  position:relative;
  overflow:hidden
}

.an-userbar {
  position:relative;
  width:380px;
  max-width:100%;
  height:64px;
  isolation:isolate;
  overflow:hidden
}

.an-userbar img {
  position:absolute;
  top:0;
  object-fit:contain;
  object-position:left center;
  height:64px;
  pointer-events:none
}

.an-ub-stripe {
  left:57px;
  width:512px;
  max-width:none;
  z-index:-3
}

.an-ub-mark,.an-ub-badge {
  left:25px;
  width:64px;
  z-index:-2
}

.an-userbar .an-ub-badge {
  z-index:-1
}

.an-player {
  position:absolute;
  left:75px;
  inset-block:0;
  right:0;
  display:flex;
  align-items:center
}

.an-rank {
  flex:none;
  display:block;
  width:32px;
  height:32px;
  background-image:url(https://cdn.wfts.su/ranks/ranks_all.png?v=90);
  background-repeat:no-repeat;
  margin-right:13px
}

.an-player-text {
  min-width:0;
  text-shadow:1px 1px 3px rgba(0,0,0,.85)
}

.an-clan {
  display:block;
  color:#cbcbcb!important;
  font-size:.82em;
  height:22px;
  line-height:22px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.an-no-clan {
  color:#777!important
}

.an-nickname {
  display:block;
  color:#fff!important;
  font-size:1.02em;
  line-height:22px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.an-nickname:hover {
  text-decoration:underline
}

.an-behind {
  color:#ababab;
  font-size:.8em;
  white-space:nowrap
}

.an-position-1~.an-behind {
  color:#e08056
}

.an-counts {
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:10px;
  font:.9em 'Courier New',monospace
}

.an-counts b {
  color:white;
  font-weight:normal
}

.an-counts i {
  color:#5e656a;
  font-style:normal
}

.an-counts>span {
  color:#ababab;
  min-width:46px;
  text-align:right
}

.an-date {
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:10px;
  white-space:nowrap;
  font:.9em 'Courier New',monospace
}

.an-date span {
  color:#90979d
}

.an-date b {
  font-size:1.04em;
  font-weight:normal;
  color:#fff
}

.an-mobile-meta {
  display:none
}

.an-gap-row,.an-empty {
  padding:30px 15px;
  text-align:center;
  color:#ababab;
  font-size:.9em;
  line-height:1.6
}

.an-gap-row {
  padding:12px;
  border-top:1px solid var(--an-border);
  font-size:.75em
}

.an-updated {
  animation:an-highlight 1.25s ease-in-out 4
}

@keyframes an-highlight {
  50% {
    box-shadow:inset 3px 0 #f40;
    background:rgba(255,68,0,.2)
  }
}

.an-seo {
  max-width:900px;
  margin:38px auto 10px;
  color:#ababab;
  font-size:.85em;
  line-height:1.6
}

.an-seo h2 {
  font-size:1.35em;
  font-weight:normal;
  color:#f40;
  margin:0 0 10px;
  text-transform:none
}

.an-seo p {
  margin:8px 0
}

.an-dialog {
  position:fixed;
  width:calc(100% - 32px);
  max-width:400px;
  padding:0;
  background:#171717;
  border:1px solid #3a4045;
  border-top:3px solid #f40;
  color:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.55)
}

.an-dialog::backdrop {
  background:rgba(0,0,0,.75)
}

.an-error-body {
  display:flex;
  gap:14px;
  padding:22px 18px 18px
}

.an-error-icon {
  flex:none;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:2px solid #f40;
  color:#f40;
  font-size:22px
}

.an-error-body h2 {
  margin:0;
  font-size:17px;
  font-weight:normal;
  text-transform:none;
  line-height:1.35
}

.an-error-body p {
  margin:6px 0 0;
  font-size:14px;
  color:#ababab;
  line-height:1.5
}

.an-dialog-footer {
  padding:11px 18px;
  text-align:right;
  border-top:1px solid #2e3439;
  background:rgba(0,0,0,.35)
}

.an-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

@media(max-width:1100px) {
  .an-head,.an-row {
    grid-template-columns:34px minmax(240px,1fr) 96px 100px 112px;
    gap:0 10px
  }
  .an-date {
    flex-direction:column;
    align-items:flex-end;
    gap:3px
  }
  .an-counts {
    gap:7px;
    font-size:.82em
  }
  .an-head {
    font-size:.66em
  }
  .an-userbar {
    width:330px
  }
  .an-player {
    left:67px
  }
  .an-ub-stripe {
    left:49px
  }
  .an-ub-mark,.an-ub-badge {
    left:17px
  }
}

@media(max-width:767px) {
  .an {
    padding:0 12px 28px;
    font-size:15px
  }
  .an-nav {
    min-height:47px
  }
  .an-hero {
    padding:16px 0;
    gap:12px
  }
  .an-hero>div {
    flex-basis:200px
  }
  .an-achievement-image {
    height:74px
  }
  .an-image-mark,.an-image-badge {
    width:74px
  }
  .an h1 {
    font-size:1.45em
  }
  .an-share {
    display:block;
    margin-top:3px
  }
  .an-share:before {
    content:none
  }
  .an-chart {
    padding:12px 10px 9px
  }
  .an-chart-ticks span:nth-child(even) {
    display:none
  }
  .an-chart-unit {
    display:none
  }
  .an-refresh {
    padding:13px 15px;
    margin:16px 0
  }
  .an-invitation {
    flex-basis:100%;
    padding-right:8px
  }
  .an-combobox {
    flex:1 1 150px
  }
  .an #an-nickname {
    height:39px;
    font-size:16px
  }
  .an-submit {
    height:39px;
    padding:0 13px
  }
  .an-head,.an-row {
    grid-template-columns:28px minmax(0,1fr);
    gap:0 10px
  }
  .an-head {
    font-size:.7em;
    padding:11px 8px
  }
  .an-row {
    padding:8px 8px 10px;
    align-items:start;
    min-height:116px
  }
  .an-position {
    padding-top:23px;
    font-size:.9em
  }
  .an-row>.an-behind,.an-row>.an-counts,.an-row>.an-date,.an-desktop {
    display:none
  }
  .an-userbar {
    width:380px;
    max-width:100%
  }
  .an-player {
    left:65px
  }
  .an-ub-stripe {
    left:47px
  }
  .an-ub-mark,.an-ub-badge {
    left:15px
  }
  .an-rank {
    margin-right:9px
  }
  .an-nickname {
    font-size:1em
  }
  .an-mobile-meta {
    display:flex;
    flex-wrap:wrap;
    gap:4px 12px;
    font-size:.73em;
    line-height:1.4;
    color:#8c939b;
    padding-left:4px
  }
  .an-mobile-meta time {
    font-family:'Courier New',monospace;
    color:#ccc
  }
  .an-mobile-meta time b {
    color:white;
    font-weight:normal
  }
  .an-mobile-meta>span:last-child {
    flex-basis:100%
  }
  .an-seo {
    margin-top:28px
  }
  .an-toolbar>span:last-child {
    margin-left:auto
  }
}

@media(prefers-reduced-motion:reduce) {
  .an-updated,.an-spinner:before,.an-spinner:after {
    animation:none
  }
  .an-updated {
    box-shadow:inset 3px 0 #f40
  }
}

#an-error-help {font-size:14px;line-height:1.5;color:#ababab}
#an-error-help ol {margin:12px 0 0;padding-left:18px}
#an-error-help li {margin:7px 0}
#an-error-help a {text-decoration:underline;text-underline-offset:2px}
