        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --primary-light: rgba(67, 97, 238, 0.1);
            --text: #2b2d42;
            --text-light: #6c757d;
            --bg: #f8f9fa;
            --card: #fff;
            --shadow: rgba(0, 0, 0, 0.05);
            --border: #e9ecef;
            --signal-strong: #4cc9f0;
            --signal-medium: #4895ef;
            --signal-weak: #4361ee;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--bg);
            color: var(--text);
            display: block;
            min-height: 100vh;
            padding: 20px;
            line-height: 1.5;
            overflow-y: auto;
            overflow-x: hidden;
        }
        
        .container {
            width: 100%;
            max-width: 1400px;
            background-color: var(--card);
            border-radius: 20px;
            box-shadow: 0 20px 40px var(--shadow);
            padding: 40px;
            text-align: center;
            border: 1px solid var(--border);
            margin: 20px auto;
            transform: none;
        }
        
        h1 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 30px;
            color: var(--text);
        }
        
        .main-content {
            display: flex;
            gap: 20px;
            margin-top: 30px;
        }
        
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .right-column {
                width: 100% !important;
            }
        }
        
        .left-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .right-column {
            width: 45%;
            display: flex;
            flex-direction: column;
        }
        
        .my-info {
            background-color: var(--primary-light);
            border-radius: 16px;
            padding: 15px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .my-callsign {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        /* 国旗图标样式已删除 */

        .my-callsign-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }

        .my-callsign-label {
            font-size: 14px;
            color: var(--text-light);
            font-weight: 500;
            background-color: rgba(67, 97, 238, 0.05);
            padding: 2px 8px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .my-callsign-value {
            font-family: 'Courier New', monospace;
            font-size: 38px;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: 3px;
            text-shadow: 2px 2px 4px rgba(67, 97, 238, 0.2);
            background: linear-gradient(135deg, var(--primary) 0%, #3a56d4 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
            padding: 0 4px;
            border: none;
            background-color: transparent;
            width: 180px;
            text-transform: uppercase;
        }
        
        input.my-callsign-value:focus {
            outline: none;
            border-bottom: 2px solid var(--primary);
        }

        .my-callsign-value::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, 
                rgba(67, 97, 238, 0) 0%, 
                rgba(67, 97, 238, 0.3) 50%, 
                rgba(67, 97, 238, 0) 100%);
        }

        .my-location {
            font-size: 16px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .my-location-input-container {
            display: flex;
            align-items: center;
            color: var(--text);
            font-weight: 600;
        }
        
        #myQthInput {
            border: none;
            border-bottom: 1px solid var(--border);
            background-color: transparent;
            font-size: 16px;
            color: var(--text);
            font-weight: 600;
            width: 120px;
            padding: 4px 0;
        }
        
        #myQthInput:focus {
            outline: none;
            border-bottom: 2px solid var(--primary);
        }
        
        .displays-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 15px;
        }
        
        .callsign-display {
            flex: 1;
            margin: 0;
            padding: 25px 25px;
            background-color: var(--primary-light);
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.1);
            border: 1px solid rgba(67, 97, 238, 0.1);
        }
        
        #callsign {
            font-size: 60px;
            font-weight: 800;
            font-family: 'Courier New', monospace;
            letter-spacing: 4px;
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        #location {
            font-size: 22px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 5px;
        }
        
        #city {
            font-size: 18px;
            color: var(--text-light);
        }
        
        button {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 16px 32px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 20px;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            letter-spacing: 0.5px;
        }
        
        .generate-btn {
            margin: 15px auto 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border: none;
            padding: 14px 28px;
            font-size: 15px;
            transform-origin: center;
            width: auto;
            min-width: 200px;
        }
        
        .generate-btn:hover {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
        }
        
        .generate-btn:active {
            transform: translateY(0) scale(0.98);
            box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
        }
        
        button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
        }
        
        button:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
        }
        
        .info {
            margin-top: 25px;
            color: var(--text-light);
            font-size: 14px;
        }
        
        .dashboard {
            flex: 1;
            margin: 0;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 16px;
            border: 1px solid var(--border);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        }
        
        .dashboard-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text);
            text-align: left;
        }
        
        .signal-meter {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        
        .signal-label {
            width: 80px;
            text-align: left;
            font-size: 14px;
            color: var(--text-light);
        }
        
        .signal-bars {
            flex-grow: 1;
            height: 30px;
            display: flex;
            align-items: center;
            gap: 3px;
        }
        
        .signal-bar {
            height: 100%;
            width: 8px;
            background-color: #e9ecef;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .signal-bar.active-weak {
            background-color: var(--signal-weak);
        }
        
        .signal-bar.active-medium {
            background-color: var(--signal-medium);
        }
        
        .signal-bar.active-strong {
            background-color: var(--signal-strong);
        }
        
        .signal-value {
            width: 60px;
            text-align: right;
            font-size: 14px;
            font-weight: 600;
            color: var(--text);
        }
        
        .signal-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .signal-stat {
            text-align: center;
            flex: 1;
            min-width: 120px;
            background: rgba(67, 97, 238, 0.03);
            padding: 12px;
            border-radius: 12px;
            border: 1px solid rgba(67, 97, 238, 0.08);
        }
        
        .signal-stat-value {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Courier New', monospace;
        }
        
        .signal-stat-label {
            font-size: 12px;
            color: var(--text-light);
            margin-top: 5px;
            font-weight: 500;
        }

        .rst-report {
            margin-top: 20px;
            padding: 15px;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(58, 86, 212, 0.05) 100%);
            border-radius: 12px;
            border: 1px solid rgba(67, 97, 238, 0.1);
        }

        .rst-value {
            font-family: 'Courier New', monospace;
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
            text-shadow: 1px 1px 2px rgba(67, 97, 238, 0.1);
            letter-spacing: 2px;
        }

        .rst-label {
            font-size: 13px;
            color: var(--text-light);
            margin-top: 5px;
            font-weight: 500;
        }
        
        .map-container {
            height: 500px;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 4px 12px var(--shadow);
        }
        
        #map {
            width: 100%;
            height: 100%;
        }
        
        .callsign-history {
            margin-top: 20px;
            background-color: var(--card);
            border-radius: 16px;
            border: 1px solid var(--border);
            box-shadow: 0 4px 12px var(--shadow);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        .history-title {
            padding: 15px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            background-color: var(--primary-light);
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .history-list {
            max-height: calc(76px * 3);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg);
        }

        .history-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background-color 0.2s ease;
            flex-wrap: wrap;
            position: relative;
            height: 76px;
        }

        .history-item:hover {
            background-color: var(--primary-light);
        }

        .history-main-info {
            display: flex;
            align-items: center;
            width: 100%;
            margin-bottom: 6px;
            justify-content: flex-start;
            gap: 20px;
            padding: 0 15px;
        }
        
        .history-callsign {
            font-family: 'Courier New', monospace;
            font-size: 18px;
            font-weight: 600;
            color: var(--primary);
            text-align: left;
            width: 120px;
            flex: none;
        }
        
        .history-location {
            color: var(--text-light);
            font-size: 14px;
        }
        
        .history-details {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            font-size: 12px;
            color: var(--text-light);
            padding: 0 15px;
        }
        
        .history-time {
            color: var(--text-light);
            font-family: monospace;
        }
        
        .history-signal,
        .history-signal-label,
        .history-signal-value {
            display: none;
        }
        
        @media (max-width: 1400px) {
            .container {
                margin: 0 auto;
                width: 95%;
            }
        }
        
        @media (max-width: 1200px) {
            .container {
                width: 95%;
            }
        }
        
        @media (max-width: 992px) {
            .container {
                padding: 30px 15px;
                width: 95%;
            }
        }
        
        @media (max-width: 768px) {
            .container {
                width: 95%;
            }
        }
        
        @media (max-width: 576px) {
            .container {
                width: 95%;
            }
        }

        .distance-stats {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .distance-display {
            display: flex;
            align-items: center;
            gap: 15px;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(58, 86, 212, 0.05) 100%);
            padding: 15px 25px;
            border-radius: 12px;
            border: 1px solid rgba(67, 97, 238, 0.1);
        }

        .distance-value {
            font-size: 24px;
            font-weight: 600;
            color: var(--primary);
            font-family: 'Courier New', monospace;
        }

        .distance-icon {
            display: flex;
            align-items: center;
            color: var(--primary);
            opacity: 0.8;
        }

        .main-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 30px;
            text-align: center;
            letter-spacing: 1px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 2px 2px 4px rgba(67, 97, 238, 0.1);
            position: relative;
            padding-bottom: 15px;
        }

        .main-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, 
                rgba(67, 97, 238, 0) 0%, 
                rgba(67, 97, 238, 0.5) 50%, 
                rgba(67, 97, 238, 0) 100%);
            border-radius: 3px;
        }

        /* 添加自定义滚动条样式 */
        .history-list::-webkit-scrollbar {
            width: 6px;
        }

        .history-list::-webkit-scrollbar-track {
            background: var(--bg);
            border-radius: 3px;
        }

        .history-list::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        .history-list::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        .footer-banner {
            margin-top: 30px;
            padding: 20px;
            text-align: center;
            color: var(--text-light);
            font-size: 14px;
            border-top: 1px solid var(--border);
            background: linear-gradient(to right, rgba(67, 97, 238, 0.02), rgba(67, 97, 238, 0.05), rgba(67, 97, 238, 0.02));
        }

        .footer-banner a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-banner a:hover {
            color: var(--primary-dark);
        }

        .morse-btn {
            background: linear-gradient(135deg, #4cc9f0 0%, #4895ef 100%);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 12px 24px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .morse-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(76, 201, 240, 0.3);
        }

        .morse-btn:active {
            transform: translateY(0);
        }

        .morse-btn svg {
            width: 16px;
            height: 16px;
        }

        .morse-status {
            font-size: 14px;
            color: var(--text-light);
            margin-top: 8px;
            min-height: 20px;
        }

        .frequency-control {
            margin-top: 15px;
            padding: 15px;
            background: rgba(67, 97, 238, 0.05);
            border-radius: 12px;
            text-align: left;
        }

        .frequency-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text);
        }

        .frequency-value {
            font-family: 'Courier New', monospace;
            font-weight: 600;
            color: var(--primary);
        }

        .frequency-slider {
            width: 100%;
            height: 6px;
            -webkit-appearance: none;
            background: linear-gradient(to right, var(--primary-light), var(--primary));
            border-radius: 3px;
            outline: none;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .frequency-slider:hover {
            opacity: 1;
        }

        .frequency-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
            transition: all 0.2s;
        }

        .frequency-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(67, 97, 238, 0.4);
        }

        .frequency-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
            transition: all 0.2s;
            border: none;
        }

        .frequency-slider::-moz-range-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(67, 97, 238, 0.4);
        }

        .controls-container {
            margin-top: 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .control-group {
            padding: 15px;
            background: rgba(67, 97, 238, 0.05);
            border-radius: 12px;
            text-align: left;
        }

        .control-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text);
        }

        .control-value {
            font-family: 'Courier New', monospace;
            font-weight: 600;
            color: var(--primary);
        }

        .control-slider-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .slider-btn {
            width: 30px;
            height: 30px;
            border: none;
            border-radius: 6px;
            background: var(--primary);
            color: white;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
            line-height: 1;
        }

        .slider-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .slider-btn:active {
            transform: translateY(1px);
        }

        .control-slider {
            width: 100%;
            height: 6px;
            -webkit-appearance: none;
            background: linear-gradient(to right, var(--primary-light), var(--primary));
            border-radius: 3px;
            outline: none;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .control-slider:hover {
            opacity: 1;
        }

        .control-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
            transition: all 0.2s;
        }

        .control-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(67, 97, 238, 0.4);
        }

        .control-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(67, 97, 238, 0.3);
            transition: all 0.2s;
            border: none;
        }

        .control-slider::-moz-range-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(67, 97, 238, 0.4);
        }

        .cw-format-select {
            margin-top: 15px;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--bg);
            font-size: 14px;
            color: var(--text);
            width: 100%;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .cw-format-select:hover {
            border-color: var(--primary);
        }

        .cw-format-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--primary-light);
        }

        .morse-btn-group {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .morse-btn-group .morse-btn {
            flex: 1;
            margin-top: 0;
        }
        
        .noise-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 8px;
        }
        
        .noise-btn {
            background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-width: 100px;
        }
        
        .noise-btn.active {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        }
        
        .noise-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .noise-btn:active {
            transform: translateY(0);
        }
        
        #noiseVolumeSlider {
            flex: 1;
        }

        .noise-sync-control {
            margin-top: 8px;
            display: flex;
            align-items: center;
        }
        
        .sync-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: var(--text-light);
            cursor: pointer;
        }
        
        .sync-label input {
            cursor: pointer;
        }
        
        .input-with-tooltip {
            position: relative;
            display: inline-block;
        }
        
        .edit-tooltip {
            position: absolute;
            background-color: var(--primary);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: normal;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 100;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }
        
        /* 呼号输入框的提示位置 */
        .my-callsign-info .edit-tooltip {
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        /* QTH输入框的提示位置 */
        .my-location-input-container .edit-tooltip {
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        /* 添加小三角形指示 */
        .edit-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: var(--primary) transparent transparent transparent;
        }
        
        /* 鼠标悬停时显示提示 */
        .input-with-tooltip:hover .edit-tooltip {
            opacity: 1;
            visibility: visible;
        }
        
        /* 输入框获得焦点时隐藏提示 */
        .input-with-tooltip input:focus + .edit-tooltip {
            opacity: 0;
            visibility: hidden;
        }
        
        /* 输入框获得焦点时的样式 */
        #myCallsignInput:focus, #myQthInput:focus {
            outline: none;
            border-bottom: 2px solid var(--primary);
            background-color: rgba(67, 97, 238, 0.05);
        }

        /* 添加通知样式 */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 12px 20px;
            background-color: var(--primary);
            color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.3s, transform 0.3s;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .notification.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .notification-icon {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 引导教程样式 */
        .tour-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9000;
            display: none;
        }
        
        .tour-overlay.active {
            display: block;
        }
        
        .tour-highlight {
            position: absolute;
            box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
            border-radius: 4px;
            z-index: 9001;
            pointer-events: none;
        }
        
        .tour-popup {
            position: absolute;
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            width: 300px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            z-index: 9002;
        }
        
        .tour-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--primary);
        }
        
        .tour-content {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 20px;
            color: var(--text);
        }
        
        .tour-buttons {
            display: flex;
            justify-content: space-between;
        }
        
        .tour-button {
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .tour-button.primary {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .tour-button.primary:hover {
            background-color: var(--primary-dark);
        }
        
        .tour-button.secondary {
            background-color: transparent;
            color: var(--text-light);
            border: 1px solid var(--border);
        }
        
        .tour-button.secondary:hover {
            background-color: var(--bg);
        }
        
        .tour-progress {
            display: flex;
            justify-content: center;
            margin-top: 15px;
            gap: 6px;
        }
        
        .tour-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--border);
        }
        
        .tour-dot.active {
            background-color: var(--primary);
        }
        
        .tour-start-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
            }
        }
        
        .tour-start-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
            animation: none;
        }
        
        .tour-start-button svg {
            width: 18px;
            height: 18px;
        }

        .tour-start-button.tour-completed {
            animation: none;
        }

        /* 添加飞书文档跳转按钮的样式 */
        .tour-doc-link {
            margin-top: 15px;
            text-align: center;
            padding: 5px 0;
        }
        
        .tour-doc-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background-color: #3370ff;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
        }
        
        .tour-doc-button:hover {
            background-color: #2860e1;
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .tour-doc-button svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
        }
        
        /* 添加呼号隐藏功能样式 */
        .hide-controls {
            text-align: right;
            margin-bottom: 10px;
        }
        
        .hide-toggle-btn {
            background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .hide-toggle-btn.active {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        }
        
        .hide-toggle-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .callsign-hidden #callsignInfoContainer {
            position: relative;
        }
        
        .callsign-hidden #callsignInfoContainer::before {
            content: "练习模式，呼号隐藏";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-light);
            color: var(--primary);
            font-size: 20px;
            font-weight: 700;
            z-index: 10;
            border-radius: 8px;
            border: 2px dashed var(--primary);
        }
        
        .callsign-hidden #callsign,
        .callsign-hidden #location,
        .callsign-hidden #city {
            visibility: hidden;
        }
        
        /* 练习模式下隐藏地图、历史记录和摩斯码发送内容 */
        .callsign-hidden .map-container,
        .callsign-hidden .callsign-history {
            position: relative;
            filter: blur(8px);
            pointer-events: none;
        }
        
        .callsign-hidden .map-container::before,
        .callsign-hidden .callsign-history::before {
            content: "练习模式不显示";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            font-size: 20px;
            font-weight: 700;
            border-radius: 16px;
            border: 2px dashed var(--primary);
        }
        
        .callsign-hidden #morseStatus {
            position: relative;
        }
        
        .callsign-hidden #morseStatus::before {
            content: "练习模式不显示";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-weight: 600;
            z-index: 10;
            background-color: transparent;
        }

        /* 添加移动设备竖屏优化样式 */
        @media screen and (max-width: 767px) {
            /* 调整位置信息区域布局 */
            #callsignInfoContainer {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            
            /* 位置和城市信息样式优化 */
            #location, #city {
                text-align: center;
                width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            /* 优化位置信息显示 */
            #location {
                font-size: 20px;
                margin-bottom: 4px;
            }
            
            #city {
                font-size: 16px;
            }
            
            /* 优化底部按钮区域 */
            .morse-btn-group {
                flex-direction: column;
                gap: 8px;
            }
            
            .morse-btn-group .morse-btn {
                width: 100%;
                padding: 12px 16px;
                font-size: 14px;
            }
            
            /* 调整按钮内部图标和文字对齐 */
            .morse-btn-group .morse-btn svg {
                width: 14px;
                height: 14px;
            }
            
            /* 优化控制滑块在移动设备上的显示 */
            .control-slider-container {
                flex: 1;
            }
            
            .control-group {
                margin-bottom: 15px;
            }
            
            /* 优化噪音控制区域在移动设备上的显示 */
            .noise-controls {
                flex-direction: column;
                align-items: stretch;
            }
            
            .noise-btn {
                width: 100%;
                justify-content: center;
            }
        }
        
        /* 特别针对超窄屏幕的优化 */
        @media screen and (max-width: 360px) {
            #callsign {
                font-size: 48px;
            }
            
            #location {
                font-size: 18px;
            }
            
            #city {
                font-size: 14px;
            }
            
            .control-label {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .control-label span:last-child {
                margin-top: 2px;
            }
        }

        /* 发报练习区域样式 */
        .sending-practice {
            background-color: var(--card);
            border-radius: 20px;
            box-shadow: 0 20px 40px var(--shadow);
            padding: 30px;
            text-align: center;
            border: 1px solid var(--border);
            margin: 20px auto 30px;
        }

        .sending-practice h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text);
        }

        .sending-instructions {
            background-color: var(--primary-light);
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            text-align: left;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .connect-key-button {
            margin-top: 10px;
            padding: 8px 16px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .connect-key-button:hover {
            background-color: var(--primary-dark);
        }
        
        .connect-key-button.connected {
            background-color: #e63946;
        }
        
        .connect-key-button.connected:hover {
            background-color: #d62828;
        }

        .sending-instructions p {
            margin-bottom: 10px;
        }

        .sending-instructions kbd {
            background-color: #f7f7f7;
            border: 1px solid #ccc;
            border-radius: 3px;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
            color: #333;
            display: inline-block;
            font-size: 0.85em;
            font-weight: 700;
            line-height: 1;
            padding: 2px 4px;
            margin: 0 2px;
        }

        .sending-display {
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .sending-display .signal-indicator {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #e0e0e0;
            margin-bottom: 15px;
            transition: background-color 0.1s ease, box-shadow 0.3s ease;
            border: 2px solid #ccc;
            position: relative;
        }

        .sending-display .signal-indicator:hover {
            box-shadow: 0 0 10px rgba(67, 97, 238, 0.5);
            border-color: var(--primary);
        }
        
        .sending-display .signal-indicator::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 30px;
            height: 30px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.5;
            pointer-events: none;
        }

        .sending-display .signal-active {
            background-color: #f39c12;
            box-shadow: 0 0 20px rgba(243, 156, 18, 0.7);
            border-color: #f39c12;
        }
        
        .sending-display .signal-active::after {
            opacity: 0;
        }

        .sending-display .current-char {
            font-size: 1.2rem;
            margin-top: 10px;
        }

        #current-morse {
            font-weight: bold;
            font-family: monospace;
            letter-spacing: 2px;
        }

        .output-area {
            margin-bottom: 20px;
        }

        .output-area h3 {
            font-size: 16px;
            text-align: left;
            margin-bottom: 10px;
        }

        #decoded-text {
            min-height: 80px;
            max-height: 120px;
            border: 1px solid var(--border);
            padding: 15px;
            border-radius: 5px;
            background-color: #fafafa;
            font-size: 1.2rem;
            word-wrap: break-word;
            overflow-y: auto;
            text-align: left;
            margin-bottom: 15px;
        }

        #clear-sending-button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background-color 0.3s ease;
        }

        #clear-sending-button:hover {
            background-color: var(--primary-dark);
        }

        .sending-status {
            text-align: center;
            font-style: italic;
            color: #666;
            margin-bottom: 20px;
            min-height: 20px;
        }

        .sending-controls {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .sending-controls .wpm-display {
            display: flex;
            justify-content: space-between;
            background-color: var(--primary-light);
            padding: 10px 15px;
            border-radius: 8px;
        }

        .sending-controls .wpm-display span {
            font-weight: bold;
        }

        /* 移动设备优化 */
        @media (max-width: 768px) {
            .sending-display .signal-indicator {
                width: 60px;
                height: 60px;
            }
            
            #decoded-text {
                min-height: 60px;
                max-height: 100px;
                font-size: 1rem;
            }
            
            .sending-controls .wpm-display {
                flex-direction: column;
                gap: 5px;
            }
        }

        /* 添加分隔区域样式 */
        .section-divider {
            margin: 40px 0 20px;
            text-align: center;
            position: relative;
        }

        .section-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                rgba(67, 97, 238, 0) 0%, 
                rgba(67, 97, 238, 0.3) 50%, 
                rgba(67, 97, 238, 0) 100%);
        }

        .section-title {
            position: relative;
            display: inline-block;
            padding: 0 20px;
            background-color: var(--card);
            color: var(--primary);
            font-size: 24px;
            font-weight: 700;
            z-index: 1;
        }

        .sending-practice {
            background-color: var(--card);
            border-radius: 20px;
            box-shadow: 0 20px 40px var(--shadow);
            padding: 30px;
            border: 1px solid var(--border);
            margin: 20px auto 30px;
        }

        .sending-practice h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text);
        }

        /* 页面切换样式 */
        .practice-page {
            display: none;
        }

        .practice-page.active {
            display: block;
        }

        /* 导航按钮样式 */
        .nav-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
        }

        .nav-button {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 12px 24px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
        }

        .nav-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
        }

        .nav-button:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
        }

        .nav-button.active {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .nav-button svg {
            width: 16px;
            height: 16px;
        }

        /* 修改section-divider样式，确保在页面切换时正确显示 */
        .section-divider {
            margin: 20px 0;
            text-align: center;
            position: relative;
        }

        /* 改进WPM显示样式 */
        .wpm-display {
            display: flex;
            gap: 20px;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(76, 201, 240, 0.1) 100%);
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 15px;
            border: 1px solid rgba(67, 97, 238, 0.1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .wpm-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .wpm-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 50%;
            color: white;
            box-shadow: 0 3px 6px rgba(67, 97, 238, 0.2);
        }

        .wpm-value-container {
            display: flex;
            flex-direction: column;
        }

        .wpm-label {
            font-size: 12px;
            color: var(--text-light);
            font-weight: 500;
        }

        .wpm-value {
            font-size: 18px;
            font-weight: 700;
            font-family: 'Courier New', monospace;
            color: var(--primary);
            line-height: 1;
        }

        @media (max-width: 768px) {
            .wpm-display {
                flex-direction: column;
                gap: 10px;
            }
        }

        /* 摩斯电码对照表样式 */
        .morse-table-button {
            padding: 10px 20px;
            background-color: var(--primary, #4CAF50);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: background 0.2s;
        }
        .morse-table-button:hover {
            background-color: #388e3c;
        }
        .morse-table-top {
            position: static;
            margin-right: 0;
        }

        .morse-table-container {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            z-index: 1001;
            max-width: 90%;
            max-height: 90vh;
            overflow-y: auto;
        }

        .morse-table {
            border-collapse: collapse;
            width: 100%;
            margin-top: 10px;
        }

        .morse-table th, .morse-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: center;
        }

        .morse-table th {
            background-color: #f5f5f5;
        }

        .morse-close {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            font-size: 20px;
            color: #666;
        }

        .morse-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }