/* ====== Template 2: 微信社交极简风格 ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --tpl2-green: #07c160;       /* 微信绿 */
    --tpl2-green-dark: #06ae56;
    --tpl2-green-bg: #f1faf4;    /* 浅绿背景 */
    --tpl2-blue: #3b82f6;
    --tpl2-blue-dark: #2563eb;
    --tpl2-purple-start: #8b5cf6;
    --tpl2-purple-end: #ec4899;
    --tpl2-orange: #e67e22;
    --tpl2-gold: #d4a574;        /* 浅金/米白 */
    --tpl2-bg: #f5f6fa;
    --tpl2-text: #1f2937;
    --tpl2-sub: #6b7280;
    --tpl2-light: #9ca3af;
    --tpl2-border: #e5e7eb;
}
html, body { min-height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--tpl2-bg);
    color: var(--tpl2-text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding: 24px 16px 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

/* ====== 主白色卡片 ====== */
.card-main {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
    margin: 0 auto;
    max-width: 440px;
}

/* ====== 1. 转让标签 ====== */
.tpl2-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border: 1.5px solid var(--tpl2-gold);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #c0392b;
    background: linear-gradient(135deg, #fff8f0, #fff);
    margin-bottom: 28px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.tpl2-tag .dot {
    width: 6px; height: 6px;
    background: #c0392b;
    border-radius: 50%;
    animation: pulse2 1.8s infinite;
    flex-shrink: 0;
}
@keyframes pulse2 {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.7); }
}
.tpl2-tag .divider {
    width: 1px; height: 12px;
    background: var(--tpl2-gold);
    flex-shrink: 0;
}
.tpl2-tag .en {
    font-weight: 500;
    color: #9a3c2a;
    letter-spacing: .3px;
}

/* ====== 2. 域名大字 ====== */
.tpl2-domain {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1.15;
    word-break: break-all;
}
@media (max-width: 360px) {
    .tpl2-domain { font-size: 32px; }
}
.tpl2-domain .main {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tpl2-domain .ext {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====== 3. 词源描述 ====== */
.tpl2-desc {
    text-align: center;
    color: var(--tpl2-sub);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== 价格 ====== */
.tpl2-price {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--tpl2-border);
    margin-bottom: 20px;
}
.p-label { font-size: 13px; color: var(--tpl2-light); margin-right: 6px; }
.p-val { font-size: 22px; font-weight: 800; color: var(--tpl2-orange); }
.p-val.p-negotiate { font-size: 18px; }
.tpl2-sold {
    text-align: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    color: var(--tpl2-light);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ====== 4. 交易保障（浅绿盒子） ====== */
.tpl2-gar {
    background: var(--tpl2-green-bg);
    border-radius: 12px;
    padding: 16px 10px;
    margin-bottom: 24px;
}
.tpl2-gar-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.tpl2-gar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    text-align: left;
    min-width: 0;
}
.gar-i {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.gar-zh { font-size: 13px; font-weight: 600; color: var(--tpl2-green-dark); }
.gar-en { font-size: 11px; color: #5c9a7c; letter-spacing: .3px; }

/* ====== 5. 双购买按钮 ====== */
.tpl2-buyrow {
    display: flex;
    gap: 12px;
    margin-bottom: 4px;
}
.tpl2-btn {
    flex: 1;
    padding: 16px 14px;
    border-radius: 14px;
    color: #fff !important;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    transition: transform .15s, box-shadow .15s;
    min-width: 0;
}
.tpl2-btn:active { transform: scale(.97); box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.tpl2-btn .btn-i { font-size: 26px; flex-shrink: 0; }
.tpl2-btn .btn-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tpl2-btn .btn-zh { font-size: 15px; font-weight: 700; line-height: 1.3; }
.tpl2-btn .btn-en { font-size: 11px; font-weight: 400; opacity: .85; letter-spacing: .3px; }

.tpl2-btn-green {
    background: linear-gradient(135deg, var(--tpl2-green), var(--tpl2-green-dark));
    box-shadow: 0 6px 18px rgba(7,193,96,.35);
}
.tpl2-btn-blue {
    background: linear-gradient(135deg, var(--tpl2-blue), var(--tpl2-blue-dark));
    box-shadow: 0 6px 18px rgba(59,130,246,.35);
}

/* ====== 6. 微信联系区（大浅绿卡片） ====== */
.tpl2-contact-wrap {
    margin-top: 20px;
}
.tpl2-contact-inner {
    background: var(--tpl2-green-bg);
    border-radius: 20px;
    padding: 28px 20px 24px;
    border: 1px solid #d4efdf;
    max-width: 440px;
    margin: 0 auto;
}

.tpl2-contact-head {
    text-align: center;
    margin-bottom: 20px;
}
.wechat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: #fff;
    border-radius: 14px;
    font-size: 26px;
    box-shadow: 0 2px 10px rgba(7,193,96,.15);
    margin-bottom: 12px;
}
.wechat-name {
    font-size: 18px;
    font-weight: 700;
    color: #145a32;
}
.wechat-name .wechat-en {
    font-size: 14px;
    font-weight: 500;
    color: #5c9a7c;
    margin-left: 6px;
}

.tpl2-qrcode {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin: 0 auto;
    max-width: 260px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.tpl2-qrcode img {
    max-width: 240px;
    max-height: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
.qr-caption {
    margin-top: 12px;
    font-size: 12px;
    color: var(--tpl2-light);
}

.tpl2-contact-txt {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: var(--tpl2-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.copy-btn {
    padding: 4px 14px;
    font-size: 12px;
    background: var(--tpl2-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.copy-btn:active { background: var(--tpl2-green-dark); }

/* ====== 7. 底部 ====== */
.tpl2-footer {
    text-align: center;
    padding: 24px 0 10px;
    max-width: 440px;
    margin: 0 auto;
}
.back-more {
    display: inline-block;
    font-size: 14px;
    color: var(--tpl2-blue);
    font-weight: 600;
    margin-bottom: 14px;
}
.foot-text {
    font-size: 12px;
    color: var(--tpl2-light);
}

/* ====== PC 响应式 ====== */
@media (min-width: 768px) {
    body { padding: 40px 20px; }
    .card-main { max-width: 500px; padding: 40px 36px 36px; }
    .tpl2-contact-inner { max-width: 500px; }
    .tpl2-domain { font-size: 52px; }
}
