:root {
  color-scheme: dark;
  font-family: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  background: #071321;
  color: #d8f3fb;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-color: #071321;
  background-image: url("package-repository-orbital-v2k-2560x1440.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgb(4 12 23 / 34%);
  content: "";
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(235px, 29vh, 310px) 0 56px;
}

.repository {
  overflow: visible;
  background: transparent;
}

.repository-header {
  margin-bottom: clamp(40px, 7vh, 80px);
  padding: 0 18px 15px;
  transform: translateY(30px);
}

h1 {
  max-width: 1080px;
  margin: 0;
  color: #e9fbff;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgb(0 4 12 / 95%), 0 0 24px rgb(58 220 255 / 36%);
}

.build-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: #b7d4de;
  font-size: 14px;
}

.separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e24788;
}

code {
  display: inline-block;
  max-width: 100%;
  padding: 3px 6px;
  overflow-wrap: anywhere;
  border: 1px solid rgb(93 229 255 / 32%);
  border-radius: 4px;
  background: rgb(3 19 32 / 46%);
  color: #d4f7ff;
  font-family: inherit;
  font-size: 13px;
}

.table-scroll {
  overflow-x: auto;
  background: transparent;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 8px 14px;
  border-bottom: 1px solid rgb(104 219 239 / 24%);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #83f3df;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

th:first-child,
td:first-child {
  width: auto;
  padding-left: 24px;
}

th:nth-child(2),
td:nth-child(2) {
  width: 118px;
}

th.size,
td.size {
  width: 120px;
  padding-right: 24px;
  text-align: right;
  white-space: nowrap;
}

tbody tr:hover {
  background: rgb(2 24 38 / 68%);
}

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

td:first-child {
  overflow: hidden;
}

a {
  display: block;
  overflow: hidden;
  color: #69dcff;
  font-weight: 560;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(0 4 10 / 96%);
}

a:hover {
  color: #9fffdc;
  text-decoration: underline;
}

.type-label {
  display: inline-flex;
  min-width: 58px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border: 1px solid rgb(103 220 255 / 38%);
  border-radius: 4px;
  background: rgb(3 20 33 / 34%);
  color: #b9dce6;
  font-size: 12px;
}

.directory-label {
  border-color: rgb(103 255 204 / 54%);
  background: rgb(2 35 31 / 34%);
  color: #8dffcf;
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
    padding: 165px 0 36px;
  }

  .repository-header {
    margin-bottom: 60px;
    padding: 20px;
    transform: translateY(20px);
  }

  th:first-child,
  td:first-child {
    padding-left: 20px;
  }
}
