:root {
  /* color-scheme: dark; */
  --bg: #020817;
  --panel: rgba(7, 24, 58, 0.76);
  --panel-strong: rgba(8, 43, 98, 0.88);
  --cyan: #27d9ff;
  --blue: #1e74ff;
  --violet: #6d5cff;
  --mint: #46f2c8;
  --text: #f6fbff;
  --muted: #9db9dd;
}

/* * {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 82%, rgba(34, 213, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 12% 18%, rgba(34, 119, 255, 0.24), transparent 22rem),
    radial-gradient(circle at 88% 16%, rgba(109, 92, 255, 0.16), transparent 20rem),
    linear-gradient(145deg, #020817 0%, #03102a 48%, #020712 100%);
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    Arial,
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
} */

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 4vw, 48px);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -3;
  content: "";
  inset: 0;
}

.hero::before {
  background-image:
    linear-gradient(rgba(39, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 217, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 54%, #000 0 42%, transparent 73%);
  animation: gridDrift 16s linear infinite;
}

.hero::after {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(39, 217, 255, 0.18) 49%, transparent 52%),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(0, 157, 255, 0.08) 35%, transparent 37%);
  opacity: 0.65;
}

.aurora {
  position: absolute;
  z-index: -2;
  width: 36vw;
  height: 36vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.32;
  mix-blend-mode: screen;
  animation: auroraFloat 11s ease-in-out infinite alternate;
}

.aurora-one {
  top: 8%;
  left: 9%;
  background: rgba(0, 130, 255, 0.82);
}

.aurora-two {
  right: 4%;
  bottom: 4%;
  background: rgba(52, 240, 205, 0.48);
  animation-delay: -4s;
}

.tech-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(39, 217, 255, 0.05) 82px, transparent 84px),
    repeating-linear-gradient(90deg, transparent 0 112px, rgba(30, 116, 255, 0.07) 114px, transparent 116px);
  opacity: 0.44;
}

.circuit-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circuit {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(39, 217, 255, 0.95), transparent);
  box-shadow: 0 0 16px rgba(39, 217, 255, 0.78);
  opacity: 0.72;
  animation: circuitPulse 4.4s ease-in-out infinite;
}

.circuit::before,
.circuit::after {
  position: absolute;
  width: 2px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(39, 217, 255, 0.9), transparent);
  content: "";
}

.circuit::before {
  left: 12%;
  bottom: 0;
}

.circuit::after {
  right: 15%;
  top: 0;
}

.circuit-a {
  top: 13%;
  left: 6%;
  width: min(34vw, 430px);
}

.circuit-b {
  top: 25%;
  right: 9%;
  width: min(25vw, 330px);
  animation-delay: -1.5s;
}

.circuit-c {
  bottom: 13%;
  left: 10%;
  width: min(32vw, 440px);
  animation-delay: -2.2s;
}

.circuit-d {
  right: 12%;
  bottom: 22%;
  width: min(28vw, 380px);
  animation-delay: -3s;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow:
    0 0 12px rgba(39, 217, 255, 0.92),
    0 0 28px rgba(30, 116, 255, 0.56);
  animation: sparkBlink 3.6s ease-in-out infinite;
}

.spark-a {
  top: 18%;
  left: 32%;
}

.spark-b {
  top: 34%;
  right: 22%;
  animation-delay: -0.9s;
}

.spark-c {
  bottom: 18%;
  left: 37%;
  animation-delay: -1.8s;
}

.spark-d {
  right: 32%;
  bottom: 13%;
  animation-delay: -2.4s;
}

.spark-e {
  top: 65%;
  left: 18%;
  animation-delay: -3s;
}

.hud-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(39, 217, 255, 0.36);
  background: linear-gradient(135deg, rgba(4, 20, 50, 0.76), rgba(8, 34, 83, 0.42));
  box-shadow:
    inset 0 0 20px rgba(30, 116, 255, 0.28),
    0 0 28px rgba(39, 217, 255, 0.17);
  backdrop-filter: blur(8px);
}

