@font-face {
  font-family: "Space Grotesk";
  src: url("/brand/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #050d16;
  --brand: #1279f4;
  --display:
    "Space Grotesk", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --surface: #0a1320;
  --line: rgba(173, 199, 232, 0.14);
  --ink: #edf4fa;
  --muted: #b7c0cc;
  --dim: #798ca3;
  --green: #62dbb3;
  --amber: #f3b875;
  --blue: #84b6ff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family:
    Inter, "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a,
select {
  transition:
    color 0.17s,
    background 0.17s,
    border-color 0.17s;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 112px));
  margin-inline: auto;
}
header {
  height: 76px;
  position: relative;
  z-index: 2;
  background: #050b13;
  border-bottom: 1px solid var(--line);
}
.head,
.brand,
nav,
.admin-link,
.actions,
.stats,
.section-head,
.controls,
.search,
.foot,
.legend,
.dialog-head,
.table-foot,
.hero-time,
.brand i,
.badge,
.node-name,
.tag-line,
.form-actions {
  display: flex;
  align-items: center;
}
.head {
  height: 100%;
  gap: 52px;
}
.brand {
  gap: 14px;
}
.logo {
  position: relative;
  display: inline-flex;
}
.logo img {
  width: 100px;
  height: auto;
  filter: brightness(0) invert(1);
}
.brand i {
  height: 20px;
  width: 1px;
  background: #3b4654;
}
.brand b {
  font: 550 13px var(--display);
  letter-spacing: 0.12em;
  color: #ccdae6;
}
nav {
  gap: 30px;
  height: 100%;
}
.nav {
  background: none;
  border: 0;
  padding: 0 2px;
  position: relative;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
}
.nav.active {
  color: #fff;
}
.nav.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  left: 0;
  right: 0;
}
.admin-link,
.icon-btn,
select,
.btn,
.subtle {
  border: 1px solid #334151;
  background: #131e2b;
  border-radius: 7px;
}
.admin-link {
  margin-left: auto;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f2f5f8;
  color: #050d16;
  border-color: transparent;
}
.admin-link:hover {
  background: #d9e9ff;
  color: #050d16;
  transform: translateY(-1px);
}
.icon-btn:hover,
.btn:hover,
select:hover {
  background: #1b2a3b;
  border-color: #48617a;
}
svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
main {
  flex: 1;
  padding-bottom: 48px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 23px;
}
.eyebrow {
  font: 550 12px var(--display);
  letter-spacing: 0.32em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 9px;
}
.tiny-line {
  width: 20px;
  height: 2px;
  background: var(--brand);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 630;
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin: 9px 0;
}
.page-heading p,
.hero-info p,
.muted {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.actions {
  gap: 12px;
}
.mode {
  font-size: 13px;
  color: #b3c4d7;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.mode:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--green);
}
.mode.demo:before {
  background: var(--blue);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 22px;
}
/* Match the Astro PageHeader typography and the homepage HeroScene composition. */
.mast {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 78% 45%,
    #102e59 0%,
    #09182a 34%,
    #03070e 77%
  );
}
.mast-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#ffffff09 1px, transparent 1px),
    linear-gradient(90deg, #ffffff09 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(
    100deg,
    transparent,
    #000 38%,
    #000 80%,
    transparent
  );
}
.mast-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 310px;
}
#brandScene {
  position: absolute;
  left: 50%;
  width: 53%;
  top: -16%;
  bottom: -17%;
  pointer-events: none;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 92%,
    transparent
  );
}
#brandScene > div,
#brandScene canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.mast-copy {
  position: relative;
  max-width: 60%;
  padding: 42px 0 48px;
  animation: enter 0.55s ease-out both;
}
.mast h1 {
  font: 700 clamp(2.8rem, 5.6vw, 5.1rem) / 1.16 var(--display);
  letter-spacing: -0.055em;
  margin: 14px 0 12px;
  color: #fff;
}
.mast h1 span {
  color: #84b6ff;
}
@supports (background-clip: text) {
  .mast h1 span {
    background: linear-gradient(105deg, #e7f1ff, #84b6ff 47%, #1279f4);
    background-clip: text;
    color: transparent;
  }
}
#subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.mast-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 23px;
  color: #9eaec3;
  font: 13px var(--display);
}
.mast-divider {
  height: 13px;
  width: 1px;
  background: var(--line);
}
.mast-meta .icon-btn {
  border-radius: 50%;
  background: #ffffff08;
  width: 30px;
  height: 30px;
}
.dashboard {
  position: relative;
  margin-top: -14px;
}
.overview-surface {
  border: 1px solid rgba(132, 182, 255, 0.21);
  background: linear-gradient(120deg, rgba(18, 35, 57, 0.96), #0a1421 68%);
  border-radius: 18px;
  box-shadow: 0 20px 55px -38px #000;
  overflow: hidden;
}
.status-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 26px;
}
.summary-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #86a6c719;
  color: #a7bfd8;
  border: 1px solid #86a6c735;
}
.summary-mark.down {
  color: #f4bb78;
  background: #ffb0520d;
  border-color: #ffc88232;
}
.summary-mark.up {
  color: var(--green);
  background: #68edbc12;
  border-color: #68edbc36;
}
.summary-mark svg {
  width: 22px;
  height: 22px;
}
.summary-text {
  flex: 1;
  min-width: 0;
}
.summary-text h2 {
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 650;
  letter-spacing: -0.035em;
}
.summary-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
  color: var(--green);
  background: #183b36;
  border: 1px solid #2b5248;
  padding: 4px 9px;
  border-radius: 999px;
}
.status-tag:before,
.badge:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-tag.down {
  color: var(--amber);
  background: #352d24;
  border-color: #5a4735;
}
.status-tag.unknown {
  color: #adc0d1;
  background: #233341;
  border-color: #3a4c5c;
}
.hero-info h2 {
  font-size: clamp(23px, 2.45vw, 36px);
  font-weight: 590;
  letter-spacing: -0.035em;
  margin: 11px 0 5px;
}
.hero-time {
  gap: 7px;
  color: #96acbc;
  font-size: 12px;
  margin-top: 18px;
  font-family: var(--mono), sans-serif;
}
.hero-time svg {
  width: 14px;
  height: 14px;
}
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #050d1644;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.stat {
  padding: 0 28px;
  border-left: 1px solid #2a3948;
}
.stat:first-child {
  border-left: 0;
}
.stat label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #a9bac9;
}
.stat svg {
  width: 15px;
  height: 15px;
  color: #90a6ba;
}
.stat strong {
  display: inline-block;
  font: 550 34px/1 var(--display);
  letter-spacing: -0.05em;
  margin-top: 8px;
}
.stat small {
  font: 15px var(--display);
  margin-left: 5px;
  color: var(--dim);
}
.good {
  color: var(--green);
}
.warn {
  color: var(--amber);
}
.section-head {
  justify-content: space-between;
  gap: 14px;
  margin: 36px 0 18px;
}
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.section-head h2 svg {
  color: var(--blue);
  width: 20px;
  height: 20px;
}
.section-head h2 small {
  font: 12px var(--mono);
  background: #182331;
  border: 1px solid #2b3847;
  border-radius: 5px;
  padding: 3px 6px;
  color: #a9bac9;
}
.controls {
  gap: 9px;
}
.search,
select {
  border: 1px solid var(--line);
  background: #101924;
  border-radius: 6px;
  height: 33px;
}
.search {
  gap: 7px;
  padding: 0 9px;
  color: var(--dim);
}
.search svg {
  width: 14px;
  height: 14px;
}
.search input {
  width: 110px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13px;
  outline: 0;
}
.search:focus-within {
  border-color: var(--blue);
}
input::placeholder {
  color: #8798ab;
}
select {
  color: #bdcbd9;
  padding: 0 24px 0 10px;
  font-size: 13px;
}
.table-box,
.event-box,
.panel,
.detail-meta {
  background: linear-gradient(180deg, #111d2ec7, #08111ce6);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  color: #98a9bb;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.035em;
  background: #101c2b;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
}
th:first-child,
td:first-child {
  padding-left: 22px;
}
td {
  height: 72px;
  font-size: 14px;
}
th:last-child,
td:last-child {
  padding-right: 18px;
}
.node-name {
  gap: 12px;
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
}
.node-name strong,
.event strong {
  font-size: 14px;
  font-weight: 550;
}
.node-name small,
.mono {
  font: 12px var(--mono);
  color: var(--dim);
}
.node-name small {
  display: block;
  margin-top: 4px;
}
.node-icon {
  width: 32px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #304157;
  background: #1279f414;
  color: #84b6ff;
  border-radius: 10px;
}
.badge {
  display: inline-flex;
  gap: 7px;
  font-size: 13px;
  color: #a7b6c6;
}
.badge.up {
  color: var(--green);
}
.badge.down {
  color: var(--amber);
}
.hist {
  display: flex;
  gap: 2px;
  height: 17px;
  width: 100%;
  max-width: none;
}
.hist button,
.legend i {
  background: #364253;
  border-radius: 2px;
}
.hist button {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
}
.hist .up,
.legend .up {
  background: #5ebca4;
}
.hist .down,
.legend .down {
  background: #e4a667;
}
.history-col {
  width: 30%;
}
.row-detail {
  border: 0;
  background: none;
  color: var(--dim);
  cursor: pointer;
}
.row-detail:hover,
.node-name:hover {
  color: var(--blue);
}
.table-foot {
  justify-content: space-between;
  color: var(--dim);
  padding: 11px 22px;
  font-size: 12px;
}
.legend {
  gap: 6px;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
}
.subtle {
  background: none;
  color: #adc7de;
  font-size: 13px;
  padding: 6px 11px;
  border-color: var(--line);
}
.event {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
}
.event + .event {
  border-top: 1px solid var(--line);
}
.event p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.event time {
  margin-left: auto;
  color: var(--muted);
  font: 12px var(--mono);
}
.empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.empty a,
.text-link {
  color: var(--blue);
}
footer {
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}
.foot {
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
}
.foot i {
  font-style: normal;
  margin: 0 6px;
}
.notice {
  background: #372d21;
  color: #fed6a1;
  border: 1px solid #66503c;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
}
.notice.ok {
  background: #18352d;
  color: var(--green);
  border-color: #345649;
}
dialog {
  background: #131e2b;
  color: var(--ink);
  border: 1px solid #3c4f63;
  border-radius: 12px;
  padding: 24px;
  width: min(520px, 94vw);
  max-height: 85vh;
}
dialog::backdrop {
  background: #020711ba;
}
.dialog-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 22px;
}
.detail-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-line time {
  color: var(--dim);
  font: 12px var(--mono);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--bg);
}
.metric b {
  display: block;
  font: 20px var(--mono);
  margin-top: 6px;
}
.metric span {
  color: var(--muted);
  font-size: 12px;
}
.panel {
  padding: 24px;
  margin: 18px 0;
}
.panel h2 {
  font-size: 19px;
  margin-bottom: 16px;
}
.login {
  max-width: 450px;
  margin: 60px auto;
}
.form {
  display: grid;
  gap: 15px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #c8d5e0;
}
.form input {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid #344455;
  border-radius: 6px;
  padding: 10px 12px;
}
.form-actions {
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  padding: 8px 13px;
  font-size: 14px;
}
.btn.primary {
  background: var(--brand);
  border-color: #3b87cb;
  color: white;
}
.btn.danger {
  color: var(--amber);
}
.btn:disabled {
  opacity: 0.55;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: start;
}
.admin-grid .panel {
  margin: 0;
}
.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.admin-item small {
  display: block;
  margin-top: 4px;
}
.secret {
  background: var(--bg);
  padding: 12px;
  border-radius: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: all;
  font: 13px/1.6 var(--mono);
}
#nodeDialog .form-actions {
  margin-top: 5px;
}
.hero-info {
  animation: enter 0.35s ease both;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
::selection {
  background: #1279f465;
  color: #fff;
}
.admin-page {
  background: radial-gradient(ellipse 80% 500px at 30% 0, #112748, #050d16 83%);
}
.login {
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 16px 50px -28px #1279f448;
}
.btn.primary {
  border-radius: 999px;
}
.table-box tbody tr:hover {
  background: #1279f409;
}
.foot a:hover {
  color: var(--blue);
}
.dashboard:has(#overview[hidden]) {
  margin-top: 0;
}
@media (max-width: 820px) {
  .mast-inner {
    min-height: 0;
  }
  .mast-copy {
    max-width: 100%;
    padding: 32px 0 42px;
  }
  #brandScene {
    display: none;
  }
  .mast-meta {
    margin-top: 16px;
  }
  .mast h1 {
    font-size: clamp(37px, 7vw, 60px);
  }
}
@media (max-width: 580px) {
  .status-summary {
    padding: 15px;
    gap: 10px;
  }
  .summary-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex: none;
  }
  .summary-text p {
    font-size: 12px;
  }
  .status-summary .status-tag {
    display: none;
  }
  .mast-meta {
    gap: 8px;
  }
  .dashboard {
    margin-top: -10px;
  }
  #subtitle {
    font-size: 14px;
  }
}
@media (min-width: 1450px) {
  .wrap {
    max-width: 1280px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .head {
    gap: 34px;
  }
  .hero-info {
    padding-left: 24px;
  }
  .stat {
    padding: 0 20px;
  }
  .history-col {
    width: 18%;
  }
  .node-icon {
    display: none;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  header {
    height: auto;
  }
  .head {
    min-height: 60px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 86px;
  }
  .brand {
    gap: 9px;
  }
  .brand b {
    font-size: 12px;
  }
  .admin-link {
    font-size: 12px;
  }
  .head nav {
    order: 3;
    width: 100%;
    height: 34px;
  }
  .head:has(nav) {
    padding-top: 12px;
    row-gap: 4px;
  }
  .page-heading {
    margin: 26px 0 17px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .actions {
    gap: 6px;
  }
  .hero-info {
    padding: 20px;
    min-height: 175px;
  }
  #globe {
    width: 42%;
    right: -6%;
    opacity: 0.68;
    height: 190px;
  }
  .hero-info p {
    max-width: 65%;
    font-size: 13px;
  }
  .stats {
    padding: 14px 0;
  }
  .stat {
    padding: 0 10px;
  }
  .stat label {
    font-size: 12px;
    gap: 4px;
  }
  .stat svg {
    display: none;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat small {
    font-size: 12px;
  }
  .section-head {
    margin-top: 24px;
  }
  .section-head h2 {
    font-size: 18px;
    gap: 6px;
  }
  .search input {
    width: 70px;
  }
  .table-box {
    overflow-x: auto;
  }
  th,
  td {
    padding: 10px 6px;
  }
  th:first-child,
  td:first-child {
    padding-left: 12px;
  }
  th:last-child,
  td:last-child {
    padding-right: 8px;
  }
  .history-col,
  .history-cell {
    display: none;
  }
  .table-foot {
    padding: 10px 12px;
  }
  .event {
    padding: 14px 12px;
    gap: 8px;
  }
  .event time {
    font-size: 11px;
  }
  .foot {
    flex-wrap: wrap;
  }
  .mode {
    font-size: 12px;
  }
  .panel {
    padding: 18px;
  }
  .controls {
    gap: 5px;
  }
  .badge {
    gap: 4px;
    font-size: 12px;
  }
  .node-name strong {
    font-size: 13px;
  }
}
@media (max-width: 450px) {
  .section-head:has(.controls) {
    flex-wrap: wrap;
  }
  .row-detail {
    padding: 0;
  }
  .hero-info h2 {
    font-size: 23px;
  }
  .table-foot .legend {
    display: none;
  }
  .table-foot {
    font-size: 11px;
  }
  .hero-info p {
    max-width: 75%;
  }
  .admin-link {
    padding: 6px 8px;
  }
  .event time {
    max-width: 80px;
    line-height: 1.5;
    text-align: right;
  }
  .page-heading .actions {
    align-self: flex-start;
  }
  .stat label {
    font-size: 11px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat small {
    margin-left: 2px;
  }
  .mode {
    font-size: 11px;
  }
  .detail-line {
    flex-wrap: wrap;
  }
  .foot {
    font-size: 11px;
  }
  .form-actions .btn {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.form .check-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.check-option input {
  width: auto;
  accent-color: var(--blue);
}
.internet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 16px;
  font-size: 13px;
}
.internet-row p {
  font-size: 12px;
}
.internet-row small {
  color: var(--ink);
}
.hist[data-count="90"] {
  gap: 1px;
  max-width: none;
}
.hist button {
  padding: 0;
  border: 0;
  cursor: crosshair;
}
.hist button:hover,
.hist button:focus-visible,
.hist button[aria-describedby] {
  outline: 2px solid #e6f0fb;
  outline-offset: 1px;
}
#historyTip {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  max-width: calc(100vw - 16px);
  padding: 12px 16px;
  border: 1px solid #3c5063;
  border-radius: 8px;
  background: #172535;
  color: var(--ink);
  box-shadow: 0 8px 30px #0006;
}
#historyTip time,
#historyTip small {
  display: block;
  color: var(--muted);
  font:
    12px/1.65 var(--mono),
    sans-serif;
}
#historyTip strong {
  margin: 5px 0;
  font-size: 14px;
}
.mobile-history {
  display: none;
}
@media (max-width: 760px) {
  .mobile-history {
    display: table-row;
  }
  .mobile-history td {
    height: auto;
    padding: 0 12px 12px;
  }
  .mobile-history span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin: 4px 0;
  }
  tr:has(+ .mobile-history) td {
    border-bottom: none;
  }
  .mobile-history .hist {
    max-width: none;
    height: 19px;
  }
}
