/* Aura cinematic intro. Transform/opacity-driven to keep compositing cheap. */
.splash {
  --intro-cyan: #66d9ff;
  --intro-blue: #258dff;
  --intro-deep-blue: #075be8;
  --intro-violet: #8b72ff;
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  contain: strict;
  isolation: isolate;
  color: #f7fbff;
  background: #010207;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.splash::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 36% at 50% 48%, rgba(29, 104, 255, 0.12), transparent 72%),
    radial-gradient(ellipse 28% 24% at 18% 18%, rgba(0, 215, 255, 0.05), transparent 70%),
    radial-gradient(ellipse 30% 26% at 82% 76%, rgba(118, 91, 255, 0.06), transparent 72%);
  filter: blur(40px);
  opacity: 0;
}

.splash.is-playing::before {
  animation: introAtmosphereWake 1.2s 1.5s ease-out both;
}

.intro-backdrop,
.intro-interface-reel,
.intro-final,
.intro-flash,
.intro-shockwave {
  position: absolute;
  inset: 0;
}

.intro-backdrop {
  z-index: 0;
  overflow: visible;
  background: #000;
}

.intro-backdrop::after {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 48% 42% at 50% 50%,
    #0a1a38 0%,
    #061027 36%,
    #02040c 62%,
    transparent 88%
  );
  filter: blur(52px);
  opacity: 0;
}

.splash.is-playing .intro-backdrop::after {
  animation: introBackdropWake 1.2s 1.5s ease-out both;
}

.intro-core-glow {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  /* Большой бокс без жёсткого clip: только мягкий градиент + blur */
  width: min(160vw, 1900px);
  height: min(110vw, 1320px);
  aspect-ratio: auto;
  border-radius: 0;
  background:
    radial-gradient(
      ellipse 42% 38% at 50% 48%,
      rgba(90, 214, 255, 0.5) 0%,
      rgba(28, 148, 255, 0.28) 26%,
      rgba(24, 82, 220, 0.12) 48%,
      rgba(10, 40, 140, 0.04) 68%,
      transparent 86%
    );
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.24);
  filter: blur(88px);
  -webkit-mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 0%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 56% at 50% 50%, #000 0%, #000 40%, transparent 78%);
  will-change: transform, opacity;
  pointer-events: none;
}

.splash.is-playing .intro-core-glow {
  animation:
    introGlowWake 1.5s ease-out both,
    introGlowBreathe 3.8s 1.5s ease-in-out infinite alternate;
}

.intro-grid {
  position: absolute;
  z-index: 1;
  inset: 43% -20% -45%;
  opacity: 0;
  background-image:
    linear-gradient(rgba(72, 146, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 146, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, transparent 88%);
  transform: perspective(560px) rotateX(66deg) translateY(22%);
  transform-origin: center top;
}

.splash.is-playing .intro-grid {
  animation:
    introGridWake 1.2s 1.5s ease-out both,
    introGridTravel 7s 2.7s linear infinite;
}

.intro-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
}

.splash.is-playing .intro-stars {
  animation: introStarsWake 1.2s 1.5s ease-out both;
}

.intro-stars i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #bceaff;
  box-shadow: 0 0 10px 2px rgba(79, 181, 255, 0.45);
  animation: introStarDrift 4.2s var(--d) ease-in-out infinite alternate;
}

.intro-interface-reel {
  z-index: 4;
  display: grid;
  place-items: center;
  perspective: 1100px;
  pointer-events: none;
}

.intro-interface {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1380px, 92vw, 138vh);
  contain: layout style;
  backface-visibility: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  transform-origin: center;
  will-change: transform, opacity;
}

.intro-interface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 25;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
}

.splash.is-playing .intro-interface--discord {
  animation: introDiscordBoot 1.2s 1.5s cubic-bezier(0.18, 0.76, 0.26, 1) both;
}

.splash.is-playing .intro-interface--discord::after {
  background: linear-gradient(
    to bottom,
    transparent 43%,
    rgba(74, 151, 255, 0.05) 47%,
    rgba(140, 205, 255, 0.72) 50%,
    rgba(74, 151, 255, 0.05) 53%,
    transparent 57%
  );
  animation: introDiscordScanner 0.62s 1.52s ease-out both;
}

.splash.is-playing .intro-interface--telegram {
  animation: introTelegramSlide 1.2s 2.5s cubic-bezier(0.2, 0.82, 0.24, 1) both;
}

.splash.is-playing .intro-interface--telegram::after {
  background: linear-gradient(
    90deg,
    transparent 30%,
    rgba(130, 107, 226, 0.05) 43%,
    rgba(176, 157, 255, 0.44) 50%,
    rgba(130, 107, 226, 0.05) 57%,
    transparent 70%
  );
  animation: introTelegramSweep 0.58s 2.5s ease-out both;
}

.splash.is-playing .intro-interface--vk {
  animation: introVkSequence 2.58s 3.5s linear both;
}

.splash.is-playing .intro-interface--aurafarm {
  animation: introAuraRise 1.58s 4.5s linear both;
}

.splash.is-playing .intro-interface--aurafarm::after {
  background: radial-gradient(circle at 50% 88%, rgba(73, 191, 255, 0.3), transparent 38%);
  transform-origin: 50% 88%;
  animation: introAuraCharge 0.72s 4.5s ease-out both;
}

.intro-interface__tag {
  position: absolute;
  top: -38px;
  left: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(225, 239, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(78, 164, 255, 0.5);
}

.intro-interface__tag span {
  display: grid;
  width: 27px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(120, 190, 255, 0.4);
  border-radius: 6px;
  color: #90d8ff;
  font-size: 10px;
  letter-spacing: 0;
}

.intro-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  contain: layout paint;
  overflow: hidden;
  border: 1px solid rgba(146, 202, 255, 0.22);
  border-radius: 20px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 64px rgba(30, 102, 255, 0.12);
}

.intro-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.045) 49%, transparent 64%);
  opacity: 0.55;
}

/* Discord mockup */
.intro-frame--discord {
  display: grid;
  grid-template-columns: 7.5% 23% minmax(0, 1fr) 18.5%;
  grid-template-rows: 10.5% 1fr;
  gap: 1px;
  padding: 7px;
  color: #dbdee1;
  background: #111214;
  border-color: rgba(137, 146, 255, 0.3);
}

.intro-dc-topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr minmax(150px, 31%) 1fr;
  align-items: center;
  min-width: 0;
  padding: 0 14px;
  border-radius: 11px 11px 5px 5px;
  background: #17181b;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.035);
}

.intro-dc-location {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.intro-dc-location > i {
  position: relative;
  width: 19px;
  height: 17px;
  border-radius: 6px;
  background: #5865f2;
  box-shadow: 0 0 13px rgba(88, 101, 242, 0.42);
}

.intro-dc-location > i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #fff;
  border-top-width: 1px;
  border-radius: 50%;
}

.intro-dc-location > b {
  overflow: hidden;
  color: #f2f3f5;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-dc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 8px;
  color: #949ba4;
  background: #25262b;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.intro-dc-search > i {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1.5px solid #949ba4;
  border-radius: 50%;
}

.intro-dc-search > i::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  height: 1.5px;
  border-radius: 2px;
  background: #949ba4;
  transform: rotate(45deg);
}

.intro-dc-search > span {
  font-size: 9px;
}

.intro-dc-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.intro-dc-top-actions > i {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: #949ba4;
  opacity: 0.78;
}

.intro-dc-top-actions > i:nth-child(2) {
  border-radius: 50%;
}

.intro-dc-top-actions > i:nth-child(3) {
  background: #5865f2;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.45);
}

.intro-dc-rail {
  grid-row: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  padding: 12px 7px;
  border-radius: 7px 4px 4px 12px;
  background: #17181b;
}

.intro-dc-rail i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #f4f5ff;
  background: #292a30;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.intro-dc-rail > span {
  width: 25px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-dc-rail i.is-home {
  position: relative;
  border-radius: 13px;
  background: #5865f2;
  box-shadow: 0 0 17px rgba(88, 101, 242, 0.3);
}

.intro-dc-rail i.is-home b {
  width: 16px;
  height: 10px;
  border: 3px solid white;
  border-top-width: 2px;
  border-radius: 50% 50% 42% 42%;
}

.intro-dc-rail i.is-server {
  color: #dfe5ff;
  background: linear-gradient(145deg, #694bdc, #3d62d9);
}

.intro-dc-rail i.is-server-alt {
  color: #ffe7f4;
  background: linear-gradient(145deg, #bd4779, #6e3f9e);
}

.intro-dc-rail i.is-add {
  color: #38c477;
  background: #222d29;
  font-size: 18px;
  font-weight: 400;
}

.intro-dc-nav {
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0 7px 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #1e1f22;
}

.intro-dc-nav > header {
  display: flex;
  align-items: center;
  min-height: 45px;
  margin: 0 -7px 8px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-dc-nav > header b {
  overflow: hidden;
  color: #f2f3f5;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-dc-nav > header i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.5px solid #b5bac1;
  border-bottom: 1.5px solid #b5bac1;
  transform: rotate(45deg) translateY(-2px);
}

.intro-dc-channel-title {
  display: flex;
  align-items: center;
  padding: 8px 7px 5px;
  color: #949ba4;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.045em;
}

.intro-dc-channel-title b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 450;
}

.intro-dc-channel {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  color: #949ba4;
  font-size: 10px;
  font-weight: 560;
}

.intro-dc-channel.is-active {
  color: #f2f3f5;
  background: #34353a;
}

.intro-dc-channel strong {
  color: #80848e;
  font-size: 17px;
  font-weight: 450;
}

.intro-dc-channel i {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: #5865f2;
  box-shadow: 0 0 7px #5865f2;
}

.intro-dc-voice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 1px 7px;
  padding: 9px;
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.08);
}

.intro-dc-voice > i {
  width: 8px;
  height: 8px;
  border: 2px solid #23a559;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(35, 165, 89, 0.7);
}

.intro-dc-voice > span,
.intro-dc-nav > footer > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.intro-dc-voice b,
.intro-dc-nav > footer b {
  overflow: hidden;
  color: #dbdee1;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-dc-voice em,
.intro-dc-nav > footer em {
  color: #23a559;
  font-size: 6px;
  font-style: normal;
}

.intro-dc-nav > footer {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  margin: 0 -1px;
  padding: 0 7px;
  border-radius: 8px;
  background: #17181b;
}

.intro-dc-nav > footer > i {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9f43, #e05657);
}

.intro-dc-nav > footer > i::after,
.intro-dc-members div > i::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border: 2px solid #17181b;
  border-radius: 50%;
  background: #23a559;
}

.intro-dc-nav > footer > i {
  position: relative;
}

.intro-dc-nav > footer strong {
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-radius: 3px;
  background: #949ba4;
  opacity: 0.7;
}

.intro-dc-nav > footer strong + strong {
  margin-left: 1px;
}

.intro-dc-chat {
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #1a1a1e;
}

.intro-dc-chat > header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 14px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: #1a1a1e;
}

.intro-dc-chat > header > strong {
  color: #80848e;
  font-size: 19px;
  font-weight: 450;
}

.intro-dc-chat > header > b {
  color: #f2f3f5;
  font-size: 11px;
}

