@charset "utf-8";
/* ==========================================================================
   心理设备论坛 · mindtech_forum
   响应式论坛主题样式表（无图片、无 SVG、无外部资源依赖）
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
    --c-brand:      #1f6fd0;
    --c-brand-d:    #15539f;
    --c-brand-l:    #eaf2fd;
    --c-hero:       linear-gradient(118deg, #0a2a5e 0%, #14509e 46%, #2e86dd 100%);
    --c-navy:       #0a2a5e;
    --c-accent:     #12b3a6;

    --c-ink:        #16202e;
    --c-ink-2:      #41506a;
    --c-ink-3:      #7d8ca1;
    --c-ink-4:      #a4b1c4;

    --c-line:       #e2e8f2;
    --c-line-2:     #eef2f8;
    --c-bg:         #f3f6fa;
    --c-panel:      #ffffff;

    --r-xs: 7px;
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 22px;

    --sh-1: 0 1px 2px rgba(15, 40, 80, .04), 0 8px 24px rgba(15, 40, 80, .06);
    --sh-2: 0 12px 32px rgba(15, 40, 80, .12);
    --sh-3: 0 20px 48px rgba(10, 42, 94, .18);

    --wrap: 1200px;
    --head-h: 70px;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(1000px 520px at 88% -120px, rgba(46, 134, 221, .09), transparent 70%),
        radial-gradient(760px 420px at -8% 22%, rgba(18, 179, 166, .06), transparent 70%),
        var(--c-bg);
    background-attachment: fixed;
    color: var(--c-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
                 "Noto Sans CJK SC", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--c-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }
a { color: var(--c-brand); text-decoration: none; transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
a:hover { color: var(--c-brand-d); }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
time { font-variant-numeric: tabular-nums; }

/* ---------- 2.1 视口锁定：禁止整页横向滚动 / 左右滑动 ---------- */
/* 先给旧内核写 hidden 兜底，再用 clip（不产生滚动容器、不影响 sticky）覆盖 */
html {
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
}
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
}
/* 兜底：任何宽元素都不允许撑破框架 */
pre, table, iframe, embed, object, video, svg { max-width: 100%; }
pre, table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.thread-title, .panel-title, .panel-sub, .detail-title, .crumb ol { overflow-wrap: break-word; word-break: break-word; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 3. 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(20, 60, 120, .08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 6px 24px rgba(15, 40, 80, .06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--head-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: var(--c-ink);
}
.brand:hover { color: var(--c-ink); }

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 13px;
    background: var(--c-hero);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 6px 16px rgba(20, 80, 158, .34), inset 0 1px 0 rgba(255, 255, 255, .25);
    position: relative;
}
.brand-mark::after {
    content: "";
    position: absolute;
    right: -3px; bottom: -3px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--c-accent);
    border: 2px solid #fff;
}
.brand-mark i {
    display: block;
    width: 1em;
    overflow: hidden;
    white-space: nowrap;
    font-style: normal;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.brand-sub {
    display: none;
    font-size: 11.5px;
    color: var(--c-ink-3);
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 版块导航 */
.site-nav { flex: 1 1 auto; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }

/* 移动端菜单按钮（桌面端隐藏，≤960px 显示） */
.nav-toggle {
    display: none;
    order: 3;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-panel);
    cursor: pointer;
    padding: 0;
}
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--c-ink);
    border-radius: 2px;
    position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top: 6px; }

.nav-list > li > a,
.nav-list > li > span {
    display: block;
    padding: 8px 8px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--c-ink-2);
    white-space: nowrap;
}
.nav-list > li > a:hover { background: var(--c-brand-l); color: var(--c-brand-d); }
.nav-list > li > a.is-current,
.nav-list > li.current-menu-item > a {
    background: var(--c-brand-l);
    color: var(--c-brand-d);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #cfe1f7;
}

/* 文章底部横幅广告框 */
.post-ad-banner {
    position: relative;
    margin: 18px 0 4px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, #f4f8ff 0%, #eaf2fd 100%);
    overflow: hidden;
}
.post-ad-banner-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 16px 118px 16px 20px;
    text-decoration: none;
    transition: background-color .16s ease;
}
.post-ad-banner-inner:hover { background: rgba(31, 111, 208, .05); }
.post-ad-banner-text { min-width: 0; }
.post-ad-banner-title {
    display: block;
    margin: 0 0 6px;
    font-size: 16px; font-weight: 700; line-height: 1.4;
    color: var(--c-ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post-ad-banner-note {
    display: inline-flex; align-items: center; gap: 6px;
    font-style: normal;
    font-size: 13px; color: var(--c-brand-d);
    background: var(--c-brand-l);
    border-radius: 999px;
    padding: 4px 12px;
}
.post-ad-banner-note::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-brand);
}
.post-ad-banner-thumb {
    flex: 0 0 auto;
    width: 84px; height: 84px;
    border-radius: var(--r-xs);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 30, 60, .12);
}
.post-ad-banner-thumb img {
    display: block; width: 100%; height: 100%;
    object-fit: cover;
}
.post-ad-banner.is-image { padding: 0; background: #fff; }
.post-ad-banner-imglink { display: block; }
.post-ad-banner-imglink img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-sm);
}
.post-ad-banner.is-image .post-ad-banner-tag { z-index: 1; }
.post-ad-banner .link-m { display: none; }
@media (max-width: 768px) {
    .post-ad-banner .link-pc { display: none; }
    .post-ad-banner .link-m { display: block; }
}
@media (max-width: 640px) {
    .post-ad-banner-imglink img { min-height: 64px; object-fit: cover; }
    .post-ad-banner-imglink img.banner-m { min-height: 0; }
}
.post-ad-banner-tag {
    position: absolute; top: 0; right: 0;
    font-size: 11px; line-height: 1;
    color: #9aa9bd;
    background: rgba(255, 255, 255, .85);
    border-left: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    border-radius: 0 0 0 var(--r-xs);
    padding: 4px 8px;
}
@media (max-width: 640px) {
    .post-ad-banner-inner { padding: 12px 14px; gap: 12px; }
    .post-ad-banner-title { font-size: 14.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .post-ad-banner-thumb { width: 64px; height: 64px; }
    .post-ad-banner-tag { display: none; }
}

/* 搜索 */
.site-search {
    position: relative;
    flex: 0 0 190px;
    display: flex;
    align-items: center;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 3px 3px 3px 14px;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.site-search:focus-within {
    background: #fff;
    border-color: #a9cbf1;
    box-shadow: 0 0 0 4px rgba(31, 111, 208, .12);
}
.search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    padding: 6px 4px;
    color: var(--c-ink);
}
.search-input::placeholder { color: var(--c-ink-4); }
.search-btn {
    flex: 0 0 auto;
    border: 0;
    padding: 7px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    transition: filter .16s ease, transform .16s ease;
}
.search-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------- 4. 首页横幅 ---------- */
.hero {
    position: relative;
    color: #fff;
    padding: 58px 0 0;
    overflow: visible;
    background: var(--c-hero);
    border-bottom-left-radius: var(--r-lg);
    border-bottom-right-radius: var(--r-lg);
}

/* 首页大图模式：背景图铺满横幅，隐藏装饰与文字，仅保留统计条 */
.hero.has-image {
    padding-top: 250px;
    background-color: #0a2a5e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero.has-image .hero-bg { display: none; }
.hero.has-image .hero-stat-wrap { margin-top: 0; }
/* 装饰层：点阵 + 圆环 + 光斑，统一裁切 */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-bottom-left-radius: var(--r-lg);
    border-bottom-right-radius: var(--r-lg);
}
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1.2px, transparent 1.6px);
    background-size: 26px 26px;
    opacity: .5;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 60%, rgba(0,0,0,.1));
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 60%, rgba(0,0,0,.1));
}
.hero-bg::after {
    content: "";
    position: absolute;
    right: -140px; top: -180px;
    width: 460px; height: 460px;
    border-radius: 50%;
    border: 56px solid rgba(255, 255, 255, .07);
    background: transparent;
}
.hero-bg .hero-ring {
    position: absolute;
    left: -110px; bottom: -160px;
    display: block;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .06);
}
.hero-bg .hero-glow {
    position: absolute;
    right: 22%; bottom: -30px;
    display: block;
    width: 300px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(18, 179, 166, .38), transparent);
    filter: blur(6px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding-top: 6px;
}
.hero h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-shadow: 0 2px 18px rgba(7, 30, 66, .35);
}
.hero-slogan {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16.5px;
    letter-spacing: .3px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.hero-tags span {
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(4px);
    font-size: 13px;
    color: #eaf3ff;
    transition: background-color .16s ease, border-color .16s ease;
}
.hero-tags span:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .34); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn-hero.is-solid {
    background: #fff;
    color: var(--c-navy);
    box-shadow: 0 10px 24px rgba(7, 30, 66, .35);
}
.btn-hero.is-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7, 30, 66, .4); color: var(--c-navy); }
.btn-hero.is-glass {
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn-hero.is-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; transform: translateY(-2px); }

