  * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            min-height: 100vh;
            padding: 20px;
            color: #2d3748;
            background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px), radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%), linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
            background-size: 10px 10px, 10px 10px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
            background-position: 0 0;
            background-repeat: repeat;
            background-attachment: fixed;
            box-shadow: 0 3px 7px rgb(0 0 0 / 30%) inset;
        }
        
        .container {
            max-width: 900px;
            margin: 18px auto 0 auto;
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            overflow: hidden;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .header {
            padding: 40px 30px;
            color: white;
            text-align: center;
            background: linear-gradient(135deg, #ab008e 0%, #00f3ff 100%);
        }
        
        .header h1 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }
        
        .header p {
            opacity: 0.95;
            font-size: 15px;
        }
        
        .status-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 30px;
            background: #000000;
            border-bottom: 1px solid #ffffff59;
        }
        
        .status-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .status-dot { 
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #cbd5e0;
            animation: pulse 2s infinite;
        }
        
        .status-online {
            background-color: #00ff6a;
            box-shadow: 0 0 0 4px rgba(72, 187, 120, 0.2);
        }
        
        .status-offline { 
            background-color: #f56565;
            box-shadow: 0 0 0 4px rgba(245, 101, 101, 0.2);
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        
        .status-text {
            font-size: 14px;
            font-weight: 600;
            color: #ffee00;
        }
        
        .device-badge {
            background: #edff00;
            color: #000000;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            display: none;
        }
        
        .content {
            padding: 40px 30px;
        }
        
        .form-group { 
            margin-bottom: 28px;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            font-size: 14px;
            color: #ffffff73;
            letter-spacing: 0.3px;
        }
        #audeff{margin: -44px 0 0 0px;float:left;}
        textarea {
            width: 100%;
            min-height: 120px;
            padding: 16px;
            border-radius: 12px;
            resize: vertical;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.05);
            color: #FFF;
            backdrop-filter: blur(10px);
            border: 0px solid rgba(255, 255, 255, 0.1);
        }
        
        textarea:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgb(255 255 255 / 17%);
        }
        
        select, input[type="file"] {
            /* width: 100%; */
            padding: 9px 16px 9px 16px;
            border: 2px solid #e2e8f000;
            border-radius: 12px;
            font-size: 14px;
            font-family: inherit;
            background: #0000002b;
            transition: all 0.3s;
            cursor: pointer;
            float: left;
            clear: none;
            color: #ffffff;
            margin: 0px 20px 0px 0px;
        }
        #upload-content{width:100%;float:left;clear:both;}
