.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.auth-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 44px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.auth-art .brand {
  padding: 0;
  position: relative;
  z-index: 1;
}

.orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.orbit i {
  position: absolute;
  border: 1px solid var(--line2);
  border-radius: 28%;
  animation: drift 60s linear infinite;
}

.orbit i:nth-child(1) {
  width: 220px;
  height: 220px;
  animation-duration: 40s;
}

.orbit i:nth-child(2) {
  width: 360px;
  height: 360px;
  animation-duration: 64s;
  animation-direction: reverse;
  border-color: var(--line);
}

.orbit i:nth-child(3) {
  width: 520px;
  height: 520px;
  animation-duration: 90s;
  border-color: var(--line);
}

.orbit i:nth-child(4) {
  width: 700px;
  height: 700px;
  animation-duration: 120s;
  animation-direction: reverse;
  border-color: var(--line);
}

.orbit .mark {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: var(--surface);
  animation: rise 1s var(--ease) both;
}

.orbit .mark svg {
  height: 34px;
  width: auto;
  fill: var(--text);
}

.orbit .mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--text);
  border-radius: 20px;
  animation: ring 3.2s var(--ease) infinite;
}

.auth-art .copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.auth-art .copy h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.auth-art .copy p {
  margin-top: 12px;
  color: var(--mute);
  font-size: 15px;
}

.auth-form {
  display: grid;
  place-items: center;
  padding: 36px;
}

.auth-card {
  width: min(380px, 100%);
  animation: rise 0.8s var(--ease) both;
  animation-delay: 0.1s;
}

.auth-card h1 {
  font-size: 28px;
}

.auth-card .sub {
  margin: 8px 0 28px;
  color: var(--mute);
}

.auth-card .err {
  height: 20px;
  margin: -4px 0 12px;
  font-size: 12.5px;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.2s;
}

.auth-card .err.show {
  opacity: 1;
}

.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--dim);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat {
  padding: 20px 22px 18px;
}

.stat .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mute);
  font-size: 13px;
}

.stat .top .ico {
  width: 18px;
  height: 18px;
  color: var(--dim);
  transition: color 0.25s, transform 0.4s var(--ease);
}

.stat:hover .top .ico {
  color: var(--text);
  transform: rotate(-8deg) scale(1.12);
}

.stat .val {
  margin: 14px 0 12px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat .foot {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--mute);
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px 0 6px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.delta .ico {
  width: 13px;
  height: 13px;
}

.delta.neg {
  background: var(--text);
  border-color: var(--text);
  color: var(--inv);
}

.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.grid2.even {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.legend {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--mute);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  width: 14px;
  height: 0;
  border-top: 2px solid var(--text);
}

.legend i.dash {
  border-top: 2px dashed var(--mute);
}

.chart {
  position: relative;
  height: 290px;
  margin-top: 8px;
}

.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart .ylab,
.chart .xlab {
  fill: var(--dim);
  font-size: 11px;
  font-family: var(--sans);
}

.chart .line {
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart .line.alt {
  stroke: var(--mute);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}

.chart .area {
  fill: var(--text);
  opacity: 0;
  animation: fade 0.9s 0.5s forwards;
}

.chart .cursor {
  stroke: var(--line2);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.15s;
}

.chart .dot {
  fill: var(--bg);
  stroke: var(--text);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.15s;
}

.chart.hot .cursor,
.chart.hot .dot {
  opacity: 1;
}

.tip {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 128px;
  padding: 10px 12px;
  background: var(--text);
  color: var(--inv);
  border-radius: 10px;
  font-size: 12.5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 3;
}

.tip b {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.tip div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  opacity: 0.85;
}

.chart.hot .tip {
  opacity: 1;
}

.rank {
  display: grid;
  gap: 20px;
}

.rank-row .line1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.rank-row b {
  font-weight: 550;
}

.rank-row small {
  margin-left: 8px;
  color: var(--dim);
  font-size: 12px;
}

.track {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}

.track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: var(--text);
  transition: width 1.1s var(--ease);
}

.feed {
  list-style: none;
  margin: 0;
  padding: 8px 10px 12px;
}

.feed li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 11px;
  transition: background 0.15s;
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.feed li:hover {
  background: var(--hover);
}

.feed .dotc {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 50%;
  color: var(--text);
}

.feed .dotc .ico {
  width: 15px;
  height: 15px;
}

.feed .dotc.bad {
  background: var(--text);
  border-color: var(--text);
  color: var(--inv);
}

.feed .txt {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.feed .txt b {
  font-weight: 550;
}

.feed .txt small {
  display: block;
  color: var(--mute);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed time {
  color: var(--dim);
  font-size: 12px;
  white-space: nowrap;
}

.code {
  position: relative;
  margin: 0;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
}

.code .k {
  color: var(--mute);
}

.code .copy {
  position: absolute;
  top: 8px;
  right: 8px;
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.endpoint b {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--text);
  color: var(--inv);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.endpoint span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.toolbar .left,
.toolbar .right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.table-card {
  overflow: hidden;
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.app {
  padding: 22px;
}

.app .top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app .badge {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--raised);
  transition: transform 0.4s var(--ease), background 0.25s, color 0.25s;
}

.app:hover .badge {
  background: var(--text);
  color: var(--inv);
  transform: rotate(-6deg);
}

.app .badge .ico {
  width: 21px;
  height: 21px;
}

.app .name {
  flex: 1;
  min-width: 0;
}

.app .name b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app .name small {
  color: var(--mute);
}

.app .nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.app .nums div {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.app .nums div:last-child {
  border-right: 0;
}

.app .nums b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.app .nums small {
  color: var(--mute);
  font-size: 12px;
}

.secret {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
}

.secret span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mute);
}

.app .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--mute);
}

.app .foot .right {
  display: flex;
  gap: 2px;
}

.add-card {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 260px;
  border: 1px dashed var(--line2);
  border-radius: 16px;
  color: var(--mute);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.35s var(--ease);
}

.add-card:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--surface);
  transform: translateY(-3px);
}