.intro-dc-chat > header > span {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-dc-chat > header > em {
  overflow: hidden;
  color: #949ba4;
  font-size: 8px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-dc-chat > header > div {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.intro-dc-chat > header > div i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #b5bac1;
  opacity: 0.68;
}

.intro-dc-history {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 16px 18px 12px;
  overflow: hidden;
}

.intro-dc-welcome {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 4px;
}

.intro-dc-welcome > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3f4148;
  font-size: 22px;
  font-style: normal;
}

.intro-dc-welcome > b {
  color: #f2f3f5;
  font-size: 13px;
}

.intro-dc-welcome > span {
  color: #949ba4;
  font-size: 8px;
}

.intro-dc-message {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.intro-dc-message > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 760;
}

.intro-dc-message > i.is-purple,
.intro-dc-members i.is-purple {
  background: linear-gradient(145deg, #895cff, #5742ad);
}

.intro-dc-message > i.is-blue,
.intro-dc-members i.is-blue {
  background: linear-gradient(145deg, #4db7ff, #3960d8);
}

.intro-dc-message > i.is-orange,
.intro-dc-members i.is-orange {
  background: linear-gradient(145deg, #ffae4f, #db5858);
}

.intro-dc-message > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-dc-message b,
.intro-dc-message em {
  color: #f2f3f5;
  font-size: 8px;
  font-style: normal;
}

.intro-dc-message b time {
  margin-left: 6px;
  color: #717781;
  font-size: 6px;
  font-weight: 450;
}

.intro-dc-message em {
  color: #b5bac1;
  line-height: 1.35;
}

.intro-dc-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 0 14px 12px;
  padding: 0 11px;
  border-radius: 8px;
  color: #6d737d;
  background: #25262b;
}

.intro-dc-composer > i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: #25262b;
  background: #949ba4;
  font-size: 13px;
  font-style: normal;
}

.intro-dc-composer > span {
  font-size: 8px;
}

.intro-dc-composer > div {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.intro-dc-composer b {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #949ba4;
  opacity: 0.68;
}

.intro-dc-composer b:last-child {
  border-radius: 50%;
}

.intro-dc-members {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px 9px;
  overflow: hidden;
  border-radius: 4px 7px 12px 4px;
  background: #1e1f22;
}

.intro-dc-members > b {
  margin: 6px 6px 4px;
  color: #80848e;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.intro-dc-members > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 0 5px;
  border-radius: 7px;
  color: #b5bac1;
  font-size: 8px;
}

.intro-dc-members div > i {
  position: relative;
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3f4148;
  font-size: 7px;
  font-style: normal;
  font-weight: 720;
}

.intro-dc-members i.is-green {
  background: linear-gradient(145deg, #36bd7a, #197b66);
}

.intro-dc-members div > span {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-dc-members div > span em {
  position: absolute;
  right: -8px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f23f42;
}

.intro-dc-members > div.is-offline {
  opacity: 0.34;
}

/* Telegram mockup */
.intro-frame--telegram {
  display: grid;
  grid-template-columns: 35% 1fr;
  color: #1d2733;
  background: #d9e5df;
  border-color: rgba(70, 172, 226, 0.4);
}

.intro-tg-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #d9e0e7;
  background: #fff;
}

.intro-tg-list-head {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 55px;
  padding: 0 13px;
}

.intro-tg-list-head > i {
  position: relative;
  width: 18px;
  height: 12px;
  border-top: 2px solid #707d89;
  border-bottom: 2px solid #707d89;
}

.intro-tg-list-head > i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 2px;
  background: #707d89;
}

.intro-tg-list-head > div {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 31px;
  flex: 1;
  padding: 0 11px;
  border-radius: 18px;
  color: #85939f;
  background: #f1f3f5;
}

.intro-tg-list-head > div > b {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1.5px solid #87949f;
  border-radius: 50%;
}

.intro-tg-list-head > div > b::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  height: 1.5px;
  background: #87949f;
  transform: rotate(45deg);
}

.intro-tg-list-head > div > span {
  font-size: 9px;
}

.intro-tg-folders {
  display: flex;
  gap: 3px;
  min-height: 32px;
  padding: 0 9px;
  overflow: hidden;
  border-bottom: 1px solid #edf0f2;
}

.intro-tg-folders > span {
  position: relative;
  display: grid;
  min-width: 45px;
  height: 29px;
  place-items: center;
  color: #6d7c88;
  font-size: 8px;
  font-weight: 610;
  white-space: nowrap;
}

.intro-tg-folders > span.is-active {
  color: #3390ec;
}

.intro-tg-folders > span.is-active::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 5px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: #3390ec;
}

.intro-tg-stories {
  display: flex;
  gap: 9px;
  min-height: 51px;
  padding: 9px 12px 4px;
  overflow: hidden;
}

.intro-tg-stories > i {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  outline: 2px solid #3390ec;
  color: #fff;
  background: linear-gradient(145deg, #56c7ec, #4d62dc);
  font-size: 7px;
  font-style: normal;
  font-weight: 720;
}

.intro-tg-stories > i:nth-child(2) {
  background: linear-gradient(145deg, #ff9472, #d95a84);
}

.intro-tg-stories > i:nth-child(3) {
  background: linear-gradient(145deg, #8b78ef, #d05aab);
}

.intro-tg-stories > i:nth-child(4) {
  background: linear-gradient(145deg, #43c992, #248fb2);
}

.intro-tg-stories > i:nth-child(5) {
  background: linear-gradient(145deg, #ffc45c, #ef7666);
}

.intro-tg-list > .intro-tg-peer {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 9px;
  min-height: 55px;
  margin: 0 6px;
  padding: 4px 7px;
  border-radius: 11px;
}

.intro-tg-list > .intro-tg-peer.is-selected {
  color: #fff;
  background: #3390ec;
  box-shadow: 0 7px 19px rgba(51, 144, 236, 0.2);
}

.intro-tg-peer > i {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #4db7ef, #706df1);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
}

.intro-tg-peer > i.is-coral {
  background: linear-gradient(145deg, #ff9b70, #e65577);
}

.intro-tg-peer > i.is-violet {
  background: linear-gradient(145deg, #9f7aff, #6650ca);
}

.intro-tg-peer > i.is-green {
  background: linear-gradient(145deg, #48c994, #278aa6);
}

.intro-tg-peer > i.is-gold {
  background: linear-gradient(145deg, #ffbd4c, #ee7661);
}

.intro-tg-peer > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.intro-tg-peer > span b,
.intro-tg-peer > span em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-tg-peer > span b {
  color: #1f2b35;
  font-size: 9px;
}

.intro-tg-peer > span em {
  color: #81909c;
  font-size: 7px;
  font-style: normal;
}

.intro-tg-peer.is-selected > span b,
.intro-tg-peer.is-selected > span em,
.intro-tg-peer.is-selected > time {
  color: #fff;
}

.intro-tg-peer > time {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
  padding-top: 7px;
  color: #95a1ab;
  font-size: 6px;
}

.intro-tg-peer > time strong {
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  place-items: center;
  border-radius: 9px;
  color: #3390ec;
  background: #fff;
  font-size: 6px;
}

.intro-tg-chat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #d9e5df;
}

.intro-tg-chat-head {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 55px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(121, 145, 157, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 6px rgba(48, 73, 85, 0.08);
}

.intro-tg-chat-head > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #4db7ef, #706df1);
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}

.intro-tg-chat-head > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-tg-chat-head > span b {
  color: #1d2733;
  font-size: 10px;
}

.intro-tg-chat-head > span em {
  color: #3390ec;
  font-size: 7px;
  font-style: normal;
}

.intro-tg-chat-head > div {
  display: flex;
  gap: 17px;
  margin-left: auto;
}

.intro-tg-chat-head > div i {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid #7c8b97;
  border-radius: 50%;
  opacity: 0.78;
}

.intro-tg-chat-head > div i:nth-child(2) {
  border: 0;
  border-radius: 6px;
  background: #7c8b97;
  clip-path: polygon(18% 0, 47% 22%, 70% 50%, 100% 80%, 78% 100%, 42% 72%, 18% 42%, 0 17%);
}

.intro-tg-chat-head > div i:nth-child(3) {
  width: 4px;
  border: 0;
  border-radius: 50%;
  background: #7c8b97;
  box-shadow: 0 -6px #7c8b97, 0 6px #7c8b97;
}

.intro-tg-history {
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 18px 42px 9px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(65, 129, 110, 0.095) 0 3px, transparent 4px),
    radial-gradient(circle at 84% 32%, rgba(65, 129, 110, 0.08) 0 4px, transparent 5px),
    radial-gradient(circle at 35% 76%, rgba(65, 129, 110, 0.075) 0 5px, transparent 6px),
    linear-gradient(34deg, transparent 48%, rgba(83, 146, 126, 0.055) 49% 51%, transparent 52%),
    #d9e5df;
  background-size: 94px 84px, 122px 112px, 150px 126px, 75px 75px, auto;
}

.intro-tg-history > time {
  align-self: center;
  padding: 4px 8px;
  border-radius: 9px;
  color: #fff;
  background: rgba(91, 123, 128, 0.56);
  box-shadow: 0 1px 2px rgba(24, 53, 67, 0.12);
  font-size: 6px;
  font-weight: 680;
}

.intro-tg-message {
  position: relative;
  align-self: flex-start;
  display: flex;
  max-width: 70%;
  min-width: 32%;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px 6px;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 53, 67, 0.16);
}

.intro-tg-message > span {
  color: #24323d;
  font-size: 8px;
  line-height: 1.35;
}

.intro-tg-message > small {
  align-self: flex-end;
  color: #8a989f;
  font-size: 5px;
}

.intro-tg-message > small b {
  margin-left: 2px;
  color: #4ca6df;
}

.intro-tg-message.is-me {
  align-self: flex-end;
  border-radius: 12px 12px 4px;
  background: #e2ffc7;
}

.intro-tg-message.is-short {
  min-width: 27%;
}

.intro-tg-message.is-photo {
  width: 47%;
  padding: 4px;
}

.intro-tg-message.is-photo > i {
  width: 100%;
  height: 39px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 71% 33%, rgba(255, 255, 255, 0.85) 0 6px, transparent 7px),
    linear-gradient(155deg, transparent 52%, rgba(9, 87, 130, 0.35) 53%),
    linear-gradient(25deg, transparent 50%, rgba(54, 145, 154, 0.48) 51%),
    linear-gradient(145deg, #76c9e8, #5e7fcf);
}

.intro-tg-message.is-photo > span,
.intro-tg-message.is-photo > small {
  margin-right: 5px;
  margin-left: 5px;
}

.intro-tg-composer {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 11px;
  background: rgba(217, 229, 223, 0.9);
}

.intro-tg-composer > i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #7e8d98;
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 51% 85%, 27% 100%, 29% 85%, 15% 85%);
}

.intro-tg-composer > span {
  display: flex;
  align-items: center;
  height: 34px;
  flex: 1;
  padding: 0 13px;
  border-radius: 18px;
  color: #8b989f;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 53, 67, 0.13);
  font-size: 8px;
}

.intro-tg-composer > div {
  display: flex;
  gap: 8px;
  margin-left: -43px;
}

.intro-tg-composer > div b {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #87949e;
  opacity: 0.7;
}

.intro-tg-composer > div b:last-child {
  border-radius: 50%;
}

.intro-tg-composer > strong {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  border-radius: 50%;
  background: #3390ec;
  box-shadow: 0 5px 14px rgba(51, 144, 236, 0.25);
}

.intro-tg-composer > strong::after {
  content: "";
  display: block;
  width: 8px;
  height: 14px;
  margin: 8px auto;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

/* VK mockup */
.intro-frame--vk {
  display: grid;
  grid-template-columns: 18% 29% 1fr;
  grid-template-rows: 11% 1fr;
  color: #19191a;
  background: #f0f2f5;
}

.intro-vk-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 21px;
  border-bottom: 1px solid #e1e3e6;
  background: #fff;
}

.intro-vk-topbar > strong {
  display: grid;
  width: 39px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #0077ff;
  font-size: 15px;
  font-style: italic;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.intro-vk-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 25%;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: #edeef0;
}

.intro-vk-search i {
  width: 10px;
  height: 10px;
  border: 2px solid #818c99;
  border-radius: 50%;
}

.intro-vk-search span {
  width: 58%;
  height: 6px;
  border-radius: 4px;
  background: #aeb7c2;
}

.intro-vk-top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.intro-vk-top-actions i {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: #99a2ad;
}

.intro-vk-top-actions b {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: linear-gradient(145deg, #55a7ff, #736ce8);
}

.intro-vk-global {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 13px;
  border-right: 1px solid #e1e3e6;
  background: #f5f6f8;
}

.intro-vk-global > b {
  width: 62%;
  height: 22px;
  margin: 0 0 8px 7px;
  border-radius: 8px;
  background: #e5e9ee;
}

.intro-vk-global > span {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 31px;
  padding: 0 8px;
  border-radius: 7px;
}

.intro-vk-global > span.is-active {
  background: #e5ebf1;
}

.intro-vk-global i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #2688eb;
  opacity: 0.82;
}

.intro-vk-global em {
  width: 68%;
  height: 5px;
  border-radius: 3px;
  background: #7d8b99;
  opacity: 0.78;
}

.intro-vk-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 13px 9px;
  border-right: 1px solid #e1e3e6;
  background: #fff;
}

.intro-vk-list > header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0 7px;
}

.intro-vk-list > header strong {
  font-size: 15px;
  font-weight: 700;
}

.intro-vk-list > header i {
  width: 14px;
  height: 14px;
  margin-left: auto;
  border-radius: 4px;
  background: #99a2ad;
}

.intro-vk-list > header i + i {
  margin-left: 2px;
}

.intro-vk-list > nav {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 5px 7px;
  overflow: hidden;
}

.intro-vk-list > nav span {
  display: inline-flex;
  min-width: 0;
  height: 22px;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #6d7885;
  background: #f2f3f5;
  font-size: 8px;
  white-space: nowrap;
}

.intro-vk-list > nav span.is-active {
  color: #2688eb;
  background: #e9f3ff;
}

.intro-vk-list > .intro-vk-peer {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  min-height: 53px;
  padding: 4px 8px;
  border-radius: 9px;
}

.intro-vk-list > .intro-vk-peer.is-selected {
  background: #eaf3fc;
}

.intro-vk-peer > i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7474, #8059db);
}

.intro-vk-peer:nth-of-type(2) > i {
  background: linear-gradient(145deg, #40bd8f, #168acf);
}

.intro-vk-peer:nth-of-type(3) > i {
  background: linear-gradient(145deg, #ffb45d, #ec6175);
}

.intro-vk-peer:nth-of-type(4) > i {
  background: linear-gradient(145deg, #66a8ff, #575bd9);
}

.intro-vk-peer > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.intro-vk-peer b,
.intro-vk-peer em {
  display: block;
  height: 5px;
  border-radius: 3px;
}

.intro-vk-peer b {
  width: 56%;
  background: #333;
}

.intro-vk-peer em {
  width: 84%;
  background: #aeb7c2;
}

.intro-vk-peer time {
  align-self: start;
  width: 18px;
  height: 4px;
  margin-top: 7px;
  border-radius: 3px;
  background: #b8c1cc;
}

.intro-vk-chat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
}

.intro-vk-chat > header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 17px;
  border-bottom: 1px solid #e1e3e6;
}

.intro-vk-chat > header > i {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: linear-gradient(145deg, #58a7ff, #6b61df);
}

.intro-vk-chat > header > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intro-vk-chat > header b,
.intro-vk-chat > header em {
  display: block;
  height: 5px;
  border-radius: 3px;
}

.intro-vk-chat > header b {
  width: 76px;
  background: #333;
}

.intro-vk-chat > header em {
  width: 48px;
  background: #8f9aa7;
}

.intro-vk-chat > header > div {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.intro-vk-chat > header > div i {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: #2688eb;
  opacity: 0.78;
}

.intro-vk-history {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 21px 30px 14px;
  background: #fff;
}

.intro-vk-history > time {
  align-self: center;
  width: 42px;
  height: 17px;
  border-radius: 9px;
  background: #f0f2f5;
}

.intro-vk-message {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  width: 69%;
}

.intro-vk-message > i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7474, #8059db);
}

.intro-vk-message > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 31px;
  padding: 9px 11px;
  border-radius: 12px 12px 12px 4px;
  background: #f0f2f5;
}

.intro-vk-message.is-own {
  align-self: flex-end;
  display: block;
  width: 55%;
}

.intro-vk-message.is-own > span {
  border-radius: 12px 12px 4px;
  background: #e5effb;
}

.intro-vk-message b,
.intro-vk-message em {
  display: block;
  height: 5px;
  border-radius: 3px;
}

.intro-vk-message b {
  width: 34%;
  background: #2688eb;
}

.intro-vk-message em {
  width: 82%;
  background: #9da8b3;
}

.intro-vk-message em + em {
  width: 57%;
}

.intro-vk-message > span.is-sticker {
  position: relative;
  width: 58px;
  height: 55px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 44%, #ffdc69 0 24%, #4d99f7 25% 52%, transparent 53%);
}

.intro-vk-message > span.is-sticker::before,
.intro-vk-message > span.is-sticker::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #292f3a;
}

.intro-vk-message > span.is-sticker::before {
  left: 20px;
}

.intro-vk-message > span.is-sticker::after {
  right: 20px;
}

.intro-vk-chat > footer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0 18px 12px;
  padding: 0 12px;
  border: 1px solid #dce1e6;
  border-radius: 12px;
  background: #fff;
}

.intro-vk-chat > footer i,
.intro-vk-chat > footer b,
.intro-vk-chat > footer em {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: #99a2ad;
}

.intro-vk-chat > footer span {
  width: 45%;
  height: 5px;
  border-radius: 3px;
  background: #c4cbd3;
}

.intro-vk-chat > footer b {
  margin-left: auto;
}

.intro-vk-chat > footer em {
  border-radius: 50%;
  background: #2688eb;
}

/* Dark Telegram and VK reference pass */
.intro-frame--telegram {
  grid-template-columns: 34% 1fr;
  color: #f2f2f2;
  background: #050505;
  border-color: rgba(126, 116, 206, 0.34);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 58px rgba(116, 90, 213, 0.12);
}

.intro-frame--telegram .intro-tg-list {
  border-color: #303030;
  background: #242424;
}

.intro-frame--telegram .intro-tg-list-head {
  min-height: 50px;
  padding: 0 12px;
  background: #242424;
}

.intro-frame--telegram .intro-tg-list-head > i {
  border-color: #aaa;
}

.intro-frame--telegram .intro-tg-list-head > i::after {
  background: #aaa;
}

.intro-frame--telegram .intro-tg-list-head > div {
  height: 31px;
  color: #9b9b9b;
  background: #343434;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.intro-frame--telegram .intro-tg-list-head > div > b {
  border-color: #9b9b9b;
}

.intro-frame--telegram .intro-tg-list-head > div > b::after {
  background: #9b9b9b;
}

.intro-frame--telegram .intro-tg-folders {
  gap: 5px;
  min-height: 34px;
  padding: 0 10px;
  border-color: #303030;
  background: #242424;
}

.intro-frame--telegram .intro-tg-folders > span {
  min-width: max-content;
  height: 31px;
  padding: 0 8px;
  color: #a4a4a4;
  font-size: 7px;
}

.intro-frame--telegram .intro-tg-folders > span b {
  display: inline-grid;
  min-width: 13px;
  height: 13px;
  margin-left: 3px;
  place-items: center;
  border-radius: 7px;
  color: #c8c8c8;
  background: #4a4a4a;
  font-size: 5px;
}

.intro-frame--telegram .intro-tg-folders > span.is-active {
  color: #a995ff;
}

.intro-frame--telegram .intro-tg-folders > span.is-active::after {
  right: 4px;
  left: 4px;
  background: #8d78e7;
}

.intro-frame--telegram .intro-tg-stories {
  display: none;
}

.intro-frame--telegram .intro-tg-list > .intro-tg-peer {
  grid-template-columns: 39px minmax(0, 1fr) 35px;
  gap: 9px;
  min-height: 52px;
  margin: 0 5px;
  padding: 3px 7px;
  border-radius: 9px;
  color: #e8e8e8;
}

.intro-frame--telegram .intro-tg-list > .intro-tg-peer.is-selected {
  color: #fff;
  background: #303030;
  box-shadow:
    inset 2px 0 #8b76de,
    0 4px 14px rgba(0, 0, 0, 0.12);
}

.intro-frame--telegram .intro-tg-peer > i {
  width: 39px;
  height: 39px;
  color: #fff;
  background: linear-gradient(145deg, #676767, #444);
}

.intro-frame--telegram .intro-tg-peer > i.is-blue {
  background: linear-gradient(145deg, #58a8ef, #3978bd);
}

.intro-frame--telegram .intro-tg-peer > i.is-cyan {
  background: linear-gradient(145deg, #42bbed, #2982c8);
}

.intro-frame--telegram .intro-tg-peer > span b {
  color: #f2f2f2;
  font-size: 8px;
}

.intro-frame--telegram .intro-tg-peer > span em {
  color: #a2a2a2;
  font-size: 6px;
}

.intro-frame--telegram .intro-tg-peer.is-selected > span b {
  color: #fff;
}

.intro-frame--telegram .intro-tg-peer.is-selected > span em,
.intro-frame--telegram .intro-tg-peer.is-selected > time {
  color: #aaa;
}

.intro-frame--telegram .intro-tg-peer > time {
  color: #858585;
}

.intro-frame--telegram .intro-tg-peer > time strong {
  min-width: 19px;
  color: #fff;
  background: #696969;
}

.intro-frame--telegram .intro-tg-chat {
  background: #050505;
}

.intro-frame--telegram .intro-tg-chat-head {
  min-height: 50px;
  margin: 0 8px;
  padding: 0 12px;
  border-color: #303030;
  border-radius: 0 0 9px 9px;
  background: rgba(31, 31, 31, 0.96);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.intro-frame--telegram .intro-tg-chat-head > i {
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #ffac45, #e35b35);
}

.intro-frame--telegram .intro-tg-chat-head > span b {
  color: #f3f3f3;
}

.intro-frame--telegram .intro-tg-chat-head > span em {
  color: #9a9a9a;
}

.intro-frame--telegram .intro-tg-chat-head > div i {
  border-color: #aaa;
}

.intro-frame--telegram .intro-tg-chat-head > div i:nth-child(2),
.intro-frame--telegram .intro-tg-chat-head > div i:nth-child(3) {
  background: #aaa;
}

.intro-frame--telegram .intro-tg-history {
  gap: 8px;
  padding: 14px 12% 8px;
  background-color: #050505;
  background-image:
    radial-gradient(circle at 20% 30%, transparent 0 5px, rgba(129, 104, 179, 0.12) 5.5px 6.5px, transparent 7px),
    radial-gradient(circle at 75% 64%, transparent 0 4px, rgba(129, 104, 179, 0.1) 4.5px 5.5px, transparent 6px),
    linear-gradient(35deg, transparent 46%, rgba(129, 104, 179, 0.055) 47% 49%, transparent 50%),
    linear-gradient(145deg, transparent 46%, rgba(129, 104, 179, 0.04) 47% 49%, transparent 50%);
  background-size: 76px 76px, 91px 91px, 58px 58px, 72px 72px;
}

.intro-frame--telegram .intro-tg-history > time {
  color: #c9c9c9;
  background: rgba(37, 37, 37, 0.92);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.36);
}

.intro-frame--telegram .intro-tg-message {
  color: #f2f2f2;
  background: #212121;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.36);
}

.intro-frame--telegram .intro-tg-message > span {
  color: #eee;
}

.intro-frame--telegram .intro-tg-message > small {
  color: #8c8c8c;
}

.intro-frame--telegram .intro-tg-message > small b {
  color: #cfbeff;
}

.intro-frame--telegram .intro-tg-message.is-me {
  background: linear-gradient(135deg, #8069d1, #8d76dc);
}

.intro-frame--telegram .intro-tg-message.is-me > small {
  color: rgba(255, 255, 255, 0.68);
}

.intro-frame--telegram .intro-tg-message.is-photo {
  width: 54%;
  padding: 4px 4px 7px;
  border-radius: 10px 10px 10px 3px;
}

.intro-frame--telegram .intro-tg-message.is-photo > i {
  height: 112px;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(12, 12, 12, 0.42) 50%, transparent 50.5%),
    radial-gradient(circle at 27% 48%, transparent 0 10px, rgba(255, 255, 255, 0.86) 11px 12px, transparent 13px),
    radial-gradient(circle at 73% 48%, transparent 0 10px, rgba(255, 255, 255, 0.86) 11px 12px, transparent 13px),
    linear-gradient(105deg, rgba(53, 32, 27, 0.58), rgba(175, 100, 72, 0.66) 49%, rgba(116, 63, 49, 0.58) 50%, rgba(178, 110, 87, 0.62));
  filter: saturate(0.7);
}

.intro-frame--telegram .intro-tg-composer {
  min-height: 44px;
  padding: 5px 10px;
  background: #050505;
}

.intro-frame--telegram .intro-tg-composer > span {
  height: 33px;
  color: #929292;
  background: #222;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.intro-frame--telegram .intro-tg-composer > i,
.intro-frame--telegram .intro-tg-composer > div b {
  background: #9a9a9a;
}

.intro-frame--telegram .intro-tg-composer > strong {
  width: 31px;
  height: 31px;
  background: #8d76e4;
  box-shadow: 0 4px 13px rgba(128, 96, 222, 0.32);
}

.intro-frame--vk {
  grid-template-columns: 18% 30% 1fr;
  grid-template-rows: 9% 1fr;
  color: #e6e6e6;
  background: #141414;
  border-color: rgba(87, 87, 87, 0.46);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 48px rgba(0, 119, 255, 0.07);
}

.intro-frame--vk .intro-vk-topbar {
  display: grid;
  grid-template-columns: 18% 21% minmax(0, 1fr) auto;
  gap: 12px;
  padding: 0 13px;
  border-color: #303030;
  background: #222;
}

.intro-frame--vk .intro-vk-topbar > strong {
  display: flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 6px;
  place-items: initial;
  border-radius: 0;
  color: #f1f1f1;
  background: none;
  font-size: 8px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0;
}

.intro-frame--vk .intro-vk-topbar > strong > i {
  display: grid;
  width: 19px;
  height: 17px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: #2787f5;
  font-size: 6px;
  font-style: normal;
  box-shadow: 0 0 9px rgba(39, 135, 245, 0.28);
}

.intro-frame--vk .intro-vk-search {
  width: auto;
  height: 27px;
  padding: 0 10px;
  background: #3b3b3b;
}

.intro-frame--vk .intro-vk-search i {
  border-color: #8f8f8f;
}

.intro-frame--vk .intro-vk-search span {
  width: auto;
  height: auto;
  color: #9d9d9d;
  background: none;
  font-size: 7px;
}

.intro-vk-player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #929292;
}

.intro-vk-player > i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #919191;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.intro-vk-player > i:first-child {
  border-radius: 50%;
  clip-path: none;
  background: #737373;
}

.intro-vk-player > span {
  overflow: hidden;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-frame--vk .intro-vk-top-actions {
  gap: 10px;
}

.intro-frame--vk .intro-vk-top-actions i {
  width: 12px;
  height: 12px;
  background: #8c8c8c;
}

.intro-frame--vk .intro-vk-top-actions b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ad6e37, #5f432f);
  font-size: 7px;
}

.intro-frame--vk .intro-vk-global {
  gap: 1px;
  padding: 10px 7px;
  overflow: hidden;
  border-color: #282828;
  background: #181818;
}

.intro-frame--vk .intro-vk-global > span {
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 7px;
  min-height: 22px;
  padding: 0 5px;
  border-radius: 5px;
}

.intro-frame--vk .intro-vk-global > span.is-active {
  background: rgba(39, 135, 245, 0.09);
}

.intro-frame--vk .intro-vk-global i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #5ba5f4;
}

.intro-frame--vk .intro-vk-global em {
  width: auto;
  height: auto;
  overflow: hidden;
  color: #d6d6d6;
  background: none;
  font-size: 6px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 1;
}

.intro-frame--vk .intro-vk-global b {
  display: grid;
  min-width: 12px;
  height: 12px;
  place-items: center;
  border-radius: 6px;
  color: #eee;
  background: #606060;
  font-size: 5px;
}

.intro-frame--vk .intro-vk-list {
  gap: 0;
  padding: 8px 8px 7px;
  overflow: hidden;
  border-color: #2f2f2f;
  background: #242424;
}

.intro-frame--vk .intro-vk-list > header {
  gap: 8px;
  min-height: 34px;
  padding: 0 4px;
}

.intro-frame--vk .intro-vk-list > header > i {
  width: 12px;
  height: 9px;
  margin: 0;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  background: none;
}

.intro-frame--vk .intro-vk-list > header > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.intro-frame--vk .intro-vk-list > header strong {
  color: #f1f1f1;
  font-size: 8px;
}

.intro-frame--vk .intro-vk-list > header small {
  color: #828282;
  font-size: 5px;
}

.intro-frame--vk .intro-vk-list > header > b {
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-radius: 3px;
  background: #9a9a9a;
  opacity: 0.74;
}

.intro-frame--vk .intro-vk-list > header > b + b {
  margin-left: 1px;
}

.intro-frame--vk .intro-vk-list-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 9px;
  border-radius: 6px;
  color: #898989;
  background: #3a3a3a;
}

.intro-frame--vk .intro-vk-list-search > i {
  width: 8px;
  height: 8px;
  border: 1px solid #8c8c8c;
  border-radius: 50%;
}

.intro-frame--vk .intro-vk-list-search > span {
  font-size: 6px;
}

.intro-frame--vk .intro-vk-list > nav {
  gap: 4px;
  min-height: 30px;
  padding: 4px 1px;
}

.intro-frame--vk .intro-vk-list > nav span {
  height: 20px;
  padding: 0 7px;
  color: #a0a0a0;
  background: #313131;
  font-size: 6px;
}

.intro-frame--vk .intro-vk-list > nav span.is-active {
  color: #d9d9d9;
  background: #3a3a3a;
}

.intro-frame--vk .intro-vk-list > nav span b {
  display: inline;
  width: auto;
  height: auto;
  margin-left: 2px;
  color: #aaa;
  background: none;
  font-size: 5px;
}

.intro-frame--vk .intro-vk-list > nav > i {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-radius: 50%;
  background: #888;
}

.intro-frame--vk .intro-vk-list > .intro-vk-peer {
  grid-template-columns: 35px minmax(0, 1fr) 31px;
  gap: 8px;
  min-height: 47px;
  padding: 3px 5px;
  border-radius: 7px;
}

.intro-frame--vk .intro-vk-peer > i {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #c24dcd, #7241df);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.intro-frame--vk .intro-vk-peer > i.is-blue {
  background: linear-gradient(145deg, #5caaf5, #4c6cdf);
}

.intro-frame--vk .intro-vk-peer > i.is-cyan {
  background: linear-gradient(145deg, #55b9d4, #2f788e);
}

.intro-frame--vk .intro-vk-peer > i.is-dark {
  background: linear-gradient(145deg, #333, #111);
}

.intro-frame--vk .intro-vk-peer > i.is-gold {
  background: linear-gradient(145deg, #e2b348, #bd593f);
}

.intro-frame--vk .intro-vk-peer > i.is-green {
  background: linear-gradient(145deg, #58b77a, #267958);
}

.intro-frame--vk .intro-vk-peer > i.is-photo {
  background:
    linear-gradient(145deg, transparent 50%, rgba(255, 255, 255, 0.16) 51%),
    linear-gradient(135deg, #8db1c9, #476b5f);
}

.intro-frame--vk .intro-vk-peer > span {
  gap: 4px;
}

.intro-frame--vk .intro-vk-peer b,
.intro-frame--vk .intro-vk-peer em {
  display: block;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 0;
  background: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-frame--vk .intro-vk-peer b {
  color: #e9e9e9;
  font-size: 7px;
}

.intro-frame--vk .intro-vk-peer em {
  color: #9a9a9a;
  font-size: 5px;
  font-style: normal;
}

.intro-frame--vk .intro-vk-peer time {
  width: auto;
  height: auto;
  margin-top: 8px;
  color: #777;
  background: none;
  font-size: 5px;
  text-align: right;
}

.intro-frame--vk .intro-vk-peer time b {
  display: inline-grid;
  min-width: 16px;
  height: 12px;
  padding: 0 3px;
  place-items: center;
  border-radius: 6px;
  color: #e5e5e5;
  background: #5c5c5c;
  font-size: 5px;
}

.intro-frame--vk .intro-vk-list > footer {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 25px;
  margin-top: auto;
  padding: 0 3px;
  color: #9b9b9b;
  font-size: 5px;
}

.intro-frame--vk .intro-vk-list > footer > i {
  width: 9px;
  height: 9px;
  border: 1px solid #888;
  border-radius: 50%;
}

.intro-frame--vk .intro-vk-list > footer > b {
  position: relative;
  width: 19px;
  height: 10px;
  margin-left: auto;
  border-radius: 6px;
  background: #111;
}

.intro-frame--vk .intro-vk-list > footer > b::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #777;
}

.intro-frame--vk .intro-vk-chat {
  display: block;
  padding: 8px 10px;
  background: #141414;
}

.intro-vk-filter {
  width: 42%;
  min-width: 155px;
  padding: 8px;
  border: 1px solid #303030;
  border-radius: 7px;
  color: #ddd;
  background: #252525;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}

.intro-vk-filter > strong,
.intro-vk-filter > span {
  display: block;
  padding: 5px 4px;
  font-size: 6px;
}

.intro-vk-filter > strong {
  border-radius: 5px;
  background: #323232;
}

.intro-vk-filter > i {
  display: block;
  height: 1px;
  margin: 5px 3px;
  background: #383838;
}

.intro-vk-filter > div {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 2px 3px;
}

.intro-vk-filter > div > b {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #9d65dc, #5c42bd);
  font-size: 5px;
}

.intro-vk-filter > div > b.is-gold {
  background: linear-gradient(145deg, #e2b348, #bd593f);
}

.intro-vk-filter > div > b.is-photo {
  background: linear-gradient(145deg, #c39b69, #494b45);
}

.intro-vk-filter > div > b.is-dark {
  background: linear-gradient(145deg, #444, #171717);
}

.intro-vk-filter > div > em {
  overflow: hidden;
  font-size: 5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-vk-filter > div > small {
  padding: 2px 4px;
  border-radius: 6px;
  color: #eee;
  background: #5a5a5a;
  font-size: 4px;
}

/* Original Aura concept mockup */
.intro-frame--aurafarm {
  display: grid;
  grid-template-columns: 7.5% 24% minmax(0, 1fr) 19%;
  grid-template-rows: 11.5% 1fr;
  gap: 1px;
  padding: 7px;
  color: #e8f7ff;
  background:
    radial-gradient(circle at 68% 24%, rgba(30, 130, 255, 0.23), transparent 28%),
    radial-gradient(circle at 28% 77%, rgba(115, 66, 255, 0.14), transparent 31%),
    linear-gradient(135deg, #050815, #060813 54%, #0a0620);
  border-color: rgba(71, 187, 255, 0.56);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(57, 195, 255, 0.18),
    0 0 86px rgba(29, 111, 255, 0.32);
}

.intro-af-orbit {
  position: absolute;
  z-index: 0;
  top: 56%;
  left: 66%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(81, 174, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 42px rgba(64, 108, 255, 0.02),
    0 0 0 88px rgba(64, 108, 255, 0.014),
    inset 0 0 45px rgba(45, 137, 255, 0.035);
}

.intro-af-orbit::before,
.intro-af-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.intro-af-orbit::before {
  inset: 22%;
  border: 1px dashed rgba(84, 220, 255, 0.16);
  transform: rotate(-18deg);
}

.intro-af-orbit::after {
  top: 12%;
  left: 48%;
  width: 5px;
  height: 5px;
  background: #5be4ff;
  box-shadow:
    0 0 11px #5be4ff,
    -94px 123px 0 #7968ff,
    -94px 123px 12px #7968ff,
    78px 165px 0 #35bcff,
    78px 165px 12px #35bcff;
}

.intro-af-topbar {
  z-index: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr minmax(200px, 36%) 1fr;
  align-items: center;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid rgba(78, 174, 255, 0.11);
  border-radius: 11px 11px 5px 5px;
  background: rgba(7, 11, 25, 0.95);
  box-shadow: inset 0 -1px rgba(91, 199, 255, 0.06);
}

.intro-af-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.intro-af-brand > i {
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(178, 237, 255, 0.65);
  border-radius: 9px;
  background: linear-gradient(145deg, #31c1ff, #2467ef 62%, #6d4fe9);
  box-shadow: 0 0 16px rgba(43, 161, 255, 0.38);
}

.intro-af-brand > i::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid white;
  border-radius: 50%;
}

.intro-af-brand > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intro-af-brand b {
  color: #f7fdff;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.intro-af-brand em {
  color: rgba(107, 203, 255, 0.58);
  font-size: 5px;
  font-style: normal;
  letter-spacing: 0.18em;
}

.intro-af-command {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 29px;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(92, 188, 255, 0.16);
  border-radius: 9px;
  color: rgba(180, 218, 237, 0.43);
  background: rgba(19, 31, 55, 0.66);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.intro-af-command > i {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid #59ceff;
  border-radius: 50%;
}

.intro-af-command > i::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  height: 1px;
  background: #59ceff;
  transform: rotate(45deg);
}

.intro-af-command > span {
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-af-command > kbd {
  margin-left: auto;
  padding: 3px 5px;
  border: 1px solid rgba(109, 205, 255, 0.18);
  border-radius: 5px;
  color: rgba(189, 226, 244, 0.58);
  background: rgba(3, 9, 22, 0.5);
  font-family: inherit;
  font-size: 6px;
}

.intro-af-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: rgba(169, 221, 238, 0.65);
  font-size: 7px;
}

.intro-af-status > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42e6a4;
  box-shadow: 0 0 10px rgba(66, 230, 164, 0.9);
}

.intro-af-nav {
  z-index: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 13px 7px 9px;
  border: 1px solid rgba(85, 184, 255, 0.09);
  border-radius: 7px 4px 4px 12px;
  background: rgba(8, 13, 29, 0.95);
}

.intro-af-nav i {
  position: relative;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 1px solid rgba(99, 206, 255, 0.14);
  border-radius: 10px;
  background: rgba(28, 50, 84, 0.34);
  box-shadow: inset 0 0 15px rgba(69, 174, 255, 0.05);
}

.intro-af-nav i::before,
.intro-af-nav i::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(153, 218, 246, 0.68);
}

.intro-af-nav i::before {
  top: 8px;
  left: 9px;
  width: 11px;
  height: 11px;
}

.intro-af-nav i::after {
  right: 7px;
  bottom: 7px;
  width: 5px;
  height: 5px;
}

.intro-af-nav i.is-active {
  border-color: rgba(91, 229, 255, 0.8);
  background: linear-gradient(145deg, #1e9eff, #6357ff);
  box-shadow: 0 0 21px rgba(57, 166, 255, 0.42);
}

.intro-af-nav > span {
  width: 23px;
  height: 1px;
  background: rgba(110, 195, 255, 0.13);
}

.intro-af-nav > b {
  display: grid;
  width: 29px;
  height: 29px;
  margin-top: auto;
  place-items: center;
  border: 1px solid rgba(97, 201, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #f3984f, #d5527a);
  font-size: 8px;
}

.intro-af-list {
  z-index: 3;
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0 8px 8px;
  overflow: hidden;
  border: 1px solid rgba(85, 184, 255, 0.09);
  border-radius: 4px;
  background: rgba(10, 17, 35, 0.93);
}

.intro-af-list > header {
  display: flex;
  align-items: center;
  min-height: 47px;
  padding: 0 7px;
  border-bottom: 1px solid rgba(92, 187, 255, 0.08);
}

.intro-af-list > header > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.intro-af-list > header b {
  color: #edfaff;
  font-size: 10px;
}

.intro-af-list > header em {
  color: rgba(123, 198, 230, 0.5);
  font-size: 6px;
  font-style: normal;
}

.intro-af-list > header > i {
  display: grid;
  width: 21px;
  height: 21px;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(83, 209, 255, 0.35);
  border-radius: 7px;
  color: #68d5ff;
  background: rgba(35, 128, 224, 0.11);
  font-size: 13px;
  font-style: normal;
}

.intro-af-list > nav {
  display: flex;
  gap: 4px;
  padding: 8px 3px;
}

.intro-af-list > nav span {
  padding: 5px 8px;
  border-radius: 7px;
  color: rgba(144, 194, 218, 0.58);
  font-size: 6px;
}

.intro-af-list > nav span.is-active {
  color: #8ee4ff;
  background: rgba(35, 141, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(74, 196, 255, 0.12);
}

.intro-af-peer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 3px 7px;
  border-radius: 10px;
}

.intro-af-peer.is-selected {
  border: 1px solid rgba(73, 196, 255, 0.19);
  background:
    linear-gradient(90deg, rgba(34, 137, 255, 0.18), rgba(89, 67, 203, 0.1));
  box-shadow:
    inset 2px 0 #42ceff,
    0 8px 22px rgba(0, 0, 0, 0.12);
}

.intro-af-peer > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}

.intro-af-peer > i.is-cyan {
  background: linear-gradient(145deg, #3ed9ff, #345ee6);
}

.intro-af-peer > i.is-violet {
  background: linear-gradient(145deg, #9f6fff, #5740c3);
}

.intro-af-peer > i.is-pink {
  background: linear-gradient(145deg, #ff699f, #8044c5);
}

.intro-af-peer > i.is-amber {
  background: linear-gradient(145deg, #ffb64c, #e35c6a);
}

.intro-af-peer > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.intro-af-peer b,
.intro-af-peer em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intro-af-peer b {
  color: rgba(232, 248, 255, 0.88);
  font-size: 8px;
}

.intro-af-peer em {
  color: rgba(142, 189, 211, 0.52);
  font-size: 6px;
  font-style: normal;
}

.intro-af-peer time {
  align-self: start;
  padding-top: 9px;
  color: rgba(105, 189, 222, 0.45);
  font-size: 5px;
}

.intro-af-chat {
  z-index: 3;
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(85, 184, 255, 0.09);
  border-radius: 4px;
  background: rgba(6, 11, 25, 0.89);
}

.intro-af-chat > header {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(101, 192, 255, 0.1);
  background: rgba(8, 13, 27, 0.62);
}

.intro-af-chat > header > i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(130, 235, 255, 0.72);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #3ed9ff, #345ee6);
  box-shadow: 0 0 15px rgba(81, 206, 255, 0.3);
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}

.intro-af-chat > header > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.intro-af-chat > header > span b {
  color: #eafaff;
  font-size: 9px;
}

.intro-af-chat > header > span em {
  color: #48dda4;
  font-size: 6px;
  font-style: normal;
}

.intro-af-chat > header > div {
  display: flex;
  gap: 9px;
  margin-left: auto;
}

.intro-af-chat > header > div i,
.intro-af-chat > header > div b {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(100, 205, 255, 0.35);
  border-radius: 4px;
  background: rgba(61, 151, 240, 0.1);
}

.intro-af-chat > header > div b {
  border-radius: 50%;
}

.intro-af-history {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 16px 10% 10px;
  overflow: hidden;
}

.intro-af-history > time {
  align-self: center;
  padding: 4px 9px;
  border: 1px solid rgba(87, 202, 255, 0.12);
  border-radius: 9px;
  color: rgba(124, 207, 237, 0.56);
  background: rgba(22, 62, 103, 0.17);
  font-size: 5px;
  letter-spacing: 0.12em;
}

.intro-af-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  width: 73%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(83, 184, 255, 0.2);
  border-radius: 14px 14px 14px 5px;
  background:
    linear-gradient(130deg, rgba(26, 51, 88, 0.82), rgba(14, 24, 48, 0.8));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.025),
    0 8px 25px rgba(0, 0, 0, 0.22);
}

.intro-af-card.is-right {
  align-self: flex-end;
  display: block;
  width: 68%;
  border-color: rgba(116, 117, 255, 0.38);
  border-radius: 14px 14px 5px;
  background: linear-gradient(135deg, rgba(31, 127, 255, 0.7), rgba(105, 72, 229, 0.66));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 9px 27px rgba(20, 58, 173, 0.2);
}

.intro-af-card > i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #35c7ff, #5b5bff);
  box-shadow: 0 0 15px rgba(53, 199, 255, 0.2);
  font-size: 7px;
  font-style: normal;
  font-weight: 750;
}

.intro-af-card > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.intro-af-card > span b {
  color: #6edcff;
  font-size: 7px;
}

.intro-af-card > span em {
  color: rgba(230, 247, 255, 0.85);
  font-size: 7px;
  font-style: normal;
  line-height: 1.35;
}

.intro-af-card > span time {
  align-self: flex-end;
  color: rgba(143, 209, 232, 0.45);
  font-size: 5px;
}

.intro-af-signal-card {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 67%;
  margin-left: 12%;
  padding: 7px 10px;
  border: 1px solid rgba(94, 211, 255, 0.17);
  border-radius: 10px;
  background: rgba(10, 29, 55, 0.68);
}

.intro-af-signal-card > span {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.intro-af-signal-card > span i {
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: #46d6ff;
  box-shadow: 0 0 5px rgba(70, 214, 255, 0.65);
}

.intro-af-signal-card > span i:nth-child(2),
.intro-af-signal-card > span i:nth-child(8) {
  height: 11px;
}

.intro-af-signal-card > span i:nth-child(3),
.intro-af-signal-card > span i:nth-child(7) {
  height: 16px;
}

.intro-af-signal-card > span i:nth-child(4),
.intro-af-signal-card > span i:nth-child(6) {
  height: 9px;
}

.intro-af-signal-card > span i:nth-child(5) {
  height: 18px;
  background: #8e70ff;
}

.intro-af-signal-card > b {
  color: rgba(176, 222, 240, 0.64);
  font-size: 6px;
  font-weight: 570;
}

.intro-af-chat > footer {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  margin: 0 10% 10px;
  padding: 0 8px;
  border: 1px solid rgba(87, 171, 255, 0.2);
  border-radius: 12px;
  background: rgba(15, 26, 50, 0.84);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.intro-af-chat > footer > i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(88, 205, 255, 0.25);
  border-radius: 7px;
  color: #62d5ff;
  background: rgba(41, 124, 211, 0.1);
  font-size: 13px;
  font-style: normal;
}

.intro-af-chat > footer > span {
  color: rgba(150, 197, 218, 0.4);
  font-size: 7px;
}

.intro-af-chat > footer > div {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

.intro-af-chat > footer > div b {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(107, 194, 229, 0.4);
  border-radius: 4px;
}

.intro-af-chat > footer > strong {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #39c9ff, #4565ef);
  box-shadow: 0 0 15px rgba(55, 191, 255, 0.36);
}

.intro-af-chat > footer > strong::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 8px 0 0 9px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid white;
  transform: rotate(-8deg);
}

.intro-af-insight {
  z-index: 3;
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 13px 9px;
  overflow: hidden;
  border: 1px solid rgba(85, 184, 255, 0.09);
  border-radius: 4px 7px 12px 4px;
  background: rgba(9, 15, 31, 0.93);
}

.intro-af-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px 5px 10px;
  border-bottom: 1px solid rgba(91, 190, 255, 0.09);
}

.intro-af-profile > i {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(129, 234, 255, 0.6);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #3ed9ff, #345ee6);
  box-shadow:
    0 0 0 4px rgba(55, 190, 255, 0.06),
    0 0 24px rgba(55, 190, 255, 0.22);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.intro-af-profile > b {
  color: #edfaff;
  font-size: 9px;
}

.intro-af-profile > span {
  color: rgba(146, 211, 232, 0.58);
  font-size: 6px;
}

.intro-af-profile > span em {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 3px;
  border-radius: 50%;
  background: #42e6a4;
  box-shadow: 0 0 7px #42e6a4;
}

.intro-af-insight > section {
  padding: 8px;
  border: 1px solid rgba(85, 192, 255, 0.1);
  border-radius: 9px;
  background: rgba(24, 52, 84, 0.22);
}

.intro-af-insight section > small {
  color: rgba(126, 201, 231, 0.46);
  font-size: 5px;
  letter-spacing: 0.12em;
}

.intro-af-insight section > strong {
  float: right;
  color: #6ddcff;
  font-size: 8px;
}

.intro-af-insight section > div {
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(84, 149, 185, 0.13);
}

.intro-af-insight section > div > i {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35d6ff, #7c5eff);
  box-shadow: 0 0 8px #35d6ff;
}

.intro-af-insight > .intro-af-nodes > div {
  display: flex;
  align-items: center;
  height: auto;
  margin-top: 8px;
  overflow: visible;
  background: none;
}

.intro-af-nodes > div i,
.intro-af-nodes > div b {
  display: grid;
  width: 21px;
  height: 21px;
  margin-right: -4px;
  place-items: center;
  border: 2px solid #0b1223;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #4dcfff, #555bd8);
  font-size: 5px;
  font-style: normal;
}

.intro-af-nodes > div i:nth-child(2) {
  background: linear-gradient(145deg, #ffad4c, #d85878);
}

.intro-af-nodes > div i:nth-child(3) {
  background: linear-gradient(145deg, #a675ff, #6054cf);
}

.intro-af-nodes > div b {
  margin-left: 7px;
  border-color: rgba(83, 195, 255, 0.2);
  color: #83ddff;
  background: rgba(32, 91, 146, 0.3);
}

.intro-af-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px;
  border: 1px solid rgba(73, 219, 168, 0.13);
  border-radius: 9px;
  background: rgba(34, 140, 113, 0.08);
}

.intro-af-live > i {
  width: 8px;
  height: 8px;
  border: 2px solid #42e6a4;
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(66, 230, 164, 0.7);
}

.intro-af-live > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intro-af-live b {
  color: rgba(211, 250, 238, 0.83);
  font-size: 6px;
}

.intro-af-live em {
  color: rgba(115, 203, 177, 0.5);
  font-size: 5px;
  font-style: normal;
}

/* Explosion and final composition */
.intro-flash {
  z-index: 22;
  pointer-events: none;
  opacity: 0;
  background: #fff;
  mix-blend-mode: screen;
}

.splash.is-playing .intro-flash {
  animation: introWhiteFlash 0.78s 6.08s ease-out both;
}

.intro-shockwave {
  z-index: 21;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  inset: auto;
  border: 4px solid rgba(225, 248, 255, 0.95);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.splash.is-playing .intro-shockwave {
  animation: introShockwave 1s 6.22s cubic-bezier(0.1, 0.58, 0.2, 1) both;
}

.intro-final {
  z-index: 8;
  pointer-events: none;
}

.intro-conduits {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.intro-conduit {
  --wire-color: #56cfff;
  --wire-delay: 7.16s;
  opacity: 0;
}

.intro-conduit--telegram {
  --wire-color: #69d8ff;
  --wire-delay: 7.27s;
}

.intro-conduit--vk {
  --wire-color: #398fff;
  --wire-delay: 7.38s;
}

.intro-conduit--aurafarm {
  --wire-color: #9078ff;
  --wire-delay: 7.49s;
}

.intro-conduit path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.intro-conduit-glow {
  stroke: color-mix(in srgb, var(--wire-color) 48%, transparent);
  stroke-width: 1.15;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 4px var(--wire-color));
}

.intro-conduit-flow {
  stroke: color-mix(in srgb, var(--wire-color) 88%, white);
  stroke-width: 2.4;
  stroke-dasharray: 0.026 0.18 0.012 0.782;
  stroke-dashoffset: 1;
  opacity: 0;
  filter:
    drop-shadow(0 0 3px #fff)
    drop-shadow(0 0 7px var(--wire-color));
}

.splash.is-playing .intro-conduit {
  animation: introConduitReveal 0.7s var(--wire-delay) ease-out both;
}

.splash.is-playing .intro-conduit-glow {
  animation:
    introConduitDraw 1.05s var(--wire-delay) cubic-bezier(0.2, 0.75, 0.25, 1) both,
    introConduitBreathe 3.2s calc(var(--wire-delay) + 1.05s) ease-in-out infinite;
}

.splash.is-playing .intro-conduit-flow {
  animation: introConduitFlow 1.55s calc(var(--wire-delay) + 0.42s) linear infinite;
}

.intro-energy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(58vw, 690px);
  aspect-ratio: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.splash.is-playing .intro-energy {
  animation: introEnergyWake 1s 6.55s ease-out both;
}

.intro-energy i {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(86, 183, 255, 0.22);
  border-radius: 50%;
  animation: introEnergyRing 4.8s ease-in-out infinite;
}

.intro-energy i:nth-child(2) {
  inset: 25%;
  border-color: rgba(129, 111, 255, 0.27);
  animation-delay: -1.6s;
}

.intro-energy i:nth-child(3) {
  inset: 35%;
  border-color: rgba(91, 221, 255, 0.2);
  animation-delay: -3.2s;
}

.intro-brand {
  position: absolute;
  z-index: 5;
  top: 47%;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2) rotate(-12deg);
  transform-origin: center;
}

.splash.is-playing .intro-brand {
  animation: introBrandAssemble 1.1s 6.52s cubic-bezier(0.12, 0.86, 0.18, 1.12) both;
}

.intro-logo-mark {
  position: relative;
  display: grid;
  width: clamp(104px, 11vw, 148px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(179, 235, 255, 0.62);
  border-radius: 28%;
  background:
    linear-gradient(145deg, rgba(119, 222, 255, 0.28), transparent 36%),
    linear-gradient(145deg, #30bdf8, #167eff 52%, #365ce8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -14px 30px rgba(0, 37, 146, 0.24),
    0 0 34px rgba(49, 173, 255, 0.54),
    0 0 92px rgba(38, 105, 255, 0.38);
}

.intro-logo-mark::before,
.intro-logo-mark::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  border-radius: 34%;
  pointer-events: none;
}

.intro-logo-mark::before {
  border: 1px solid rgba(83, 207, 255, 0.25);
  transform: rotate(45deg) scale(0.82);
}

.intro-logo-mark::after {
  background: radial-gradient(circle, rgba(104, 213, 255, 0.36), transparent 68%);
  opacity: 0;
}

.splash.is-playing .intro-logo-mark::after {
  animation: introLogoPulse 2s 9.4s ease-in-out infinite;
}

.intro-logo-donut {
  width: 43%;
  aspect-ratio: 1;
  border: clamp(8px, 0.95vw, 12px) solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
  filter: drop-shadow(0 0 8px rgba(228, 249, 255, 0.66));
}

.intro-logo-mark > i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dff9ff;
  box-shadow: 0 0 10px #7be6ff;
  opacity: 0;
}

.splash.is-playing .intro-logo-mark > i {
  animation: introLogoSpark 1.1s var(--spark-delay, 6.68s) ease-out both;
}

.intro-logo-mark > i:nth-of-type(1) { --sx: -76px; --sy: -58px; }
.intro-logo-mark > i:nth-of-type(2) { --sx: 74px; --sy: -48px; --spark-delay: 6.78s; }
.intro-logo-mark > i:nth-of-type(3) { --sx: -68px; --sy: 66px; --spark-delay: 6.86s; }
.intro-logo-mark > i:nth-of-type(4) { --sx: 82px; --sy: 57px; --spark-delay: 6.94s; }

.intro-brand h1 {
  margin: 24px 0 0;
  color: #f8fcff;
  font-size: clamp(38px, 5.8vw, 64px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.035em;
  opacity: 0;
  text-shadow:
    0 0 18px rgba(115, 211, 255, 0.45),
    0 0 55px rgba(67, 109, 255, 0.26);
  transform: translateY(15px);
}

.splash.is-playing .intro-brand h1 {
  animation: introBrandText 0.8s 7.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-brand p {
  margin: 11px 0 0;
  color: rgba(179, 218, 240, 0.62);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.34em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(9px);
}

.splash.is-playing .intro-brand p {
  animation: introBrandText 0.7s 7.62s ease-out both;
}

.intro-shard-cloud {
  position: absolute;
  z-index: 4;
  width: clamp(135px, 18vw, 225px);
  height: clamp(105px, 16vw, 180px);
  opacity: 0;
  transform-origin: center;
}

.intro-shard-cloud--discord {
  --from-x: 34vw;
  --from-y: 31vh;
  --turn: -32deg;
  top: 11%;
  left: 12%;
}

.intro-shard-cloud--telegram {
  --from-x: -34vw;
  --from-y: 31vh;
  --turn: 31deg;
  top: 11%;
  right: 12%;
}

.intro-shard-cloud--vk {
  --from-x: 34vw;
  --from-y: -31vh;
  --turn: 27deg;
  bottom: 12%;
  left: 12%;
}

.intro-shard-cloud--aurafarm {
  --from-x: -34vw;
  --from-y: -31vh;
  --turn: -29deg;
  right: 12%;
  bottom: 12%;
}

.splash.is-playing .intro-shard-cloud {
  animation: introShardsAssemble 1.46s 6.28s cubic-bezier(0.12, 0.76, 0.2, 1.08) both;
}

.splash.is-playing .intro-shard-cloud--telegram { animation-delay: 6.34s; }
.splash.is-playing .intro-shard-cloud--vk { animation-delay: 6.4s; }
.splash.is-playing .intro-shard-cloud--aurafarm { animation-delay: 6.46s; }

.intro-shard {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e2028;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.48),
    0 0 25px rgba(56, 125, 255, 0.08);
  isolation: isolate;
  animation: introShardFloat var(--float, 4.6s) var(--float-delay, -1s) ease-in-out infinite alternate;
}

.intro-shard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 43%);
}

.intro-shard-cloud .intro-shard:nth-child(1) {
  --float: 4.2s;
  --float-delay: -0.7s;
  top: 2%;
  left: 1%;
  width: 62%;
  height: 44%;
  clip-path: polygon(0 10%, 88% 0, 100% 54%, 73% 100%, 8% 88%);
  transform: rotate(-7deg);
}

.intro-shard-cloud .intro-shard:nth-child(2) {
  --float: 5.1s;
  --float-delay: -2.1s;
  top: 18%;
  right: 1%;
  width: 39%;
  height: 62%;
  clip-path: polygon(18% 0, 100% 13%, 84% 100%, 6% 79%, 0 23%);
  transform: rotate(13deg);
}

.intro-shard-cloud .intro-shard:nth-child(3) {
  --float: 4.7s;
  --float-delay: -3.2s;
  bottom: 1%;
  left: 14%;
  width: 57%;
  height: 28%;
  clip-path: polygon(0 24%, 72% 0, 100% 39%, 81% 100%, 12% 86%);
  transform: rotate(-2deg);
}

/* Discord fragments */
.intro-shard-cloud--discord .intro-shard {
  border-color: rgba(114, 137, 218, 0.25);
  background: #2b2d31;
}

.intro-shard-cloud--discord .intro-shard:nth-child(1) {
  top: 0;
  left: 7%;
  width: 60%;
  height: 47%;
  clip-path: polygon(0 15%, 93% 0, 100% 72%, 66% 100%, 8% 84%);
}

.intro-shard-cloud--discord .intro-shard:nth-child(2) {
  top: 21%;
  right: 0;
  width: 36%;
  height: 58%;
  clip-path: polygon(21% 0, 100% 17%, 76% 100%, 0 82%, 8% 25%);
}

.intro-shard-cloud--discord .intro-shard:nth-child(3) {
  bottom: 0;
  left: 3%;
  width: 54%;
  height: 25%;
  clip-path: polygon(0 18%, 83% 0, 100% 57%, 71% 100%, 9% 82%);
}

.intro-shard--dc-a i {
  position: absolute;
  top: 13px;
  left: 12px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #5865f2;
}

.intro-shard--dc-a span {
  position: absolute;
  top: 15px;
  left: 41px;
  width: 42%;
  height: 5px;
  border-radius: 3px;
  background: #f2f3f5;
}

.intro-shard--dc-a span + span {
  top: 27px;
  width: 57%;
  background: #8b8f98;
}

.intro-shard--dc-a em {
  position: absolute;
  top: 14px;
  right: 9px;
  width: 11px;
  height: 4px;
  border-radius: 3px;
  background: #777b84;
}

.intro-shard--dc-b strong {
  position: absolute;
  top: 11px;
  left: 9px;
  color: #949ba4;
  font-size: 15px;
}

.intro-shard--dc-b span {
  display: block;
  width: 58%;
  height: 5px;
  margin: 13px 7px 0 26px;
  border-radius: 3px;
  background: #aeb2ba;
}

.intro-shard--dc-b span + span {
  width: 42%;
  margin-top: 8px;
  background: #696d75;
}

.intro-shard--dc-b b {
  position: absolute;
  right: 5px;
  bottom: 8px;
  left: 6px;
  height: 13px;
  border-radius: 4px;
  background: rgba(88, 101, 242, 0.28);
}

.intro-shard--dc-c {
  background: #383a40 !important;
}

.intro-shard--dc-c i {
  position: absolute;
  top: 8px;
  left: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b5bac1;
}

.intro-shard--dc-c span {
  display: block;
  width: 51%;
  height: 5px;
  margin: 10px 8px 0 27px;
  border-radius: 3px;
  background: #777b84;
}

.intro-shard--dc-c b {
  position: absolute;
  top: 7px;
  right: 11px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5865f2;
}

/* Telegram fragments */
.intro-shard-cloud--telegram .intro-shard {
  border-color: rgba(65, 174, 232, 0.28);
  background: #fff;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    0 0 25px rgba(51, 159, 220, 0.12);
}

.intro-shard-cloud--telegram .intro-shard:nth-child(1) {
  top: 2%;
  left: 12%;
  width: 62%;
  height: 42%;
  clip-path: polygon(7% 0, 100% 12%, 89% 87%, 28% 100%, 0 58%);
  transform: rotate(5deg);
}

.intro-shard-cloud--telegram .intro-shard:nth-child(2) {
  top: 27%;
  right: 0;
  width: 35%;
  height: 50%;
  clip-path: polygon(0 11%, 81% 0, 100% 74%, 55% 100%, 8% 83%);
  transform: rotate(-11deg);
  background:
    radial-gradient(circle at 28% 30%, rgba(79, 179, 222, 0.13), transparent 23%),
    #dfe9e2;
}

.intro-shard-cloud--telegram .intro-shard:nth-child(3) {
  bottom: 0;
  left: 0;
  width: 58%;
  height: 25%;
  clip-path: polygon(0 18%, 74% 0, 100% 48%, 77% 100%, 11% 82%);
  transform: rotate(2deg);
}

.intro-shard--tg-a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background: #339fdc;
}

.intro-shard--tg-a i {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #54c3ef, #706bf0);
}

.intro-shard--tg-a span,
.intro-shard--tg-a b {
  position: absolute;
  top: 23px;
  right: 10px;
  width: 47%;
  height: 5px;
  border-radius: 3px;
  background: #374957;
}

.intro-shard--tg-a b {
  top: 34px;
  width: 57%;
  background: #aab6bf;
}

.intro-shard--tg-b i {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #53b8eb;
}

.intro-shard--tg-b span {
  position: absolute;
  top: 16px;
  right: 5px;
  width: 58%;
  height: 20px;
  border-radius: 9px 9px 3px;
  background: #d9ffc4;
  box-shadow: 0 1px 2px rgba(24, 53, 67, 0.12);
}

.intro-shard--tg-b em {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 15px;
  height: 3px;
  border-radius: 2px;
  background: #6fa16a;
}

.intro-shard--tg-c span {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #48aee3;
}

.intro-shard--tg-c b {
  position: absolute;
  top: 13px;
  right: 28px;
  left: 34px;
  height: 5px;
  border-radius: 3px;
  background: #a7b3bc;
}

.intro-shard--tg-c i {
  position: absolute;
  top: 10px;
  right: 9px;
  width: 10px;
  height: 14px;
  border-radius: 5px;
  background: #339fdc;
}

/* VK fragments */
.intro-shard-cloud--vk .intro-shard {
  border-color: rgba(0, 119, 255, 0.2);
  background: #fff;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(0, 119, 255, 0.1);
}

.intro-shard-cloud--vk .intro-shard:nth-child(1) {
  top: 0;
  left: 0;
  width: 65%;
  height: 34%;
  clip-path: polygon(0 0, 91% 8%, 100% 67%, 77% 100%, 5% 83%);
  transform: rotate(-4deg);
}

.intro-shard-cloud--vk .intro-shard:nth-child(2) {
  top: 21%;
  right: 1%;
  width: 42%;
  height: 61%;
  clip-path: polygon(16% 0, 100% 19%, 82% 100%, 0 76%, 6% 20%);
  transform: rotate(10deg);
}

.intro-shard-cloud--vk .intro-shard:nth-child(3) {
  bottom: 1%;
  left: 8%;
  width: 59%;
  height: 31%;
  clip-path: polygon(0 25%, 82% 0, 100% 43%, 68% 100%, 7% 82%);
  transform: rotate(-5deg);
  background: #f5f6f8;
}

.intro-shard--vk-a strong {
  position: absolute;
  top: 9px;
  left: 9px;
  display: grid;
  width: 25px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #0077ff;
  font-size: 9px;
  font-style: italic;
  font-weight: 850;
}

.intro-shard--vk-a span {
  position: absolute;
  top: 10px;
  right: 27px;
  width: 43%;
  height: 16px;
  border-radius: 6px;
  background: #edeef0;
}

.intro-shard--vk-a i {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: #99a2ad;
}

.intro-shard--vk-b i {
  position: absolute;
  top: 12px;
  left: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7474, #8059db);
}

.intro-shard--vk-b span,
.intro-shard--vk-b b {
  position: absolute;
  top: 14px;
  right: 7px;
  width: 45%;
  height: 5px;
  border-radius: 3px;
  background: #363738;
}

.intro-shard--vk-b b {
  top: 25px;
  width: 53%;
  background: #aeb7c2;
}

.intro-shard--vk-b em {
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 11px;
  height: 3px;
  border-radius: 2px;
  background: #2688eb;
}

.intro-shard--vk-c span {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 48%;
  height: 13px;
  border-radius: 7px 7px 7px 2px;
  background: #fff;
}

.intro-shard--vk-c span + span {
  top: 18px;
  left: auto;
  right: 8px;
  width: 43%;
  background: #e5effb;
}

.intro-shard--vk-c i {
  position: absolute;
  bottom: 7px;
  left: 9px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #99a2ad;
}

.intro-shard--vk-c b {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 25px;
  height: 4px;
  border-radius: 3px;
  background: #c0c7cf;
}

/* Keep Telegram/VK fragments consistent with the supplied dark references. */
.intro-shard-cloud--telegram .intro-shard {
  border-color: rgba(142, 119, 224, 0.35);
  background: #242424;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.56),
    0 0 25px rgba(126, 98, 216, 0.14);
}

.intro-shard-cloud--telegram .intro-shard:nth-child(2) {
  background:
    radial-gradient(circle at 28% 30%, rgba(138, 108, 221, 0.12), transparent 23%),
    #070707;
}

.intro-shard--tg-a::before {
  background: #343434;
}

.intro-shard--tg-a span {
  background: #ededed;
}

.intro-shard--tg-a b,
.intro-shard--tg-c b {
  background: #8c8c8c;
}

.intro-shard--tg-b span {
  background: #8670d6;
  box-shadow: 0 1px 7px rgba(126, 99, 218, 0.34);
}

.intro-shard--tg-b em {
  background: #d4c8ff;
}

.intro-shard--tg-c {
  background: #242424 !important;
}

.intro-shard--tg-c i {
  background: #8c76dc;
}

.intro-shard-cloud--vk .intro-shard {
  border-color: rgba(66, 151, 244, 0.22);
  background: #242424;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(39, 135, 245, 0.1);
}

.intro-shard-cloud--vk .intro-shard:nth-child(1) {
  background: #222;
}

.intro-shard-cloud--vk .intro-shard:nth-child(3) {
  background: #181818;
}

.intro-shard--vk-a span {
  background: #3a3a3a;
}

.intro-shard--vk-b span {
  background: #ececec;
}

.intro-shard--vk-b b,
.intro-shard--vk-c b {
  background: #858585;
}

.intro-shard--vk-c span {
  background: #2f2f2f;
}

.intro-shard--vk-c span + span {
  background: #3a3a3a;
}

/* Aura fragments */
.intro-shard-cloud--aurafarm .intro-shard {
  border-color: rgba(71, 207, 255, 0.5);
  background:
    radial-gradient(circle at 25% 20%, rgba(48, 199, 255, 0.2), transparent 35%),
    #090d1b;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.52),
    0 0 25px rgba(42, 170, 255, 0.22);
}

.intro-shard-cloud--aurafarm .intro-shard:nth-child(1) {
  top: 1%;
  left: 3%;
  width: 48%;
  height: 58%;
  clip-path: polygon(0 13%, 72% 0, 100% 31%, 85% 100%, 17% 82%);
  transform: rotate(8deg);
}

.intro-shard-cloud--aurafarm .intro-shard:nth-child(2) {
  top: 5%;
  right: 0;
  width: 47%;
  height: 45%;
  clip-path: polygon(13% 0, 100% 15%, 78% 100%, 0 73%, 5% 21%);
  transform: rotate(-9deg);
}

.intro-shard-cloud--aurafarm .intro-shard:nth-child(3) {
  right: 9%;
  bottom: 0;
  left: auto;
  width: 61%;
  height: 31%;
  clip-path: polygon(0 20%, 88% 0, 100% 62%, 65% 100%, 7% 79%);
  transform: rotate(3deg);
}

.intro-shard--af-a i,
.intro-shard--af-b i {
  position: absolute;
  top: 13px;
  left: 12px;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #42ceff;
}

.intro-shard--af-a span,
.intro-shard--af-a em,
.intro-shard--af-b span,
.intro-shard--af-b b {
  position: relative;
  display: block;
  width: 48%;
  height: 4px;
  margin: 14px 8px 0 40px;
  border-radius: 3px;
  background: #47cfff;
  box-shadow: 0 0 9px rgba(71, 207, 255, 0.7);
}

.intro-shard--af-a em {
  width: 31%;
  margin-top: 8px;
  opacity: 0.45;
}

.intro-shard--af-b b {
  width: 38%;
  background: #8d73ff;
  box-shadow: 0 0 9px rgba(141, 115, 255, 0.7);
}

.intro-shard--af-c span {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 52%;
  height: 5px;
  border-radius: 3px;
  background: #47cfff;
  box-shadow: 0 0 9px rgba(71, 207, 255, 0.7);
}

.intro-shard--af-c span + span {
  top: 19px;
  width: 34%;
  background: #8d73ff;
}

.intro-shard--af-c i {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #42ceff;
}

.splash-vignette {
  position: absolute;
  inset: 0;
  z-index: 24;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 22%, transparent 76%, rgba(0, 0, 0, 0.35)),
    radial-gradient(ellipse 70% 62% at center, transparent 0%, transparent 42%, rgba(0, 1, 8, 0.22) 72%, rgba(0, 0, 3, 0.88) 100%);
}

.splash .splash-ui {
  position: absolute;
  z-index: 26;
  right: 0;
  bottom: max(5.5vh, 34px);
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  pointer-events: none;
}

.splash .splash-welcome {
  margin: 0;
  color: rgba(196, 228, 248, 0.82);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.24em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(12px);
  filter: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.splash.is-ready .splash-welcome {
  animation: introUiReveal 0.65s ease-out both;
}

.splash .splash-btn,
.btn.splash-btn {
  min-width: 194px;
  min-height: 46px;
  margin: 0;
  padding: 0 30px;
  border: 1px solid rgba(103, 206, 255, 0.55);
  border-radius: 999px;
  outline: none;
  color: #f5fcff;
  background: linear-gradient(90deg, rgba(22, 111, 229, 0.2), rgba(79, 68, 220, 0.22));
  box-shadow:
    inset 0 0 20px rgba(72, 192, 255, 0.06),
    0 0 0 1px rgba(75, 122, 255, 0.08),
    0 0 28px rgba(50, 139, 255, 0.16);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.splash.is-ready .splash-btn {
  animation: introButtonReveal 0.75s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
  pointer-events: auto;
}

.splash.is-ready .intro-interface-reel,
.splash.is-ready .intro-flash,
.splash.is-ready .intro-shockwave {
  display: none;
}

.splash .splash-btn:hover:not(:disabled),
.btn.splash-btn:hover:not(:disabled) {
  border-color: rgba(181, 239, 255, 0.92);
  color: #fff;
  background: linear-gradient(90deg, rgba(27, 135, 255, 0.38), rgba(100, 76, 255, 0.4));
  box-shadow:
    inset 0 0 22px rgba(87, 212, 255, 0.12),
    0 0 36px rgba(52, 157, 255, 0.32);
  filter: none;
  transform: translateY(-2px) scale(1.015);
}

.splash .splash-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.splash .splash-btn:focus-visible {
  box-shadow:
    0 0 0 3px rgba(5, 9, 21, 0.92),
    0 0 0 5px rgba(99, 211, 255, 0.9),
    0 0 38px rgba(52, 157, 255, 0.36);
}

.splash .splash-btn:disabled {
  cursor: default;
}

.splash.leaving {
  pointer-events: none;
  animation: introLeave 0.62s cubic-bezier(0.4, 0, 1, 1) both !important;
}

@keyframes introGlowWake {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.16);
  }
  16% {
    opacity: 0.018;
  }
  42% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.46);
  }
  72% {
    opacity: 0.58;
  }
  100% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes introGlowBreathe {
  0% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.98); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.13); }
}

@keyframes introAtmosphereWake {
  from { opacity: 0; }
  to { opacity: 0.5; }
}

@keyframes introBackdropWake {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes introGridWake {
  from { opacity: 0; }
  to { opacity: 0.42; }
}

@keyframes introGridTravel {
  from { background-position: 0 0; }
  to { background-position: 0 104px; }
}

@keyframes introStarsWake {
  from { opacity: 0; }
  to { opacity: 0.72; }
}

@keyframes introStarDrift {
  from { opacity: 0.2; transform: translate3d(0, 4px, 0) scale(0.8); }
  to { opacity: 0.95; transform: translate3d(0, -8px, 0) scale(1.35); }
}

@keyframes introDiscordBoot {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -50%, 0) scale3d(0.98, 0.025, 1);
  }
  1% {
    visibility: visible;
  }
  12% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale3d(0.99, 0.06, 1);
  }
  23% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale3d(1.006, 1.04, 1);
  }
  31%,
  77% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
  }
  86% {
    opacity: 0.9;
    transform: translate3d(-55%, -50%, 0) scale(0.99) rotateY(1deg);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-72%, -50%, 0) scale(0.96) rotateY(5deg);
  }
}

@keyframes introDiscordScanner {
  0% {
    opacity: 0;
    transform: translate3d(0, -58%, 0);
  }
  18% { opacity: 0.85; }
  72% { opacity: 0.65; }
  100% {
    opacity: 0;
    transform: translate3d(0, 58%, 0);
  }
}

@keyframes introTelegramSlide {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-24%, -50%, 0) scale(0.965) rotateY(-7deg);
  }
  1% {
    visibility: visible;
  }
  19% {
    opacity: 1;
    transform: translate3d(-51.5%, -50%, 0) scale(1.012) rotateY(0);
  }
  28%,
  76% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, -50%, 0) scale(1) rotateY(0);
  }
  87% {
    opacity: 0.82;
    transform: translate3d(-50%, -56%, 0) scale(0.985) rotateX(2deg);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -68%, 0) scale(0.95) rotateX(7deg);
  }
}