.smile-card {
  top: clamp(36px, 8vw, 92px);
  right: clamp(22px, 8vw, 110px);
  display: grid;
  width: clamp(132px, 18vw, 224px);
  height: clamp(82px, 11vw, 142px);
  grid-template-columns: 1fr 1fr;
  place-items: center;
  border-radius: 18px;
  clip-path: polygon(8% 0, 100% 0, 100% 82%, 92% 100%, 0 100%, 0 18%);
  animation: cardHover 5s ease-in-out infinite;
}

.smile-card .eye {
  width: clamp(10px, 2vw, 18px);
  height: clamp(34px, 5vw, 52px);
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(39, 217, 255, 0.82);
}

.smile-card .mouth {
  grid-column: 1 / span 2;
  width: 44%;
  height: 20px;
  margin-top: -16px;
  border-bottom: clamp(7px, 1vw, 10px) solid var(--cyan);
  border-radius: 0 0 999px 999px;
  filter: drop-shadow(0 0 14px rgba(39, 217, 255, 0.9));
}

.speech-wrap {
  position: absolute;
  z-index: 4;
  top: clamp(58px, 11vw, 130px);
  left: clamp(20px, 8vw, 128px);
  width: clamp(236px, 30vw, 390px);
  transform-origin: 80% 80%;
  animation: bubblePop 950ms cubic-bezier(0.2, 1.4, 0.32, 1) both 360ms;
}

.speech-wrap::after {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: 32%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(39, 217, 255, 0.88), transparent);
  content: "";
  filter: blur(0.2px);
  animation: scanAcross 2.4s ease-in-out infinite;
}

.speech-bubble {
  display: block;
  width: 100%;
  filter:
    drop-shadow(0 0 14px rgba(28, 190, 255, 0.5))
    drop-shadow(0 0 28px rgba(30, 116, 255, 0.26));
}

.stage {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(92vw, 780px);
  min-height: min(76vh, 840px);
  place-items: center;
  transform-style: preserve-3d;
}

.stage-rings {
  position: absolute;
  right: 50%;
  bottom: clamp(18px, 4vh, 48px);
  width: min(76vw, 640px);
  aspect-ratio: 1 / 0.34;
  transform: translateX(50%) perspective(680px) rotateX(62deg);
  border-radius: 50%;
  filter: drop-shadow(0 0 22px rgba(39, 217, 255, 0.6));
}

.stage-rings::before,
.stage-rings::after,
.stage-rings span {
  position: absolute;
  border: 2px solid rgba(39, 217, 255, 0.46);
  border-radius: 50%;
  content: "";
  inset: 0;
}

.stage-rings::before {
  border-width: 8px;
  border-top-color: transparent;
  border-left-color: rgba(39, 217, 255, 0.9);
  border-right-color: rgba(70, 242, 200, 0.52);
  animation: ringSpin 8s linear infinite;
}

.stage-rings::after {
  inset: 18%;
  border-color: rgba(109, 92, 255, 0.48);
  animation: ringSpin 6s linear infinite reverse;
}

.stage-rings span:nth-child(1) {
  inset: 30%;
  border-color: rgba(39, 217, 255, 0.64);
}

.stage-rings span:nth-child(2) {
  inset: 42%;
  border-color: rgba(70, 242, 200, 0.48);
}

.stage-rings span:nth-child(3) {
  inset: 50% 8%;
  border-color: rgba(30, 116, 255, 0.34);
}

.assistant-wrap {
  position: relative;
  z-index: 4;
  display: grid;
  width: fit-content;
  place-items: center;
  transform: translate3d(var(--tilt-x, 0), var(--tilt-y, 0), 0);
  transition: transform 180ms ease-out;
  animation: assistantFloat 5.4s ease-in-out infinite;
}

