/* 从 index.html 内联样式提取 */

/* === Splash 启动动画 === */
@keyframes splashPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}
@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Splash 容器 */
.web-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #ECECEC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

/* Splash 图标 */
.web-splash-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    animation: splashPulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(96,165,250,0.2);
}

/* Splash 文字 */
.web-splash-text {
    margin-top: 20px;
    font-size: 16px;
    color: #555;
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0;
    animation: splashFadeIn 0.6s ease 0.3s forwards;
}

/* === 客户操作按钮隐藏 === */
.btn-customer-hidden {
    display: none;
}

/* === 识别结果预览（初始隐藏） === */
.recognition-preview-hidden {
    display: none;
}

/* === 盈亏计算器 === */
.calc-modal-content {
    max-height: 90vh;
}

.calc-settings-section {
    margin-top: 12px;
}

.calc-odds-input {
    width: 100px;
    text-align: center;
    padding: 8px;
}

.calc-rebate-input {
    width: 80px;
    text-align: center;
    padding: 8px;
}

.calc-form-area {
    padding: 0 20px;
    margin-top: 12px;
}

.calc-form-label {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.calc-win-input {
    font-size: 15px;
    text-align: center;
}

.calc-bet-input {
    resize: none;
    font-size: 14px;
}

.calc-btn-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.calc-btn-flex {
    flex: 1;
}

.calc-clear-btn {
    color: var(--red);
}

.calc-result-area {
    display: none;
    padding: 0 20px;
    margin-top: 12px;
}

.calc-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc-result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
}

.calc-result-summary {
    font-size: 12px;
    color: var(--text-muted);
}

.calc-result-list {
    max-height: 40vh;
    overflow-y: auto;
}

.calc-summary-all-area {
    display: none;
    padding: 0 20px;
    margin-bottom: 16px;
}

/* === 历史记录 === */
.history-modal-content {
    max-height: 90vh;
}

.history-content-area {
    padding: 0 20px;
    margin-top: 12px;
}

.history-merge-hidden {
    display: none;
}

/* === 客服弹窗 === */
.service-popup-hidden {
    display: none;
}

.service-popup-emoji {
    font-size: 36px;
    margin-bottom: 12px;
}

.service-popup-hint {
    font-size: 15px;
    color: #e4e4e7;
    margin-bottom: 8px;
}

.service-popup-qq {
    font-size: 18px;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 1px;
}

.service-popup-copy-btn {
    margin-top: 16px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 13px;
}

/* === 悬浮按钮 === */
.fab-service-svg {
    pointer-events: none;
}

/* === 设置弹窗 === */
.settings-customer-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--accent-color);
    margin-left: 8px;
}

.settings-license-status {
    font-size: 13px;
    color: #52525b;
}

/* === AI 设置 === */
.ai-key-warning {
    color: var(--amber);
}

.ai-test-result {
    display: none;
    margin-top: 8px;
}

/* === 取消按钮红色 === */
.btn-red {
    color: var(--red);
}

/* === OCR 取消按钮 === */
.ocr-cancel-btn {
    margin-top: 12px;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 8px 24px;
    border-radius: 8px;
}

/* === 合并面板标题 === */
.merge-title-accent {
    color: var(--accent-color);
}

/* === 识别结果标题 === */
.recognition-title-green {
    color: var(--green);
}

/* === 清除图片按钮 === */
.btn-clear-image {
    color: var(--red);
}

/* === 输入区域 margin === */
.form-group-margin {
    margin-bottom: 8px;
}
