:root {
  --bg-0: #060a15;
  --bg-1: #0c1330;
  --bg-2: #081d2f;
  --surface: rgba(10, 18, 38, 0.68);
  --surface-border: rgba(129, 167, 255, 0.26);
  --surface-highlight: rgba(146, 220, 255, 0.18);
  --text-main: #f5f8ff;
  --text-muted: #bcc7de;
  --text-soft: #8f9bb7;
  --line-soft: rgba(170, 188, 230, 0.2);
  --line-strong: rgba(193, 216, 255, 0.38);
  --accent-a: #56c0ff;
  --accent-b: #69a8ff;
  --accent-c: #7ee7ff;
  --ok-soft: #8bf0c2;
  --error-soft: #ffb4be;
  --shadow-soft: 0 20px 48px rgba(3, 7, 19, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-0);
  overflow-x: hidden;
  overflow-y: clip;
}

.landing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.animated-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-main {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 34rem at 12% 15%, rgba(90, 192, 255, 0.2), transparent 62%),
    radial-gradient(50rem 30rem at 90% 82%, rgba(105, 168, 255, 0.2), transparent 68%),
    linear-gradient(140deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-2) 100%);
}

.orb {
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(132px);
  opacity: 0.2;
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.orb-left {
  top: 14%;
  left: -9rem;
  background: var(--accent-a);
}

.orb-right {
  right: -10rem;
  bottom: 20%;
  background: var(--accent-b);
  animation-duration: 5.6s;
  animation-delay: 1s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(145, 190, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 190, 255, 0.26) 1px, transparent 1px);
  background-size: clamp(30px, 3.1vw, 54px) clamp(30px, 3.1vw, 54px);
  mask-image: radial-gradient(circle at 50% 45%, black 42%, transparent 100%);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: clamp(30px, 4.7vh, 84px) clamp(14px, 2.2vw, 30px) clamp(40px, 6.4vh, 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vh, 20px);
}

.test-site-banner {
  display: none;
  width: min(100%, 64rem);
  padding: 0.9rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 205, 123, 0.42);
  background:
    linear-gradient(135deg, rgba(84, 40, 17, 0.88) 0%, rgba(40, 20, 14, 0.92) 100%),
    linear-gradient(120deg, rgba(255, 215, 133, 0.12), transparent 52%);
  box-shadow: 0 16px 36px rgba(10, 8, 19, 0.34);
  color: #fff2db;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
  text-align: center;
}

.is-test-site .test-site-banner {
  display: inline-flex;
}

.test-site-banner-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ffe38a 0%, #ff9a5b 100%);
  box-shadow: 0 0 0 0.24rem rgba(255, 190, 102, 0.16);
}

.logo-wrap {
  position: absolute;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(6, 13, 30, 0.72);
  border: 1px solid rgba(130, 164, 235, 0.35);
  box-shadow: 0 14px 40px rgba(4, 10, 30, 0.5);
  backdrop-filter: blur(12px);
}

.logo-badge {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, rgba(126, 231, 255, 0.36) 0%, rgba(96, 148, 255, 0.18) 100%);
  border: 1px solid rgba(178, 226, 255, 0.44);
  overflow: hidden;
}

.logo-badge::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 20px;
  background: conic-gradient(from 140deg, transparent 0deg, rgba(126, 231, 255, 0.35) 120deg, rgba(102, 159, 255, 0.4) 220deg, transparent 300deg);
  filter: blur(14px);
  opacity: 0.7;
}

.logo-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: saturate(1.08);
}

.logo-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-name {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.logo-tagline {
  color: rgba(189, 211, 252, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-content {
  width: min(100%, 64rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.8rem) clamp(1.15rem, 2.8vw, 3.1rem) clamp(1.8rem, 3.2vw, 2.5rem);
  border-radius: clamp(20px, 2.3vw, 32px);
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(160deg, rgba(17, 31, 60, 0.8) 0%, rgba(9, 17, 38, 0.72) 100%),
    linear-gradient(120deg, rgba(122, 194, 255, 0.08), transparent 35%);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.85rem);
  position: relative;
}

.hero-content.is-choice-step {
  gap: clamp(0.9rem, 1.8vw, 1.35rem);
}

.hero-content.is-choice-step .actions {
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
}

.flow-back-btn {
  position: absolute;
  top: clamp(12px, 1.8vw, 18px);
  left: clamp(12px, 1.8vw, 18px);
  min-height: 2.25rem;
  padding: 0 0.86rem 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(150, 193, 255, 0.48);
  background: linear-gradient(145deg, rgba(20, 34, 69, 0.86), rgba(13, 23, 51, 0.86));
  color: #eaf3ff;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(6, 12, 30, 0.38);
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.flow-back-btn:hover,
.flow-back-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(177, 219, 255, 0.82);
  filter: brightness(1.08);
  outline: none;
}

.flow-back-btn:active {
  transform: translateY(0);
}

.flow-back-btn[hidden] {
  display: none !important;
}

.edge-sub-btn {
  position: absolute;
  top: clamp(12px, 1.8vw, 18px);
  right: clamp(12px, 1.8vw, 18px);
  min-height: 2.35rem;
  padding: 0 0.9rem 0 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 188, 124, 0.52);
  background: linear-gradient(145deg, rgba(58, 26, 14, 0.92), rgba(28, 17, 13, 0.9));
  color: #fff5e8;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(10, 8, 19, 0.34);
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease, opacity 0.16s ease;
}

.edge-sub-btn:hover,
.edge-sub-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 167, 0.86);
  filter: brightness(1.06);
  outline: none;
}

