    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      background: #f0f2f5;
      color: #1a1a1a;
      height: 100vh;
      width: 100vw;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Canvas Background */
    #canvas-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      background: radial-gradient(circle at 50% 50%, #ffffff 0%, #e6e9f0 100%);
    }

    #canvas {
      width: 100%;
      height: 100%;
    }

    /* Branding */
    #branding {
      position: absolute;
      top: 30px;
      left: 30px;
      z-index: 20;
      font-size: 24px;
      font-weight: 600;
      color: #1a1a1a;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    #branding .subtitle {
      font-size: 14px;
      font-weight: 400;
      color: #666;
      opacity: 0.8;
    }

    /* UI Overlay */
    #ui-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10;
      pointer-events: none;
      /* Let clicks pass through to canvas where not interacting */
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding-bottom: 40px;
    }

    /* Landing Page (New Start Screen) */
    #landing-page {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #ffffff;
      z-index: 100;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      transition: opacity 0.8s cubic-bezier(0.6, 0.05, 0.01, 0.99), transform 0.8s cubic-bezier(0.6, 0.05, 0.01, 0.99);
    }

    #landing-page.hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateY(-20px) scale(0.98);
    }

    .landing-content {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      padding: 40px 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 60px;
      margin-bottom: 60px;
    }

    .hero-text {
      flex: 1;
      max-width: 550px;
      animation: fadeUp 1s ease-out;
    }

    .hero-visual {
      flex: 1;
      position: relative;
      height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeUp 1s ease-out 0.2s backwards;
    }

    /* Typography & Elements */
    .brand-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: rgba(0, 0, 0, 0.04);
      border-radius: 100px;
      margin-bottom: 24px;
      border: 1px solid rgba(0, 0, 0, 0.04);
      backdrop-filter: blur(10px);
    }

    .pill-text {
      font-size: 13px;
      font-weight: 600;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    h1 {
      font-size: 64px;
      line-height: 1.05;
      font-weight: 700;
      letter-spacing: -2px;
      color: #111;
      margin-bottom: 24px;
      background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: 20px;
      line-height: 1.5;
      color: #666;
      font-weight: 400;
      margin-bottom: 40px;
      max-width: 480px;
    }

    /* Buttons */
    .cta-group {
      display: flex;
      gap: 16px;
      margin-bottom: 48px;
    }

    .ios-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 16px 32px;
      border-radius: 100px;
      font-size: 17px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
      cursor: pointer;
      border: none;
    }

    .ios-btn.primary {
      background: #000;
      color: #fff;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .ios-btn.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
      background: #333;
    }

    .ios-btn.secondary {
      background: white;
      color: #111;
      border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .ios-btn.secondary:hover {
      background: #f5f5f7;
      border-color: rgba(0, 0, 0, 0.2);
    }

    /* Visual Elements */
    .character-img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
      z-index: 2;
      filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
      transition: transform 0.5s ease;
    }

    .hero-visual:hover .character-img {
      transform: scale(1.02);
    }

    .character-glow {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(100, 200, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
      z-index: 1;
      filter: blur(40px);
    }

    .glass-card {
      position: absolute;
      padding: 16px 20px;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(20px);
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.6);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 3;
    }

    .glass-card.left {
      bottom: 100px;
      left: -20px;
    }

    .glass-card.right {
      top: 120px;
      right: 0;
    }

    .card-icon {
      font-size: 24px;
    }

    .card-text {
      display: flex;
      flex-direction: column;
    }

    .card-title {
      font-size: 14px;
      font-weight: 600;
      color: #111;
    }

    .card-desc {
      font-size: 12px;
      color: #666;
    }

    /* Animations */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .float-anim-1 {
      animation: float 6s ease-in-out infinite;
    }

    .float-anim-2 {
      animation: float 6s ease-in-out infinite 3s;
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-15px);
      }
    }

    .feature-badges {
      display: flex;
      gap: 20px;
      animation: fadeUp 1s ease-out 0.4s backwards;
    }

    .badge {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #666;
      font-size: 14px;
      font-weight: 500;
    }

    .footer-credit {
      margin-top: auto;
      text-align: center;
      font-size: 12px;
      color: #999;
      display: flex;
      flex-direction: column;
      gap: 8px;
      animation: fadeUp 1s ease-out 0.6s backwards;
    }

    .social-links a {
      color: #666;
      text-decoration: none;
      transition: color 0.2s;
    }

    .social-links a:hover {
      color: #111;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .hero-section {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
      }

      .hero-text {
        margin: 0 auto;
      }

      .cta-group {
        justify-content: center;
      }

      .feature-badges {
        justify-content: center;
      }

      .hero-visual {
        height: 400px;
        width: 100%;
      }

      h1 {
        font-size: 42px;
      }

      .glass-card {
        display: none;
      }

      /* Hide floating cards on mobile */
    }

    /* Chat Bubbles (Side) */
    #chat-container {
      position: absolute;
      top: 0;
      right: 0;
      width: 400px;
      height: 100%;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      pointer-events: none;
      mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    }

    #messages {
      display: flex;
      flex-direction: column;
      gap: 20px;
      overflow-y: auto;
      padding-bottom: 150px;
      /* Space for input */
      pointer-events: auto;
    }

    /* Hide scrollbar */
    #messages::-webkit-scrollbar {
      display: none;
    }

    .message {
      max-width: 100%;
      padding: 16px 24px;
      border-radius: 24px;
      font-size: 16px;
      line-height: 1.5;
      font-weight: 400;
      animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(20px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .message.user {
      align-self: flex-end;
      background: rgba(0, 0, 0, 0.05);
      color: #1a1a1a;
      border-bottom-right-radius: 4px;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .message.character {
      align-self: flex-start;
      background: rgba(255, 255, 255, 0.6);
      color: #1a1a1a;
      border-bottom-left-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .message.system {
      align-self: center;
      background: transparent;
      font-size: 12px;
      color: rgba(0, 0, 0, 0.4);
      box-shadow: none;
      backdrop-filter: none;
      padding: 5px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Input Area (Bottom Middle) */
    #input-container {
      pointer-events: auto;
      width: 600px;
      max-width: 90%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      margin-bottom: 40px;
      position: relative;
      z-index: 20;
    }

    .input-wrapper {
      width: 100%;
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    #messageInput {
      width: 100%;
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 20px;
      padding: 20px 60px 20px 30px;
      /* Right padding for button */
      color: #1a1a1a;
      font-size: 18px;
      font-family: inherit;
      outline: none;
      backdrop-filter: blur(20px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      text-align: left;
    }

    #messageInput::placeholder {
      color: rgba(0, 0, 0, 0.4);
    }

    #messageInput:focus {
      background: rgba(255, 255, 255, 0.8);
      border-color: rgba(0, 0, 0, 0.1);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
      transform: translateY(-2px);
    }

    #send-btn {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 10px;
      border-radius: 50%;
      color: #1a1a1a;
      opacity: 0.6;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #send-btn:hover {
      background: rgba(0, 0, 0, 0.05);
      opacity: 1;
    }

    #send-btn svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    #mic-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #1a1a1a;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    #mic-btn:hover {
      background: rgba(255, 255, 255, 0.9);
      transform: scale(1.05);
    }

    #mic-btn.recording {
      background: #ef4444;
      color: white;
      animation: pulse-red 1.5s infinite;
    }

    @keyframes pulse-red {
      0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
      }

      70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
      }
    }

    #waveform-container {
      position: absolute;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      width: 300px;
      height: 60px;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(10px);
      border-radius: 30px;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 30;
    }

    #waveform-container.visible {
      display: flex;
    }

    #waveform {
      width: 100%;
      height: 100%;
    }

    /* Status Area (in Chat Container) */
    #status-area {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
      min-height: 40px;
      margin-top: 10px;
      padding-right: 10px;
    }

    .status-message {
      font-size: 12px;
      color: rgba(0, 0, 0, 0.7);
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      opacity: 0;
      transform: translateY(5px);
      transition: all 0.3s ease;
    }

    .status-message.visible {
      opacity: 1;
      transform: translateY(0);
    }

    #status-label {
      animation: pulse-text 1.5s infinite ease-in-out;
    }

    @keyframes pulse-text {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.6;
      }
    }

    .loading-dots span {
      font-size: 18px;
      animation: dots 1.4s infinite;
      opacity: 0;
    }

    .loading-dots span:nth-child(2) {
      animation-delay: 0.2s;
    }

    .loading-dots span:nth-child(3) {
      animation-delay: 0.4s;
    }

    @keyframes dots {
      0% {
        opacity: 0;
      }

      50% {
        opacity: 1;
      }

      100% {
        opacity: 0;
      }
    }

    .motion-stats {
      font-size: 13px;
      color: rgba(0, 0, 0, 0.5);
      margin-top: 4px;
      text-align: right;
      font-weight: 500;
    }

    /* Settings Sidebar */
    #settings-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 320px;
      height: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
      z-index: 100;
      transform: translateX(-100%);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      overflow-y: auto;
      pointer-events: auto;
    }

    #settings-sidebar.visible {
      transform: translateX(0);
    }

    .sidebar-header {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .close-sidebar {
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
      opacity: 0.5;
    }

    .close-sidebar:hover {
      opacity: 1;
    }

    .setting-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .setting-label {
      font-size: 12px;
      font-weight: 600;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .setting-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
    }

    /* Drag and Drop VRM */

    /* Camera Controls (floating bottom-right) */
    #camera-controls {
      position: absolute;
      bottom: 30px;
      right: 30px;
      z-index: 50;
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 30px;
      padding: 5px 8px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      pointer-events: auto;
    }
    .cam-angle-btns {
      display: flex;
      gap: 2px;
    }
    .cam-angle-btn {
      width: 34px;
      height: 34px;
      border: 1px solid transparent;
      border-radius: 50%;
      background: transparent;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: auto;
    }
    .cam-angle-btn:hover {
      background: rgba(0, 0, 0, 0.06);
    }
    .cam-angle-btn.active {
      background: rgba(0, 122, 255, 0.12);
      border-color: rgba(0, 122, 255, 0.35);
    }
    .cam-follow-label {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      font-weight: 500;
      color: #555;
      cursor: pointer;
      padding: 0 6px 0 4px;
      white-space: nowrap;
      border-left: 1px solid rgba(0, 0, 0, 0.08);
      margin-left: 2px;
      padding-left: 8px;
    }
    .cam-follow-label input[type="checkbox"] {
      width: 14px;
      height: 14px;
      margin: 0;
      accent-color: #007aff;
      cursor: pointer;
    }

    /* Drag and Drop VRM */
    #vrm-drop-zone {
      width: 100%;
      height: 100px;
      border: 2px dashed rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      color: #666;
      font-size: 13px;
      transition: all 0.2s;
      cursor: pointer;
      text-align: center;
      padding: 10px;
    }

    #vrm-drop-zone:hover,
    #vrm-drop-zone.dragover {
      border-color: #1a1a1a;
      background: rgba(0, 0, 0, 0.02);
    }

    /* Textareas for prompts */
    .prompt-box {
      width: 100%;
      height: 80px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      padding: 8px;
      font-family: inherit;
      font-size: 12px;
      resize: vertical;
      background: rgba(255, 255, 255, 0.5);
    }

    /* A2E Blend Mode Selector */
    .a2e-blend-modes {
      display: flex;
      gap: 4px;
      background: rgba(0,0,0,0.04);
      border-radius: 8px;
      padding: 3px;
    }
    .a2e-blend-btn {
      flex: 1;
      padding: 6px 0;
      border: none;
      border-radius: 6px;
      background: transparent;
      font-size: 12px;
      font-weight: 500;
      color: #666;
      cursor: pointer;
      transition: all 0.15s;
    }
    .a2e-blend-btn:hover {
      background: rgba(0,0,0,0.04);
      color: #333;
    }
    .a2e-blend-btn.active {
      background: #fff;
      color: #1a1a1a;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
      font-weight: 600;
    }
    .a2e-blend-desc {
      font-size: 11px;
      color: #999;
      margin-top: 2px;
    }
    .a2e-debug-details summary {
      user-select: none;
    }
    .a2e-debug-details summary:hover {
      color: #666;
    }

    /* A2E Facial Expression Controls */
    .a2e-btn {
      padding: 6px 12px;
      border: 1px solid rgba(0,0,0,0.1);
      border-radius: 6px;
      background: rgba(255,255,255,0.6);
      font-size: 12px;
      cursor: pointer;
      transition: all 0.15s;
    }
    .a2e-btn:hover {
      background: rgba(0,0,0,0.05);
    }
    .a2e-btn-stream {
      background: linear-gradient(135deg, #00d4aa, #7c3aed);
      color: #fff;
      border: none;
      font-weight: 600;
    }
    .a2e-btn-stream:hover {
      filter: brightness(1.1);
    }
    .a2e-btn-stream.active {
      background: #ef4444;
    }
    .a2e-status {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
    }
    .a2e-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ccc;
      transition: background 0.2s;
    }
    .a2e-status-dot.live {
      background: #22c55e;
      animation: a2e-pulse-green 1.5s infinite;
    }
    @keyframes a2e-pulse-green {
      0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
      50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
    }
    .a2e-bs-readout {
      max-height: 200px;
      overflow-y: auto;
      font-family: 'SF Mono', 'Menlo', monospace;
      font-size: 11px;
      background: rgba(0,0,0,0.03);
      border-radius: 8px;
      padding: 8px;
    }
    .a2e-bs-row {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 2px 0;
    }
    .a2e-bs-name {
      min-width: 120px;
      font-size: 10px;
      color: #999;
    }
    .a2e-bs-bar-bg {
      flex: 1;
      height: 4px;
      background: rgba(0,0,0,0.08);
      border-radius: 2px;
      overflow: hidden;
    }
    .a2e-bs-bar {
      height: 100%;
      background: linear-gradient(90deg, #00d4aa, #7c3aed);
      border-radius: 2px;
      transition: width 0.08s;
    }
    .a2e-bs-val {
      min-width: 32px;
      text-align: right;
      font-size: 10px;
      color: #00d4aa;
    }

    /* Settings Button (Bottom Left) */
    #settings-toggle-btn {
      position: absolute;
      bottom: 30px;
      left: 30px;
      z-index: 50;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.4);
      padding: 10px 20px;
      border-radius: 30px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 500;
      color: #1a1a1a;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      transition: all 0.2s;
      pointer-events: auto;
    }

    #settings-toggle-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    /* Motion Only Toggle */
    .motion-toggle-container {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
      font-size: 13px;
      color: rgba(0, 0, 0, 0.6);
      pointer-events: auto;
    }

    /* Footer */
    #footer {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 11px;
      color: rgba(0, 0, 0, 0.3);
      pointer-events: none;
      z-index: 10;
    }

    /* Waveform */
    #waveform-container {
      position: absolute;
      bottom: 90px;
      left: 50%;
      transform: translateX(-50%);
      width: 200px;
      height: 50px;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 30;
      pointer-events: none;
    }

    #waveform-container.visible {
      display: flex;
    }

    #waveform {
      width: 100%;
      height: 100%;
    }

    /* Hide old settings */
    #settings-btn,
    #settings-menu {
      display: none !important;
    }

    /* Status Dot Container */
    #status-container {
      position: absolute;
      top: 30px;
      right: 30px;
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 20;
      pointer-events: auto;
    }

    #status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ccc;
      transition: background 0.3s ease;
    }

    #status-text {
      font-size: 16px;
      color: rgba(0, 0, 0, 0.5);
      font-weight: 500;
    }

    #status-dot.connected {
      background: #4ade80;
      box-shadow: 0 0 24px #4ade80;
    }

    #status-dot.disconnected {
      background: #ef4444;
    }

    #status-dot.processing {
      background: #fbbf24;
      animation: pulse 1s infinite;
    }

    #reconnect-btn {
      display: none;
      align-items: center;
      gap: 5px;
      padding: 6px 14px;
      border: 1px solid rgba(0,0,0,0.1);
      border-radius: 20px;
      background: rgba(255,255,255,0.8);
      backdrop-filter: blur(10px);
      font-size: 13px;
      font-weight: 500;
      color: #1a1a1a;
      cursor: pointer;
      transition: all 0.2s;
      pointer-events: auto;
    }

    #reconnect-btn:hover {
      background: rgba(0,0,0,0.05);
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.5;
      }
    }