select option{background-color:#d6ddff; color:#000000}
select optgroup{background-color:#ffed77; color:#000000}
#upload-content input[type="file"]{
    width: 100%;
    margin: 0px 0px 60px 0px;
                     }
        select:focus, input[type="file"]:focus {
            outline: none;
            background: #ffffff52;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        
        .voice-source-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            background: #00000036;
            padding: 6px;
            border-radius: 12px;
        }
        
        .voice-tab {
            flex: 1;
            padding: 12px;
            border: none;
            background: transparent;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            color: #ffffff61;
        }
        
        .voice-tab:hover {
            background: #ffffff12;
        }
        
        .voice-tab.active {
            background: #ffffff14;
            color: #ffffff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .voice-source-content {
            display: none;
        }
        
        .voice-source-content.active {
            display: block;
        }
        
        .recording-interface {
            border-radius: 12px;
            padding: 10px 20px 0px 20px;
            text-align: center;
            float: left;
            width: 100%;
            margin: 0px 0px 65px 0px;
            background: rgba(255, 255, 255, 0.05);
            color: #FFF;
            backdrop-filter: blur(10px);
            border: 0px solid rgba(255, 255, 255, 0.1);
        }
        
        .recording-visualizer {
            width: 100%;
            height: 100px;
            /* background: #00000061; */
            border-radius: 12px;
            /* margin: 20px 0; */
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .visualizer-bars {
            display: flex;
            gap: 5px;
            height: 100%;
            align-items: center;
            justify-content: center;
        }
        
        .visualizer-bar {
            width: 4px;
            background: linear-gradient(180deg, #667eea, #764ba2);
            border-radius: 2px;
            transition: height 0.1s;
        }
        
        .recording-timer {
            font-size: 19px;
            font-weight: 700;
            color: #f9ff00;
            margin: 17px 0 -23px 0;
            font-variant-numeric: tabular-nums;
        }
        
        .recording-hint {
            font-size: 15px;
            color: #c9c9c9;
            margin-top: 12px;
        }
        
        .record-btn {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            border: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 52px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
            margin: 20px auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .record-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
        }
        
        .record-btn:active {
            transform: scale(0.95);
        }
        
        .record-btn.recording {
            background: #f56565;
            animation: recordingPulse 1.5s infinite;
        }
        
        @keyframes recordingPulse {
            0%, 100% { box-shadow: 0 8px 20px rgba(245, 101, 101, 0.4); }
            50% { box-shadow: 0 8px 28px rgba(245, 101, 101, 0.6); }
        }
        
        .audio-preview {
            margin-top: 20px;
            display: none;
        }
        
        .audio-preview.visible {
            display: block;
        }
        
        .audio-preview audio {
            width: 100%;
            border-radius: 8px;
        }
        
        button.primary-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 16px 32px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            border-radius: 12px;
            transition: all 0.3s;
            width: 100%;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            margin: 20px 0 -7px 0px;
        }
        
        button.primary-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        }
        
        button.primary-btn:active {
            transform: translateY(0);
        }
        
        button:disabled { 
            background: #cbd5e0;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
        }
        
        #audio-result {
            margin-top: 32px;
            padding: 24px;
            border-radius: 12px;
            display: none;
            text-align: center;
            background: rgb(0 0 0 / 37%);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        #audio-result h3 {
            color: #ffffff;
            font-size: 18px;
            float: left;
            margin: -13px 0px 0px -12px;
        }
        
        #audio-result audio {
            width: 100%;
            margin: 16px 0 0px 0;
            border-radius: 28px;
            /* display: none; */
        }
        
        #downloadLink {
            display: inline-block;
            padding: 12px 24px;
            background: #667eea;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s;
            width: 100%;
            margin: -30px 0px 0px 0px;
        }
        
        #downloadLink:hover {
            background: #5568d3;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }
        
        .loading { 
            display: none;
            color: #718096;
            text-align: center;
            margin: 24px 0;
            font-size: 15px;
        }
        
        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #e2e8f0;
            border-top-color: #667eea;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-right: 12px;
            vertical-align: middle;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .info-box {
            padding: 16px;
            background: #ebf4ff;
            border-left: 4px solid #4299e1;
            border-radius: 8px;
            font-size: 13px;
            color: #2c5282;
            margin-top: 12px;
            display: none;
        }
        
        .info-box.visible {
            display: none;
            /* display: block; */
        }
        
        @media (max-width: 768px) {
            body { padding: 10px; }
            .header { padding: 30px 20px; }
            .header h1 { font-size: 24px; }
            .content { padding: 24px 20px; }
            .status-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
            .voice-source-tabs { flex-direction: column; }
            .recording-interface { padding: 20px; }
            .record-btn { width: 70px; height: 70px; font-size: 28px; }
        }
        
        @media (max-width: 480px) {
            .header h1 { font-size: 20px; }
            .content { padding: 20px 16px; }
            textarea { min-height: 100px; font-size: 14px; }
        }

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #667eea;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    background: rgb(255 0 0);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(255 255 255);
}




audio {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    outline: none;
}

audio::-webkit-media-controls-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

audio::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    margin: 0 10px;
}

audio::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

audio::-moz-range-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
}

audio::-moz-range-thumb {
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.audio-preview audio {
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

#audio-result audio {
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}




.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  margin: 10px 10px 0px -50px;
  z-index: 1;
  min-width: 30px;
  min-height: 30px;
  color: #fff;
  float: right;
  }
.user-avatar:hover{cursor:pointer;}
#glmn {
  position: absolute;
  width: 210px;
  height: 160px;
  margin: 0px 0px 0px 0px;
  right: 9px;
  top: 69px;
  border-radius: 8px;
  padding: 15px 20px 15px 20px;
  display: none;
  font-size: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#glmn a{float:left;width:100%;color: #ffffff;text-decoration:none;margin:0px 0px 10px 0px;border-bottom: 1px solid #ffffff1a;padding: 0px 0px 5px 0px;}
#glmn a:hover{text-decoration:underline;}
#glmn a.exit{
    text-align: right;
    color: #fff;
    font-size: 13px;
    margin: 19px -13px -29px 5px;
    width: auto;
    float: right;
    background-color: #000;
    border-radius: 4px;
    padding: 3px 5px 2px 5px;
    }