.assistant-wrap::before {
  position: absolute;
  bottom: 5%;
  width: 60%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 72%);
  content: "";
  filter: blur(12px);
  transform: translateY(24px);
}

.assistant {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(38vw, 454px);
  max-height: min(74vh, 720px);
  height: auto;
  filter:
    drop-shadow(0 0 12px rgba(39, 217, 255, 0.42))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.48));
}

.talk-button {
  position: relative;
  z-index: 7;
  width: clamp(250px, 41vw, 512px);
  padding: 0;
  border: 0;
  background: transparent;
  filter:
    drop-shadow(0 0 10px rgba(39, 217, 255, 0.52))
    drop-shadow(0 0 24px rgba(30, 116, 255, 0.34));
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.talk-button::after {
  position: absolute;
  inset: 18% 11%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(39, 217, 255, 0.22);
  content: "";
  filter: blur(14px);
  opacity: 0.8;
  animation: ctaPulse 2.2s ease-in-out infinite;
}

.talk-button img {
  display: block;
  width: 100%;
  height: auto;
}

.talk-button:hover,
.talk-button:focus-visible {
  outline: 0;
  filter:
    drop-shadow(0 0 16px rgba(39, 217, 255, 0.82))
    drop-shadow(0 0 34px rgba(30, 116, 255, 0.58));
  transform: translateY(-3px) scale(1.025);
}

.talk-button:active {
  transform: translateY(1px) scale(0.98);
}

.talk-button-center {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: centerButtonIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both 620ms;
}

.talk-button-center:hover,
.talk-button-center:focus-visible {
  transform: translate(-50%, calc(-50% - 3px)) scale(1.025);
}

.talk-button-center:active {
  transform: translate(-50%, calc(-50% + 1px)) scale(0.98);
}

.talk-button-bottom {
  position: absolute;
  right: 50%;
  bottom: clamp(18px, 4vh, 44px);
  transform: translateX(50%);
  animation: bottomButtonIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both 760ms;
}

.talk-button-bottom:hover,
.talk-button-bottom:focus-visible {
  transform: translateX(50%) translateY(-3px) scale(1.025);
}

.talk-button-bottom:active {
  transform: translateX(50%) translateY(1px) scale(0.98);
}

.chat-panel {
  position: absolute;
  right: clamp(16px, 4vw, 54px);
  bottom: clamp(92px, 15vh, 150px);
  z-index: 9;
  width: min(92vw, 386px);
  padding: 18px;
  border: 1px solid rgba(39, 217, 255, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(7, 29, 68, 0.94), rgba(5, 17, 42, 0.84)),
    var(--panel);
  box-shadow:
    inset 0 0 18px rgba(30, 116, 255, 0.2),
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(39, 217, 255, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
  backdrop-filter: blur(14px);
}

.chat-panel::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(39, 217, 255, 0.7), transparent 35%, rgba(70, 242, 200, 0.38));
  content: "";
  opacity: 0.45;
}

.panel-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.panel-glow::before {
  position: absolute;
  top: 0;
  left: -45%;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  content: "";
  transform: skewX(-16deg);
  animation: panelShine 3.6s ease-in-out infinite;
}

body.chat-open .chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(70, 242, 200, 0.9);
}

.panel-header strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
}