/* 骑缝统计卡 */
.hero-stat-wrap {
    position: relative;
    z-index: 2;
    margin-top: 44px;
    transform: translateY(50%);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    border: 1px solid rgba(20, 60, 120, .08);
    border-radius: var(--r);
    box-shadow: var(--sh-2);
    padding: 6px 0;
    overflow: hidden;
}
.hs-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 16px 10px 14px;
    position: relative;
}
.hs-cell + .hs-cell::before {
    content: "";
    position: absolute;
    left: 0; top: 18%;
    height: 64%;
    border-left: 1px solid var(--c-line-2);
}
.hs-cell dd {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, #14509e, #2e86dd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hs-cell dt { font-size: 12.5px; color: var(--c-ink-3); letter-spacing: 1px; }

/* 首页主体给骑缝卡让出空间 */
.page-index .main-grid { padding-top: 96px; }

/* ---------- 5. 页面骨架 ---------- */
.main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    padding-top: 26px;
    padding-bottom: 48px;
}
.main-grid.is-single { grid-template-columns: minmax(0, 1fr) 300px; }
.col-main { min-width: 0; }
.col-side { position: sticky; top: calc(var(--head-h) + 16px); }

/* ---------- 6. 面板 ---------- */
.panel {
    background: var(--c-panel);
    border: 1px solid rgba(20, 60, 120, .08);
    border-radius: var(--r);
    box-shadow: var(--sh-1);
    margin-bottom: 24px;
    overflow: hidden;
}
.panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 22px;
    border-bottom: 1px solid var(--c-line-2);
    background: #fff;
}
.panel-title {
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panel-title::before {
    content: "";
    width: 4px; height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--c-brand), var(--c-accent));
    box-shadow: 0 2px 6px rgba(31, 111, 208, .3);
}
.panel-sub { font-size: 13px; color: var(--c-ink-3); }
.panel-body { padding: 6px 0; }

/* 公告条 */
.notice-bar {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: var(--r);
    background: linear-gradient(120deg, #fffaf0, #fff6e3);
    border: 1px solid #f3e3bb;
    color: #7a5a12;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: var(--sh-1);
}
.notice-bar strong {
    flex: 0 0 auto;
    padding: 1px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0b429, #e89b1c);
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    box-shadow: 0 3px 8px rgba(240, 180, 41, .35);
}
.notice-bar p { margin: 0; }

/* ---------- 7. 版块总览（网格卡片 + 每版块专属色） ---------- */
.board-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 20px 20px;
}