.edge-sub-btn:active {
  transform: translateY(0);
}

.edge-sub-btn[hidden] {
  display: none !important;
}

.edge-sub-btn[disabled],
.edge-sub-btn.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.edge-sub-btn-badge {
  min-width: 1.68rem;
  height: 1.68rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 221, 162, 0.28), rgba(255, 180, 95, 0.16));
  border: 1px solid rgba(255, 217, 164, 0.34);
  color: #ffd391;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.edge-sub-btn-text {
  white-space: nowrap;
}

.flow-back-btn-icon {
  font-size: 1.02rem;
  line-height: 1;
}

.title {
  margin: 0;
  max-width: 13.6ch;
  margin-inline: auto;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.35rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.title span {
  display: block;
  margin-top: 0.18em;
  background: linear-gradient(92deg, var(--accent-c) 0%, var(--accent-a) 40%, var(--accent-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0 auto;
  max-width: 41rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.35vw, 1.28rem);
  line-height: 1.52;
}

.actions {
  margin: 0.28rem auto 0;
  width: min(100%, 54rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.6vw, 1rem);
  align-items: stretch;
}

.start-flow-btn {
  grid-column: 1 / -1;
}

.actions-step {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.7rem, 1.6vw, 1rem);
  align-items: stretch;
}

.actions-step[hidden] {
  display: none !important;
}

.actions-question {
  margin: 0;
  grid-column: 1 / -1;
  color: #f1f7ff;
  font-size: clamp(1.56rem, 3.3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
  padding: clamp(0.74rem, 1.4vw, 0.95rem) clamp(0.9rem, 1.8vw, 1.25rem);
  border-radius: 16px;
  border: 1px solid rgba(140, 193, 255, 0.45);
  background:
    linear-gradient(160deg, rgba(21, 36, 72, 0.82), rgba(13, 25, 52, 0.82)),
    linear-gradient(120deg, rgba(120, 193, 255, 0.09), transparent 56%);
  box-shadow: 0 16px 30px rgba(4, 10, 24, 0.34);
}

.actions-step .action-btn {
  min-height: 4rem;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.action-btn {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 3.8rem;
  padding: 0.85rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-main);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 700;
  font-family: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.action-btn:focus-visible {
  outline: 3px solid rgba(126, 231, 255, 0.6);
  outline-offset: 2px;
}

.action-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.action-btn.primary {
  overflow: hidden;
  border-color: rgba(183, 236, 255, 0.36);
  background: linear-gradient(95deg, #35b8ff 0%, #5b9bff 54%, #70bfff 100%);
  box-shadow: 0 16px 34px rgba(53, 139, 255, 0.28);
}

.action-btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.2), transparent 45%, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.26s ease;
}

.action-btn.primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 19px 36px rgba(43, 124, 255, 0.34);
}

.action-btn.primary:hover::after {
  opacity: 1;
}

.btn-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.action-btn.temp {
  border-color: rgba(134, 232, 214, 0.45);
  background: linear-gradient(95deg, #1cb8b0 0%, #2e98dd 52%, #5e86f7 100%);
  box-shadow: 0 14px 32px rgba(18, 132, 171, 0.24);
}

.action-btn.temp:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 19px 34px rgba(32, 123, 190, 0.34);
}

.action-btn.choice-yes {
  border-color: rgba(181, 246, 207, 0.58);
  background: linear-gradient(96deg, #0f7c42 0%, #199957 52%, #26b368 100%);
  box-shadow: 0 16px 34px rgba(13, 109, 57, 0.34);
  color: #f6fbff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  min-height: clamp(4.25rem, 8vw, 5rem);
  font-size: clamp(1.6rem, 3.7vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn.choice-yes:hover {
  transform: translateY(-2px) scale(1.014);
  box-shadow: 0 20px 36px rgba(12, 103, 55, 0.42);
}

.action-btn.choice-yes:focus-visible {
  outline-color: rgba(143, 244, 185, 0.72);
}

.action-btn.choice-no {
  border-color: rgba(255, 214, 160, 0.62);
  background: linear-gradient(96deg, #ad5615 0%, #c96b1d 55%, #dd832d 100%);
  box-shadow: 0 16px 34px rgba(136, 72, 17, 0.34);
  color: #f8fbff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
  min-height: clamp(4.25rem, 8vw, 5rem);
  font-size: clamp(1.6rem, 3.7vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-btn-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46em;
}

.choice-btn-emoji {
  display: inline-block;
  font-size: 0.92em;
  line-height: 1;
}

.choice-btn-text {
  line-height: 1;
}

.action-btn.choice-no:hover {
  transform: translateY(-2px) scale(1.014);
  box-shadow: 0 20px 36px rgba(126, 65, 15, 0.42);
}

.action-btn.choice-no:focus-visible {
  outline-color: rgba(255, 209, 136, 0.78);
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.action-btn.ghost {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 28rem);
}

.status {
  margin: -0.1rem 0 0;
  min-height: 1.3rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.status[data-state="ok"] {
  color: var(--ok-soft);
}

.status[data-state="error"] {
  color: var(--error-soft);
}

.trust {
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.76rem;
  color: #a5b4d6;
  font-size: 0.9rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.trust-item .icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent-a);
}

.trust-item:nth-child(3) .icon {
  color: var(--accent-c);
}

.dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: #506086;
}

body.temp-guide-open {
  overflow: hidden;
}

body.download-modal-open {
  overflow: hidden;
}

.temp-guide {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.temp-guide[hidden] {
  display: none;
}

.temp-guide-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 50% 8%, rgba(41, 181, 255, 0.16), transparent 70%),
    rgba(6, 10, 21, 0.82);
  backdrop-filter: blur(8px);
}

.temp-guide-stage {
  position: absolute;
  inset: clamp(10px, 2vw, 24px);
  border-radius: 24px;
  border: 1px solid rgba(128, 170, 255, 0.36);
  background:
    radial-gradient(56% 30% at 50% 8%, rgba(51, 177, 255, 0.2), transparent 72%),
    linear-gradient(170deg, rgba(10, 22, 52, 0.96) 0%, rgba(8, 18, 42, 0.96) 58%, rgba(7, 17, 38, 0.98) 100%);
  box-shadow: 0 28px 58px rgba(2, 8, 23, 0.62);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.temp-guide-close {
  position: absolute;
  top: 10px;
  right: 10px;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  inline-size: 36px;
  block-size: 36px;
  min-inline-size: 36px;
  min-block-size: 36px;
  max-inline-size: 36px;
  max-block-size: 36px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(154, 183, 248, 0.4);
  border-radius: 50%;
  background: rgba(13, 27, 58, 0.7);
  color: #d7e7ff;
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  z-index: 2;
}

.temp-guide-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 38px) clamp(16px, 3.8vw, 34px) clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.55rem);
  text-align: center;
  position: relative;
}

.temp-guide-panel::before {
  content: "";
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 183, 217, 0.9), rgba(110, 137, 255, 0.95));
  box-shadow: 0 0 20px rgba(88, 146, 255, 0.45);
}