@keyframes introTelegramSweep {
  0% {
    opacity: 0;
    transform: translate3d(58%, 0, 0);
  }
  15% { opacity: 0.7; }
  72% { opacity: 0.42; }
  100% {
    opacity: 0;
    transform: translate3d(-58%, 0, 0);
  }
}

@keyframes introVkSequence {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -50%, 0) scale(0.72);
  }
  1% {
    visibility: visible;
  }
  8% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.035);
  }
  13%,
  38% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  44% {
    opacity: 0;
    transform: translate3d(-59%, -50%, 0) scale(0.97);
  }
  48%,
  77% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-59%, -50%, 0) scale(0.97);
  }
  78% {
    visibility: visible;
  }
  79% {
    opacity: 0.18;
    transform: translate3d(calc(-50% + 5px), calc(-50% - 2px), 0) scale(1.01);
  }
  83% {
    opacity: 0.27;
    transform: translate3d(calc(-50% - 8px), calc(-50% + 3px), 0) scale(1.025);
  }
  87% {
    opacity: 0.36;
    transform: translate3d(calc(-50% + 8px), calc(-50% + 2px), 0) scale(1.04);
  }
  91% {
    opacity: 0.47;
    transform: translate3d(calc(-50% - 11px), calc(-50% - 3px), 0) scale(1.055);
  }
  95% {
    opacity: 0.68;
    transform: translate3d(calc(-50% + 12px), calc(-50% + 4px), 0) scale(1.075);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -50%, 0) scale(1.16);
  }
}