.board {
    --bc: #1f6fd0;
    --bc-d: #15539f;
    --bc-l: #eaf2fd;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 17px 18px;
    background: #fff;
    border: 1px solid rgba(20, 60, 120, .09);
    border-radius: var(--r);
    box-shadow: 0 1px 2px rgba(15, 40, 80, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.board:hover {
    transform: translateY(-3px);
    border-color: var(--bc);
    box-shadow: 0 14px 32px rgba(15, 40, 80, .13);
}

/* 九个版块九种专属色 */
.board:nth-of-type(1) { --bc: #1f6fd0; --bc-d: #15539f; --bc-l: #eaf2fd; }
.board:nth-of-type(2) { --bc: #0ea5a0; --bc-d: #0b7f7b; --bc-l: #e2f7f6; }
.board:nth-of-type(3) { --bc: #7c5cd6; --bc-d: #5d3fb4; --bc-l: #f0ebfc; }
.board:nth-of-type(4) { --bc: #2f9e5f; --bc-d: #207a46; --bc-l: #e7f7ee; }
.board:nth-of-type(5) { --bc: #e8862d; --bc-d: #bf6517; --bc-l: #fdf1e3; }
.board:nth-of-type(6) { --bc: #d9538a; --bc-d: #b03767; --bc-l: #fceef4; }
.board:nth-of-type(7) { --bc: #4a5fd0; --bc-d: #3345a5; --bc-l: #eceffb; }
.board:nth-of-type(8) { --bc: #1e9bd7; --bc-d: #1476a6; --bc-l: #e6f5fc; }
.board:nth-of-type(9) { --bc: #c2913a; --bc-d: #96701f; --bc-l: #faf3e4; }

.board-mark {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    border-radius: 15px;
    background: linear-gradient(140deg, var(--bc), var(--bc-d));
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 40, 80, .18);
    position: relative;
}
.board-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}
.board-mark i { display: block; width: 1em; overflow: hidden; white-space: nowrap; font-style: normal; }

.board-body { min-width: 0; }
.board-name { font-size: 16.5px; margin-bottom: 4px; }
.board-name a { color: var(--c-ink); transition: color .16s ease; }
.board-name a:hover { color: var(--bc-d); }
.board-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--c-ink-3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.board-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.board-sub a {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    font-size: 12.5px;
    color: var(--c-ink-2);
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.board-sub a:hover { background: var(--bc-l); border-color: var(--bc); color: var(--bc-d); }

.board-stat {
    text-align: right;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    padding-top: 2px;
}
.board-stat b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--bc);
    font-variant-numeric: tabular-nums;
}
.board-stat span { font-size: 11.5px; color: var(--c-ink-4); }

/* 面板内的子版块 / 标签条 */
.panel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--c-line-2);
}
.panel-chips a {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    font-size: 12.5px;
    color: var(--c-ink-2);
}
.panel-chips a:hover { background: var(--c-brand-l); border-color: #cfe1f7; color: var(--c-brand-d); }

/* ---------- 8. 主题列表 ---------- */
.thread-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 12px;
    padding: 12px 22px;
    background: #f8fafd;
    border-bottom: 1px solid var(--c-line-2);
    font-size: 12.5px;
    color: var(--c-ink-4);
    letter-spacing: .3px;
}
.thread-head .th-right { text-align: right; }

.thread-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 92px;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--c-line-2);
    transition: background-color .16s ease;
}
.thread-row:last-child { border-bottom: 0; }
.thread-row:hover { background: #f7fbff; }

.thread-flag {
    position: relative;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(140deg, #eaf2fd, #dcebfc);
    box-shadow: inset 0 0 0 1px #d0e2f8;
}
.thread-flag::before {
    content: "";
    position: absolute;
    left: 12px; right: 12px;
    top: 14px;
    border-top: 2.5px solid #4d8ede;
    border-bottom: 2.5px solid #4d8ede;
    height: 12px;
    border-radius: 1px;
}
.thread-flag::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 22px;
    width: 11px;
    border-top: 2.5px solid #a9cdf4;
}

.thread-body { min-width: 0; }
.thread-title { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.thread-title a {
    color: var(--c-ink);
    display: inline;
    background-image: linear-gradient(var(--c-brand), var(--c-brand));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size .22s ease, color .16s ease;
}
.thread-title a:hover { color: var(--c-brand); background-size: 100% 2px; }

.thread-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0;
    font-size: 12.5px;
    color: var(--c-ink-3);
}
.thread-meta .meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--c-ink-4); }

/* 作者名内链：指向作者归档页，消除「作者页内链孤岛」，同时便于读者查看该作者的其它主题 */
.meta-author { color: inherit; text-decoration: none; transition: color .18s ease; }
.meta-author:hover { color: var(--c-brand); }
a.floor-name { text-decoration: none; transition: color .18s ease; }
a.floor-name:hover { color: var(--c-brand); }

.chip {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: var(--c-brand-l);
    color: var(--c-brand-d);
    border: 1px solid #d9e8fa;
}
.chip:hover { background: #dcebfc; color: var(--c-brand-d); }

.badge-pin {
    display: inline-block;
    vertical-align: 1px;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: var(--r-xs);
    background: linear-gradient(135deg, #e8574d, #d43f36);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(216, 79, 66, .3);
}

.thread-stat {
    text-align: right;
    font-size: 12.5px;
    color: var(--c-ink-3);
}
.thread-stat b { display: block; font-size: 15px; color: var(--c-ink-2); font-weight: 600; }
.thread-stat span { color: var(--c-ink-4); }

.empty {
    padding: 46px 20px;
    text-align: center;
    color: var(--c-ink-3);
    font-size: 14px;
}

/* ---------- 9. 文章 / 楼层帖 ---------- */
.crumb { padding: 4px 0 0; margin-bottom: 14px; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px; color: var(--c-ink-3); }
.crumb li { display: flex; align-items: center; gap: 7px; }
.crumb li + li::before { content: "/"; color: var(--c-ink-4); }
.crumb a { color: var(--c-ink-3); }
.crumb a:hover { color: var(--c-brand); }
.crumb [aria-current="page"] { color: var(--c-ink-2); }

.detail-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--c-line-2); position: relative; }
.detail-head::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--c-brand), var(--c-accent));
}
.detail-title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0;
    font-size: 13px;
    color: var(--c-ink-3);
}

