.feature-html-wrapper .container {
      background: #fff;
      padding: 20px;
      border: 1px solid #ccd0d4;
      border-radius: 4px;
      width: 100%;
      max-width: 100%;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
      margin: 0 auto;
    }
    .feature-html-wrapper h1 {
      text-align: center;
      margin-bottom: 10px;
      font-size: 32px;
      color: #1a1a1a;
    }
    .feature-html-wrapper .subtitle {
      text-align: center;
      color: #646970;
      margin-bottom: 30px;
      font-size: 14px;
    }
    .feature-html-wrapper .controls {
      text-align: center;
      margin-bottom: 30px;
    }
    .feature-html-wrapper button {
      padding: 15px 40px;
      font-size: 18px;
      cursor: pointer;
      border-radius: 4px;
      border: 1px solid #2271b1;
      background: #2271b1;
      color: white;
      font-weight: 500;
      transition: all 0.3s;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper button:hover {
      background: #135e96;
      border-color: #135e96;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper button:active {
      background: #135e96;
    }
    .feature-html-wrapper button.recording {
      background: #d63638;
      border-color: #d63638;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }
    .feature-html-wrapper #status {
      margin-top: 15px;
      font-size: 16px;
      color: #646970;
    }
    .feature-html-wrapper .progress-bar {
      width: 100%;
      height: 8px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 4px;
      overflow: hidden;
      margin: 20px 0;
      display: none;
    }
    .feature-html-wrapper .progress-fill {
      height: 100%;
      background: #2271b1;
      width: 0%;
      transition: width 0.1s;
    }
    .feature-html-wrapper .visualizations {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 30px;
    }
    .feature-html-wrapper .viz-container {
      background: #fff;
      padding: 20px;
      border-radius: 4px;
      border: 1px solid #ccd0d4;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper .viz-title {
      font-size: 14px;
      color: #646970;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .feature-html-wrapper canvas {
      width: 100%;
      height: 120px;
      border-radius: 8px;
    }
    .feature-html-wrapper .results {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      margin-top: 30px;
      max-height: 600px;
      overflow-y: auto;
      padding: 10px;
    }
    .feature-html-wrapper .results::-webkit-scrollbar {
      width: 8px;
    }
    .feature-html-wrapper .results::-webkit-scrollbar-track {
      background: #f0f0f1;
      border-radius: 4px;
    }
    .feature-html-wrapper .results::-webkit-scrollbar-thumb {
      background: #c3c4c7;
      border-radius: 4px;
    }
    .feature-html-wrapper .results::-webkit-scrollbar-thumb:hover {
      background: #8c8f94;
    }
    .feature-html-wrapper .emotion-card {
      background: #fff;
      padding: 15px;
      border-radius: 4px;
      text-align: center;
      border: 1px solid #ccd0d4;
      transition: all 0.3s;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper .emotion-card.active {
      border-color: #2271b1;
      background: #fff;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper .emotion-emoji {
      font-size: 36px;
      margin-bottom: 8px;
    }
    .feature-html-wrapper .emotion-name {
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 6px;
    }
    .feature-html-wrapper .emotion-confidence {
      font-size: 14px;
      color: #646970;
    }
    .feature-html-wrapper .confidence-bar {
      width: 100%;
      height: 6px;
      background: #f0f0f1;
      border-radius: 3px;
      overflow: hidden;
      margin-top: 8px;
    }
    .feature-html-wrapper .confidence-fill {
      height: 100%;
      background: #2271b1;
      transition: width 0.5s;
    }
    .feature-html-wrapper .main-result {
      text-align: center;
      margin-top: 30px;
      padding: 30px;
      background: #fff;
      border-radius: 4px;
      border: 1px solid #ccd0d4;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper .main-result-emoji {
      font-size: 64px;
      margin-bottom: 15px;
    }
    .feature-html-wrapper .main-result-text {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .feature-html-wrapper .main-result-confidence {
      font-size: 18px;
      color: #646970;
    }
    .feature-html-wrapper .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }
    .feature-html-wrapper .feature-item {
      background: #fff;
      padding: 15px;
      border-radius: 4px;
      text-align: center;
      border: 1px solid #ccd0d4;
      box-shadow: 0 1px 1px rgba(0,0,0,.04);
    }
    .feature-html-wrapper .feature-label {
      font-size: 12px;
      color: #646970;
      margin-bottom: 5px;
      text-transform: uppercase;
    }
    .feature-html-wrapper .feature-value {
      font-size: 20px;
      font-weight: bold;
      color: #2271b1;
    }

    @media (max-width: 1024px) {
      .feature-html-wrapper .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
      }

      .feature-html-wrapper .visualizations {
        grid-template-columns: 1fr !important;
        gap: 15px;
      }

      .feature-html-wrapper .results {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
      }

      .feature-html-wrapper .features {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
      }
    }

    @media (max-width: 768px) {
      .feature-html-wrapper .container {
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }

      .feature-html-wrapper h1 {
        font-size: 24px !important;
      }

      .feature-html-wrapper .subtitle {
        font-size: 13px !important;
        margin-bottom: 20px;
      }

      .feature-html-wrapper .controls {
        margin-bottom: 20px;
      }

      .feature-html-wrapper button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
      }

      .feature-html-wrapper #status {
        font-size: 14px;
      }

      .feature-html-wrapper .visualizations {
        grid-template-columns: 1fr !important;
        gap: 15px;
        margin-bottom: 20px;
      }

      .feature-html-wrapper .viz-container {
        padding: 15px;
      }

      .feature-html-wrapper .viz-title {
        font-size: 12px;
      }

      .feature-html-wrapper canvas {
        height: 100px;
      }

      .feature-html-wrapper .results {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
        gap: 10px;
        margin-top: 20px;
        padding: 8px;
      }

      .feature-html-wrapper .emotion-card {
        padding: 12px;
      }

      .feature-html-wrapper .emotion-emoji {
        font-size: 28px;
      }

      .feature-html-wrapper .emotion-name {
        font-size: 12px;
      }

      .feature-html-wrapper .emotion-confidence {
        font-size: 12px;
      }

      .feature-html-wrapper .main-result {
        margin-top: 20px;
        padding: 20px;
      }

      .feature-html-wrapper .main-result-emoji {
        font-size: 48px;
        margin-bottom: 12px;
      }

      .feature-html-wrapper .main-result-text {
        font-size: 22px;
      }

      .feature-html-wrapper .main-result-confidence {
        font-size: 16px;
      }

      .feature-html-wrapper .features {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
        gap: 12px;
      }

      .feature-html-wrapper .feature-item {
        padding: 12px;
      }

      .feature-html-wrapper .feature-value {
        font-size: 18px;
      }
    }

    @media (max-width: 480px) {
      .feature-html-wrapper .container {
        padding: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }

      .feature-html-wrapper h1 {
        font-size: 20px !important;
        margin-bottom: 8px;
      }

      .feature-html-wrapper .subtitle {
        font-size: 12px !important;
        margin-bottom: 15px;
      }

      .feature-html-wrapper .controls {
        margin-bottom: 15px;
      }

      .feature-html-wrapper button {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
      }

      .feature-html-wrapper #status {
        font-size: 13px;
        margin-top: 12px;
      }

      .feature-html-wrapper .visualizations {
        gap: 12px;
        margin-bottom: 15px;
      }

      .feature-html-wrapper .viz-container {
        padding: 12px;
      }

      .feature-html-wrapper .viz-title {
        font-size: 11px;
        margin-bottom: 8px;
      }

      .feature-html-wrapper canvas {
        height: 80px;
      }

      .feature-html-wrapper .results {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)) !important;
        gap: 8px;
        margin-top: 15px;
        padding: 5px;
        max-height: 500px;
      }

      .feature-html-wrapper .emotion-card {
        padding: 10px;
      }

      .feature-html-wrapper .emotion-emoji {
        font-size: 24px;
        margin-bottom: 6px;
      }

      .feature-html-wrapper .emotion-name {
        font-size: 11px;
        margin-bottom: 4px;
      }

      .feature-html-wrapper .emotion-confidence {
        font-size: 10px;
      }

      .feature-html-wrapper .confidence-bar {
        height: 4px;
        margin-top: 6px;
      }

      .feature-html-wrapper .main-result {
        margin-top: 15px;
        padding: 15px;
      }

      .feature-html-wrapper .main-result-emoji {
        font-size: 40px;
        margin-bottom: 10px;
      }

      .feature-html-wrapper .main-result-text {
        font-size: 18px;
        margin-bottom: 8px;
      }

      .feature-html-wrapper .main-result-confidence {
        font-size: 14px;
      }

      .feature-html-wrapper .features {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)) !important;
        gap: 10px;
        margin-top: 15px;
      }

      .feature-html-wrapper .feature-item {
        padding: 10px;
      }

      .feature-html-wrapper .feature-label {
        font-size: 10px;
        margin-bottom: 4px;
      }

      .feature-html-wrapper .feature-value {
        font-size: 16px;
      }
    }