.panel-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.message-list {
  display: grid;
  gap: 10px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.message {
  width: fit-content;
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(39, 217, 255, 0.16);
  border-radius: 12px;
  color: #eef8ff;
  font-size: 14px;
  line-height: 1.55;
}

.assistant-message {
  background: rgba(39, 217, 255, 0.1);
}

.user-message {
  justify-self: end;
  background: rgba(30, 116, 255, 0.24);
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 58px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  animation: typing 900ms ease-in-out infinite;
}

.typing i:nth-child(2) {
  animation-delay: 120ms;
}

.typing i:nth-child(3) {
  animation-delay: 240ms;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.chat-form input,
.chat-form button {
  min-height: 42px;
  border: 1px solid rgba(39, 217, 255, 0.28);
  border-radius: 10px;
}

.chat-form input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  outline: 0;
  background: rgba(2, 8, 23, 0.58);
  color: var(--text);
}

.chat-form input:focus {
  border-color: rgba(39, 217, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(39, 217, 255, 0.12);
}

.chat-form button {
  padding: 0 16px;
  background: linear-gradient(135deg, rgba(39, 217, 255, 0.86), rgba(30, 116, 255, 0.9));
  color: #fff;
  font-weight: 700;
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 72px 72px;
  }
}

@keyframes auroraFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(5vw, -2vh, 0) scale(1.18);
  }
}

@keyframes circuitPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-8px);
  }

  50% {
    opacity: 0.86;
    transform: translateX(8px);
  }
}

@keyframes sparkBlink {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.62);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes cardHover {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes bubblePop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scanAcross {
  0%,
  100% {
    transform: translateX(-18px);
    opacity: 0;
  }

  35%,
  65% {
    opacity: 1;
  }

  50% {
    transform: translateX(22px);
  }
}

@keyframes ringSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes assistantFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -13px;
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.08);
  }
}

