.mystocks-boot {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050708;
  color: #b7ff00;
  font-family: "Courier New", Courier, monospace;
}

.mystocks-boot[hidden] { display: none; }

.mystocks-boot-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: #050708;
  box-shadow: inset 0 0 80px #000;
}

.mystocks-power-panel,
.mystocks-post,
.mystocks-boot-brand {
  position: absolute;
  inset: 0;
}

.mystocks-power-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mystocks-boot-emblem {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  image-rendering: pixelated;
  box-shadow: 0 0 24px rgba(0, 245, 255, .25);
}

.mystocks-power-panel h1 {
  margin: 20px 0 5px;
  color: #00f5ff;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1;
  letter-spacing: .08em;
}

.mystocks-power-panel p {
  margin: 0 0 34px;
  color: #8ea3aa;
  font-size: 12px;
  letter-spacing: .18em;
}

.mystocks-power-button {
  min-width: 184px;
  padding: 13px 20px;
  border: 2px solid #00f5ff;
  background: #071427;
  color: #fff;
  box-shadow: 5px 5px 0 #00505a;
  font: 700 15px/1 "Courier New", monospace;
  letter-spacing: .08em;
  cursor: pointer;
}

.mystocks-power-button:hover,
.mystocks-power-button:focus-visible {
  color: #b7ff00;
  outline: 2px dotted #b7ff00;
  outline-offset: 5px;
}

.mystocks-power-button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #00505a;
}

.mystocks-power-symbol {
  display: inline-block;
  margin-right: 10px;
  color: #b7ff00;
}

.mystocks-post {
  display: none;
  padding: clamp(26px, 6vw, 74px);
  box-sizing: border-box;
  color: #d9e2e5;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.72;
}

.mystocks-post-brand {
  margin-bottom: 24px;
  color: #00f5ff;
  font-weight: 700;
}

.mystocks-post-line .ok { color: #b7ff00; }
.mystocks-post-line .wait { color: #00f5ff; }

.mystocks-post-cursor {
  display: inline-block;
  color: #b7ff00;
  animation: mystocks-cursor .55s steps(1) infinite;
}

.mystocks-boot-brand {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mystocks-boot-logo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  image-rendering: pixelated;
  box-shadow: 0 0 34px rgba(0, 245, 255, .38);
}

.mystocks-boot-brand strong {
  margin-top: 20px;
  color: #00f5ff;
  font-size: clamp(34px, 7vw, 72px);
  line-height: .9;
  letter-spacing: -.04em;
}

.mystocks-boot-brand span {
  margin-top: 14px;
  color: #b7ff00;
  font-size: 12px;
  letter-spacing: .18em;
}

.mystocks-boot-skip {
  position: absolute;
  right: 24px;
  bottom: 22px;
  border: 0;
  background: transparent;
  color: #7f9298;
  font: 700 12px/1 "Courier New", monospace;
  cursor: pointer;
}

.mystocks-boot[data-phase="post"] .mystocks-power-panel { display: none; }
.mystocks-boot[data-phase="post"] .mystocks-post { display: block; }
.mystocks-boot[data-phase="brand"] .mystocks-power-panel,
.mystocks-boot[data-phase="brand"] .mystocks-post { display: none; }
.mystocks-boot[data-phase="brand"] .mystocks-boot-brand { display: flex; }
.mystocks-boot[data-phase="done"] { animation: mystocks-boot-out .36s ease-in forwards; }

@keyframes mystocks-cursor { 50% { opacity: 0; } }
@keyframes mystocks-boot-out { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .mystocks-post-cursor { animation: none; }
  .mystocks-boot[data-phase="done"] { animation-duration: .01ms; }
}
