.cr-page {
  background: #040716;
  color: #fff;
  overflow: hidden;
}

body.cr-active {
  background: #040716;
  overflow: hidden;
}

body.cr-active .header-top-news,
body.cr-active .rainbow-header,
body.cr-active .header-default,
body.cr-active .my_switcher,
body.cr-active .rainbow-footer,
body.cr-active .copyright-area,
body.cr-active .rbt-progress-parent,
body.cr-active .popup-mobile-menu {
  display: none !important;
}

body.cr-active .page-wrapper {
  background: #040716;
  padding: 0;
  margin: 0;
}

.cr-page {
  position: relative;
  height: 100vh;
  min-height: 680px;
  background: radial-gradient(1200px 800px at 25% 20%, rgba(0, 229, 200, 0.16), transparent 60%),
    radial-gradient(900px 700px at 70% 30%, rgba(255, 77, 210, 0.12), transparent 62%),
    radial-gradient(1100px 900px at 55% 80%, rgba(157, 78, 221, 0.12), transparent 60%),
    #040716;
  overflow: hidden;
  user-select: none;
}

.cr-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

#cr-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.cr-glow {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 30% 35%, rgba(0, 229, 200, 0.16), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(255, 77, 210, 0.12), transparent 62%),
    radial-gradient(circle at 55% 80%, rgba(61, 165, 247, 0.11), transparent 60%);
  filter: blur(36px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.cr-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.cr-topbar {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 229, 200, 0.14);
  border-radius: 18px;
  background: rgba(6, 10, 24, 0.55);
  backdrop-filter: blur(12px);
}

.cr-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: rgba(0, 229, 200, 0.08);
  border: 1px solid rgba(0, 229, 200, 0.12);
}

.cr-back:hover {
  background: rgba(0, 229, 200, 0.12);
}

.cr-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cr-brand strong {
  letter-spacing: 0.12em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

.cr-brand span {
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(167, 215, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-counter {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(0, 229, 200, 0.9);
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0, 229, 200, 0.06);
  border: 1px solid rgba(0, 229, 200, 0.12);
}

.cr-help {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(61, 165, 247, 0.14);
  border-radius: 18px;
  background: rgba(6, 10, 24, 0.55);
  backdrop-filter: blur(12px);
  max-width: 320px;
}

.cr-help .row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.cr-help kbd {
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.cr-help.is-dim {
  opacity: 0.72;
}

.cr-intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  background:
    radial-gradient(900px 700px at 50% 40%, rgba(0, 229, 200, 0.14), transparent 60%),
    radial-gradient(700px 520px at 60% 45%, rgba(255, 77, 210, 0.12), transparent 62%),
    rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.cr-intro.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.cr-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 200, 0.08);
  border: 1px solid rgba(0, 229, 200, 0.14);
  color: rgba(0, 229, 200, 0.9);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.cr-intro h1 {
  margin: 0 0 12px 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 20px 60px rgba(0, 229, 200, 0.16);
}

.cr-intro p {
  margin: 0 auto 16px auto;
  max-width: 720px;
  color: rgba(235, 245, 255, 0.82);
  font-size: 15px;
  line-height: 1.55;
}

.cr-enter {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(4, 7, 22, 0.96);
  background: linear-gradient(135deg, rgba(0, 229, 200, 0.95), rgba(61, 165, 247, 0.95));
  box-shadow: 0 20px 60px rgba(0, 229, 200, 0.18);
}

.cr-enter:hover {
  transform: translateY(-1px);
}

.cr-intro-tip {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.64);
  letter-spacing: 0.04em;
}

.cr-toolbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 20px;
  border: 1px solid rgba(157, 78, 221, 0.18);
  background: rgba(6, 10, 24, 0.55);
  backdrop-filter: blur(12px);
}

.cr-tool {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 12px;
}

.cr-tool .ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 229, 200, 0.08);
  color: rgba(0, 229, 200, 0.9);
}

.cr-tool .shortcut {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  opacity: 0.75;
  margin-left: 6px;
}

.cr-tool.is-active {
  border-color: rgba(0, 229, 200, 0.28);
  background: rgba(0, 229, 200, 0.08);
}

.cr-toolbar .divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 2px;
}

.cr-audio {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 200, 0.16);
  background: rgba(6, 10, 24, 0.55);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.cr-audio.is-on {
  box-shadow: 0 18px 50px rgba(0, 229, 200, 0.16);
}

.cr-loading {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.cr-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}

.cr-loading .spinner {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(0, 229, 200, 0.9);
  animation: crspin 900ms linear infinite;
}

.cr-loading .label {
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

@media (max-width: 900px) {
  .cr-help {
    display: none;
  }
  .cr-toolbar {
    left: 18px;
    right: 18px;
    transform: none;
    width: calc(100% - 36px);
    justify-content: space-between;
  }
  .cr-tool span:not(.ico):not(.shortcut) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-loading .spinner {
    animation: none;
  }
  .cr-enter:hover {
    transform: none;
  }
}

