/* 银联分享图样式 - UnionPay Red Theme */
:root {
    --yl-red: #E60012;
    --yl-red-dark: #CC0010;
    --yl-red-light: #FFF0F1;
    --yl-text: #333;
    --yl-text-light: #999;
    --yl-bg: #f5f5f5;
    --yl-card-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--yl-bg);
}

.yl-preview {
    max-width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== 顶部栏 ===== */
.yl-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.yl-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.yl-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yl-header-icon {
    width: 22px;
    height: 22px;
}

.yl-logo {
    height: 28px;
}

.yl-header-arrow {
    width: 28px;
    height: 20px;
}

/* ===== 横幅Banner ===== */
.yl-banner {
    background: linear-gradient(135deg, var(--yl-red), var(--yl-red-dark));
    padding: 40px 20px 36px;
    text-align: center;
}

.yl-banner-content {
    max-width: 320px;
    margin: 0 auto;
}

.yl-banner-title {
    font-size: 28px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.yl-banner-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    letter-spacing: 0.5px;
}

/* ===== 内容区域 ===== */
.yl-body {
    padding: 16px;
    max-width: 420px;
    margin: 0 auto;
}

/* ===== 卡片 ===== */
.yl-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--yl-card-shadow);
    padding: 16px 20px;
    margin-bottom: 12px;
}

/* 在线咨询卡片 - 横向布局 */
.yl-card-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.yl-card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--yl-red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yl-card-icon {
    width: 32px;
    height: 32px;
}

.yl-card-info {
    flex: 1;
    min-width: 0;
}

.yl-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--yl-text);
    margin-bottom: 4px;
}

.yl-card-desc {
    font-size: 13px;
    color: var(--yl-text-light);
    line-height: 1.6;
}

/* ===== 二维码 ===== */
.yl-qr-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin-top: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.yl-qr-wrap img[alt="专属客服二维码"] {
    width: 110px;
    height: 110px;
    display: block;
}

.yl-qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* ===== 信息卡片 ===== */
.yl-card-tag {
    font-size: 15px;
    font-weight: 600;
    color: var(--yl-red);
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid var(--yl-red);
}

.yl-card-text {
    font-size: 13px;
    color: var(--yl-text);
    line-height: 1.8;
}

.yl-card-text-light {
    color: var(--yl-text-light);
    font-size: 12px;
}