/* 文章式作者条：小头像 + 昵称 + 楼主徽章，正文通栏 */
.meta-author { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.avatar-sm {
    display: inline-grid;
    place-items: center;
    width: 26px; height: 26px;
    border-radius: 8px;
    background: var(--c-hero);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.avatar-sm i { display: block; width: 1em; overflow: hidden; white-space: nowrap; font-style: normal; }
.meta-name { font-weight: 600; color: var(--c-ink); }
a.meta-name { text-decoration: none; transition: color .18s ease; }
a.meta-name:hover { color: var(--c-brand); }
.meta-author .floor-role { margin-top: 0; }
.detail-body { padding: 24px 30px 26px; min-width: 0; }

.floor {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 0;
}
.floor-user {
    padding: 22px 18px;
    border-right: 1px solid var(--c-line-2);
    background: linear-gradient(180deg, #f8fbff, #f4f8fd);
    text-align: center;
}
.avatar-badge {
    display: inline-grid;
    place-items: center;
    width: 56px; height: 56px;
    margin-bottom: 10px;
    border-radius: 18px;
    background: var(--c-hero);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(20, 80, 158, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.avatar-badge i { display: block; width: 1em; overflow: hidden; white-space: nowrap; font-style: normal; }
.floor-name { display: block; font-size: 14.5px; font-weight: 600; color: var(--c-ink); word-break: break-all; }
.floor-role {
    display: inline-block;
    margin-top: 5px;
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--c-brand-l);
    color: var(--c-brand-d);
    font-size: 11.5px;
    box-shadow: inset 0 0 0 1px #d9e8fa;
}
.floor-stat {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--c-line);
    font-size: 12px;
    color: var(--c-ink-4);
}
.floor-stat dd { font-size: 14px; font-weight: 600; color: var(--c-ink-2); }

.floor-content { padding: 26px; min-width: 0; }

.post-content { font-size: 15.5px; line-height: 2.0; color: #24303f; word-wrap: break-word; overflow-wrap: break-word; }
.post-content > *:first-child { margin-top: 0; }
.post-content > *:last-child { margin-bottom: 0; }
.post-content p { margin: 0 0 1.5em; }
.post-content h2 { font-size: 19px; margin: 1.9em 0 .9em; padding-left: 11px; border-left: 4px solid var(--c-brand); }
.post-content h3 { font-size: 17px; margin: 1.7em 0 .8em; }
.post-content h4 { font-size: 15.5px; margin: 1.5em 0 .7em; }
.post-content ul, .post-content ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .7em; }
.post-content li:last-child { margin-bottom: 0; }
.post-content blockquote {
    margin: 1.2em 0;
    padding: 12px 18px;
    border-left: 4px solid #7fb3ec;
    background: linear-gradient(90deg, #f3f9ff, #f8fbff);
    border-radius: 0 var(--r-xs) var(--r-xs) 0;
    color: var(--c-ink-2);
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content img { border-radius: var(--r-sm); display: block; margin: 1.2em auto; }
.post-content hr { border: 0; border-top: 1px solid var(--c-line); margin: 1.8em 0; }
.post-content table {
    width: 100%;
    margin: 1.2em 0;
    border-collapse: collapse;
    font-size: 14.5px;
    display: block;
    overflow-x: auto;
}
.post-content th, .post-content td { border: 1px solid var(--c-line); padding: 9px 12px; text-align: left; }
.post-content th { background: #f5f9fd; font-weight: 600; }
.post-content code {
    padding: 2px 6px;
    border-radius: var(--r-xs);
    background: #f1f5fa;
    border: 1px solid var(--c-line);
    font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
    font-size: 13.5px;
    color: #b5396b;
}
.post-content pre {
    padding: 16px 18px;
    border-radius: var(--r-sm);
    background: #1d2733;
    color: #dfe8f3;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.7;
}
.post-content pre code { padding: 0; border: 0; background: transparent; color: inherit; }

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid var(--c-line-2);
}
.tag-label { font-size: 13px; color: var(--c-ink-4); }
.detail-tags a {
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    font-size: 12.5px;
    color: var(--c-ink-2);
}
.detail-tags a:hover { background: var(--c-brand-l); border-color: #cfe1f7; color: var(--c-brand-d); }

.closed-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 24px 22px;
    padding: 16px 18px;
    border-radius: var(--r-sm);
    background: #f6f9fd;
    border: 1px dashed #cfdff2;
    color: var(--c-ink-2);
    font-size: 14px;
}
.closed-note .closed-mark {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: #dbe8f8;
    position: relative;
}
.closed-note .closed-mark::before {
    content: "";
    position: absolute;
    left: 9px; right: 9px; top: 12px;
    border-top: 2px solid #4b8bd3;
}
.closed-note strong { display: block; color: var(--c-ink); font-size: 14.5px; margin-bottom: 2px; }
.closed-note p { margin: 0; font-size: 13.5px; color: var(--c-ink-3); }

.related { padding: 4px 0 6px; }
.related-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 24px;
    border-bottom: 1px solid var(--c-line-2);
}
.related-list li:last-child { border-bottom: 0; }
.related-list a { color: var(--c-ink-2); font-size: 14.5px; }
.related-list a:hover { color: var(--c-brand); }
.related-list time { flex: 0 0 auto; font-size: 12.5px; color: var(--c-ink-4); }

/* 单页面 */
.page-body { padding: 26px 24px; }

/* ---------- 10. 分页 ---------- */
.pager-wrap { padding: 20px; border-top: 1px solid var(--c-line-2); }
.pager { display: flex; justify-content: center; }
.pager-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager-num {
    display: inline-grid;
    place-items: center;
    min-width: 34px; height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--c-line);
    background: #fff;
    font-size: 13.5px;
    color: var(--c-ink-2);
    transition: border-color .16s ease, color .16s ease, background-color .16s ease, transform .16s ease;
}
.pager-num:hover { border-color: #a9cbf1; color: var(--c-brand); background: #f7fbff; transform: translateY(-1px); }
.pager-num.is-current {
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(31, 111, 208, .32);
}
.pager-info { font-size: 13px; color: var(--c-ink-4); align-self: center; margin-left: 4px; }

/* ---------- 11. 侧栏 ---------- */
.widget { margin-bottom: 20px; }
.widget-title {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 18px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--c-line-2);
    background: #fff;
}
.widget-title::before {
    content: "";
    width: 4px; height: 16px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--c-brand), var(--c-accent));
    box-shadow: 0 2px 6px rgba(31, 111, 208, .3);
}
.widget-body { padding: 12px 18px 16px; }
.widget-content { font-size: 14px; color: var(--c-ink-2); }
.widget-content .chip { margin: 0 6px 6px 0; }
.widget-content ul li { padding: 7px 0; border-bottom: 1px dashed var(--c-line-2); }
.widget-content ul li:last-child { border-bottom: 0; }
.widget-list li { padding: 8px 0; border-bottom: 1px dashed var(--c-line-2); font-size: 14px; }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { color: var(--c-ink-2); display: flex; justify-content: space-between; gap: 10px; }
.widget-list a:hover { color: var(--c-brand); }
.widget-list .count, .widget-content .count {
    color: var(--c-brand-d);
    font-size: 12px;
    font-weight: 700;
    background: var(--c-brand-l);
    border-radius: 999px;
    padding: 0 8px;
    line-height: 1.7;
}
.widget-content table { width: 100%; font-size: 13px; border-collapse: collapse; }
.widget-content td, .widget-content th { padding: 5px 6px; }
.widget-content input, .widget-content select, .widget-content textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-xs);
    background: #fff;
    outline: none;
}
.widget-content input:focus, .widget-content textarea:focus { border-color: #a9cbf1; }
.widget-content button, .widget-content input[type="submit"] {
    padding: 7px 14px;
    border: 0;
    border-radius: var(--r-xs);
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    color: #fff;
    font-size: 13.5px;
}

/* ---------- 12. 页脚（深色） ---------- */
.site-footer {
    margin-top: 24px;
    background: linear-gradient(180deg, #0d2347, #0a1c38);
    color: #9fb2d0;
}
.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 28px;
}
.footer-about strong {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16.5px;
    margin-bottom: 10px;
    color: #fff;
}
.footer-about strong::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 3px;
    background: linear-gradient(135deg, #2e86dd, var(--c-accent));
    box-shadow: 0 0 0 3px rgba(46, 134, 221, .18);
}
.footer-about p { margin: 0; font-size: 13.5px; color: #8ba0c2; max-width: 560px; line-height: 1.8; }
.footer-nav h2 { font-size: 13.5px; margin-bottom: 12px; color: #c8d6ec; letter-spacing: 1px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.footer-nav a {
    font-size: 13.5px;
    color: #8ba0c2;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
    transition: color .16s ease, border-color .16s ease;
}
.footer-nav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .4); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: 12.5px;
    color: #6d81a3;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #8ba0c2; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 13. 404 ---------- */
.notfound { text-align: center; padding: 64px 24px; }
.nf-code {
    font-size: 78px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 4px;
    background: var(--c-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}
.notfound h1 { font-size: 21px; margin-bottom: 10px; }
.notfound p { color: var(--c-ink-3); font-size: 14.5px; }
.btn {
    display: inline-block;
    margin-top: 8px;
    padding: 11px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(31, 111, 208, .3);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 111, 208, .36); filter: brightness(1.05); }

/* 回到顶部 */
.to-top {
    position: fixed;
    right: 22px; bottom: 26px;
    width: 44px; height: 44px;
    border: 1px solid rgba(20, 60, 120, .1);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--sh-2);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
    z-index: 70;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-brand-l); }
