*{box-sizing:border-box;margin:0;padding:0}

/* Shared fixed navigation for every public template. */
.has-bottom-nav{padding-bottom:calc(var(--site-bottom-nav-height, 68px) + 12px + env(safe-area-inset-bottom, 0px))}
.site-bottom-nav{position:fixed;right:auto;bottom:0;left:50%;z-index:10000;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(calc(100% - 28px),720px);transform:translateX(-50%);padding:8px 0 calc(8px + env(safe-area-inset-bottom, 0px));border:1px solid #cbdedb;border-top:3px solid #168477;border-bottom:0;border-radius:8px 8px 0 0;background:#fff;box-shadow:0 -4px 18px rgba(22,62,58,.16);font:700 16px/1.2 "Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif}
.site-bottom-nav__item{display:flex;min-width:0;min-height:48px;align-items:center;justify-content:center;gap:8px;border-radius:5px;color:#24433f;text-decoration:none;transition:background-color .16s ease,color .16s ease}
.site-bottom-nav__item svg{display:block;width:22px;height:22px;flex:none;fill:none;stroke:#11786e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-bottom-nav__item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-bottom-nav__item:hover,.site-bottom-nav__item:focus-visible{background:#eaf5f2;color:#075e57}
.site-bottom-nav__item--disabled{color:#9aa9a6;cursor:default}
.site-bottom-nav__item:focus-visible{outline:2px solid #168477;outline-offset:1px}
.site-bottom-nav form{margin:0}
.site-bottom-nav button{display:flex;width:100%;height:100%;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
@media(max-width:640px){.site-bottom-nav{right:0;left:0;width:100%;transform:none;padding-top:6px;border-right:0;border-radius:5px;font-size:14px}.site-bottom-nav__item{min-height:44px;gap:5px}.site-bottom-nav__item svg{width:19px;height:19px}}

/* 所有模板的公式图片预览。 */
.formula-grid .grid-g > img,
.grid .grid-g > img { cursor:zoom-in; }
.formula-image-viewer {
    position:fixed;
    inset:0;
    z-index:10000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.68);
    cursor:zoom-out;
}
.formula-image-viewer[hidden] { display:none; }
.formula-image-viewer > img {
    display:block;
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    cursor:default;
}

/* 首页日期与农历时间栏，所有模板统一使用。 */
.tz2.template-home-time {
    display:block;
    min-height:44px;
    height:44px;
    padding:2px 8px;
    overflow:hidden;
    border:2px solid #87cefb;
    border-radius:0;
    background:#fffcc0;
    color:#222;
    font-size:1.4rem;
    font-weight:700;
    line-height:36px;
    text-align:center;
}
.template-home-time #lunar {
    display:block;
    overflow:hidden;
    white-space:nowrap;
}
@media (max-width:420px) {
    .tz2.template-home-time {
        min-height:34px;
        height:34px;
        padding:3px 6px;
        font-size:1.2rem;
        line-height:24px;
    }
}
@media (max-width:480px) {
    .tz2.template-home-time { font-size:1.2rem !important; }
    .post-forum-list.tzlb-content { font-size:12pt; }
}

@media (max-width: 480px) {
    .template-home-time #lunar {
        font-size: 15px;
    }
}

/* 扩展内容的排版在所有模板中保持一致。 */
.post-ext {
    display:block;
    padding:20px 0;
    font-size:20px;
    font-weight:700;
    text-align:center;
}
.post-ext.member-lock {
    padding:12px 8px;
    border:1px solid #c3d9ec;
    border-top:2px dotted #78a9d3;
    background:#eef6ff;
    color:#172b45;
}
.member-lock__title {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:0;
    color:#172b45;
    font-size:1em;
    line-height:1.35;
}
.member-lock__form {
    margin:0;
}
.member-lock__action {
    display:inline-block;
    margin:0;
    padding:5px 16px;
    border:1px solid #91bce2;
    border-radius:4px;
    background:repeating-linear-gradient(135deg,#fff 0 5px,#d8eafa 5px 10px);
    color:#24588f;
    font:inherit;
    font-weight:700;
    text-decoration:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
    cursor:pointer;
    transition:box-shadow .12s ease,border-color .12s ease;
}
.member-lock__action:hover {
    border-color:#5b94ca;
    box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(40,91,143,.14);
}
.member-lock__action:active {
    box-shadow:inset 0 1px 3px rgba(36,88,143,.18);
}
.member-lock__cta-row {
    margin-top:8px;
    text-align:center;
}
.member-lock__status {
    display:block;
    margin:12px auto 0;
    color:#a12622;
    font-weight:700;
}
.member-lock__status[hidden] {
    display:none;
}
.member-lock__service-action {
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:9px;
    padding:9px 18px;
    border:1px solid #455675;
    border-bottom:3px solid #0a1020;
    border-radius:7px;
    background:linear-gradient(180deg,#2b3a55 0%,#111a2e 100%);
    color:#fff;
    font-size:.9em;
    font-weight:700;
    line-height:1.4;
    text-decoration:none;
    white-space:nowrap;
    box-shadow:0 4px 8px rgba(15,23,42,.24),inset 0 1px 0 rgba(255,255,255,.2);
    transition:filter .15s ease,box-shadow .15s ease;
}
.member-lock__service-action:hover {
    filter:brightness(1.12);
    box-shadow:0 5px 10px rgba(15,23,42,.3),inset 0 1px 0 rgba(255,255,255,.24);
    text-decoration:none;
}
.member-lock__service-action:active {
    box-shadow:0 1px 3px rgba(15,23,42,.24),inset 0 2px 4px rgba(0,0,0,.2);
}
.member-lock__service-action svg {
    display:block;
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.member-lock__action:disabled {
    cursor:wait;
    opacity:.72;
}
.member-lock__action .member-lock__cost { white-space:nowrap; }
@media (max-width:640px) {
    .post-ext.member-lock { padding:10px 5px; }
    .member-lock__title { font-size:16px; gap:0; }
    .member-lock__action { padding:5px 11px; font-size:16px; }
}
.member-lock__login {
    display:inline-block;
    margin-top:12px;
    color:#087f70;
    font-weight:700;
}
.post-ext p {
    margin:0;
    padding:5px;
    text-align:center;
    text-indent:0;
    letter-spacing:1px;
    line-height:1.8;
}
.post-ext p:last-child { margin-bottom:0; }
.content > .post-ext,
.detail-body > .post-ext {
    line-height:30px;
}
.content > .post-ext p,
.detail-body > .post-ext p {
    margin:0;
    padding:5px;
    border:0;
    text-align:center;
    text-indent:0;
}
.detail-body .post-ext:not(.member-lock) p {
    width:75%;
    max-width:768px;
    margin-right:auto;
    margin-left:auto;
    padding-left:5px;
    text-indent:0;
    text-align:left;
}
@media (max-width:640px) {
    .post-ext { font-size:16px; }
    .detail-body .post-ext:not(.member-lock) p {
        overflow-wrap:anywhere;
        word-break:normal;
    }
}

/* 图片广告始终以所在栏目容器宽度显示。 */
.ad-image-link { display:block; line-height:0; }
.ad-image {
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
}

.gc-wrap{width:100%;background:#14070a;border-radius:12px;overflow:hidden;border:2px solid #dc2626;box-shadow:0 0 0 2px #1d4ed8 inset}
.gc-header{background:linear-gradient(135deg,#7f1d1d,#dc2626,#ef4444,#dc2626,#2563eb);background-size:300% 300%;padding:14px;text-align:center;animation:gc-gradmove 4s ease infinite}
.gc-header-top{font-size:15px;font-weight:700;color:#dbeafe;letter-spacing:3px;margin-bottom:4px;opacity:0.9}
.gc-header-main{font-size:1.4rem;font-weight:700;color:#fff;letter-spacing:2px;text-shadow:0 0 8px rgba(255,255,255,0.5)}
.gc-header-main em{color:#fff;font-style:normal}
.gc-card{padding:14px 12px;border-bottom:1px solid #3f0b11;text-align:center}
.gc-period{font-size:13px;color:#fecdd3;font-weight:700;margin-bottom:10px;letter-spacing:1px}
.gc-coins{display:flex;justify-content:center;gap:24px;margin:6px 0}
.gc-coin{display:flex;flex-direction:column;align-items:center;gap:6px}
.gc-coin-lbl{font-size:10px;color:#fecdd3;letter-spacing:1px;background:#1f0a0f;border:1px solid #2563eb;padding:2px 8px;border-radius:10px}
.gc-medal{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#7f1d1d,#dc2626,#ef4444,#dc2626,#2563eb);background-size:200% 200%;border:3px solid #fca5a5;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 18px rgba(220,38,38,0.55),0 4px 0 #1e3a8a;position:relative;overflow:hidden;animation:gc-gradmove 3s ease infinite,gc-medalshine 2s ease-in-out infinite alternate}
.gc-medal::before{content:'';position:absolute;width:40%;height:25%;background:radial-gradient(ellipse,rgba(255,255,255,0.35),transparent);border-radius:50%;top:12%;left:18%}
.gc-medal-emoji{font-size:2rem;position:relative;z-index:1}
.gc-medal-name{font-size:10px;color:#fff;font-weight:700;position:relative;z-index:1}
.gc-plus{font-size:1.8rem;color:#ef4444;font-weight:900;align-self:center;text-shadow:0 0 10px rgba(239,68,68,0.65)}
.gc-res{font-size:14px;color:#fecdd3;margin-top:10px;font-weight:700}
.gc-res b{color:#fff;text-shadow:0 0 6px rgba(255,255,255,0.5)}
.gc-cur{padding:14px 12px;text-align:center;background:#1f0a0f}
.gc-cur-p{font-size:18px;color:#ef4444;font-weight:700;margin-bottom:4px;letter-spacing:1px;animation:gc-blink 1.5s ease-in-out infinite alternate}
.gc-cur-sub{font-size:16px;color:#fecdd3;margin-bottom:10px}
.gc-cur-coins{display:flex;justify-content:center;gap:20px;margin:8px 0}
.gc-cur-coin{width:60px;height:60px;border-radius:50%;background:#14070a;border:2px dashed #2563eb;display:flex;align-items:center;justify-content:center;font-size:1.8rem;animation:gc-blink 1.5s ease-in-out infinite alternate}
.gc-btn{display:inline-block;margin-top:10px;background:linear-gradient(135deg,#7f1d1d,#dc2626,#ef4444,#dc2626,#2563eb);background-size:300% 300%;color:#fff;font-weight:700;font-size:1.6rem;padding:11px 26px;border-radius:24px;text-decoration:none;letter-spacing:1px;position:relative;overflow:hidden;animation:gc-gradmove 3s ease infinite,gc-btnpulse 1.5s ease-in-out infinite alternate;box-shadow:0 4px 14px rgba(220,38,38,0.55),0 4px 0 #1e3a8a}
.gc-btn::before{content:'';position:absolute;top:-50%;left:-60%;width:35%;height:200%;background:rgba(255,255,255,0.25);transform:skewX(-20deg);animation:gc-shine 2.5s infinite}
.gc-warn{background:#1f0a0f;padding:11px;text-align:center;color:#fecdd3;font-size:0.9rem;font-weight:700;border-top:1px solid #3f0b11}
.gc-warn a{color:#fecdd3;text-decoration:none}
.gc-foot{background:linear-gradient(135deg,#7f1d1d,#dc2626,#ef4444,#dc2626,#2563eb);background-size:300% 300%;padding:12px;text-align:center;color:#fff;font-size:1.2rem;font-weight:700;animation:gc-gradmove 4s ease infinite}
.gc-foot a{color:#fff;text-decoration:none}

@keyframes gc-gradmove{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes gc-medalshine{0%{box-shadow:0 0 12px rgba(220,38,38,0.45),0 4px 0 #1e3a8a}100%{box-shadow:0 0 28px rgba(220,38,38,0.9),0 0 42px rgba(37,99,235,0.28),0 4px 0 #1e3a8a}}
@keyframes gc-blink{0%{opacity:1}100%{opacity:0.4}}
@keyframes gc-btnpulse{0%{box-shadow:0 4px 14px rgba(220,38,38,0.45),0 4px 0 #1e3a8a}100%{box-shadow:0 6px 28px rgba(220,38,38,0.9),0 0 16px rgba(37,99,235,0.32),0 4px 0 #1e3a8a}}
@keyframes gc-shine{0%{left:-60%}100%{left:130%}}
/*
 * 通用短标签样式
 *
 * s = 文字颜色，例如：<s1>红色文字</s1>
 * w = 字体大小，例如：<w5>20px 文字</w5>
 * y = 背景色与文字颜色组合，例如：<y1>红字黄底</y1>
 *
 * 标签可以嵌套使用，例如：<w6><s1>22px 红色文字</s1></w6>
 */

/* -------------------- s：文字颜色 -------------------- */
s0 {
    color: inherit !important;
}
s1 {
    color: #ff0000 !important;
}
s2 {
    color: #00ff00 !important;
}
s3 {
    color: #0000ff !important;
}
s4 {
    color: #ffff00 !important;
}
s5 {
    color: #ff00ff !important;
}
s6 {
    color: #00ffff !important;
}
s7 {
    color: #000000 !important;
}
s8 {
    color: #ffffff !important;
}
s9 {
    color: #808080 !important;
}
s10 {
    color: #000080 !important;
}
s11 {
    color: #800080 !important;
}
s12 {
    color: #008000 !important;
}
s13 {
    color: #008080 !important;
}
s14 {
    color: #800000 !important;
}
s15 {
    color: #808000 !important;
}
s16 {
    color: #c0c0c0 !important;
}
s17 {
    color: #ffa500 !important;
}
s18 {
    color: #ffd700 !important;
}
s19 {
    color: #ff4500 !important;
}
s20 {
    color: #dc143c !important;
}
s21 {
    color: #b22222 !important;
}
s22 {
    color: #ff1493 !important;
}
s23 {
    color: #ff69b4 !important;
}
s24 {
    color: #ee82ee !important;
}
s25 {
    color: #4b0082 !important;
}
s26 {
    color: #8a2be2 !important;
}
s27 {
    color: #6a5acd !important;
}
s28 {
    color: #4169e1 !important;
}
s29 {
    color: #1e90ff !important;
}
s30 {
    color: #00bfff !important;
}
s31 {
    color: #40e0d0 !important;
}
s32 {
    color: #00ced1 !important;
}
s33 {
    color: #2e8b57 !important;
}
s34 {
    color: #32cd32 !important;
}
s35 {
    color: #7fff00 !important;
}
s36 {
    color: #adff2f !important;
}
s37 {
    color: #f0e68c !important;
}
s38 {
    color: #d2691e !important;
}
s39 {
    color: #a0522d !important;
}
s40 {
    color: #8b4513 !important;
}
s41 {
    color: #f5f5f5 !important;
}
s42 {
    color: #d3d3d3 !important;
}
s43 {
    color: #696969 !important;
}
s44 {
    color: #2f4f4f !important;
}
s45 {
    color: #0b3d91 !important;
}
s46 {
    color: #006400 !important;
}
s47 {
    color: #8b0000 !important;
}
s48 {
    color: #ff6347 !important;
}
s49 {
    color: #e60012 !important;
}

/* -------------------- w：字体大小 -------------------- */
w0 {
    font-size: inherit;
}
w1 {
    font-size: 12px;
}
w2 {
    font-size: 14px;
}
w3 {
    font-size: 16px;
}
w4 {
    font-size: 18px;
}
w5 {
    font-size: 20px;
}
w6 {
    font-size: 22px;
}
w7 {
    font-size: 24px;
}
w8 {
    font-size: 26px;
}
w9 {
    font-size: 28px;
}
w10 {
    font-size: 30px;
}
w11 {
    font-size: 32px;
}
w12 {
    font-size: 34px;
}
w13 {
    font-size: 36px;
}
w14 {
    font-size: 40px;
}
w15 {
    font-size: 44px;
}
w16 {
    font-size: 48px;
}
w17 {
    font-size: 52px;
}
w18 {
    font-size: 56px;
}
w19 {
    font-size: 60px;
}
w20 {
    font-size: 64px;
}
w21 {
    font-size: 72px;
}
w22 {
    font-size: 80px;
}
w23 {
    font-size: 88px;
}
w24 {
    font-size: 96px;
}

/* -------------------- y：文字色 + 背景色 -------------------- */
y0 {
    color: inherit !important;
    background-color: transparent !important;
}
y1 {
    color: #ff0000 !important;
    background-color: #ffff00 !important;
}
y2 {
    color: #008000 !important;
    background-color: #ffff00 !important;
}
y3 {
    color: #0000ff !important;
    background-color: #ffff00 !important;
}
y4 {
    color: #000000 !important;
    background-color: #ffff00 !important;
}
y5 {
    color: #ffffff !important;
    background-color: #ff0000 !important;
}
y6 {
    color: #ffff00 !important;
    background-color: #ff0000 !important;
}
y7 {
    color: #ffffff !important;
    background-color: #0000ff !important;
}
y8 {
    color: #ffff00 !important;
    background-color: #0000ff !important;
}
y9 {
    color: #000000 !important;
    background-color: #00ffff !important;
}
y10 {
    color: #ff0000 !important;
    background-color: #ffffff !important;
}
y11 {
    color: #ff0000 !important;
    background-color: #000000 !important;
}
y12 {
    color: #ffff00 !important;
    background-color: #000000 !important;
}
y13 {
    color: #ffffff !important;
    background-color: #008000 !important;
}
y14 {
    color: #000000 !important;
    background-color: #00ff00 !important;
}
y15 {
    color: #800080 !important;
    background-color: #ffff00 !important;
}
y16 {
    color: #ff00ff !important;
    background-color: #ffffff !important;
}
y17 {
    color: #008080 !important;
    background-color: #ffff00 !important;
}
y18 {
    color: #ffffff !important;
    background-color: #800080 !important;
}
y19 {
    color: #ffffff !important;
    background-color: #ff8c00 !important;
}
y20 {
    color: #000000 !important;
    background-color: #ffa500 !important;
}
y21 {
    color: #ff0000 !important;
    background-color: #e0ffff !important;
}
y22 {
    color: #0000ff !important;
    background-color: #e0ffff !important;
}
y23 {
    color: #ff0000 !important;
    background-color: #ccffcc !important;
}
y24 {
    color: #000000 !important;
    background-color: #ccffcc !important;
}
y25 {
    color: #000080 !important;
    background-color: #add8e6 !important;
}
y26 {
    color: #800000 !important;
    background-color: #ffc0cb !important;
}
y27 {
    color: #000000 !important;
    background-color: #ffc0cb !important;
}
y28 {
    color: #ffffff !important;
    background-color: #808080 !important;
}
y29 {
    color: #000000 !important;
    background-color: #d3d3d3 !important;
}
y30 {
    color: #ff0000 !important;
    background-color: #ffd700 !important;
}
y31 {
    color: #8b0000 !important;
    background-color: #f0e68c !important;
}
y32 {
    color: #000080 !important;
    background-color: #f0f8ff !important;
}
y33 {
    color: #ffffff !important;
    background-color: #dc143c !important;
}
y34 {
    color: #ffffff !important;
    background-color: #b22222 !important;
}
y35 {
    color: #ffffff !important;
    background-color: #ff1493 !important;
}
y36 {
    color: #000000 !important;
    background-color: #ff69b4 !important;
}
y37 {
    color: #ffffff !important;
    background-color: #4b0082 !important;
}
y38 {
    color: #ffffff !important;
    background-color: #6a5acd !important;
}
y39 {
    color: #ffffff !important;
    background-color: #4169e1 !important;
}
y40 {
    color: #000000 !important;
    background-color: #00bfff !important;
}
y41 {
    color: #000000 !important;
    background-color: #40e0d0 !important;
}
y42 {
    color: #ffffff !important;
    background-color: #2e8b57 !important;
}
y43 {
    color: #000000 !important;
    background-color: #7fff00 !important;
}
y44 {
    color: #ffffff !important;
    background-color: #8b4513 !important;
}
y45 {
    color: #ffffff !important;
    background-color: #2f4f4f !important;
}
y46 {
    color: #ffffff !important;
    background-color: #0b3d91 !important;
}
y47 {
    color: #ffffff !important;
    background-color: #006400 !important;
}
y48 {
    color: #ffffff !important;
    background-color: #8b0000 !important;
}
y49 {
    color: #ffffff !important;
    background-color: #e60012 !important;
}

/* 自定义短标签默认作为行内元素显示，并继承当前字体。 */
s0,
s1,
s2,
s3,
s4,
s5,
s6,
s7,
s8,
s9,
s10,
s11,
s12,
s13,
s14,
s15,
s16,
s17,
s18,
s19,
s20,
s21,
s22,
s23,
s24,
s25,
s26,
s27,
s28,
s29,
s30,
s31,
s32,
s33,
s34,
s35,
s36,
s37,
s38,
s39,
s40,
s41,
s42,
s43,
s44,
s45,
s46,
s47,
s48,
s49,
w0,
w1,
w2,
w3,
w4,
w5,
w6,
w7,
w8,
w9,
w10,
w11,
w12,
w13,
w14,
w15,
w16,
w17,
w18,
w19,
w20,
w21,
w22,
w23,
w24,
y0,
y1,
y2,
y3,
y4,
y5,
y6,
y7,
y8,
y9,
y10,
y11,
y12,
y13,
y14,
y15,
y16,
y17,
y18,
y19,
y20,
y21,
y22,
y23,
y24,
y25,
y26,
y27,
y28,
y29,
y30,
y31,
y32,
y33,
y34,
y35,
y36,
y37,
y38,
y39,
y40,
y41,
y42,
y43,
y44,
y45,
y46,
y47,
y48,
y49 {
    display: inline;
    font-family: inherit;
    font-style: normal;
}

/* Legacy text utility classes used by existing template content. */
.wr { color:#f00 !important; }
.wg { color:#080 !important; }
.wb { color:#00f !important; }
.wp { color:#f0f !important; }
.wy { color:#ff0 !important; }
.wo { color:#f60 !important; }
.wpe { color:#80d !important; }
.wsr { color:#f06 !important; }
.wsb { color:#06f !important; }
.ww { color:#fff !important; }
.wbl { color:#000 !important; }
#nav2,
#nav2 .ifm,
#nav2 iframe {
    display:block;
    width:100%;
    height:75px;
}
.forum-author-byline {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:4px 8px;
    min-height:30px;
    padding:6px 10px;
    background:linear-gradient(transparent,#f7f3f3);
    color:#64748b;
    font-size:18px;
    font-weight:400;
    line-height:1.4;
}
.detail-page-heading {
    background:linear-gradient(to bottom, transparent, #f7f3f3), linear-gradient(to right, #f00, #ff0000, #3b82f6);
}
.list-title.detail-page-title { border-bottom:0; background:transparent; }
.detail-page-heading .forum-author-byline { background:transparent; }
.forum-author-byline__label { color:#64748b; }
.forum-author-byline__name { color:#dc2626; font-weight:700; }
.forum-author-byline__badge {
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 7px;
    border:1px solid #bfdbfe;
    border-radius:3px;
    background:#eff6ff;
    color:#2563eb;
    font-size:15px;
    line-height:1.2;
}
.post-forum-list img {
    width:auto;
    max-width:160px;
    max-height:48px;
    height:auto;
    object-fit:contain;
    vertical-align:middle;
}
@media(max-width:640px) {
    .list-title.detail-page-title {
        height:auto;
        min-height:38px;
        padding:4px 8px;
        line-height:1.3;
        white-space:normal;
        overflow-wrap:anywhere;
        word-break:normal;
    }
    .detail-page-heading .forum-author-byline {
        min-height:30px;
        line-height:1.4;
    }
    .forum-author-byline { font-size:15px; }
    .forum-author-byline__badge { min-height:23px; font-size:13px; }
    .post-forum-list img { max-width:96px; max-height:36px; }
}

/* Author tipping panel used by the built-in forum ad. */
.author-tip {
    display:grid;
    justify-items:center;
    gap:12px;
    width:min(100%,880px);
    margin:0 auto;
    padding:16px 12px;
    color:#33483b;
    text-align:center;
    font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;
}
.author-tip__title { min-height:1.3em; margin:0; color:#315e4b; font-size:22px; font-weight:700; line-height:1.3; }
.author-tip__form { display:grid; justify-items:center; gap:12px; width:100%; margin:0; }
.author-tip__choices { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; width:100%; margin:0; padding:0; border:0; }
.author-tip__preset {
    display:inline-flex;
    min-width:112px;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:8px 16px;
    border:1px solid #e4c653;
    border-radius:5px;
    background:#fffdf3;
    color:#9a7100;
    font:inherit;
    font-size:16px;
    font-weight:700;
    line-height:1.25;
    cursor:pointer;
    transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.author-tip__preset:hover { background:#fff8dc; }
.author-tip__preset[aria-pressed="true"] { border:2px solid #cf3434; background:#fff5f3; color:#b42323; box-shadow:0 0 0 2px rgba(207,52,52,.1); }
.author-tip__submit {
    display:inline-flex;
    min-height:48px;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:9px 24px;
    border:2px solid #465b7d;
    border-radius:12px;
    background:linear-gradient(180deg,#263653 0%,#172238 68%,#0b1425 100%);
    box-shadow:0 6px 12px rgba(15,23,42,.22),inset 0 1px 1px rgba(255,255,255,.22);
    color:#fff;
    font:inherit;
    font-size:17px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    transition:filter .15s ease,transform .15s ease;
}
.author-tip__submit:hover { filter:brightness(1.08); transform:translateY(-1px); }
.author-tip__submit:disabled { cursor:wait; filter:grayscale(.25); transform:none; }
.author-tip__submit svg { display:block; width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.author-tip__instruction,.author-tip__notice { margin:0; color:#52645a; font-size:14px; line-height:1.55; }
.author-tip__notice { color:#75837a; font-size:12px; }
.author-tip__status { max-width:100%; color:#315e4b; font-size:14px; line-height:1.5; }
.author-tip__status[hidden] { display:none; }
.author-tip__status--error { color:#b42323; }
.author-tip__status a { margin-left:6px; color:#315e4b; font-weight:700; text-decoration:underline; }
.author-tip-notice { margin:10px 0; padding:11px 14px; border-radius:5px; text-align:center; }
.author-tip-notice--success { background:#edf7f1; color:#246347; }
.author-tip-notice--error { background:#fff1f0; color:#a12828; }
@media(max-width:640px) {
    .author-tip { gap:10px; padding:12px 8px; }
    .author-tip__title { font-size:19px; }
    .author-tip__choices { gap:6px; }
    .author-tip__preset { min-width:calc(50% - 4px); min-height:40px; padding:7px 10px; font-size:14px; }
    .author-tip__submit { min-height:44px; padding:8px 20px; font-size:16px; }
    .author-tip__instruction { font-size:13px; }
}