@keyframes centerButtonIn {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes bottomButtonIn {
  from {
    opacity: 0;
    transform: translateX(50%) translateY(20px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateX(50%) translateY(0) scale(1);
  }
}

@keyframes widgetButtonIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelShine {
  0%,
  38% {
    left: -55%;
  }

  68%,
  100% {
    left: 112%;
  }
}

@keyframes typing {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (max-width: 880px) {
  .hero {
    align-items: end;
    padding-top: 18px;
  }

  .speech-wrap {
    top: 22px;
    left: 16px;
    width: min(58vw, 300px);
  }

  .smile-card {
    top: 28px;
    right: 16px;
    width: min(30vw, 150px);
    height: min(19vw, 92px);
  }

  .stage {
    min-height: 82vh;
    padding-top: 80px;
  }

  .assistant-wrap {
    width: min(66vw, 360px);
  }

  .assistant {
    max-width: min(66vw, 360px);
    max-height: min(68vh, 680px);
  }

  .talk-button-center {
    top: 55%;
    width: min(70vw, 380px);
  }

  .talk-button-bottom {
    bottom: 16px;
    width: min(78vw, 410px);
  }

  .chat-panel {
    right: 50%;
    bottom: 92px;
    width: calc(100vw - 28px);
    transform: translateX(50%) translateY(18px) scale(0.96);
  }

  body.chat-open .chat-panel {
    transform: translateX(50%) translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding: 12px;
  }

  .speech-wrap {
    width: min(66vw, 270px);
  }

  .smile-card {
    display: none;
  }

  .stage {
    width: 100vw;
    min-height: 80svh;
    padding-top: 86px;
  }

  .assistant-wrap {
    width: min(78vw, 330px);
  }

  .assistant {
    max-width: min(78vw, 330px);
    max-height: min(64svh, 640px);
  }

  .talk-button-center {
    display: none;
  }

  .stage-rings {
    bottom: 56px;
    width: 105vw;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}

/* å³ä¸‹è§’å°åŠ©æ‰‹æ¨¡å¼ */
.hero {
  place-items: end;
  padding: 0;
}

.hero::before {
  opacity: 0.58;
  mask-image: radial-gradient(circle at 82% 78%, #000 0 24%, transparent 62%);
}

.hero::after {
  opacity: 0.42;
}

.aurora-one {
  top: auto;
  right: -120px;
  bottom: -120px;
  left: auto;
}

.aurora-two {
  right: 160px;
  bottom: -80px;
}

.smile-card,
.talk-button-center {
  display: none;
}

/* AIåŠ©æ‰‹æŽ§ä»¶å®¹å™¨ - ä¿®æ”¹æ­¤å¤„çš„å®½é«˜å³å¯æ•´ä½“ç¼©æ”¾å†…éƒ¨æ‰€æœ‰å…ƒç´  */
.ai-assistant-widget {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: 0;
  z-index: 10;
  width: 143px;
  height: 155px;
  overflow: visible;
}

.speech-wrap {
  position: absolute;
  top: auto;
  right: 75%;
  bottom: 81%;
  left: auto;
  z-index: 12;
  width: 81%;
  transform-origin: right bottom;
  animation: bubblePop 760ms cubic-bezier(0.2, 1.4, 0.32, 1) both 180ms;
}

body.chat-open .speech-wrap {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.86);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.stage {
  position: absolute;
  right: 0;
  bottom: 23%;
  z-index: 10;
  width: 81%;
  min-height: 79%;
  place-items: end center;
  pointer-events: none;
}

.stage-rings {
  right: 50%;
  bottom: -1%;
  width: 94%;
  opacity: 0.92;
  transform: translateX(50%) perspective(560px) rotateX(64deg);
}

.stage-rings::before {
  border-width: 4px;
}

.assistant-wrap {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
}

.assistant-wrap:hover,
.assistant-wrap:focus-visible {
  outline: 0;
  transform: translate3d(var(--tilt-x, 0), calc(var(--tilt-y, 0) - 4px), 0) scale(1.03);
  filter: drop-shadow(0 0 18px rgba(39, 217, 255, 0.56));
}

.assistant {
  max-width: 65%;
  max-height: 89%;
}

.assistant-wrap::before {
  bottom: 2%;
  width: 78%;
  height: 15%;
}

.talk-button-bottom {
  position: absolute;
  right: 0;
  bottom: 8%;
  z-index: 12;
  width: 70%;
  transform: none;
  animation: widgetButtonIn 620ms cubic-bezier(0.16, 1, 0.3, 1) both 260ms;
}

.talk-button-bottom:hover,
.talk-button-bottom:focus-visible {
  transform: translateY(-3px) scale(1.025);
}

.talk-button-bottom:active {
  transform: translateY(1px) scale(0.98);
}

.chat-panel {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(104px, 14vh, 132px);
  z-index: 20;
  width: min(calc(100vw - 32px), 360px);
  padding: 16px;
  border-radius: 14px;
  transform: translateY(14px) scale(0.96);
  transform-origin: right bottom;
}

body.chat-open .chat-panel {
  transform: translateY(0) scale(1);
}

.panel-header {
  position: relative;
  padding-right: 36px;
}

.panel-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(39, 217, 255, 0.26);
  border-radius: 50%;
  background: rgba(3, 14, 35, 0.72);
  color: #dff8ff;
  font-size: 20px;
  line-height: 1;
}

.panel-close:hover,
.panel-close:focus-visible {
  outline: 0;
  border-color: rgba(39, 217, 255, 0.78);
  box-shadow: 0 0 14px rgba(39, 217, 255, 0.28);
}

.speech-wrap, .stage, .assistant-wrap, .talk-button {
  cursor: pointer;
}

@media (max-width: 560px) {
  .ai-assistant-widget {
    width: 220px;
    height: 340px;
  }

  .speech-wrap {
    right: -45%;
    bottom: 91%;
    width: 69%;
  }

  .stage {
    right: 0;
    bottom: 18%;
    width: 67%;
    min-height: 65%;
  }

  .stage-rings {
    bottom: 0;
    width: 78%;
  }

  .assistant {
    max-width: 60%;
    max-height: 79%;
  }

  .talk-button-bottom {
    right: 0;
    bottom: 5%;
    width: 76%;
  }

  .chat-panel {
    right: 12px;
    bottom: 92px;
    width: calc(100vw - 24px);
    max-height: calc(100svh - 114px);
    overflow: auto;
    transform: translateY(14px) scale(0.96);
  }

  body.chat-open .chat-panel {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