.temp-guide-slide-icon {
  width: clamp(84px, 13.2vw, 106px);
  height: clamp(84px, 13.2vw, 106px);
  border-radius: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: rgba(240, 249, 255, 0.96);
  box-shadow:
    0 18px 46px rgba(6, 20, 51, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, #0ea5e9, #2563eb);
}

.temp-guide-slide-icon[data-accent="teal"] {
  background: linear-gradient(145deg, #14b8a6, #0b83d2);
}

.temp-guide-slide-icon[data-accent="green"] {
  background: linear-gradient(145deg, #14b8a6, #059669);
}

.temp-guide-slide-icon[data-accent="sky"] {
  background: linear-gradient(145deg, #0ea5e9, #2563eb);
}

.temp-guide-slide-icon svg {
  width: clamp(38px, 6vw, 52px);
  height: clamp(38px, 6vw, 52px);
}

.temp-guide-slide-icon[hidden] {
  display: none !important;
}

.temp-guide-title {
  margin: 0;
  text-align: center;
  text-wrap: balance;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.05rem, 4.4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(10, 68, 180, 0.35);
}

.temp-guide-text {
  margin: 0;
  text-align: center;
  text-wrap: balance;
  max-width: 34rem;
  color: #e6f0ff;
  font-size: clamp(1.24rem, 2.6vw, 1.62rem);
  line-height: 1.62;
  font-weight: 550;
  text-shadow: 0 2px 14px rgba(5, 16, 43, 0.5);
}

.temp-guide-card {
  width: min(100%, 34rem);
  border: 1px solid rgba(123, 196, 255, 0.42);
  border-radius: 18px;
  background: rgba(18, 37, 78, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(14px, 2.2vw, 20px);
  text-align: center;
  position: relative;
}

.temp-guide-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 231, 255, 0.85), transparent);
}

.temp-guide-card-title {
  margin: 0 0 0.44rem;
  font-size: clamp(1.42rem, 3.1vw, 2rem);
  font-weight: 800;
  color: #eef5ff;
  letter-spacing: 0.01em;
}

.temp-guide-card-happ-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.temp-guide-card-happ-inline img {
  width: 1.08em;
  height: 1.08em;
  border-radius: 12px;
  object-fit: cover;
  vertical-align: middle;
  box-shadow: 0 8px 20px rgba(8, 47, 73, 0.34);
}

.temp-guide-card-text {
  margin: 0;
  font-size: clamp(1.12rem, 2.5vw, 1.34rem);
  line-height: 1.56;
  color: #b2f5e7;
  font-weight: 500;
}

.temp-guide-media {
  width: min(100%, 34rem);
  display: flex;
  justify-content: center;
}

.temp-guide-media-shell {
  width: min(100%, 25rem);
  border-radius: 18px;
  border: 1px solid rgba(111, 205, 250, 0.38);
  padding: 7px;
  background:
    radial-gradient(170px 96px at 12% 0%, rgba(37, 183, 255, 0.18), transparent 72%),
    linear-gradient(168deg, rgba(10, 24, 56, 0.94), rgba(8, 18, 44, 0.97));
}

.temp-guide-media-video {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  background: rgba(3, 10, 24, 0.92);
}

.temp-guide-stage.is-media-compact .temp-guide-media-shell {
  width: min(100%, 22rem);
}

.temp-guide-stage.is-media-tight .temp-guide-media-shell {
  width: min(100%, 18rem);
}

.temp-guide-stage.is-media-tight .temp-guide-panel {
  gap: clamp(0.82rem, 1.8vw, 1.2rem);
}

.temp-guide-stage.is-media-tight .temp-guide-title {
  font-size: clamp(1.85rem, 7.2vw, 2.5rem);
}

.temp-guide-action {
  width: min(100%, 34rem);
  min-height: 3.6rem;
  border-radius: 14px;
  border: 1px solid rgba(139, 229, 255, 0.45);
  background: linear-gradient(95deg, #2eb7d9 0%, #477de8 58%, #6676f2 100%);
  color: #f6fbff;
  font-size: clamp(1.06rem, 3vw, 1.26rem);
  font-weight: 700;
  cursor: pointer;
}

.temp-guide-action.is-download {
  min-height: 62px;
  border: 1px solid rgba(66, 153, 225, 0.7);
  border-radius: 18px;
  background: linear-gradient(90deg, #0ea5a6, #2563eb);
  color: #f8fafc;
  font-size: clamp(20px, 3.7vw, 34px);
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(6, 24, 54, 0.44);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.temp-guide-action-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48em;
}

.temp-guide-action-icon {
  width: 1.08em;
  height: 1.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.temp-guide-action-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.temp-guide-action.is-download:active {
  transform: scale(0.985);
  filter: brightness(1.06);
}

.temp-guide-action.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.temp-guide-checkpoint {
  width: min(100%, 34rem);
  min-height: 3.35rem;
  border: 1px solid rgba(121, 205, 245, 0.52);
  border-radius: 14px;
  background: linear-gradient(95deg, rgba(46, 154, 216, 0.2), rgba(72, 116, 235, 0.24));
  color: #e9f2ff;
  padding: 0.72rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: clamp(1.08rem, 2.6vw, 1.32rem);
  font-weight: 700;
  cursor: pointer;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.temp-guide-checkpoint-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  line-height: 1.45;
  letter-spacing: 0.005em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.temp-guide-checkpoint[hidden],
.temp-guide-media[hidden],
.temp-guide-action[hidden],
.temp-guide-text[hidden],
.temp-guide-checkpoint-hint[hidden] {
  display: none !important;
}

.temp-guide-checkpoint-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.temp-guide-checkpoint-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(189, 215, 255, 0.82);
  background: rgba(12, 24, 51, 0.58);
  position: relative;
  flex: 0 0 auto;
}

.temp-guide-checkpoint-mark::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg);
}

.temp-guide-checkpoint-input:checked + .temp-guide-checkpoint-mark {
  border-color: rgba(116, 245, 214, 0.95);
  background: linear-gradient(160deg, rgba(47, 210, 171, 0.35), rgba(11, 145, 181, 0.2));
}

.temp-guide-checkpoint-input:checked + .temp-guide-checkpoint-mark::before {
  border-left-color: #5ef1d2;
  border-bottom-color: #5ef1d2;
}

.temp-guide-checkpoint.is-invalid {
  border-color: rgba(248, 113, 113, 0.92);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.temp-guide-checkpoint-hint {
  margin: 0;
  color: #f87171;
  font-size: 1.05rem;
  text-align: center;
}

.temp-guide-controls {
  border-top: 1px solid rgba(109, 163, 246, 0.3);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.58rem;
}

.temp-guide-pagination {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.temp-guide-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(147, 172, 214, 0.68);
}

.temp-guide-dot.is-active {
  width: 18px;
  background: linear-gradient(95deg, #2eb7d9, #6e89ff);
}

.temp-guide-nav {
  min-height: 2.9rem;
  border-radius: 12px;
  border: 1px solid rgba(145, 177, 232, 0.44);
  background: rgba(236, 243, 255, 0.95);
  color: #4f72a8;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

@media (min-width: 1100px) {
  .temp-guide-stage {
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(34vw, 38rem);
    min-width: 29rem;
    height: min(86vh, 50rem);
    border-radius: 22px;
  }

  .temp-guide-panel {
    padding: 2.2rem 1.5rem 1.8rem;
  }

  .temp-guide-title {
    font-size: clamp(2.15rem, 2.55vw, 2.8rem);
  }

  .temp-guide-text {
    font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  }
}

.temp-guide-prev {
  justify-self: start;
}

.temp-guide-next {
  justify-self: end;
}

.temp-guide-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
}

.download-modal.open {
  display: block;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(980px 560px at 50% -12%, rgba(56, 189, 248, 0.2), transparent 58%),
    radial-gradient(640px 420px at 92% 112%, rgba(99, 102, 241, 0.18), transparent 60%),
    rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(7px) saturate(118%);
  -webkit-backdrop-filter: blur(7px) saturate(118%);
  opacity: 0;
  animation: promoFade 0.2s ease forwards;
}

.download-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(94vw, 470px);
  max-height: min(88vh, 740px);
  overflow-y: auto;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background:
    radial-gradient(210px 120px at 14% 8%, rgba(56, 189, 248, 0.22), transparent 70%),
    radial-gradient(250px 145px at 86% 0%, rgba(99, 102, 241, 0.2), transparent 72%),
    linear-gradient(170deg, rgba(8, 14, 30, 0.97), rgba(5, 10, 20, 0.98));
  box-shadow:
    0 26px 60px rgba(2, 6, 23, 0.62),
    0 12px 30px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
  isolation: isolate;
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  animation: promoPop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.download-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(125, 211, 252, 0.68),
    rgba(129, 140, 248, 0.34) 38%,
    rgba(45, 212, 191, 0.4) 70%,
    rgba(148, 163, 184, 0.22)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.download-modal-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.download-modal-card > * {
  position: relative;
  z-index: 1;
}

.download-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.58));
  color: #dbeafe;
  font-size: 19px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.download-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.62);
  filter: brightness(1.08);
}

.download-modal-title {
  margin: 0 34px;
  font-size: clamp(28px, 7.2vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #e2ecff 0%, #dbeafe 24%, #93c5fd 48%, #67e8f9 78%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.download-modal-subtitle {
  margin: 8px auto 0;
  max-width: 34ch;
  text-align: center;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.guide-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.guide-platform {
  text-decoration: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 132px;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(9, 17, 35, 0.86), rgba(8, 14, 30, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(2, 6, 23, 0.36);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.guide-platform:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.68);
  background: linear-gradient(180deg, rgba(11, 21, 41, 0.94), rgba(8, 15, 31, 0.99));
  box-shadow:
    0 16px 32px rgba(2, 6, 23, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.guide-platform:active {
  transform: translateY(-1px) scale(0.995);
}

.guide-platform-icon {
  --icon-glow-a: rgba(125, 211, 252, 0.34);
  --icon-glow-b: rgba(99, 102, 241, 0.22);
  width: 76px;
  height: 76px;
  color: #f8fbff;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.guide-platform-icon::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--icon-glow-a) 0%, var(--icon-glow-b) 42%, transparent 74%);
  filter: blur(2px);
  opacity: 0.9;
  z-index: -1;
  animation: platformGlowPulse 2.8s ease-in-out infinite;
}

.guide-platform-icon svg {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 4px 10px rgba(2, 6, 23, 0.52));
}

.guide-platform:nth-child(2) .guide-platform-icon::before {
  animation-delay: 0.4s;
}

.guide-platform:nth-child(3) .guide-platform-icon::before {
  animation-delay: 0.8s;
}

.guide-platform:nth-child(4) .guide-platform-icon::before {
  animation-delay: 1.2s;
}

.guide-platform:nth-child(1) .guide-platform-icon {
  --icon-glow-a: rgba(226, 232, 240, 0.34);
  --icon-glow-b: rgba(96, 165, 250, 0.2);
}

.guide-platform:nth-child(2) .guide-platform-icon {
  --icon-glow-a: rgba(125, 211, 252, 0.32);
  --icon-glow-b: rgba(34, 211, 238, 0.2);
}

.guide-platform:nth-child(3) .guide-platform-icon {
  --icon-glow-a: rgba(147, 197, 253, 0.32);
  --icon-glow-b: rgba(129, 140, 248, 0.2);
}

.guide-platform:nth-child(4) .guide-platform-icon {
  --icon-glow-a: rgba(186, 230, 253, 0.34);
  --icon-glow-b: rgba(148, 163, 184, 0.22);
}

.guide-platform-name {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.01em;
  color: #e8f2ff;
}

body.temp-attempt-result-open {
  overflow: hidden;
}

.temp-attempt-result-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.temp-attempt-result-modal.open {
  display: block;
}

.temp-attempt-result-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(920px 520px at 50% -12%, rgba(34, 197, 94, 0.1), transparent 58%),
    radial-gradient(720px 420px at 90% 110%, rgba(248, 113, 113, 0.14), transparent 60%),
    rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(8px) saturate(122%);
  -webkit-backdrop-filter: blur(8px) saturate(122%);
  opacity: 0;
  animation: promoFade 0.2s ease forwards;
}

.temp-attempt-result-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(94vw, 460px);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 18px 18px 20px;
  border-radius: 26px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  background:
    radial-gradient(220px 130px at 18% 0%, rgba(248, 113, 113, 0.16), transparent 72%),
    radial-gradient(260px 140px at 86% 0%, rgba(59, 130, 246, 0.12), transparent 72%),
    linear-gradient(170deg, rgba(17, 24, 39, 0.98), rgba(10, 15, 28, 0.99));
  box-shadow:
    0 30px 68px rgba(2, 6, 23, 0.66),
    0 14px 34px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  animation: promoPop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.temp-attempt-result-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(180deg, rgba(32, 41, 61, 0.92), rgba(17, 24, 39, 0.84));
  color: #e5eefc;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.temp-attempt-result-close:hover,
.temp-attempt-result-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(248, 113, 113, 0.52);
  background: linear-gradient(180deg, rgba(40, 52, 77, 0.98), rgba(17, 24, 39, 0.9));
  outline: none;
}

.temp-attempt-result-title {
  margin: 14px 0 0;
  font-size: clamp(1.48rem, 3.4vw, 1.82rem);
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #f8fbff;
}

.temp-attempt-result-text {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(221, 232, 255, 0.94);
}

.temp-attempt-result-meta {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(253, 186, 116, 0.72);
  background:
    radial-gradient(180px 80px at 12% 0%, rgba(254, 215, 170, 0.32), transparent 72%),
    linear-gradient(135deg, rgba(180, 83, 9, 0.92), rgba(234, 88, 12, 0.94) 55%, rgba(239, 68, 68, 0.92));
  color: #fffaf3;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 237, 213, 0.14) inset,
    0 14px 30px rgba(154, 52, 18, 0.34),
    0 0 24px rgba(251, 146, 60, 0.24);
}

.temp-attempt-result-support-text {
  margin: 12px 0 0;
  color: rgba(191, 212, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.5;
}

.temp-attempt-result-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.temp-attempt-result-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(30, 41, 59, 0.44);
  color: #f3f8ff;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.temp-attempt-result-btn.is-primary {
  border-color: rgba(253, 186, 116, 0.56);
  background: linear-gradient(95deg, rgba(239, 68, 68, 0.78), rgba(249, 115, 22, 0.84));
  color: #fffaf4;
}

.temp-attempt-result-btn.is-secondary {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(15, 42, 68, 0.58);
  color: #e0f2fe;
}

.temp-attempt-result-btn.is-ghost {
  border-color: rgba(191, 219, 254, 0.18);
  background: rgba(15, 23, 42, 0.16);
  color: rgba(226, 238, 255, 0.96);
}

.temp-attempt-result-btn:hover,
.temp-attempt-result-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}

.temp-attempt-result-btn:active {
  transform: translateY(0);
}

.temp-attempt-result-btn[hidden],
.temp-attempt-result-meta[hidden],
.temp-attempt-result-support-text[hidden] {
  display: none;
}

.temp-sub-loading {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(46% 34% at 50% 38%, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0) 72%),
    rgba(3, 7, 20, 0.64);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.temp-sub-loading[hidden] {
  display: none;
}

.temp-sub-loading.open {
  opacity: 1;
  pointer-events: auto;
}

.temp-sub-loading-card {
  width: min(90vw, 360px);
  padding: 24px 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background:
    radial-gradient(190px 90px at 100% 0, rgba(99, 102, 241, 0.3), transparent 72%),
    linear-gradient(165deg, rgba(14, 18, 48, 0.96), rgba(11, 16, 37, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(5, 9, 25, 0.55);
  text-align: center;
}

.temp-sub-loading-visual {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
}

.temp-sub-loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    rgba(99, 102, 241, 0.08),
    rgba(99, 102, 241, 0.95),
    rgba(59, 130, 246, 0.88),
    rgba(99, 102, 241, 0.08)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 0);
  animation: tempSubLoaderSpin 1.05s linear infinite;
}

.temp-sub-loading-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(224, 231, 255, 0.96), rgba(99, 102, 241, 0.92));
  box-shadow:
    0 0 0 6px rgba(99, 102, 241, 0.14),
    0 0 24px rgba(99, 102, 241, 0.55);
  animation: tempSubLoaderCorePulse 1.22s ease-in-out infinite;
}