.to-top::before {
    content: "";
    width: 9px; height: 9px;
    border-left: 2.5px solid var(--c-brand);
    border-top: 2.5px solid var(--c-brand);
    transform: translateY(2px) rotate(45deg);
}

/* ==========================================================================
   15. 广告窗（浮窗广告位，可在后台「主题设置 → 广告窗」中配置）
   ========================================================================== */
.mt-ad {
    position: fixed;
    z-index: 80;
    width: var(--mt-ad-w, 220px);
    max-width: calc(100vw - 28px);
    padding: 8px;
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}
.mt-ad.is-visible { opacity: 1; visibility: visible; transform: none; }
.mt-ad-rb { right: 22px; bottom: 84px; }
.mt-ad-lb { left: 22px; bottom: 84px; }

.mt-ad-body { display: block; }
.mt-ad-link {
    display: block;
    border-radius: var(--r-xs);
    overflow: hidden;
    line-height: 0;
    background: var(--c-bg);
}
.mt-ad-link:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.mt-ad-img { display: block; width: 100%; height: auto; }

.mt-ad-title {
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--c-ink-2);
}

.mt-ad-tag {
    position: absolute;
    top: auto;
    bottom: 13px; right: 12px;
    padding: 1px 7px;
    font-size: 11px;
    line-height: 18px;
    color: #fff;
    background: rgba(10, 42, 94, .62);
    border-radius: 999px;
    letter-spacing: .5px;
    pointer-events: none;
}

.mt-ad-close {
    position: absolute;
    top: -11px; right: -11px;
    width: 26px; height: 26px;
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 40, 80, .16);
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}
.mt-ad-close:hover { background: var(--c-brand-l); transform: scale(1.06); }
.mt-ad-close span { position: relative; display: block; width: 100%; height: 100%; }
.mt-ad-close span::before,
.mt-ad-close span::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 11px; height: 2px;
    margin: -1px 0 0 -5.5px;
    background: var(--c-ink-3);
    border-radius: 2px;
}
.mt-ad-close span::before { transform: rotate(45deg); }
.mt-ad-close span::after  { transform: rotate(-45deg); }
.mt-ad-close:hover span::before,
.mt-ad-close:hover span::after { background: var(--c-brand-d); }

/* 底部通栏：整条横向铺满，图片靠左、文字靠右 */
.mt-ad-bar {
    left: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: none;
    padding: 10px 16px;
    border-width: 1px 0 0;
    border-radius: 0;
    transform: translateY(100%);
}
.mt-ad-bar.is-visible { transform: none; }
.mt-ad-bar .mt-ad-body {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: var(--wrap);
    margin: 0 auto;
}
.mt-ad-bar .mt-ad-title { margin: 0; flex: 0 1 auto; }
.mt-ad-bar .mt-ad-link { flex: 0 0 auto; }
.mt-ad-bar .mt-ad-img { width: auto; max-height: 70px; }
.mt-ad-bar .mt-ad-tag { top: 50%; left: 14px; right: auto; transform: translateY(-50%); }
.mt-ad-bar .mt-ad-close { top: 50%; right: 12px; transform: translateY(-50%); }
.mt-ad-bar .mt-ad-close:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
    .mt-ad-rb, .mt-ad-lb { right: 12px; left: auto; bottom: 92px; }
    .mt-ad-lb { left: 12px; right: auto; }
    .mt-ad { width: min(var(--mt-ad-w, 220px), 50vw); max-width: min(78vw, 300px); }
    .mt-ad-bar .mt-ad-title { display: none; }
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
    .main-grid, .main-grid.is-single { grid-template-columns: minmax(0, 1fr) 268px; gap: 20px; }
    .site-search { flex-basis: 200px; }
    .brand-sub { max-width: 130px; }
    .hero h1 { font-size: 31px; }
}

