/* 模板45 - 米白衬线 · 编号标签与文字按钮 */

:root {
    --t45-accent: #7a4b1e;
    --t45-ink: #1a1a1a;
    --t45-text: #333333;
    --t45-mute: #57606a;
    --t45-line: #d0d7de;
    --t45-ground: #faf8f5;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body.t45-body {
    background: var(--t45-ground);
    color: var(--t45-text);
    font-family: "Songti SC", "SimSun", Georgia, "Microsoft YaHei", serif;
    font-size: 17px;
    line-height: 2;
    text-align: left;
    padding: 0 20px;
}
.t45-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 66px 0 0;
}
.t45-main {
    display: block;
}
.t45-head {
    margin-bottom: 32px;
}
.t45-h1 {
    font-family: Georgia, "Songti SC", "SimSun", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.4px;
    color: var(--t45-ink);
    text-align: left;
    word-break: break-word;
}
.t45-frame {
    margin: 0 0 30px;
    padding: 0;
    border: 1px solid var(--t45-line);
    line-height: 0;
    background: #ffffff;
}
.t45-frame-img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    object-fit: cover;
}
.t45-text {
    display: block;
}
.t45-p {
    font-size: 17px;
    line-height: 2;
    color: var(--t45-text);
    margin-bottom: 18px;
    text-align: left;
    word-break: break-word;
}
.t45-p:first-of-type {
    color: var(--t45-ink);
}
.t45-p:last-child {
    margin-bottom: 0;
}
.t45-tags {
    counter-reset: t45-no;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--t45-line);
    list-style: none;
}
.t45-tag {
    counter-increment: t45-no;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--t45-mute);
    list-style: none;
}
.t45-tag::before {
    content: counter(t45-no) ". ";
    flex: 0 0 auto;
    min-width: 22px;
    color: var(--t45-accent);
    font-family: Georgia, "Songti SC", "SimSun", serif;
    font-weight: 700;
    text-align: right;
}
.t45-tag-face {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--t45-ground);
}
.t45-tag-tx {
    display: inline-block;
    word-break: break-word;
}
.t45-go {
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 3px;
    background: none;
    border: 0;
    border-bottom: 2px solid var(--t45-accent);
    border-radius: 0;
    color: var(--t45-accent);
    font-family: Georgia, "Songti SC", "SimSun", serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.4px;
    text-align: left;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.t45-go:hover {
    color: var(--t45-ink);
    border-bottom-color: var(--t45-ink);
}
.t45-go:focus {
    outline: 2px solid var(--t45-accent);
    outline-offset: 3px;
}
.t45-go:active {
    color: var(--t45-mute);
    border-bottom-color: var(--t45-mute);
}
.t45-base {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 54px;
    padding: 24px 0 64px;
    border-top: 1px solid var(--t45-line);
}
.t45-friend {
    font-size: 13.5px;
    line-height: 2.1;
    color: var(--t45-mute);
    text-align: left;
}
.t45-friend-ttl {
    display: inline-block;
    margin-right: 14px;
    color: var(--t45-accent);
    font-weight: 700;
    letter-spacing: 0.6px;
}
.t45-friend-a {
    display: inline;
    margin-right: 16px;
    color: var(--t45-mute);
    text-decoration: none;
    border-bottom: 1px solid var(--t45-line);
    word-break: break-word;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.t45-friend-a:hover {
    color: var(--t45-accent);
    border-bottom-color: var(--t45-accent);
}
.t45-friend-a:focus {
    outline: 1px solid var(--t45-accent);
    outline-offset: 2px;
}
::selection {
    background: #e5e7eb;
    color: var(--t45-ink);
}
@media (max-width: 680px) {
    body.t45-body {
        padding: 0 16px;
        font-size: 16px;
    }
    .t45-page {
        padding-top: 40px;
    }
    .t45-head {
        margin-bottom: 24px;
    }
    .t45-h1 {
        font-size: 23px;
        line-height: 1.5;
    }
    .t45-frame {
        margin-bottom: 24px;
    }
    .t45-p {
        font-size: 16px;
        line-height: 1.95;
        margin-bottom: 16px;
    }
    .t45-tags {
        margin-top: 26px;
        padding-top: 20px;
    }
    .t45-tag {
        font-size: 14.5px;
        gap: 8px;
    }
    .t45-tag-face {
        width: 22px;
        height: 22px;
    }
    .t45-go {
        margin-top: 24px;
        font-size: 15.5px;
    }
    .t45-base {
        margin-top: 40px;
        padding-bottom: 46px;
    }
    .t45-friend-a {
        margin-right: 12px;
    }
}
@media (max-width: 400px) {
    .t45-h1 {
        font-size: 21px;
    }
    .t45-tag::before {
        min-width: 18px;
    }
}