.temp-sub-loading-pulse {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(165, 180, 252, 0.5);
  animation: tempSubLoaderWave 1.5s ease-out infinite;
}

.temp-sub-loading-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #eef2ff;
}

.temp-sub-loading-subtitle {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(199, 210, 254, 0.9);
}

.bot-open-loading {
  background:
    radial-gradient(46% 34% at 50% 38%, rgba(71, 125, 232, 0.26), rgba(71, 125, 232, 0) 72%),
    rgba(3, 7, 20, 0.66);
}

.bot-open-loading-card {
  position: relative;
  border: 1px solid rgba(115, 160, 255, 0.45);
  background:
    radial-gradient(190px 90px at 100% 0, rgba(46, 183, 217, 0.28), transparent 72%),
    linear-gradient(165deg, rgba(9, 21, 54, 0.96), rgba(7, 16, 43, 0.95));
}

.bot-open-loading-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(134, 194, 255, 0.54);
  background: linear-gradient(145deg, rgba(46, 183, 217, 0.28), rgba(102, 118, 242, 0.22));
  color: #eaf6ff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 5px 18px rgba(6, 11, 26, 0.44);
}

.bot-open-loading-close:hover,
.bot-open-loading-close:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(164, 220, 255, 0.9);
  background: linear-gradient(145deg, rgba(46, 183, 217, 0.4), rgba(110, 137, 255, 0.3));
  box-shadow: 0 7px 22px rgba(7, 14, 36, 0.5);
  outline: none;
}