@media (max-width: 1100px) {
    .nav-toggle { display: block; order: 3; margin-left: auto; }
    .site-nav {
        order: 5;
        flex: 1 0 100%;
        display: none;
        padding: 8px 0 14px;
        border-top: 1px solid var(--c-line-2);
        margin-top: 10px;
    }
    .site-nav.is-open { display: block; }
    .nav-list { flex-wrap: wrap; overflow: visible; }
    .nav-list > li > a, .nav-list > li > span { border-radius: var(--r-xs); }
    .header-inner { flex-wrap: wrap; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .brand { order: 1; }
    .header-auth { order: 2; margin-left: auto; }
    .site-search { order: 4; flex: 1 0 100%; }

    .main-grid, .main-grid.is-single { grid-template-columns: minmax(0, 1fr); }
    .col-side { position: static; }
    .hero { padding-top: 40px; }
    .hero h1 { font-size: 26px; }
    .hero-stat-wrap { transform: translateY(46%); margin-top: 32px; }
    .page-index .main-grid { padding-top: 88px; }
}

@media (max-width: 768px) {
    body { font-size: 14.5px; }
    .wrap { padding: 0 15px; }

    .floor { grid-template-columns: minmax(0, 1fr); }
    .floor-user {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        border-right: 0;
        border-bottom: 1px solid var(--c-line-2);
        padding: 14px 18px;
    }
    .avatar-badge { width: 44px; height: 44px; font-size: 18px; margin-bottom: 0; border-radius: 14px; }
    .floor-identity { display: flex; flex-direction: column; }
    .floor-role { margin-top: 2px; }
    .floor-stat { margin: 0 0 0 auto; padding: 0; border: 0; gap: 14px; }
    .floor-content { padding: 18px; }
    .detail-head { padding: 16px 18px 14px; }
    .detail-body { padding: 18px; }
    .detail-title { font-size: 20px; }
    .detail-tags { padding: 14px 18px; }
    .closed-note { margin: 0 18px 18px; }
    .related-list li { padding: 10px 18px; }
    .page-body { padding: 18px; }

    /* 版块卡片在窄屏退化为单列横排 */
    .board-list { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; gap: 12px; }
    .board { grid-template-columns: 46px minmax(0, 1fr); padding: 15px 16px; gap: 13px; }
    .board-mark { width: 46px; height: 46px; font-size: 19px; border-radius: 13px; }
    .board-stat { grid-column: 2; flex-direction: row; align-items: baseline; gap: 4px; text-align: left; padding-top: 0; }
    .board-stat b { display: inline; font-size: 15px; }
    .board-stat span { margin-left: 2px; }

    .thread-head { display: none; }
    .thread-list .thread-row { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
    .thread-list .thread-flag { width: 36px; height: 36px; border-radius: 10px; }
    .thread-list .thread-flag::before { left: 10px; right: 10px; top: 12px; height: 11px; }
    .thread-list .thread-flag::after { left: 10px; top: 19px; width: 9px; }
    .thread-title { font-size: 15px; }
    .thread-list .thread-stat { grid-column: 2; text-align: left; display: flex; justify-content: flex-start; gap: 10px; align-items: baseline; margin-top: 5px; }
    .thread-list .thread-stat b { display: inline; font-size: 13.5px; }

    .panel-head { padding: 14px 16px; flex-wrap: wrap; }

    /* 手机端隐藏侧栏的网站分类、标签列表、站点信息与文章归档模块 */
    #divCatalog, #divStatistics, #divTags, #divArchives { display: none; }

    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .notfound { padding: 46px 18px; }
    .nf-code { font-size: 58px; }
    .to-top { right: 14px; bottom: 18px; }
}

@media (max-width: 640px) {
    .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-cta .btn-hero { flex: 1 1 auto; }

    /* 手机端页头：品牌 + 汉堡一行，搜索整行，登录/注册收进导航抽屉 */
    .brand { flex: 1 1 auto; min-width: 0; }
    .header-inner .header-auth { display: none; order: 6; }
    .site-nav.is-open ~ .header-auth {
        display: flex;
        flex: 1 0 100%;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 10px;
        border-top: 1px solid var(--c-line-2);
    }
    .header-auth .auth-btn { padding: 8px 14px; }
    .header-auth .auth-name {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .brand-sub { display: none; }
    .brand-name { font-size: 16px; }
    .hero h1 { font-size: 23px; }
    .hero-slogan { font-size: 14.5px; }
    .hero-tags { margin-top: 16px; }
    .hero-tags span { padding: 4px 11px; font-size: 12px; }
    .hero-stat-wrap { transform: translateY(42%); }
    .hero.has-image { padding-top: 150px; }
    .page-index .main-grid { padding-top: 84px; }
    .hs-cell dd { font-size: 22px; }
    .hs-cell { padding: 13px 6px 12px; }
    .search-btn { padding: 7px 12px; font-size: 13px; }
    .thread-meta { gap: 4px 9px; }
    .detail-title { font-size: 18.5px; }
    .pager-num { min-width: 31px; height: 31px; padding: 0 8px; }
}

/* ==========================================================================
   15. 顶部登录 / 注册入口
   ========================================================================== */
.header-auth { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* 登录用户：头像+昵称按钮，管理后台/退出收进下拉 */
.auth-wrap { position: relative; flex: 0 0 auto; }
.auth-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 128px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-3);
    z-index: 60;
}
.auth-menu.is-open { display: block; }
.auth-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--r-xs);
    font-size: 13.5px;
    color: var(--c-ink-2);
    white-space: nowrap;
}
.auth-menu a:hover { background: var(--c-brand-l); color: var(--c-brand-d); }

