/* Base elements */
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--panel-muted);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--panel-muted);
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
  border: 2px solid var(--panel-muted);
  border-radius: 8px;
  background: var(--accent);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}