.add-card .ico {
  width: 28px;
  height: 28px;
  transition: transform 0.4s var(--ease);
}

.add-card:hover .ico {
  transform: rotate(90deg) scale(1.15);
}

.settings {
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.line-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.line-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.line-row:first-child {
  padding-top: 0;
}

.line-row p {
  color: var(--mute);
  font-size: 12.5px;
  margin-top: 2px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mute);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid2,
  .grid2.even {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .auth {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-art {
    display: none;
  }

  .row2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

.secret em {
  flex: none;
  width: 82px;
  white-space: nowrap;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.drop {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  padding: 22px 26px;
  border: 1px dashed var(--line2);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.35s var(--ease);
}

.drop:hover {
  border-color: var(--mute);
}

.drop.over {
  border-color: var(--text);
  background: var(--raised);
  transform: scale(1.005);
}

.drop-art {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: var(--raised);
  transition: transform 0.4s var(--ease), background 0.25s, color 0.25s;
}

.drop:hover .drop-art,
.drop.over .drop-art {
  background: var(--text);
  color: var(--inv);
  transform: translateY(-3px);
}

.drop-art .ico {
  width: 22px;
  height: 22px;
}

.drop-copy {
  flex: 1;
  min-width: 0;
}

.drop-copy b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.drop-copy span {
  color: var(--mute);
  font-size: 13px;
}

.drop-opts {
  display: flex;
  gap: 12px;
}

.drop-opts label {
  display: block;
  width: 170px;
}

.drop-opts label span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--mute);
}

.uploads {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.uploads:empty {
  display: none;
}

.upl {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  animation: pop 0.3s var(--ease) both;
}

.upl-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}

.upl-top b {
  flex: 1;
  min-width: 0;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upl-top span:last-child {
  min-width: 52px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.upl .track i {
  transition: width 0.25s linear;
}

.upl.bad .track i {
  background: var(--dim);
}

.fcell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fcell b {
  display: block;
  font-weight: 550;
}

.fcell small {
  display: block;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.2;
}

.ficon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 9px;
  color: var(--mute);
}

.ficon .ico {
  width: 17px;
  height: 17px;
}

@media (max-width: 1180px) {
  .drop {
    flex-wrap: wrap;
  }

  .drop-opts {
    width: 100%;
  }

  .drop-opts label {
    flex: 1;
    width: auto;
  }
}
