/* 模板9 - 相框居中窄栏 */

/* ---------- 重置 ---------- */
.t09-body,
.t09-body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    font: inherit;
    list-style: none;
}

/* ---------- 页面底色 ---------- */
.t09-body {
    background: #ffffff;
    color: #333333;
    font-family: Georgia, "Songti SC", "SimSun", "Microsoft YaHei", serif;
    font-size: 16px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

.t09-body img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- 居中窄栏 ---------- */
.t09-canvas {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 78px 24px 70px;
    text-align: center;
}

/* ---------- 标题 ---------- */
.t09-h1 {
    font-size: 29px;
    font-weight: 700;
    line-height: 1.44;
    letter-spacing: 0.3px;
    color: #1f2328;
    margin: 0 0 34px;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---------- 图片（相框，标题下方居中） ---------- */
.t09-frame {
    display: block;
    margin: 0 auto 34px;
    padding: 6px;
    max-width: 480px;
    border: 1px solid #d0d7de;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 35, 40, 0.06);
}

.t09-frame-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
}

/* ---------- 关键标签（胶囊浅底） ---------- */
.t09-note {
    display: block;
    margin: 0 auto 30px;
    padding: 0;
}

.t09-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
}

.t09-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    background: #f2f3f5;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #5c4033;
    white-space: nowrap;
}

.t09-chip-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex: none;
}

.t09-chip-tx {
    letter-spacing: 0.3px;
}

/* ---------- 正文 ---------- */
.t09-prose {
    display: block;
    margin: 0 auto;
    padding: 0;
    max-width: 640px;
}

.t09-p {
    font-size: 16px;
    line-height: 1.9;
    color: #333333;
    margin: 0 0 24px;
    text-align: left;
    text-indent: 2em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.t09-p:last-child {
    margin-bottom: 0;
}

/* ---------- 按钮（描边胶囊） ---------- */
.t09-ctl {
    display: block;
    margin: 38px 0 0;
    padding: 0;
}

.t09-ctl-row {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.t09-btn {
    display: inline-block;
    padding: 10px 26px;
    border: 1px solid #5c4033;
    border-radius: 999px;
    background: transparent;
    color: #5c4033;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.t09-btn:hover {
    background: #5c4033;
    color: #ffffff;
}

/* ---------- 底部友链 ---------- */
.t09-links {
    display: block;
    margin: 52px 0 0;
    padding: 22px 0 0;
    border-top: 1px dashed #d0d7de;
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

.t09-links-ttl {
    display: block;
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #5c4033;
}

.t09-links-list {
    display: block;
    font-size: 13px;
    line-height: 2;
}

.t09-links-a {
    display: inline-block;
    margin: 0 9px 4px;
    font-size: 13px;
    color: #57606a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.t09-links-a:hover {
    color: #5c4033;
    border-bottom-color: #5c4033;
}

/* ---------- 窄屏适配 ---------- */
@media (max-width: 640px) {
    .t09-canvas {
        padding: 48px 20px 46px;
    }
    .t09-h1 {
        font-size: 23px;
        margin-bottom: 26px;
    }
    .t09-frame {
        margin-bottom: 26px;
    }
    .t09-frame-img {
        max-height: 240px;
    }
    .t09-p {
        text-indent: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
    .t09-canvas {
        padding: 36px 16px 34px;
    }
    .t09-h1 {
        font-size: 20px;
        line-height: 1.5;
    }
    .t09-chip {
        font-size: 12.5px;
        padding: 4px 12px 4px 4px;
    }
    .t09-chip-av {
        width: 21px;
        height: 21px;
    }
    .t09-btn {
        padding: 9px 20px;
    }
}
