.boot-screen {
  --boot-chrome: #ffffff;
  --boot-page: #f5f7fa;
  --boot-card: #ffffff;
  --boot-edge: oklch(0.915 0.014 255.5);
  --boot-bone: oklch(0.968 0.007 247.896);
  --boot-glint: color-mix(in oklab, var(--boot-bone) 55%, #ffffff);
  position: fixed;
  display: flex;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  background: var(--boot-page);
  transition: opacity 300ms ease-out;
}
.dark .boot-screen {
  --boot-chrome: oklch(0.205 0.022 258);
  --boot-page: oklch(0.228 0.024 258);
  --boot-card: oklch(0.264 0.027 258);
  --boot-edge: oklch(0.85 0.04 258 / 12%);
  --boot-bone: oklch(0.3 0.026 258);
  --boot-glint: color-mix(in oklab, var(--boot-bone) 55%, oklch(0.228 0.024 258));
}
.boot-screen[data-leaving] {
  opacity: 0;
  pointer-events: none;
}
.boot-static {
  display: none;
}
html[data-boot='shell'] .boot-static.boot-shell,
html[data-boot='notice'] .boot-static.boot-notice,
html[data-boot='portal'] .boot-static.boot-portal {
  display: flex;
}

.boot-bone {
  display: block;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: linear-gradient(
    90deg,
    var(--boot-bone) 0%,
    var(--boot-glint) 50%,
    var(--boot-bone) 100%
  );
  background-size: 200% 100%;
  animation: boot-sweep 1.4s ease-in-out infinite;
}
.boot-round {
  border-radius: 999px;
}
@keyframes boot-sweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.boot-dark-invert {
  display: block;
  width: auto;
}
.dark .boot-dark-invert {
  filter: brightness(0) invert(1);
}

.boot-side {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  width: 5rem;
  border-right: 1px solid var(--boot-edge);
  background: var(--boot-chrome);
}
.boot-side-top {
  display: flex;
  height: 4rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-bottom: 1px solid var(--boot-edge);
}
.boot-logo-full {
  display: none;
  height: 2.75rem;
}
.boot-logo-mark {
  height: 2.5rem;
}
.boot-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0.5rem 1rem;
}
.boot-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.boot-nav-label {
  display: none;
  width: 6rem;
  height: 0.6875rem;
  margin: 0 0.75rem 0.375rem;
}
.boot-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
}
.boot-nav-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.boot-nav-text {
  display: none;
  width: 7.5rem;
  height: 0.75rem;
}

.boot-main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.boot-header {
  display: flex;
  height: 4rem;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--boot-edge);
  background: var(--boot-chrome);
}
.boot-header-lead {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
}
.boot-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.boot-crumb {
  width: 8rem;
  height: 1rem;
}
.boot-search {
  width: 2.5rem;
  height: 2.5rem;
}
.boot-account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.boot-avatar {
  width: 2.25rem;
  height: 2.25rem;
}
.boot-account-text {
  display: none;
  gap: 0.375rem;
}
.boot-account-text .boot-bone:first-child {
  width: 7rem;
  height: 0.75rem;
}
.boot-account-text .boot-bone:last-child {
  width: 9rem;
  height: 0.625rem;
}

.boot-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem 1rem;
  overflow: hidden;
}
.boot-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.boot-heading-text {
  display: grid;
  flex: 1;
  gap: 0.5rem;
}
.boot-title {
  width: 12rem;
  height: 1.5rem;
}
.boot-lede {
  width: 20rem;
  max-width: 100%;
  height: 1rem;
}
.boot-action {
  width: 10rem;
  height: 2.25rem;
}
.boot-tiles {
  display: grid;
  gap: 1rem;
}
.boot-tile {
  height: 7rem;
  border-radius: 0.75rem;
}
.boot-tile:nth-child(n + 2) {
  display: none;
}
.boot-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--boot-edge);
  border-radius: 0.75rem;
  background: var(--boot-card);
}
.boot-toolbar,
.boot-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.boot-footer {
  justify-content: space-between;
  padding-top: 0.25rem;
}
.boot-filter {
  width: 18rem;
  max-width: 100%;
  height: 2.25rem;
}
.boot-filter-small {
  width: 7rem;
  height: 2.25rem;
}
.boot-filter-end {
  width: 6rem;
  height: 2.25rem;
  margin-left: auto;
}
.boot-columns {
  height: 2rem;
}
.boot-row {
  height: 2.75rem;
}
.boot-footer .boot-bone:first-child {
  width: 10rem;
  height: 2rem;
}
.boot-footer .boot-bone:last-child {
  width: 14rem;
  height: 2rem;
}