.bot-open-loading-close:active {
  transform: translateY(0) scale(0.98);
}

.bot-open-loading-card .temp-sub-loading-ring {
  background: conic-gradient(
    from 210deg,
    rgba(46, 183, 217, 0.1),
    rgba(71, 125, 232, 0.98),
    rgba(110, 137, 255, 0.9),
    rgba(46, 183, 217, 0.1)
  );
}

.bot-open-loading-card .temp-sub-loading-core {
  background: radial-gradient(circle at 35% 30%, rgba(232, 247, 255, 0.96), rgba(71, 125, 232, 0.94));
  box-shadow:
    0 0 0 6px rgba(71, 125, 232, 0.16),
    0 0 24px rgba(71, 125, 232, 0.58);
}

.bot-open-loading-card .temp-sub-loading-pulse {
  border-color: rgba(142, 190, 255, 0.58);
}

.bot-open-loading-card .temp-sub-loading-title {
  color: #f2f8ff;
}

.bot-open-loading-card .temp-sub-loading-subtitle {
  color: rgba(214, 231, 255, 0.92);
}

.bot-open-loading-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bot-open-loading-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(126, 181, 255, 0.45);
  background: rgba(47, 130, 255, 0.16);
  color: #edf6ff;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.bot-open-loading-btn.is-primary {
  border-color: rgba(170, 220, 255, 0.72);
  background: linear-gradient(95deg, rgba(46, 183, 217, 0.44), rgba(71, 125, 232, 0.42), rgba(102, 118, 242, 0.38));
  color: #f7fbff;
}

