.home-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.home-action-row .home-submit-url {
  width: auto;
  margin-bottom: 0;
}

.home-runner-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 10px 14px;
  white-space: nowrap;
  transition: all .4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.home-runner-trigger:hover {
  background-color: #ff2700;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 20px -12px rgba(255, 39, 0, .5);
}

.home-runner-stage {
  position: relative;
  width: 100%;
  height: 0;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background-color: #f7f8fa;
  transition: height .45s cubic-bezier(0.215, 0.61, 0.355, 1), margin-bottom .45s cubic-bezier(0.215, 0.61, 0.355, 1);
  box-sizing: border-box;
}

.home-runner-active .home-runner-stage {
  height: 420px;
  margin-bottom: 20px;
}

.home-runner-active .main-home {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-runner-active .page {
  background-color: #fff;
}

.home-runner-active .main-footer {
  display: none;
}

.home-runner-intro-active .main-home {
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.home-runner-intro-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
}

.home-runner-intro-clone {
  position: fixed;
  z-index: 999;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 36px -28px rgba(0, 0, 0, .5);
  will-change: left, top, width, height, opacity, transform, filter;
}

.home-runner-intro-clone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-runner-intro-clone.is-text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  padding: 8px 10px;
  box-sizing: border-box;
}

.home-runner-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.home-runner-hud {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.home-runner-help {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  color: #000;
  font-size: 13px;
  font-weight: bold;
  line-height: 20px;
  pointer-events: none;
}

.home-runner-help span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, .94);
  padding: 8px 10px;
  box-shadow: 0 12px 24px -22px rgba(0, 0, 0, .45);
}

.home-runner-help kbd {
  min-width: 22px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 18px;
  padding: 0 5px;
  text-align: center;
}

.home-runner-score {
  min-width: 96px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, .88);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 8px 10px;
  text-align: center;
}

.home-runner-close,
.home-runner-overlay button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background-color: #ff2700;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 8px 12px;
  transition: all .25s ease;
}

.home-runner-close {
  pointer-events: auto;
}

.home-runner-close:hover,
.home-runner-overlay button:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}

.home-runner-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, .72);
  backdrop-filter: blur(4px);
}

.home-runner-stage.is-failed .home-runner-overlay {
  display: flex;
}

.home-runner-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  border-radius: 10px;
  background-color: #fff;
  padding: 24px;
  box-shadow: 0 24px 45px -30px rgba(0, 0, 0, .45);
}

.home-runner-panel strong {
  font-size: 22px;
  line-height: 28px;
}

.home-runner-panel span {
  color: #59616a;
  font-size: 14px;
  line-height: 22px;
}

.home-runner-actions {
  display: flex;
  gap: 10px;
}

.home-runner-actions .home-runner-secondary {
  background-color: #000;
}

.home-runner-actions .home-runner-secondary:hover {
  background-color: #ff2700;
}

.home-runner-wind-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
}

.home-runner-wind-clone {
  position: fixed;
  z-index: 999;
  display: block;
  max-width: 260px;
  max-height: 160px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, .92);
  color: #000;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  overflow: hidden;
  box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .5);
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  will-change: left, top, opacity, transform;
}

.home-runner-wind-clone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-runner-wind-clone.is-flying {
  opacity: .2;
}

.home-runner-wind-clone.is-card {
  background-color: rgba(255, 255, 255, .82);
  padding: 8px;
  box-sizing: border-box;
}

.home-runner-wind-clone.is-card * {
  max-width: 100%;
  pointer-events: none;
}

.home-runner-black-hole {
  position: fixed;
  z-index: 1000;
  width: 170px;
  height: 170px;
  margin: -85px 0 0 -85px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #000 0 24%, rgba(0, 0, 0, .96) 25% 33%, rgba(255, 39, 0, .82) 35% 40%, rgba(255, 177, 0, .38) 41% 48%, rgba(255, 39, 0, .14) 49% 58%, transparent 59%),
    conic-gradient(from 20deg, rgba(255, 39, 0, .9), rgba(255, 193, 7, .6), rgba(0, 0, 0, .96), rgba(255, 39, 0, .9));
  box-shadow:
    0 0 40px rgba(255, 39, 0, .5),
    0 0 110px rgba(0, 0, 0, .26);
  animation: homeRunnerBlackHoleSpin 1.1s linear infinite;
}

@keyframes homeRunnerBlackHoleSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .home-action-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .home-runner-trigger,
  .home-runner-stage {
    display: none;
  }
}
