/* 做中学页面字号：整体放大一号（2026-10-22 孙老师） */
.practice-page { font-size: 18px; }
.practice-page p,
.practice-page li,
.practice-page td,
.practice-page th,
.practice-page .list-group-item,
.practice-page .card-body { font-size: 18px; line-height: 1.75; }
.practice-page .small,
.practice-page small { font-size: 16px !important; }
.practice-page h1 { font-size: 2.5rem; }
.practice-page h3.section-title { font-size: 2rem; }
.practice-page h5 { font-size: 1.42rem; }
.practice-page h6 { font-size: 1.22rem; }
.practice-page .card-title { font-size: 1.32rem; }
.practice-page .badge { font-size: .86rem; }
.practice-page .btn { font-size: 1.05rem; }
.practice-page .table > :not(caption) > * > * { padding: .7rem .85rem; }
.practice-page .lead { font-size: 1.35rem; }

/* 做中学·我要投稿 悬浮按钮（2026-11-06） */
.hb-post-float{
    position: fixed;
    right: 20px;
    bottom: 26px;
    z-index: 1035;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 13px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(239,68,68,.35);
    animation: hbPostFloat 2.6s ease-in-out infinite;
    transition: transform .18s ease, box-shadow .18s ease;
}
.hb-post-float i{ font-size: 18px; }
.hb-post-float:hover{
    color:#fff;
    animation: none;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(239,68,68,.45);
}
@keyframes hbPostFloat{
    0%,100%{ transform: translateY(0); }
    50%    { transform: translateY(-6px); }
}
@media (max-width: 575.98px){
    .hb-post-float{ right: 14px; bottom: 18px; padding: 11px 17px; font-size: 15px; }
    .hb-post-float i{ font-size: 16px; }
}
@media (prefers-reduced-motion: reduce){
    .hb-post-float{ animation: none; }
}
