.srl-review-line {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    padding: 2px 0;
}

.srl-label {
    color: #555;
    font-weight: 600;
}

.srl-value {
    padding: 0 4px;
    cursor: default;
    position: relative;
}

/* ===== 触发元素样式 ===== */
.srl-value.srl-has-tooltip {
    cursor: help;
    border-bottom: 1px dotted transparent;
    transition: border-color 0.2s ease;
}

.srl-value.srl-has-tooltip:hover {
    border-bottom-color: currentColor;
}

/* ===== 悬浮气泡主体｜默认磨砂白透明，可通过后台切换 ===== */
.srl-js-tooltip {
    position: absolute;
    padding: 10px 14px;
    --srl-tt-bg: rgba(255,255,255,0.72);
    --srl-tt-color: #222831;
    --srl-tt-radius: 12px;
    --srl-tt-shadow: 0 4px 18px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    --srl-tt-border: 1px solid rgba(255,255,255,0.9);
    --srl-tt-blur: blur(12px);
    background: var(--srl-tt-bg);
    backdrop-filter: var(--srl-tt-blur);
    -webkit-backdrop-filter: var(--srl-tt-blur);
    color: var(--srl-tt-color);
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
    max-width: 360px;
    min-width: 200px;
    text-align: left;
    border-radius: var(--srl-tt-radius);
    box-shadow: var(--srl-tt-shadow);
    border: var(--srl-tt-border);
    z-index: 100000;
    pointer-events: none;
    animation: srl-tip-in 0.15s ease-out;
}

/* 换行间距 */
.srl-js-tooltip br {
    display: block;
    content: "";
    margin-top: 4px;
}

/* 上方小三角箭头｜颜色跟随 tooltip 背景色 */
.srl-js-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -5px;
    border: 6px solid transparent;
    border-top-color: var(--srl-tt-bg);
    z-index: 100001;
    pointer-events: none;
}

@keyframes srl-tip-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.srl-positive .srl-value {
    color: #66c0f4;
    font-weight: 500;
}

.srl-mixed .srl-value {
    color: #d2b92b;
    font-weight: 500;
}

.srl-negative .srl-value {
    color: #d64541;
    font-weight: 500;
}

.srl-no-data .srl-value {
    color: #999;
    font-style: italic;
}

.srl-error {
    color: #d64541;
    background: #fff0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.srl-fallback-tag {
    display: inline-block;
    font-size: 10px;
    color: #e67e22;
    background: #fef3e5;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    font-weight: normal;
    cursor: help;
    border: 1px solid #f5d89a;
}

.srl-original-text {
    display: none !important;
}

.srl-auto-inject {
    display: block;
    margin: 10px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 3px solid #67c1f5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.srl-auto-inject .srl-review-line {
    display: block;
}