@keyframes introAuraRise {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -31%, 0) scale(0.92) rotateX(-8deg);
  }
  1% {
    visibility: visible;
  }
  17% {
    opacity: 1;
    transform: translate3d(-50%, -51.5%, 0) scale(1.015) rotateX(0);
  }
  26%,
  54% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  59% { transform: translate3d(calc(-50% + 2px), calc(-50% - 1px), 0) scale(1.002); }
  65% { transform: translate3d(calc(-50% - 3px), calc(-50% + 2px), 0) scale(1.004); }
  71% { transform: translate3d(calc(-50% + 4px), calc(-50% + 1px), 0) scale(1.006); }
  77% { transform: translate3d(calc(-50% - 5px), calc(-50% - 2px), 0) scale(1.009); }
  78% {
    opacity: 1;
    transform: translate3d(calc(-50% + 5px), calc(-50% + 2px), 0) scale(1.012);
  }
  84% {
    opacity: 0.94;
    transform: translate3d(calc(-50% - 7px), calc(-50% - 1px), 0) scale(1.035);
  }
  91% {
    opacity: 0.62;
    transform: translate3d(-50%, -50%, 0) scale(1.085);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -50%, 0) scale(1.18);
  }
}

@keyframes introAuraCharge {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  35% { opacity: 0.7; }
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes introWhiteFlash {
  0% { opacity: 0; transform: scale(0.4); }
  9% { opacity: 0.3; transform: scale(0.65); }
  22% { opacity: 1; transform: scale(1); }
  38% { opacity: 0.94; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes introShockwave {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.15);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(42);
  }
}

@keyframes introEnergyWake {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes introEnergyRing {
  0%,
  100% { opacity: 0.18; transform: scale(0.9) rotate(0); }
  50% { opacity: 0.58; transform: scale(1.08) rotate(90deg); }
}

@keyframes introBrandAssemble {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.12) rotate(-16deg);
  }
  44% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.14) rotate(3deg);
  }
  72% {
    transform: translate(-50%, -50%) scale(0.95) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
}

