:root {
  color-scheme: light;
  --bg: #f5f5f2;
  --panel: #ffffff;
  --panel-hover: #f0f1f5;
  --line: #e4e6eb;
  --text: #20242e;
  --muted: #707785;
  --accent: #4b5cff;
  --green: #20836a;
  --red: #c44d5c;
  --blue: #9ba6bc;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
.phone-install {
  padding: 8px 10px;
  font-size: 11px;
  white-space: nowrap;
}
.install-steps {
  padding-left: 20px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}
.install-steps li {
  margin: 12px 0;
}
.install-addresses {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.install-address {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.accent {
  color: var(--accent);
}
.mono {
  font-variant-numeric: tabular-nums;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
  background: #0d141d;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.brand-light {
  font-weight: 400;
  color: #bdc9d6;
}
.brand-mark {
  width: 31px;
  height: 34px;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-size: 22px;
  display: grid;
  place-items: center;
  transform: skewY(-8deg);
  border-radius: 4px;
}
.sidebar-caption {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #607186;
  margin: 45px 12px 20px;
}
.desktop-nav {
  display: grid;
  gap: 7px;
}
.desktop-nav a {
  padding: 13px 15px;
  color: var(--muted);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.desktop-nav a span {
  font-size: 21px;
  width: 22px;
  line-height: 1;
}
.desktop-nav a.active {
  color: var(--accent);
  background: #4b5cff0d;
}
.desktop-nav a:hover {
  background: var(--panel);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 36px 12px 0;
}
.sidebar-bottom p {
  font-size: 11px;
  color: #52647b;
  margin-top: 20px;
}
.connection {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.connection i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.sidebar-settings {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 20px 0 0;
}
.workspace {
  margin-left: 224px;
  width: calc(100% - 224px);
}
.topbar {
  height: 86px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ranked-tag {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  color: #9daabd;
}
.icon-button {
  border: 0;
  background: transparent;
  font-size: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.profile-button {
  border: 1px solid #3a4b5e;
  background: #22332f;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
}
.profile-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main {
  max-width: 1450px;
  margin: 0 auto;
  padding: 38px 42px 20px;
}
.page-footer {
  max-width: 1450px;
  margin: 0 auto;
  padding: 26px 42px 32px;
  display: flex;
  justify-content: space-between;
  color: #586a80;
  font-size: 10px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-heading .muted {
  margin-top: 9px;
}
.button {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  padding: 11px 16px;
  font-size: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.button:hover {
  background: var(--panel-hover);
}
.button.primary {
  background: var(--accent);
  color: #172218;
  border-color: var(--accent);
  font-weight: 650;
}
.button.primary:hover {
  background: #e1ffa0;
}
.text-link {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  padding: 7px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 26px;
}
.stat-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 21px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.stat-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
}
.stat-value small {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.stat-bottom {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 23px 12px;
}
.panel-body {
  padding: 0 23px 23px;
}
.panel-head .muted {
  font-size: 11px;
  margin-top: 6px;
}
.latest-hero {
  height: 178px;
  margin: 10px 23px 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1e2b39;
}
.latest-hero img {
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  right: 0;
  filter: saturate(0.8);
}
.latest-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #182432 20%, #18243280 65%, #18243210);
}
.latest-hero-content {
  position: relative;
  z-index: 1;
  padding: 25px;
}
.outcome {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.5px;
}
.latest-hero h2 {
  font-size: 28px;
  margin-top: 10px;
}
.latest-hero .muted {
  font-size: 11px;
  margin-top: 9px;
}
.latest-kda {
  font-size: 24px;
  margin-top: 8px;
  font-weight: 600;
}
.match-inline {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.match-inline span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.match-inline strong {
  font-weight: 600;
  font-size: 17px;
}
.match-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
}
.soft-note {
  font-size: 10px;
  color: var(--muted);
}
.chart-wrap {
  height: 205px;
  padding-top: 15px;
}
.chart {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart text {
  font-family: inherit;
  fill: #72839a;
  font-size: 10px;
}
.legend {
  display: flex;
  gap: 17px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  height: 3px;
  width: 14px;
  border-radius: 3px;
}
.overview-lower {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.insight {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.insight:last-child {
  border: 0;
  padding-bottom: 0;
}
.insight-title {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}
.insight-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.insight.review .insight-dot {
  background: var(--red);
}
.insight p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin: 7px 0 0 14px;
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.hero-row:last-child {
  border: 0;
}
.hero-thumb {
  width: 58px;
  height: 34px;
  object-fit: cover;
  border-radius: 5px;
  background: #223041;
}
.hero-row-title {
  flex: 1;
}
.hero-row strong {
  font-size: 12px;
  font-weight: 550;
}
.hero-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.hero-row .winrate {
  font-size: 13px;
  text-align: right;
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
input,
select {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  min-width: 0;
}
input::placeholder {
  color: #596c84;
}
.filters input {
  min-width: 190px;
  flex: 1;
  max-width: 330px;
}
.chip-group {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eceef3;
}
.chip {
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}
.chip.active {
  background: #ffffff;
  color: var(--accent);
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #f5f6f9;
}
td {
  padding: 15px 18px;
  font-size: 12px;
  border-bottom: 1px solid #edf0f3;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr[data-match] {
  cursor: pointer;
}
tbody tr[data-match]:hover {
  background: var(--panel-hover);
}
.hero-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-cell small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.result-tag {
  font-size: 10px;
  border-radius: 5px;
  padding: 5px 8px;
  background: #20836a10;
  color: var(--green);
}
.result-tag.loss {
  background: #c44d5c10;
  color: var(--red);
}
.empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13px;
}
.empty h2 {
  color: var(--text);
  margin-bottom: 12px;
}
.empty .button {
  margin-top: 15px;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  overflow: hidden;
}
.hero-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.hero-card-body {
  padding: 18px;
}
.hero-card-body h2 {
  font-size: 17px;
}
.hero-card-numbers {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 12px;
}
.hero-card-numbers small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 10px;
}
.hero-card .text-link {
  margin-top: 14px;
}
.section-gap {
  margin-top: 23px;
}
.notice {
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: #eef1fa;
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.notice strong {
  color: var(--text);
  font-weight: 550;
}
.match-heading {
  display: flex;
  gap: 20px;
  align-items: center;
}
.match-heading img {
  width: 100px;
  height: 64px;
  object-fit: cover;
  border-radius: 9px;
}
.back-link {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 22px;
}
.comparison td:not(:first-child),
.comparison th:not(:first-child) {
  text-align: right;
}
.metric-name small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 5px;
}
.metric-bar {
  height: 4px;
  background: #e4e8f1;
  border-radius: 3px;
  margin-top: 7px;
  max-width: 85px;
  margin-left: auto;
}
.metric-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.purchase-list {
  max-height: 360px;
  overflow: auto;
}
.purchase {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.purchase img {
  width: 35px;
  height: 25px;
  object-fit: cover;
  border-radius: 4px;
}
.purchase .item-name {
  flex: 1;
  font-size: 12px;
}
.purchase time {
  font-size: 12px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.purchase small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.support-box {
  padding: 15px;
  background: #f5f6f9;
  border-radius: 10px;
}
.support-box strong {
  font-size: 23px;
  display: block;
  margin-bottom: 6px;
}
.support-box span {
  font-size: 10px;
  color: var(--muted);
}
.chat-layout {
  max-width: 850px;
  margin: auto;
}
.assistant-intro {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(125deg, #e9edff, #ffffff);
  margin-bottom: 24px;
}
.assistant-intro h2 {
  font-size: 25px;
  line-height: 1.35;
  max-width: 500px;
}
.assistant-intro p {
  margin-top: 13px;
}
.suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.chat-messages {
  display: grid;
  gap: 15px;
}
.message {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.message.user {
  background: #edf0ff;
  border-color: #d9def5;
  margin-left: 45px;
}
.message .message-meta {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.message .evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.evidence-links a {
  color: var(--accent);
  font-size: 11px;
}
.chat-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.chat-form input {
  flex: 1;
}
.live-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #20836a2b;
  padding: 10px 15px;
  border-radius: 9px;
  color: var(--green);
  font-size: 12px;
}
.live-indicator {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--green);
}
.loading-screen {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.loading-screen h1 {
  font-size: 23px;
}
.loading-screen p {
  color: var(--muted);
  font-size: 12px;
}
.loader {
  width: 30px;
  height: 30px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  width: 480px;
  max-width: calc(100vw - 28px);
  border: 1px solid #d9dfe8;
  border-radius: 17px;
  background: #ffffff;
  color: var(--text);
  padding: 25px;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 18px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
form > .button {
  margin-top: 16px;
  width: 100%;
}
.error-text {
  color: var(--red);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #202b46;
  color: #e4f5dd;
  border: 1px solid #4c6858;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 12px;
  max-width: 90vw;
}
.mobile-nav,
.mobile-brand {
  display: none;
}
.badge {
  padding: 5px 7px;
  border-radius: 5px;
  background: #263445;
  color: var(--blue);
  font-size: 9px;
}
.hero-table-tools {
  padding: 0 23px 15px;
}
.method-note {
  padding: 18px 23px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.mini-label {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.loading-line {
  height: 3px;
  background: var(--accent);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.time-link {
  font-size: 11px;
  color: var(--accent);
  display: inline-block;
  margin-top: 8px;
}
.demo-banner {
  background: #edf0ff;
  border: 1px solid #d9def5;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--accent);
}
@media (min-width: 1600px) {
  main {
    padding-top: 48px;
  }
  .latest-hero {
    height: 210px;
  }
  .chart-wrap {
    height: 237px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding: 30px 17px;
  }
  .workspace {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  main {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .page-footer {
    padding: 20px 25px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 17px;
  }
  .grid-main {
    grid-template-columns: 1.4fr 1fr;
  }
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .stat-value {
    font-size: 28px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: calc(66px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 20px 0;
    position: sticky;
    top: 0;
    background: #f5f5f2ef;
    backdrop-filter: blur(15px);
    z-index: 5;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -0.8px;
  }
  .mobile-brand span {
    font-weight: 400;
    color: #b8c5d6;
  }
  .topbar-right {
    gap: 10px;
  }
  .ranked-tag {
    font-size: 9px;
    padding: 6px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 9px 7px calc(9px + env(safe-area-inset-bottom));
    background: #101822f5;
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    z-index: 8;
    justify-content: space-around;
  }
  .mobile-nav a {
    display: grid;
    text-align: center;
    gap: 4px;
    font-size: 23px;
    color: #718399;
    min-width: 52px;
  }
  .mobile-nav span {
    font-size: 9px;
  }
  .mobile-nav a.active {
    color: var(--accent);
  }
  main {
    padding: 25px 17px 10px;
  }
  .page-heading {
    margin-bottom: 23px;
    gap: 12px;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .page-heading .muted {
    font-size: 11px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-label {
    font-size: 11px;
    margin-bottom: 13px;
  }
  .stat-value {
    font-size: 30px;
  }
  .stat-bottom {
    font-size: 9px;
    margin-top: 10px;
  }
  .grid-main,
  .overview-lower {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .overview-lower {
    margin-top: 18px;
  }
  .panel-head {
    padding: 20px 19px 11px;
  }
  .panel-body {
    padding: 0 19px 20px;
  }
  .latest-hero {
    margin: 8px 19px 0;
    height: 175px;
  }
  .latest-hero img {
    width: 80%;
  }
  .chart-wrap {
    height: 185px;
  }
  .panel-head h2 {
    font-size: 17px;
  }
  .hero-row {
    padding: 13px 0;
  }
  .page-footer {
    padding: 20px 18px calc(100px + env(safe-area-inset-bottom));
    display: block;
    line-height: 1.9;
  }
  .page-footer span {
    display: block;
  }
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .hero-card img {
    height: 100px;
  }
  .hero-card-body {
    padding: 13px;
  }
  .hero-card-body h2 {
    font-size: 14px;
  }
  .hero-card-numbers {
    font-size: 11px;
    gap: 8px;
    margin-top: 15px;
  }
  .hero-card-numbers small {
    font-size: 9px;
  }
  .filters input {
    max-width: none;
    width: 100%;
    flex-basis: 100%;
  }
  .filters select {
    font-size: 11px;
    flex: 1;
  }
  .filters .chip-group {
    overflow: auto;
    max-width: 100%;
  }
  .chip {
    padding: 7px 9px;
    white-space: nowrap;
  }
  .hero-thumb {
    width: 45px;
    height: 29px;
  }
  .hero-cell {
    gap: 9px;
  }
  .hero-cell strong {
    font-size: 11px;
  }
  td,
  th {
    padding: 13px 12px;
  }
  .match-heading {
    gap: 12px;
  }
  .match-heading img {
    width: 73px;
    height: 53px;
  }
  .match-heading h1 {
    font-size: 23px;
  }
  .match-heading .muted {
    font-size: 10px;
  }
  .comparison {
    font-size: 11px;
  }
  .detail-grid {
    gap: 18px;
  }
  .support-grid {
    gap: 7px;
  }
  .support-box {
    padding: 12px;
  }
  .support-box strong {
    font-size: 21px;
  }
  .assistant-intro {
    padding: 22px;
  }
  .assistant-intro h2 {
    font-size: 23px;
  }
  .suggestions .button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .message {
    padding: 16px;
    font-size: 12px;
  }
  .message.user {
    margin-left: 25px;
  }
  .chat-form .button {
    padding: 12px;
  }
  .toast {
    bottom: 90px;
  }
  .loading-screen {
    min-height: 350px;
  }
  .match-inline {
    gap: 10px;
  }
  .match-inline strong {
    font-size: 16px;
  }
  .soft-note {
    font-size: 9px;
  }
  .live-strip {
    font-size: 10px;
  }
  .table-scroll {
    scrollbar-width: thin;
  }
  .table-scroll table {
    min-width: 650px;
  }
  .table-scroll.comparison-scroll table {
    min-width: 550px;
  }
  .table-scroll.checkpoints-scroll table {
    min-width: 500px;
  }
  .notice {
    font-size: 10px;
  }
  .desktop-only {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* DotaLens 0.2 — quiet, readable match analysis. */
:root {
  --radius: 16px;
  --muted: #626a79;
  font-size: 15px;
}
body {
  background: #f5f5f2;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font-size: 14px;
}
svg.ui-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar {
  width: 232px;
  padding: 36px 20px 24px;
  background: #191e2b;
  color: #f5f6fb;
  border: 0;
}
.brand {
  gap: 12px;
  font-size: 25px;
  letter-spacing: -1px;
  padding: 0 8px;
}
.brand-mark {
  width: 35px;
  height: 35px;
  background: #6572ff;
  border: 0;
  color: white;
  border-radius: 10px;
  transform: none;
  font-size: 23px;
}
.brand-light {
  color: #f5f6fb;
  font-weight: 400;
}
.sidebar-caption {
  margin: 50px 14px 16px;
  color: #8b93a9;
  font-size: 10px;
  letter-spacing: 1.4px;
}
.desktop-nav {
  gap: 6px;
}
.desktop-nav a {
  color: #aeb6c9;
  padding: 14px 16px;
  gap: 13px;
  border-radius: 10px;
  font-size: 14px;
}
.desktop-nav a span {
  font-size: 14px;
  width: auto;
}
.desktop-nav a.active {
  background: #303a61;
  color: #fff;
  box-shadow: inset 3px 0 #8d97ff;
}
.desktop-nav a:hover {
  background: #262d40;
  color: #fff;
}
.sidebar-bottom {
  border-top: 1px solid #303647;
  padding: 24px 12px 0;
}
.sidebar-bottom p {
  color: #8790a6;
}
.sidebar .connection,
.sidebar-settings {
  color: #adb7ca;
}
.sidebar-settings {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.workspace {
  margin-left: 232px;
  width: calc(100% - 232px);
  min-width: 0;
}
.topbar {
  height: 78px;
  padding: 0 44px;
  background: #f5f5f2;
  border-color: #e3e5e8;
}
.topbar-right {
  gap: 14px;
}
.breadcrumb {
  font-size: 13px;
  color: #626a79;
}
.ranked-tag {
  background: #e8ebf1;
  color: #626a79;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
}
.icon-button {
  color: #667085;
  border-radius: 10px;
}
.icon-button:hover {
  background: #e9ebf1;
}
.profile-button {
  background: #e1e5fa;
  border: 1px solid #d1d8ef;
  color: #4b5cff;
  width: 38px;
  height: 38px;
}
main {
  max-width: 1400px;
  padding: 42px 44px 24px;
}
h1 {
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -1.5px;
  line-height: 1.15;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
.page-heading {
  margin-bottom: 28px;
  align-items: flex-end;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #616b83;
  margin-bottom: 16px;
}
.heading-soft {
  display: block;
  color: #8a92a3;
  font-weight: 450;
}
.page-heading:has(.heading-soft) h1 {
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -2px;
}
.page-heading .muted {
  margin-top: 14px;
  font-size: 13px;
}
.button {
  border-radius: 10px;
  background: #fff;
  border-color: #dce0e8;
  min-height: 42px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 550;
}
.button.primary {
  color: #fff;
  background: #4b5cff;
  border-color: #4b5cff;
}
.button.primary:hover {
  background: #3949df;
}
.button[href="#live"] {
  background: #252e48;
  color: #fff;
  border: 0;
}
.button[href="#live"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8cdbb9;
}
.text-link {
  font-size: 12px;
  font-weight: 550;
}
.recent-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-top: 1px solid #dfe2e8;
  border-bottom: 1px solid #dfe2e8;
}
.recent-form strong {
  font-size: 12px;
  font-weight: 550;
}
.recent-form small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.form-bars {
  display: flex;
  gap: 4px;
  align-items: center;
}
.form-bars i {
  height: 23px;
  width: 8px;
  border-radius: 3px;
  background: #28876f;
}
.form-bars i.loss {
  background: #d5a4ad;
  height: 16px;
}
.stats-grid {
  gap: 0;
  background: #fff;
  border: 1px solid #e2e5ec;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 26px;
}
.stat-card {
  padding: 24px;
  border: 0;
  border-right: 1px solid #e8eaf0;
  border-radius: 0;
  background: transparent;
}
.stat-card:last-child {
  border-right: 0;
}
.stat-label {
  color: #687183;
  font-size: 12px;
  margin-bottom: 13px;
}
.stat-value {
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -1.4px;
}
.stat-bottom {
  font-size: 11px;
  gap: 5px;
  line-height: 1.5;
}
.grid-main {
  gap: 20px;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
}
.panel {
  box-shadow: 0 3px 12px #202b4612;
  border-color: #e2e5ec;
}
.panel-head {
  padding: 24px 24px 16px;
}
.panel-body {
  padding: 0 24px 24px;
}
.panel-head .muted,
.mini-label {
  font-size: 11px;
  line-height: 1.65;
}
.chart-wrap {
  height: 220px;
}
.legend {
  font-size: 11px;
  margin: 10px 0;
}
.badge {
  background: #eef0fa;
  color: #596484;
  font-size: 11px;
  padding: 6px 9px;
  border-radius: 6px;
}
.latest-hero {
  background: #242e48;
  margin: 0 16px;
  height: 180px;
  border-radius: 11px;
  color: #fff;
}
.latest-hero:after {
  background: linear-gradient(90deg, #242e48 10%, #242e48b8 65%, #242e4830);
}
.latest-hero .muted {
  color: #b9c4de;
}
.latest-hero .positive {
  color: #8cdbb9;
}
.latest-hero .negative {
  color: #ffabb2;
}
.latest-hero-content {
  padding: 23px;
}
.latest-hero h2 {
  font-size: 27px;
}
.match-inline span {
  font-size: 11px;
}
.match-inline strong {
  font-size: 18px;
}
.soft-note {
  font-size: 11px;
}
.overview-lower {
  gap: 20px;
  margin-top: 20px;
}
.insight {
  padding: 19px 0;
}
.insight-title {
  font-size: 14px;
  font-weight: 600;
}
.insight p {
  font-size: 12px;
  line-height: 1.75;
}
.hero-row {
  padding: 16px 0;
}
.hero-row strong {
  font-size: 13px;
}
.hero-row small {
  font-size: 11px;
}
.hero-thumb {
  background: #e1e5ef;
  border-radius: 7px;
}
.hero-row .winrate {
  font-size: 15px;
}
.hero-card {
  border-color: #e0e5ec;
  border-radius: 14px;
  box-shadow: 0 3px 12px #202b4608;
}
.hero-card > img {
  background: #e2e6ee;
}
.hero-card-body {
  padding: 20px;
}
.hero-card-numbers strong {
  font-size: 18px;
}
.hero-card-numbers small {
  font-size: 11px;
}
.hero-card .text-link {
  border-top: 1px solid #e7eaf0;
  display: block;
  padding-top: 14px;
}
th {
  font-size: 11px;
  padding: 16px 18px;
  background: #f8f9fc;
}
td {
  font-size: 13px;
  padding: 17px 18px;
}
.hero-cell small {
  font-size: 11px;
}
.result-tag {
  background: #e7f3ee;
  font-size: 11px;
  padding: 6px 9px;
  color: #21745c;
}
.result-tag.loss {
  background: #fae9ed;
  color: #b13e53;
}
.filters select {
  min-height: 44px;
  border-radius: 10px;
}
.chip-group {
  border: 0;
  padding: 5px;
}
.chip {
  font-size: 12px;
}
.chip.active {
  box-shadow: 0 2px 6px #202b4612;
}
.notice {
  border-color: #e0e5f2;
  font-size: 12px;
}
.metric-name small,
.method-note {
  font-size: 11px;
}
.support-box {
  border: 1px solid #e6e9f0;
}
.support-box span {
  font-size: 11px;
}
.assistant-intro {
  background: #e9edff;
  border-color: #dce2f8;
  padding: 32px;
}
.assistant-intro h2 {
  font-size: 29px;
  letter-spacing: -0.8px;
}
.message {
  font-size: 14px;
  line-height: 1.8;
  border-color: #e1e5ef;
}
.message.user {
  background: #e9edff;
}
.chat-form input,
input,
select {
  background: #fff;
  min-height: 44px;
}
input::placeholder {
  color: #858d9e;
}
dialog {
  background: #fff;
  border: 1px solid #e3e6ed;
  box-shadow: 0 24px 80px #131a3540;
  border-radius: 20px;
  padding: 28px;
}
dialog::backdrop {
  background: #151e3b66;
}
label {
  font-size: 12px;
}
.install-address {
  background: #f5f6ff;
}
.page-footer {
  color: #737c8c;
  padding: 26px 44px;
  font-size: 11px;
}
.live-strip {
  border-color: #c5e0d7;
  background: #edf7f2;
}
.back-link {
  display: inline-flex;
  gap: 6px;
  padding: 8px 0;
  font-size: 13px;
}
@media (min-width: 1600px) {
  .chart-wrap {
    height: 245px;
  }
}
@media (max-width: 1150px) and (min-width: 801px) {
  .sidebar {
    width: 200px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .workspace {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
  main {
    padding: 32px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(275px, 1fr);
  }
  .stat-card {
    padding: 20px 17px;
  }
}
@media (max-width: 800px) {
  .workspace {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: calc(70px + env(safe-area-inset-top));
    background: #f5f5f2ed;
    padding: env(safe-area-inset-top) 22px 0;
    border-color: #e1e4eb;
  }
  .mobile-brand {
    font-size: 23px;
    color: #252b3b;
    letter-spacing: -1px;
  }
  .mobile-brand span {
    color: #5d6884;
  }
  .topbar-right {
    gap: 8px;
  }
  .phone-install {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px;
  }
  main {
    padding: 30px 20px 16px;
  }
  .page-heading:has(.heading-soft) h1 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }
  .page-heading:has(.heading-soft) {
    align-items: flex-start;
    position: relative;
  }
  .page-heading:has(.heading-soft) > .button {
    font-size: 11px;
    margin-top: 31px;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .page-heading .muted {
    font-size: 12px;
    line-height: 1.7;
  }
  .recent-form {
    gap: 10px;
    padding: 15px 0;
    margin-bottom: 22px;
  }
  .recent-form strong {
    font-size: 11px;
  }
  .recent-form small {
    font-size: 10px;
  }
  .form-bars {
    gap: 3px;
  }
  .form-bars i {
    width: 5px;
    height: 21px;
  }
  .form-bars i.loss {
    height: 14px;
  }
  .stats-grid {
    gap: 0;
    border-radius: 14px;
    margin-bottom: 22px;
  }
  .stat-card {
    padding: 21px 18px;
    border-bottom: 1px solid #e8eaf0;
  }
  .stat-card:nth-child(2) {
    border-right: 0;
  }
  .stat-card:nth-child(n + 3) {
    border-bottom: 0;
  }
  .stat-label {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .stat-value {
    font-size: 32px;
  }
  .stat-bottom {
    font-size: 10px;
    margin-top: 10px;
  }
  .grid-main,
  .overview-lower {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .panel-head {
    padding: 21px 20px 14px;
  }
  .panel-head h2 {
    font-size: 17px;
  }
  .panel-body {
    padding: 0 20px 22px;
  }
  .chart-wrap {
    height: 200px;
  }
  .latest-hero {
    height: 177px;
  }
  .overview-lower {
    margin-top: 20px;
  }
  .hero-row strong {
    font-size: 12px;
  }
  .hero-row small {
    font-size: 10px;
  }
  .mobile-nav {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    border: 1px solid #dfe3ed;
    border-radius: 18px;
    background: #fffffff5;
    box-shadow: 0 6px 30px #202b4626;
    padding: 8px 5px;
  }
  .mobile-nav a {
    min-width: 52px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #7c8598;
    border-radius: 12px;
  }
  .mobile-nav a.active {
    color: #4b5cff;
    background: #edf0ff;
  }
  .mobile-nav span {
    font-size: 10px;
    font-weight: 550;
  }
  .mobile-nav .ui-icon {
    width: 21px;
    height: 21px;
  }
  .page-footer {
    padding: 16px 20px calc(110px + env(safe-area-inset-bottom));
    font-size: 10px;
  }
  .hero-card-body {
    padding: 15px;
  }
  .hero-card-numbers strong {
    font-size: 16px;
  }
  .hero-card-numbers {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-card-numbers small {
    font-size: 10px;
  }
  .chat-form {
    gap: 7px;
  }
  .chat-form input {
    width: 0;
  }
  .assistant-intro {
    padding: 24px;
  }
  .assistant-intro h2 {
    font-size: 25px;
  }
  .message {
    font-size: 13px;
  }
  label,
  input,
  select {
    font-size: 16px;
  }
  .filters select {
    font-size: 14px;
  }
  .form-grid {
    gap: 10px;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  .toast {
    bottom: calc(95px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 370px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-heading:has(.heading-soft) h1 {
    font-size: 37px;
  }
  .page-heading:has(.heading-soft) > .button {
    font-size: 10px;
    padding: 9px;
  }
  .form-bars {
    gap: 2px;
  }
  .form-bars i {
    width: 4px;
  }
  .stat-card {
    padding: 18px 14px;
  }
  .stat-value {
    font-size: 29px;
  }
  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .profile-button {
    width: 32px;
    height: 32px;
  }
}
