.zx-totop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px 0 6px;
  box-sizing: border-box;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 8px;
  font: 500 16px/1.25 var(--body);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.15s linear;
}
.zx-totop[hidden] {
  display: none;
}
.zx-totop:hover {
  border-color: var(--cyan);
}
.zx-totop:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.zx-totop-art {
  display: block;
  width: 27px;
  height: 36px;
}
.zx-totop-long,
.zx-totop.is-plain .zx-totop-short {
  display: none;
}
@media (min-width: 560px) {
  .zx-totop-short {
    display: none;
  }
  .zx-totop-long {
    display: inline;
  }
}
.zx-totop.is-plain {
  padding: 0 14px;
}
.zx-totop.is-plain .zx-totop-art {
  display: none;
}
.zx-totop.is-plain .zx-totop-long {
  display: inline;
}
@media (max-width: 559px) {
  .zx-totop.is-plain .zx-totop-long {
    display: none;
  }
  .zx-totop.is-plain .zx-totop-short {
    display: inline;
  }
}
.zx-totop.is-launching .zx-totop-art {
  animation: zx-launch 0.9s cubic-bezier(0.5, 0, 0.75, 0) forwards;
}
@keyframes zx-launch {
  0% { transform: translateY(0); opacity: 1; }
  15% { transform: translateY(3px); opacity: 1; }
  100% { transform: translateY(-70vh); opacity: 0; }
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-totop {
  font-family: var(--mono);
  text-transform: lowercase;
  color: var(--z-cyan);
  border-color: var(--z-edge);
  text-shadow: none;
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-totop:hover {
  border-color: var(--z-cyan);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-totop:focus-visible {
  outline-color: var(--z-cyan);
}
header.bar:focus {
  outline: none;
}
header.bar:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
@media (prefers-reduced-motion: reduce) {
  .zx-totop,
  .zx-totop .zx-totop-art {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .zx-totop {
    display: none;
  }
}
.zx-guide {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 clamp(16px, 5vw, 80px);
  box-sizing: border-box;
  font: 500 16px/1.25 var(--body);
}
.zx-guide-title {
  margin: 0 0 8px;
  font: 600 18px/1.3 var(--head);
  color: var(--ink);
}
.zx-guide ol {
  list-style: none;
  margin: 0;
  padding: 0;
  background: url(/v3/totop/path-tile.svg) 0 0 / 24px 48px repeat-y;
}
.zx-guide li {
  margin: 0;
}
.zx-guide li + li {
  margin-top: 8px;
}
.zx-guide a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 10px 4px 2px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.zx-guide a::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background: url(/v3/totop/stop.svg) center / 24px 24px no-repeat;
}
.zx-guide .zx-guide-top a::before {
  background-image: url(/v3/totop/earth-stop.svg);
}
.zx-guide a[aria-current]::before {
  background-image: url(/v3/totop/rocket-stop.svg);
  background-size: 18px 24px;
}
.zx-guide a[aria-current] {
  color: var(--accent);
  font-weight: 600;
}
.zx-guide a:hover .zx-guide-t {
  text-decoration: underline;
}
.zx-guide a:hover {
  background: rgba(127, 140, 160, 0.16);
}
.zx-guide a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}
.zx-guide-t {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.zx-guide.is-live {
  margin: 0;
  max-width: none;
}
.zx-guide.is-side {
  position: fixed;
  z-index: 30;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  background: rgba(250, 248, 243, 0.94);
}
.zx-guide.is-side .zx-guide-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.zx-guide.is-fold {
  display: none;
}
.zx-guide.is-fold.is-open {
  display: block;
  position: fixed;
  z-index: 45;
  right: 8px;
  bottom: calc(68px + var(--zx-bar-safe, env(safe-area-inset-bottom, 0px)));
  width: min(340px, calc(100vw - 16px));
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  overflow: auto;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--muted);
  border-radius: 12px;
}
.zx-guide.is-fold .zx-guide-t {
  -webkit-line-clamp: 3;
}
.zx-guide.is-plain ol {
  background: none;
}
.zx-guide.is-plain a::before {
  content: none;
}
.zx-guide.is-plain a[aria-current] {
  box-shadow: inset 3px 0 0 var(--accent);
  padding-inline-start: 10px;
}
.zx-guide.is-plain.is-side .zx-guide-title {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
}
.zx-guide-handle .zx-totop-art {
  width: 27px;
}
.zx-agent-bar {
  column-gap: 12px;
}
body:has(.home-entry):has(.zx-dock) {
  padding-bottom: calc(48px + var(--zx-bar-safe, env(safe-area-inset-bottom, 0px))) !important;
}
video.portrait.head {
  padding: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.botmetal .video-link {
  text-align: center;
}
.botmetal .video-link figure {
  max-width: 960px;
  margin-inline: auto;
}
.botmetal .video-link figure img {
  margin-inline: auto;
}
.botmetal .video-link .video-button {
  margin-inline: auto;
}
.zx-guide-word {
  display: inline;
}
@media (max-width: 419px) {
  .zx-guide-handle:not(.is-plain) .zx-guide-word {
    display: none;
  }
  .zx-guide-handle:not(.is-plain) {
    padding: 0 8px;
  }
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide-title,
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide a {
  color: var(--z-ink);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide-title {
  font-family: var(--mono);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide a[aria-current] {
  color: var(--z-lime);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide.is-side {
  background: rgba(5, 8, 13, 0.9);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide.is-fold.is-open {
  background: var(--z-panel);
  border-color: var(--z-edge);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide.is-plain a[aria-current] {
  box-shadow: inset 3px 0 0 var(--z-lime);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide a:focus-visible {
  outline-color: var(--z-cyan);
}
@media print {
  .zx-guide.is-live {
    display: none;
  }
}
.zx-guide.is-side .zx-guide-t,
.zx-guide-sky .zx-guide-t {
  display: block;
  -webkit-line-clamp: none;
  overflow: visible;
}
.zx-guide-sky .zx-guide-name {
  display: block;
  font-weight: 600;
}
.zx-guide-sky .zx-guide-nick {
  display: block;
  font: 500 16px/1.2 var(--mono);
  color: var(--muted);
}
html:is([data-zx-theme="dark"],[data-zx-theme="eclipse"]) .zx-guide-sky .zx-guide-nick {
  color: var(--z-muted);
}
.zx-guide-sky a[aria-current] .zx-guide-nick {
  color: inherit;
}
.zx-guide.is-side {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.zx-guide.is-side.is-tight li + li {
  margin-top: 2px;
}
.zx-guide.is-side.is-tight a {
  min-height: 44px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.zx-guide .zx-guide-mars a::before {
  background-image: url(/v3/totop/stop.svg);
}
.zx-guide .zx-guide-earth a::before {
  background-image: url(/v3/totop/earth-stop.svg);
}
.zx-guide .zx-guide-mars a[aria-current]::before,
.zx-guide .zx-guide-earth a[aria-current]::before {
  background-image: url(/v3/totop/rocket-stop.svg);
}
.zx-guide.is-fold.is-open.from-top {
  top: calc(60px + env(safe-area-inset-top, 0px));
  bottom: auto;
}
html:has(#zx-guide) {
  --zx-rail-gutter: 252px;
}
html:has(#zx-guide.zx-guide-sky) {
  --zx-rail-gutter: 168px;
}
@media (min-width: 1280px) {
  html:has(#zx-guide):not(:has(.cast.tattoo)) main#main,
  html:has(#zx-guide):not(:has(.cast.tattoo)) header.bar > .wrap,
  html:has(#zx-guide):not(:has(.cast.tattoo)) footer.foot .wrap {
    margin-left: auto;
    margin-right: max(var(--zx-rail-gutter), calc((100% - 1280px) / 2));
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  html:has(#zx-guide.zx-guide-sky) main#main,
  html:has(#zx-guide.zx-guide-sky) header.bar > .wrap,
  html:has(#zx-guide.zx-guide-sky) footer.foot .wrap {
    margin-left: 0;
    margin-right: var(--zx-rail-gutter);
  }
}
