@keyframes wuye-sos-fadein {
    from { opacity: 0 }
    to { opacity: 1 }
}

@keyframes wuye-sos-slidein {
    from { opacity: 0; transform: translateY(-20px) scale(.95) }
    to { opacity: 1; transform: translateY(0) scale(1) }
}

@keyframes wuye-sos-pulse {
    0%, 100% { opacity: 1 }
    50% { opacity: .5 }
}

.wuye-sos-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: wuye-sos-fadein .2s ease-out;
}

.wuye-sos-modal {
    width: 420px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .28), 0 0 0 1px rgba(239, 68, 68, .15);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    animation: wuye-sos-slidein .3s ease-out;
}

.wuye-sos-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px 16px;
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    border-bottom: 1px solid #fecaca;
}

.wuye-sos-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: wuye-sos-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .15);
}

.wuye-sos-header-text {
    flex: 1;
    min-width: 0;
}

.wuye-sos-channel {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #fee2e2;
    color: #dc2626;
}

.wuye-sos-title {
    font-size: 17px;
    font-weight: 700;
    color: #b91c1c;
    letter-spacing: .3px;
}

.wuye-sos-time {
    margin-top: 3px;
    font-size: 12px;
    color: #9ca3af;
}

.wuye-sos-body {
    padding: 16px 22px;
}

.wuye-sos-row {
    display: flex;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed #f3f4f6;
}

.wuye-sos-row:last-child {
    border-bottom: none;
}

.wuye-sos-label {
    width: 64px;
    flex-shrink: 0;
    font-size: 13px;
    color: #9ca3af;
}

.wuye-sos-value {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #111827;
    font-weight: 600;
    word-break: break-word;
}

.wuye-sos-actions {
    padding: 14px 22px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.wuye-sos-btn {
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s ease;
}

.wuye-sos-btn-default {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.wuye-sos-btn-default:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.wuye-sos-btn-danger {
    border: none;
    background: #dc2626;
    color: #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, .3);
}

.wuye-sos-btn-danger:hover {
    background: #b91c1c;
    box-shadow: 0 4px 12px rgba(220, 38, 38, .4);
}