@keyframes introBrandText {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introLogoPulse {
  0%,
  100% { opacity: 0.12; transform: scale(0.8); }
  45% { opacity: 0.78; transform: scale(1.22); }
}

@keyframes introLogoSpark {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  28% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sx)), calc(-50% + var(--sy))) scale(1);
  }
}

@keyframes introConduitReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes introConduitDraw {
  from {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  to {
    opacity: 0.62;
    stroke-dashoffset: 0;
  }
}

@keyframes introConduitBreathe {
  0%,
  100% { opacity: 0.28; stroke-width: 0.8; }
  50% { opacity: 0.7; stroke-width: 1.45; }
}

@keyframes introConduitFlow {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  12% { opacity: 0.95; }
  74% { opacity: 1; }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes introShardsAssemble {
  0% {
    opacity: 0;
    transform: translate(var(--from-x), var(--from-y)) scale(0.12) rotate(var(--turn));
  }
  25% { opacity: 1; }
  68% {
    transform: translate(-10px, -5px) scale(1.09) rotate(-2deg);
  }
  84% {
    transform: translate(5px, 3px) scale(0.97) rotate(1deg);
  }
  100% {
    opacity: 0.9;
    transform: translate(0, 0) scale(1) rotate(0);
  }
}

@keyframes introShardFloat {
  0% { translate: 0 -5px; }
  50% { translate: 3px 5px; }
  100% { translate: -2px 10px; }
}

@keyframes introUiReveal {
  from { opacity: 0; transform: translateY(12px); filter: none; }
  to { opacity: 1; transform: translateY(0); filter: none; }
}

@keyframes introButtonReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introLeave {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}

.splash.is-reduced .intro-interface-reel,
.splash.is-reduced .intro-flash,
.splash.is-reduced .intro-shockwave {
  display: none;
}

.splash.is-reduced .intro-core-glow,
.splash.is-reduced .intro-grid,
.splash.is-reduced .intro-stars,
.splash.is-reduced .intro-energy,
.splash.is-reduced .intro-brand,
.splash.is-reduced .intro-brand h1,
.splash.is-reduced .intro-brand p,
.splash.is-reduced .intro-conduit,
.splash.is-reduced .intro-shard-cloud,
.splash.is-reduced .splash-welcome,
.splash.is-reduced .splash-btn {
  opacity: 1;
  filter: none;
  animation: none;
}

.splash.is-reduced .intro-core-glow {
  transform: translate(-50%, -50%) scale(1);
  filter: blur(80px);
}

.splash.is-reduced .intro-grid {
  opacity: 0.28;
}

.splash.is-reduced .intro-stars {
  opacity: 0.55;
}

.splash.is-reduced .intro-energy {
  transform: translate(-50%, -50%);
}

.splash.is-reduced .intro-conduit-glow {
  opacity: 0.45;
  stroke-dashoffset: 0;
  animation: none;
}

.splash.is-reduced .intro-conduit-flow {
  display: none;
}

.splash.is-reduced .intro-brand {
  transform: translate(-50%, -50%);
}

.splash.is-reduced .intro-brand h1,
.splash.is-reduced .intro-brand p,
.splash.is-reduced .intro-shard-cloud,
.splash.is-reduced .splash-welcome,
.splash.is-reduced .splash-btn {
  transform: none;
}

@media (max-width: 760px) {
  .intro-interface {
    width: 92vw;
  }

  .intro-interface__tag {
    top: -31px;
    font-size: 10px;
  }

  .intro-frame--discord {
    grid-template-columns: 9% 27% minmax(0, 1fr);
  }

  .intro-dc-members {
    display: none;
  }

  .intro-dc-topbar {
    grid-template-columns: 1fr 36% 1fr;
    padding: 0 9px;
  }

  .intro-dc-history {
    gap: 8px;
    padding: 10px 11px 8px;
  }

  .intro-dc-welcome {
    display: none;
  }

  .intro-dc-message {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .intro-dc-message > i {
    width: 24px;
    height: 24px;
  }

  .intro-dc-composer {
    min-height: 30px;
    margin: 0 8px 7px;
  }

  .intro-frame--telegram {
    grid-template-columns: 38% 1fr;
  }

  .intro-tg-stories {
    display: none;
  }

  .intro-tg-list > .intro-tg-peer {
    grid-template-columns: 29px minmax(0, 1fr) 25px;
    gap: 6px;
    min-height: 42px;
  }

  .intro-tg-peer > i {
    width: 29px;
    height: 29px;
  }

  .intro-tg-history {
    padding: 11px 18px 7px;
  }

  .intro-tg-message {
    padding: 6px 8px 5px;
  }

  .intro-frame--aurafarm {
    grid-template-columns: 9% 29% minmax(0, 1fr);
  }

  .intro-af-insight {
    display: none;
  }

  .intro-af-topbar {
    grid-template-columns: 1fr minmax(150px, 43%) 1fr;
    padding: 0 9px;
  }

  .intro-af-status > span,
  .intro-af-brand em {
    display: none;
  }

  .intro-af-peer {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 39px;
    padding: 2px 5px;
  }

  .intro-af-peer > i {
    width: 28px;
    height: 28px;
  }

  .intro-af-peer time {
    display: none;
  }

  .intro-af-history {
    gap: 7px;
    padding: 10px 6% 7px;
  }

  .intro-af-card {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 33px;
    padding: 6px 8px;
  }

  .intro-af-card > i {
    width: 21px;
    height: 21px;
  }

  .intro-af-signal-card {
    padding: 5px 8px;
  }

  .intro-af-chat > footer {
    min-height: 31px;
    margin: 0 6% 7px;
  }

  .intro-brand {
    top: 46%;
  }

  .intro-logo-mark {
    width: 86px;
  }

  .intro-brand h1 {
    margin-top: 19px;
  }

  .intro-shard-cloud {
    width: 120px;
    height: 96px;
    opacity: 0.75;
  }

  .intro-shard-cloud--discord,
  .intro-shard-cloud--vk {
    left: 8%;
  }

  .intro-shard-cloud--telegram,
  .intro-shard-cloud--aurafarm {
    right: 8%;
  }

  .splash .splash-ui {
    bottom: max(4vh, 22px);
  }

  .splash .splash-welcome {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
}

@media (max-height: 650px) {
  .intro-interface {
    width: min(720px, 78vw);
  }

  .intro-interface__tag {
    top: -28px;
  }

  .intro-brand {
    top: 43%;
  }

  .intro-logo-mark {
    width: 78px;
  }

  .intro-brand h1 {
    margin-top: 16px;
    font-size: 34px;
  }

  .intro-brand p {
    margin-top: 7px;
  }

  .intro-shard-cloud {
    transform: scale(0.82);
  }

  .splash .splash-ui {
    bottom: 18px;
    gap: 8px;
  }

  .splash .splash-btn,
  .btn.splash-btn {
    min-height: 40px;
  }
}