.bot-open-loading-btn.is-ghost {
  border-color: rgba(140, 194, 255, 0.28);
  background: rgba(41, 120, 235, 0.1);
  color: rgba(214, 233, 255, 0.92);
}

.bot-open-loading-btn:hover,
.bot-open-loading-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(177, 225, 255, 0.82);
  outline: none;
}

.bot-open-loading-btn:active {
  transform: translateY(0);
}

.network {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.42;
}

@media (max-width: 1120px) {
  body {
    overflow-y: auto;
  }

  .hero {
    padding-top: clamp(28px, 4vh, 70px);
    padding-bottom: clamp(36px, 5vh, 90px);
  }

  .hero-content {
    width: min(100%, 58rem);
    padding: clamp(1.35rem, 2.7vw, 2.4rem) clamp(1.05rem, 2.6vw, 2.3rem) clamp(1.65rem, 2.8vw, 2.2rem);
  }

  .title {
    font-size: clamp(2.05rem, 6.1vw, 3.85rem);
    max-width: 12.8ch;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 112px;
  }

  .logo-wrap {
    top: 20px;
  }

  .hero-content {
    width: min(100%, 52rem);
  }

  .actions {
    width: min(100%, 44rem);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 86px 16px 112px;
  }

  .logo-wrap {
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 19rem);
    justify-content: center;
  }

  .logo-name {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.62rem;
  }

  .hero-content {
    width: 100%;
    border-radius: 18px;
    padding: 1.45rem 1.1rem 1.7rem;
    gap: 1.3rem;
  }

  .title {
    max-width: 13ch;
    font-size: clamp(2rem, 9.3vw, 3rem);
    line-height: 1.09;
  }

  .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 25rem);
    margin: 0.15rem auto 0;
  }

  .actions-step {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .actions-question {
    text-align: center;
    font-size: clamp(1.35rem, 6.1vw, 1.72rem);
    line-height: 1.24;
    padding: 0.7rem 0.82rem;
  }

  .flow-back-btn {
    top: 10px;
    left: 10px;
    min-height: 2.1rem;
    padding: 0 0.74rem 0 0.6rem;
    font-size: 0.86rem;
  }

  .edge-sub-btn {
    top: 10px;
    right: 10px;
    min-height: 2.1rem;
    padding: 0 0.76rem 0 0.58rem;
    font-size: 0.82rem;
  }

  .edge-sub-btn-badge {
    min-width: 1.42rem;
    height: 1.42rem;
    font-size: 0.62rem;
  }

  .action-btn {
    width: 100%;
    min-height: 3.85rem;
    padding: 0.82rem 1.1rem;
    font-size: 1.02rem;
    flex: 0 0 auto;
  }

  .action-btn.primary,
  .action-btn.temp,
  .action-btn.ghost {
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
  }

  .action-btn.ghost {
    width: 100%;
  }

  .trust {
    margin-top: 0;
    gap: 0.55rem;
    font-size: 0.82rem;
  }

  .network {
    bottom: 1rem;
    transform: translateX(-50%) scale(0.88);
  }

  .temp-guide-panel {
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .temp-guide-title {
    font-size: clamp(2.2rem, 9vw, 2.95rem);
    line-height: 1.1;
    text-align: center;
  }

  .temp-guide-text {
    max-width: 34rem;
    font-size: clamp(1.42rem, 5vw, 1.82rem);
    line-height: 1.56;
    text-align: center;
  }

  .temp-guide-card-title {
    font-size: clamp(1.46rem, 5.1vw, 1.95rem);
    text-align: center;
  }

  .temp-guide-card-text {
    font-size: clamp(1.18rem, 4.2vw, 1.42rem);
    text-align: center;
  }

  .temp-guide-checkpoint {
    font-size: clamp(1.16rem, 3.9vw, 1.32rem);
    text-align: center;
  }

  .temp-guide-checkpoint-text {
    text-align: center;
  }

  .temp-guide-checkpoint-hint {
    font-size: 1.12rem;
    text-align: center;
  }

  .temp-guide-action {
    font-size: clamp(1.14rem, 4.1vw, 1.3rem);
  }

  .temp-guide-action.is-download {
    min-height: 56px;
    border-radius: 14px;
    font-size: 14px;
  }

  .temp-guide-nav {
    font-size: 1.06rem;
  }
}

@media (max-width: 460px) {
  .logo-wrap {
    width: calc(100% - 24px);
  }

  .logo-badge {
    width: 46px;
    height: 46px;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .network {
    opacity: 0.3;
    transform: translateX(-50%) scale(0.8);
  }

  .temp-guide-stage {
    inset: 6px;
    border-radius: 16px;
  }

  .temp-guide-panel {
    padding: 20px 12px 16px;
    gap: 0.95rem;
  }

  .temp-guide-panel::before {
    width: 64px;
    height: 3px;
  }

  .temp-guide-title {
    font-size: 2.2rem;
    line-height: 1.14;
  }

  .temp-guide-text {
    max-width: 100%;
    font-size: 1.38rem;
    line-height: 1.54;
  }

  .temp-guide-card-title {
    font-size: 1.48rem;
  }

  .temp-guide-card-text {
    font-size: 1.24rem;
  }

  .temp-guide-checkpoint {
    min-height: 3.55rem;
    padding: 0.82rem 0.9rem;
    font-size: clamp(1.02rem, 4.35vw, 1.16rem);
  }

  .temp-guide-nav {
    min-height: 2.75rem;
    font-size: 1.05rem;
  }

  .temp-guide-action {
    min-height: 3.35rem;
    font-size: 1.14rem;
  }

  .download-modal-card {
    width: min(95vw, 440px);
    border-radius: 20px;
    padding: 16px;
  }

  .guide-platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 760px) and (min-width: 769px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-content {
    padding-top: 1.1rem;
    padding-bottom: 1.3rem;
    gap: 0.85rem;
  }

  .title {
    font-size: clamp(1.8rem, 4.9vw, 3.2rem);
  }

  .action-btn {
    min-height: 3.3rem;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 0.28;
  }
}

@keyframes tempSubLoaderSpin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes tempSubLoaderCorePulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.92);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes tempSubLoaderWave {
  0% {
    opacity: 0.7;
    transform: scale(0.84);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes promoFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes promoPop {
  from {
    opacity: 0;
    transform: translate(-50%, -44%) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes platformGlowPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
