@import url("data:text/css,");
:root {
  color-scheme: dark;
  --bg: #030916;
  --panel: #0b1528;
  --line: #1d324d;
  --cyan: #59e1ff;
  --muted: #94a8c4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0%, #0c2944 0%, transparent 50%), var(--bg);
  color: #f0f6ff;
  font:
    15px/1.5 system-ui,
    -apple-system,
    sans-serif;
  min-height: 100vh;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(#66ceff04 1px, transparent 1px),
    linear-gradient(90deg, #66ceff04 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.shell {
  max-width: 1120px;
  margin: auto;
  padding: 28px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.6px;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.brand em {
  color: var(--cyan);
  font-style: normal;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}
.tag {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #b6c9e0;
  font-size: 11px;
  letter-spacing: 1px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 58px 0 40px;
}
.art {
  text-align: center;
}
.hero-logo {
  width: min(100%, 380px);
  border-radius: 50%;
  filter: drop-shadow(0 0 32px #1da6ea26);
}
h1 {
  font-size: 44px;
  letter-spacing: -1.8px;
  line-height: 1.1;
  margin: 17px 0;
}
h1 span {
  color: var(--cyan);
}
p {
  color: var(--muted);
}
.intro {
  max-width: 400px;
  margin: 0 auto;
  font-size: 13px;
}
.card {
  background: linear-gradient(145deg, #101f35ee, #081222ee);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 70px #0003;
}
.card h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 8px 0;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
label,
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 22px 0 9px;
  color: #c6d7ea;
}
input,
select {
  width: 100%;
  background: #050e1d;
  border: 1px solid #29415e;
  border-radius: 12px;
  color: #fff;
  padding: 15px;
  min-height: 52px;
}
input::placeholder {
  color: #6e839d;
}
.primary {
  width: 100%;
  border: 1px solid #6ae3ff;
  border-radius: 12px;
  background: linear-gradient(110deg, #66e8ff, #3cafff);
  color: #031329;
  font-weight: 800;
  padding: 15px;
  margin-top: 18px;
  box-shadow: 0 5px 25px #21b5ff15;
}
.error {
  color: #ffa3af;
  font-size: 12px;
  min-height: 18px;
  margin-top: 8px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 16px;
  color: #8399b4;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 9px;
  background: #0a1628;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.social:hover {
  border-color: #51c9ee;
  transform: translateY(-2px);
}
.social svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.social .arrow {
  margin-left: auto;
  color: #6f92b6;
}
.telegram {
  color: #54c7ff;
}
.instagram {
  color: #f383c2;
}
.youtube {
  color: #ff6478;
}
.social span {
  font-size: 13px;
  font-weight: 600;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: #7289a5;
}
.workspace {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  margin: 28px 0;
}
.workspace h1 {
  font-size: 31px;
}
.segment {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #050e1d;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 22px 0;
}
.segment button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  color: #8da4c0;
  border-radius: 8px;
}
.segment .active {
  background: #17324b;
  color: var(--cyan);
}
.timeframes {
  display: flex;
  gap: 7px;
}
.timeframes button {
  flex: 1;
  background: #081323;
  border: 1px solid var(--line);
  color: #8da4c0;
  padding: 10px 0;
  border-radius: 9px;
}
.timeframes button.active {
  border-color: #55d8ff;
  background: #12354b;
  color: #73e4ff;
}
.platform {
  display: flex;
  justify-content: space-between;
  background: #061020;
  border: 1px solid var(--line);
  padding: 13px 15px;
  border-radius: 12px;
}
.platform strong {
  font-size: 14px;
}
.platform span {
  color: var(--cyan);
  font-size: 12px;
}
.terminal {
  display: flex;
  flex-direction: column;
  min-height: 470px;
}
.terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.status {
  font-size: 11px;
  color: #8cb4cf;
}
.status:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: 7px;
}
.radar {
  width: 160px;
  height: 160px;
  margin: 32px auto;
  border: 1px solid #276586;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: repeating-radial-gradient(
    circle,
    transparent 0 25px,
    #3bc7ff18 26px 27px,
    transparent 28px 40px
  );
}
.radar:after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #56d9ff38;
  border-radius: 50%;
}
.radar img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  z-index: 1;
}
.scanning .radar {
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 50px #30c6ff30;
  }
}
.result {
  text-align: center;
  margin: auto 0;
}
.result h2 {
  font-size: 30px;
  margin: 0;
}
.result p {
  font-size: 13px;
}
.direction {
  font-size: 52px;
  font-weight: 850;
  letter-spacing: -2px;
  color: var(--cyan);
}
.up {
  color: #55e8b7;
}
.down {
  color: #ff8b9b;
}
.result-meta {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #b6c9df;
  font-size: 12px;
  margin: 14px 0;
}
.note {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 25px;
  color: #829bb8;
  font-size: 11px;
}
.vip {
  background: linear-gradient(100deg, #10334b, #0c1b32);
  border-color: #246288;
  margin-top: 20px;
}
.vip small {
  display: block;
  color: #90a9c2;
  font-size: 11px;
}
.history {
  margin-bottom: 28px;
}
.history h2 {
  font-size: 17px;
  margin: 0;
}
.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ghost {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  color: #a5bdd7;
  font-size: 12px;
}
.history-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.history-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.empty {
  font-size: 13px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .shell {
    padding: 20px;
  }
  .hero {
    gap: 28px;
    padding: 30px 0;
    grid-template-columns: 1fr;
  }
  .hero-logo {
    width: 180px;
  }
  .art h1 {
    font-size: 32px;
    margin: 12px 0;
  }
  .intro {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 23px;
  }
  .terminal {
    min-height: 410px;
  }
  .footer {
    flex-direction: column;
  }
  .tag {
    font-size: 9px;
  }
  .brand {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Continuous standby sweep and a faster generation sequence. */
.platform {
  align-items: center;
}
.platform-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.platform-brand img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  object-fit: cover;
}
.terminal-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.terminal-column .terminal {
  flex: 1;
}
.terminal-column .vip {
  margin: 0;
  padding: 19px 23px;
}
.radar {
  isolation: isolate;
  overflow: hidden;
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 230deg,
    #39cfff06 260deg,
    #39cfff55 350deg,
    #80edffb0 359deg,
    transparent 360deg
  );
  animation: radar-turn 6s linear infinite;
}
.radar-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78ecff;
  box-shadow: 0 0 10px #4adfff;
  animation: radar-blink 3s ease-in-out infinite;
}
.dot-one {
  top: 30px;
  left: 42px;
}
.dot-two {
  bottom: 29px;
  right: 30px;
  animation-delay: 1.5s;
}
.scanning .radar-sweep {
  animation-duration: 1.3s;
}
.scan-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #5cdfff;
  margin-bottom: 12px;
}
.scan-label span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6be6ff;
  margin-right: 6px;
  animation: radar-blink 2s infinite;
}
.result h2 {
  font-size: 27px;
}
.scan-progress {
  max-width: 340px;
  margin: 20px auto 0;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #98bad3;
  margin-bottom: 8px;
}
.progress-track {
  height: 5px;
  border-radius: 5px;
  background: #152e43;
  overflow: hidden;
}
.progress-track > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1488e5, #81f1ff);
  box-shadow: 0 0 12px #51dbff;
  transition: width 0.2s linear;
}
.scan-bars {
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 15px;
}
.scan-bars i {
  display: block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: #51d6ff;
  animation: scan-wave 0.85s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.09s);
}
@keyframes radar-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes radar-blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}
@keyframes scan-wave {
  from {
    transform: scaleY(0.2);
    opacity: 0.3;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .radar-sweep,
  .radar-dot,
  .scan-label span,
  .scan-bars i {
    animation: none;
  }
  .progress-track > div {
    transition: none;
  }
}

/* Cyan-blue pulsing dot beside VIP Trader Access. */
.vip-access {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.vip-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #59e1ff;
  animation: vip-dot-pulse 1.5s ease-out infinite;
}
@keyframes vip-dot-pulse {
  0% {
    box-shadow:
      0 0 6px #59e1ff,
      0 0 0 0 rgba(89, 225, 255, 0.65);
  }
  70% {
    box-shadow:
      0 0 10px #59e1ff,
      0 0 0 7px rgba(89, 225, 255, 0);
  }
  100% {
    box-shadow:
      0 0 6px #59e1ff,
      0 0 0 0 rgba(89, 225, 255, 0);
  }
}

/* Compact phone layout; desktop styling and signal logic are unchanged. */
@media (max-width: 600px) {
  .shell {
    padding: 10px 12px;
  }
  .top {
    gap: 8px;
    padding-bottom: 8px;
  }
  .brand {
    font-size: 16px;
    gap: 7px;
    white-space: nowrap;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .tag {
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .vip-access {
    gap: 7px;
  }
  .top .ghost {
    font-size: 10px;
    padding: 7px 8px;
  }
  .card {
    padding: 14px;
    border-radius: 16px;
  }
  .hero {
    gap: 12px;
    padding: 12px 0;
  }
  .hero-logo {
    width: clamp(64px, 12svh, 100px);
  }
  .art h1 {
    font-size: 24px;
    line-height: 1.15;
    margin: 7px 0 0;
    letter-spacing: -0.8px;
  }
  .card h2 {
    font-size: 22px;
    margin: 5px 0;
  }
  .small {
    margin: 5px 0;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  label,
  .field-label {
    margin: 10px 0 5px;
    font-size: 11px;
  }
  input,
  select {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 16px;
    border-radius: 9px;
  }
  .primary {
    min-height: 42px;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
  }
  .error {
    min-height: 0;
    margin-top: 0;
  }
  .error:not(:empty) {
    margin-top: 6px;
  }
  .divider {
    margin: 12px 0 8px;
  }
  .social {
    min-height: 42px;
    padding: 9px 11px;
    margin-top: 6px;
    gap: 9px;
  }
  .social svg {
    width: 19px;
    height: 19px;
  }
  .social span {
    font-size: 12px;
  }
  .footer {
    padding: 8px 0 0;
    font-size: 9px;
  }

  .workspace {
    gap: 8px;
    margin: 8px 0;
  }
  .workspace > .card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
    padding: 11px;
  }
  .workspace > .card > .eyebrow {
    grid-column: 1;
  }
  .workspace h1 {
    grid-column: 1;
    font-size: 20px;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.7px;
  }
  .platform {
    grid-column: 2;
    grid-row: 1 / 3;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 5px;
  }
  .platform-brand {
    gap: 6px;
  }
  .platform-brand img {
    width: 25px;
    height: 25px;
  }
  .platform strong {
    font-size: 12px;
  }
  .platform span {
    font-size: 9px;
  }
  .segment {
    grid-column: 1 / -1;
    margin: 3px 0 0;
    padding: 3px;
  }
  .segment button {
    min-height: 34px;
    padding: 5px;
    font-size: 12px;
  }
  .workspace label {
    grid-column: 1;
    grid-row: 4;
    margin: 2px 0 0;
  }
  .workspace .field-label {
    grid-column: 2;
    grid-row: 4;
    margin: 2px 0 0;
  }
  .workspace select {
    grid-column: 1;
    grid-row: 5;
    min-width: 0;
    padding: 7px 4px;
    font-size: 16px;
  }
  .timeframes {
    grid-column: 2;
    grid-row: 5;
    gap: 3px;
  }
  .timeframes button {
    min-width: 0;
    padding: 7px 0;
    font-size: 11px;
  }
  .workspace .primary {
    grid-column: 1 / -1;
    margin-top: 3px;
  }
  .terminal-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .terminal-column .terminal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: 235px;
    padding: 14px;
  }
  .terminal-head {
    grid-column: 1 / -1;
    gap: 8px;
  }
  .status {
    font-size: 10px;
  }
  .radar {
    width: 96px;
    height: 96px;
    margin: 2px auto;
    background-size: auto;
  }
  .radar img {
    width: 52px;
    height: 52px;
  }
  .dot-one {
    top: 10px;
    left: 15px;
  }
  .dot-two {
    bottom: 10px;
    right: 10px;
  }
  .result {
    min-width: 0;
    margin: 0;
    width: 100%;
  }
  .result h2 {
    font-size: 18px;
    letter-spacing: -0.3px;
  }
  .result p {
    font-size: 10px;
    margin: 4px 0;
  }
  .scan-label {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 4px;
  }
  .scan-progress {
    margin-top: 6px;
  }
  .progress-meta {
    font-size: 8px;
    letter-spacing: 0;
    gap: 5px;
    margin-bottom: 4px;
  }
  .scan-bars {
    height: 12px;
    margin-top: 4px;
  }
  .scan-bars i {
    height: 10px;
  }
  .direction {
    font-size: 30px;
    line-height: 1.2;
  }
  .result-meta {
    gap: 10px;
    font-size: 9px;
    margin: 4px 0;
  }
  .terminal-column .social {
    margin: 0;
    padding: 9px;
    gap: 6px;
  }
  .terminal-column .social span {
    font-size: 11px;
  }
  .terminal-column .social small {
    font-size: 9px;
    line-height: 1.4;
  }
  .terminal-column .social svg {
    width: 16px;
    height: 16px;
  }
  .terminal-column .social .arrow {
    flex-shrink: 0;
  }
  .history {
    padding: 10px 12px;
    margin-bottom: 8px;
  }
  .history-head {
    margin-bottom: 5px;
  }
  .history h2 {
    font-size: 13px;
  }
  .history .ghost {
    font-size: 10px;
    padding: 5px 8px;
  }
  #history {
    max-height: 65px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .empty {
    font-size: 11px;
    margin: 5px 0;
  }
  .history-row {
    padding: 6px 0;
    font-size: 11px;
  }
  .history-row small {
    font-size: 9px;
  }
}