.boot-notice {
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background:
    radial-gradient(
      60rem 40rem at 12% -10%,
      color-mix(in oklab, #107bdb 55%, transparent),
      transparent 70%
    ),
    radial-gradient(
      40rem 30rem at 105% 110%,
      color-mix(in oklab, #db7710 30%, transparent),
      transparent 70%
    ),
    linear-gradient(155deg, #0b5394 0%, #073865 55%, #04213d 100%);
}
.dark .boot-notice {
  background:
    radial-gradient(
      52rem 38rem at 14% -8%,
      color-mix(in oklab, #107bdb 30%, transparent),
      transparent 70%
    ),
    radial-gradient(
      42rem 32rem at 50% 55%,
      color-mix(in oklab, #0b5394 22%, transparent),
      transparent 70%
    ),
    radial-gradient(
      36rem 28rem at 102% 108%,
      color-mix(in oklab, #db7710 16%, transparent),
      transparent 70%
    ),
    linear-gradient(160deg, #0a1826 0%, #070f19 50%, #04070b 100%);
}
.boot-notice-card {
  display: flex;
  width: 100%;
  max-width: 26rem;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem 2.25rem;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgb(4 33 61 / 10%),
    0 24px 64px -12px rgb(4 33 61 / 55%);
}
.dark .boot-notice-card {
  border-color: rgb(255 255 255 / 9%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1.5%)), rgb(14 20 28 / 72%);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 85%);
}
.boot-notice-logo {
  height: 2.75rem;
}
.boot-notice-title {
  width: 60%;
  height: 1.25rem;
  margin-top: 1.75rem;
}
.boot-notice-line {
  width: 85%;
  height: 0.875rem;
  margin-top: 0.75rem;
}
.boot-notice-line + .boot-notice-line {
  width: 65%;
  margin-top: 0.5rem;
}

.boot-portal {
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.dark .boot-portal {
  background: oklch(0.228 0.024 258);
}
.boot-orbit {
  position: relative;
  width: 96px;
  height: 96px;
}
.boot-orbit svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.boot-track circle {
  stroke: rgb(11 83 148 / 15%);
}
.boot-arc {
  animation: boot-spin 1.4s linear infinite;
}
.boot-arc circle {
  stroke: #0b5394;
}
.boot-orbit img {
  position: absolute;
  inset: 0;
  height: 44px;
  margin: auto;
}
.dark .boot-track circle {
  stroke: rgb(17 112 204 / 15%);
}
.dark .boot-arc circle {
  stroke: #1170cc;
}
.dark .boot-orbit img {
  filter: brightness(0) invert(1);
}
@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 40rem) {
  .boot-header {
    padding: 0 1.25rem;
  }
  .boot-content {
    padding: 1.25rem;
  }
  .boot-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .boot-tile:nth-child(2) {
    display: block;
  }
  .boot-notice-card {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }
}
@media (min-width: 48rem) {
  .boot-search {
    width: clamp(13rem, 18vw, 25rem);
  }
}
@media (min-width: 64rem) {
  .boot-side {
    display: flex;
  }
  .boot-header {
    padding: 0 2rem;
  }
  .boot-header-lead .boot-icon {
    display: none;
  }
  .boot-account-text {
    display: grid;
  }
  .boot-content {
    padding: 1.75rem 2rem;
  }
}
@media (min-width: 80rem) {
  .boot-header-lead .boot-icon {
    display: block;
  }
  .boot-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .boot-tile:nth-child(3) {
    display: block;
  }
  html:not([data-boot-rail]) .boot-screen .boot-side {
    width: 17.5rem;
  }
  html:not([data-boot-rail]) .boot-screen .boot-logo-full {
    display: block;
  }
  html:not([data-boot-rail]) .boot-screen .boot-logo-mark {
    display: none;
  }
  html:not([data-boot-rail]) .boot-screen .boot-nav {
    gap: 1.25rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
  html:not([data-boot-rail]) .boot-screen .boot-nav-group {
    gap: 0.25rem;
  }
  html:not([data-boot-rail]) .boot-screen .boot-nav-label {
    display: block;
  }
  html:not([data-boot-rail]) .boot-screen .boot-nav-item {
    justify-content: flex-start;
    width: auto;
    height: 2.25rem;
    margin: 0;
    padding: 0 0.75rem;
  }
  html:not([data-boot-rail]) .boot-screen .boot-nav-icon {
    width: 1rem;
    height: 1rem;
  }
  html:not([data-boot-rail]) .boot-screen .boot-nav-text {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-bone,
  .boot-arc {
    animation: none;
  }
  .boot-screen {
    transition: none;
  }
}