.auth-user {
    display: flex; align-items: center; gap: 7px; max-width: 160px;
    border: 0; background: transparent; cursor: pointer; padding: 2px 4px;
    border-radius: 999px;
    font-family: inherit;
}
.auth-user:hover { background: var(--c-brand-l); }
.auth-caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--c-ink-3);
}
.auth-user .auth-name {
    font-size: 13.5px; font-weight: 600; color: var(--c-ink-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.auth-avatar {
    display: grid; place-items: center;
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--c-hero);
    color: #fff; font-size: 13px; font-weight: 700;
    box-shadow: 0 4px 10px rgba(20, 80, 158, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.auth-avatar i { display: block; width: 1em; overflow: hidden; white-space: nowrap; font-style: normal; }
.auth-avatar.lg { width: 46px; height: 46px; font-size: 19px; border-radius: 15px; }

.auth-btn {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    height: 34px; padding: 0 15px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    color: var(--c-ink-2);
    font-size: 13.5px; font-weight: 600;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.auth-btn.is-ghost:hover { border-color: #c3d9f4; background: var(--c-brand-l); color: var(--c-brand-d); }
.auth-btn.is-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    color: #fff;
    box-shadow: 0 5px 14px rgba(31, 111, 208, .3);
}
.auth-btn.is-primary:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); }

/* ==========================================================================
   16. 列表项：回复数 / 浏览数
   ========================================================================== */
.thread-head { grid-template-columns: minmax(0, 1fr) 160px; }
.thread-row { grid-template-columns: 42px minmax(0, 1fr) 160px; }
.thread-head .th-right { display: flex; justify-content: flex-end; gap: 14px; }
.thread-head .th-right span { width: 46px; text-align: center; }
.thread-stat { display: flex; justify-content: flex-end; gap: 14px; }
.thread-stat .stat-cell { display: block; min-width: 46px; text-align: center; }
.thread-stat .stat-cell.replies b { color: var(--c-accent); }

@media (max-width: 1080px) {
    .thread-head { grid-template-columns: minmax(0, 1fr) 140px; }
    .thread-row { grid-template-columns: 42px minmax(0, 1fr) 140px; }
}

/* ==========================================================================
   17. 留言 / 评论
   ========================================================================== */
.comment-area { margin-top: 18px; }
.comment-head-bar { align-items: center; }
.comment-head-bar .panel-title { display: flex; align-items: center; gap: 8px; }
.comment-total {
    display: inline-block; min-width: 22px; height: 22px; padding: 0 7px;
    border-radius: 999px; background: var(--c-brand-l); color: var(--c-brand-d);
    font-size: 12.5px; font-weight: 700; line-height: 22px; text-align: center;
    box-shadow: inset 0 0 0 1px #d9e8fa;
}
.comment-head-tip { margin: 0 0 0 auto; font-size: 12.5px; color: var(--c-ink-3); }

.comment-list { counter-reset: floor; }
.comment-item { counter-increment: floor; border-top: 1px solid var(--c-line-2); }
.comment-item:first-child { border-top: 0; }
.comment-main { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px 22px; }
.comment-children { padding-left: 46px; background: #f8fbff; border-top: 1px dashed var(--c-line-2); }

.comment-avatar {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: linear-gradient(140deg, #eaf2fd, #d6e7fa);
    color: var(--c-brand-d);
    font-size: 15px; font-weight: 700;
    box-shadow: inset 0 0 0 1px #d3e4f8;
}
.comment-avatar i { display: block; width: 1em; overflow: hidden; white-space: nowrap; font-style: normal; }
.comment-avatar.sm { width: 30px; height: 30px; font-size: 13px; border-radius: 50%; }

.comment-detail { min-width: 0; }
.comment-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 0 0 7px; font-size: 12.5px; color: var(--c-ink-3);
}
.comment-name { font-size: 14px; color: var(--c-ink); }
.comment-lz {
    padding: 1px 7px; border-radius: 999px;
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    color: #fff; font-size: 11.5px; font-weight: 600;
    box-shadow: 0 3px 8px rgba(31, 111, 208, .26);
}
.comment-checking { padding: 1px 7px; border-radius: 999px; background: #fff5e6; color: #b8712a; font-size: 11.5px; }
.comment-floor { margin-left: auto; font-size: 12px; color: var(--c-ink-4); }
.comment-floor::after { content: "#" counter(floor); font-weight: 700; letter-spacing: .3px; color: var(--c-brand); }

.comment-body { font-size: 14.5px; line-height: 1.8; color: #24303f; word-wrap: break-word; overflow-wrap: break-word; }
.comment-body > *:first-child { margin-top: 0; }
.comment-body > *:last-child { margin-bottom: 0; }
.comment-foot { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font-size: 12.5px; }
.comment-at { color: var(--c-ink-3); }
.comment-reply { color: var(--c-brand); font-weight: 600; }
.comment-reply:hover { color: var(--c-brand-d); }

.comment-empty, .comment-locked { margin: 0; padding: 34px 22px; text-align: center; color: var(--c-ink-3); font-size: 14px; }
.comment-pager { padding: 2px 22px 18px; }
.comment-social { padding: 20px 22px; }

/* ==========================================================================
   18. 表单（留言 + 注册）
   ========================================================================== */
.comment-form, .auth-form { padding: 20px 22px 22px; border-top: 1px solid var(--c-line-2); }
.comment-form { background: linear-gradient(180deg, #fafcff, #fff); }
.auth-form { border-top: 0; }

.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form-field { display: block; margin-bottom: 14px; }
.form-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--c-ink-2); }
.form-label .req { color: #d9534f; font-style: normal; margin-left: 3px; }

.form-field input[type="text"],
.form-field input[type="password"],
.form-field input[type="email"],
.form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: #fff;
    outline: none;
    font-size: 14.5px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.form-field textarea { resize: vertical; min-height: 112px; line-height: 1.7; }
.form-field input:focus, .form-field textarea:focus { border-color: #7fb3ec; box-shadow: 0 0 0 4px rgba(31, 111, 208, .11); }
.form-field.is-bad input, .form-field.is-bad textarea { border-color: #e6a3a3; box-shadow: 0 0 0 4px rgba(217, 83, 79, .08); }

.form-help { display: block; margin-top: 5px; font-size: 12px; color: var(--c-ink-4); }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-hint { margin: 0; font-size: 12.5px; color: var(--c-ink-3); }
.form-hint a { font-weight: 600; }
.form-foot .btn-primary { margin-left: auto; }

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 999px;
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--c-brand), #2e86dd);
    color: #fff;
    font-size: 14.5px; font-weight: 600;
    box-shadow: 0 7px 18px rgba(31, 111, 208, .3);
    transition: filter .16s ease, transform .16s ease;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }
.btn-primary.btn-lg { padding: 12px 34px; font-size: 15px; }

.btn-line {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 999px;
    border: 1px solid var(--c-line); background: #fff; color: var(--c-ink-2);
    font-size: 14px; font-weight: 600;
}
.btn-line:hover { border-color: #c3d9f4; background: var(--c-brand-l); color: var(--c-brand-d); }

.form-reply-tip {
    display: flex; align-items: center; gap: 8px;
    margin: 0 0 12px; padding: 8px 12px;
    border-radius: var(--r-sm);
    background: var(--c-brand-l); color: var(--c-brand-d);
    font-size: 13px;
}
.form-reply-tip b { font-weight: 700; }
.form-reply-tip a { margin-left: auto; color: var(--c-ink-3); }

.comment-as { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 13.5px; color: var(--c-ink-2); }
.comment-as strong { color: var(--c-ink); }
.comment-logout { margin-left: auto; font-size: 12.5px; color: var(--c-ink-3); }

.form-field-verify .verify-box { display: flex; align-items: center; gap: 10px; }
.verify-box .captcha-expr {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: var(--r-sm);
    background: var(--c-brand-l); color: var(--c-brand-d);
    font-size: 15px; font-weight: 700; letter-spacing: 1px;
    box-shadow: inset 0 0 0 1px #d9e8fa;
}
.form-field-verify input { max-width: 170px; }
.verify-img { height: 38px; border-radius: var(--r-xs); border: 1px solid var(--c-line); cursor: pointer; }

/* ==========================================================================
   19. 注册页
   ========================================================================== */
.auth-panel { max-width: 760px; }
.auth-intro { padding: 2px 0 18px; margin-bottom: 20px; border-bottom: 1px dashed var(--c-line); }
.auth-intro > *:last-child { margin-bottom: 0; }
.auth-form .form-field { max-width: 480px; }
.auth-form .form-agree { margin: 4px 0 18px; font-size: 12.5px; line-height: 1.7; color: var(--c-ink-3); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.auth-logged { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.auth-logged strong { font-size: 15px; }
.auth-logged p { margin: 3px 0 0; font-size: 13px; color: var(--c-ink-3); }
.auth-logged .btn-primary { margin-left: auto; }

.auth-closed strong { font-size: 15px; }
.auth-closed p { margin: 6px 0 14px; font-size: 13.5px; color: var(--c-ink-3); }

.form-alert { padding: 15px 18px; margin-bottom: 16px; border: 1px solid transparent; border-radius: var(--r-sm); }
.form-alert strong { display: block; margin-bottom: 3px; font-size: 14.5px; }
.form-alert p { margin: 0; font-size: 13.5px; }
.form-alert .btn-primary { margin-top: 12px; }
.form-alert.is-ok { background: #edf9f1; border-color: #c8ead4; color: #1f7a44; }
.form-alert.is-ok p { color: #2c8a53; }
.form-alert.is-bad { background: #fdf1f1; border-color: #f4d3d3; color: #b23b3b; }
.form-alert.is-bad p { color: #c05252; }

.panel-tip { margin: 10px 0 0; padding: 9px 12px; border-radius: var(--r-sm); background: #f5f9fd; color: var(--c-ink-2); font-size: 13px; }

/* 注册页窄屏适配 */
@media (max-width: 1100px) {
    .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 768px) {
    .comment-main { padding: 14px 16px; }
    .comment-children { padding-left: 20px; }
    .comment-head-tip { display: none; }
    .comment-form, .auth-form { padding: 16px; }
    .thread-stat { justify-content: flex-start; }
    .thread-stat .stat-cell { display: flex; gap: 5px; align-items: baseline; min-width: 0; text-align: left; }
    .thread-stat .stat-cell b { display: inline; }
    .auth-form .form-field { max-width: none; }
    .auth-logged .btn-primary { margin-left: 0; }
}
@media (max-width: 480px) {
    .auth-btn { height: 32px; padding: 0 11px; font-size: 13px; }
    .auth-user { max-width: 90px; }
    .auth-avatar { width: 28px; height: 28px; font-size: 12px; }
    .comment-main { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
    .comment-avatar { width: 32px; height: 32px; font-size: 13px; border-radius: 10px; }
    .comment-meta { gap: 6px; }
    .form-foot .btn-primary { width: 100%; margin-left: 0; }
    .thread-head { grid-template-columns: minmax(0, 1fr); }
    .thread-head .th-right { display: none; }
}

/* ==========================================================================
   20. 移动端框架锁定：整页不可左右滑动
   ========================================================================== */
@media (max-width: 1024px) {
    /* 视口锁死：任何内容都不允许把页面撑宽 */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;   /* 旧内核兜底 */
        overflow-x: clip;     /* 现代内核：裁切溢出且不影响 sticky 定位 */
        overscroll-behavior-x: none;
    }
    /* 栅格与弹性子项允许收缩，避免固定内容撑破框架 */
    .main-grid, .main-grid.is-single,
    .main-grid > *, .col-main, .col-side,
    .header-inner > *, .footer-inner > * { min-width: 0; max-width: 100%; }
    /* 抽屉导航改为换行排列，内部不再出现横向滚动条 */
    .nav-list { flex-wrap: wrap; overflow: visible; }
    /* 长链接 / 连续英文强制换行 */
    .thread-title, .thread-meta, .panel-title, .panel-sub, .crumb ol,
    .detail-title, .detail-tags, .post-content, .comment-body, .form-alert p {
        overflow-wrap: break-word;
        word-break: break-word;
    }
    /* 表格 / 代码块等内容在容器内自行横向滚动，不影响整页 */
    .post-content pre, .post-content table, .comment-body pre { max-width: 100%; overflow-x: auto; }
}

/* ==========================================================================
   21. 标签体系：标签云计数、相关标签、标签索引页
   ========================================================================== */

/* 21.1 标签云中的篇数 */
.tag-count { color: var(--c-ink-4); font-size: 12px; font-variant-numeric: tabular-nums; }
.widget-list a:hover .tag-count { color: var(--c-brand); }

/* 21.2 标签模块底部的「查看全部标签」 */
.widget-more {
    border-top: 1px dashed var(--c-line);
    margin-top: 4px;
}
.widget-more a {
    display: block;
    padding: 9px 0 2px;
    color: var(--c-brand);
    font-weight: 600;
    font-size: 13px;
}
.widget-more a:hover { color: var(--c-brand-d); }

/* 21.3 标签页顶部的相关标签 */
.related-tags { align-items: center; }
.related-tags a { font-size: 12.5px; padding: 3px 10px; }

/* 21.4 标签索引页 */
.tag-index .panel-head { padding-bottom: 14px; }
.tag-index-intro {
    color: var(--c-ink-2);
    font-size: 14.5px;
    line-height: 1.85;
    padding: 2px 18px 16px;
    border-bottom: 1px solid var(--c-line-2);
}
.tag-index-intro p { margin: 0 0 10px; }
.tag-index-intro p:last-child { margin-bottom: 0; }
.tag-index .panel-body { padding: 6px 18px 18px; }

.tag-group { padding: 16px 0 4px; }
.tag-group + .tag-group { border-top: 1px solid var(--c-line-2); }

.tag-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-ink);
}
.tag-group-title::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--c-brand), var(--c-accent));
}
.tag-group-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-brand-d);
    background: var(--c-brand-l);
    border-radius: 999px;
    padding: 1px 8px;
}

.tag-cloud-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud-list li { margin: 0; }
.tag-cloud-list a {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 5px 12px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: var(--c-panel);
    color: var(--c-ink-2);
    font-size: 13px;
    line-height: 1.5;
}
.tag-cloud-list a:hover {
    background: var(--c-brand-l);
    border-color: #cfe1f7;
    color: var(--c-brand-d);
}

@media (max-width: 768px) {
    .tag-index-intro { padding: 2px 14px 14px; font-size: 14px; }
    .tag-index .panel-body { padding: 6px 14px 16px; }
    .tag-cloud-list { gap: 7px; }
    .tag-cloud-list a { padding: 5px 10px; font-size: 12.5px; }
}

/* 21.5 页脚热门标签（全站内链入口） */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    padding-top: 16px;
    padding-bottom: 4px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 6px;
}
.footer-tags-label {
    flex: none;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
}
.footer-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}
.footer-tags-list a { font-size: 13px; color: rgba(255, 255, 255, .78); }
.footer-tags-list a:hover { color: #fff; }
.footer-tags-all a { font-weight: 600; color: #9ec9f7; }


/* ===== 游客限翻 10 页 ===== */
.guest-limit-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 28px 60px;
    min-height: 440px;
}
.glp-icon {
    width: 68px; height: 68px; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-brand-l); color: var(--c-brand);
    margin-bottom: 20px;
}
.glp-icon svg { width: 32px; height: 32px; }
.glp-title { font-size: 22px; margin: 0 0 12px; }
.glp-desc { font-size: 14px; color: var(--c-ink-3); max-width: 480px; line-height: 1.9; margin: 0 0 26px; }
.glp-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.glp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 136px; padding: 11px 30px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, color .16s ease, border-color .16s ease;
}
.glp-btn.is-solid { background: var(--c-brand); color: #fff; box-shadow: 0 8px 20px rgba(31, 111, 208, .30); }
.glp-btn.is-solid:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 111, 208, .36); }
.glp-btn.is-line { border: 1px solid var(--c-line); color: var(--c-ink-2); background: var(--c-panel, #fff); }
.glp-btn.is-line:hover { border-color: var(--c-brand); color: var(--c-brand); transform: translateY(-2px); }
.glp-back { margin-top: 24px; font-size: 13px; }
.glp-back a { color: var(--c-ink-4); }
.glp-back a:hover { color: var(--c-brand); }
.pager-guest-tip { margin-top: 10px; font-size: 13px; color: var(--c-ink-4); text-align: center; }
.pager-guest-tip a { color: var(--c-brand); margin: 0 2px; }