Files
vps_web/static/css/forum.css
ddrwode d454699f50 哈哈
2026-02-11 17:38:06 +08:00

3889 lines
76 KiB
CSS

.forum-page {
background: var(--bg);
}
.forum-header {
position: sticky;
top: 0;
z-index: 100;
background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
border-bottom: 1px solid var(--border);
padding: 1rem 1.5rem;
position: relative;
overflow: hidden;
}
.forum-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
opacity: 0.8;
}
.forum-header-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.forum-header-inner-with-center {
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.forum-header-inner-with-center .forum-header-left {
grid-column: 1;
}
.forum-header-inner-with-center .forum-header-right {
grid-column: 3;
justify-self: end;
}
.forum-header-left {
display: flex;
align-items: center;
gap: 0.75rem;
min-width: 0;
}
.forum-logo {
display: inline-flex;
align-items: center;
gap: 0.45rem;
text-decoration: none;
color: var(--text);
min-width: 0;
}
.forum-logo img {
width: 34px;
height: 34px;
border-radius: 9px;
flex-shrink: 0;
}
.forum-logo span {
font-family: var(--font-mono);
font-size: 1.05rem;
font-weight: 700;
letter-spacing: -0.01em;
white-space: nowrap;
}
.forum-top-nav {
grid-column: 2;
justify-self: center;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.forum-top-nav a {
color: var(--text-muted);
text-decoration: none;
font-size: 0.88rem;
font-family: var(--font-mono);
padding: 0.34rem 0.62rem;
border-radius: 8px;
border: 1px solid var(--border);
background: var(--bg-card);
transition: var(--transition);
}
.forum-top-nav a:hover,
.forum-top-nav a.active {
color: var(--accent);
border-color: var(--accent);
background: var(--accent-glow);
}
.forum-primary-nav {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.forum-primary-nav a {
color: var(--text-muted);
text-decoration: none;
font-size: 0.9rem;
padding: 0.3rem 0.5rem;
border-radius: 6px;
transition: var(--transition);
}
.forum-primary-nav a:hover,
.forum-primary-nav a.active {
color: var(--accent);
background: var(--accent-glow);
}
.forum-header-right {
display: flex;
align-items: center;
gap: 0.7rem;
flex-wrap: wrap;
}
.forum-user-chip {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.6rem;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--bg-elevated);
color: var(--text-muted);
font-size: 0.85rem;
}
.forum-link {
color: var(--accent);
text-decoration: none;
font-size: 0.9rem;
padding: 0.3rem 0.5rem;
border-radius: 6px;
transition: var(--transition);
}
.forum-link:hover {
background: var(--accent-glow);
}
.forum-shell {
max-width: 1200px;
margin: 0 auto;
padding: 1.5rem;
width: 100%;
}
.post-read-progress {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
z-index: 130;
pointer-events: none;
background: transparent;
}
.post-read-progress-bar {
display: block;
width: 0;
height: 100%;
background: linear-gradient(90deg, #0f172a 0%, #0369a1 68%, #0284c7 100%);
box-shadow: 0 0 10px rgba(3, 105, 161, 0.4);
transition: width 0.12s linear;
}
.visually-hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.forum-hero {
padding: 0.9rem 0.95rem;
border: 1px solid rgba(148, 163, 184, 0.28);
border-radius: var(--radius-lg);
margin-bottom: 0.9rem;
background:
linear-gradient(145deg, rgba(3, 105, 161, 0.07), rgba(15, 23, 42, 0.04)),
var(--bg-card);
box-shadow: var(--shadow);
}
.forum-hero-kicker {
margin: 0;
color: var(--accent);
font-size: 0.75rem;
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.forum-hero h1 {
margin: 0.28rem 0 0.38rem;
font-size: clamp(1.18rem, 2vw, 1.52rem);
color: var(--text);
line-height: 1.3;
}
.forum-hero p {
margin: 0;
color: var(--text-muted);
max-width: 72ch;
font-size: 0.88rem;
line-height: 1.62;
}
.forum-hero-meta {
margin-top: 0.7rem;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.55rem;
color: var(--text-muted);
font-size: 0.78rem;
}
.forum-hero-meta span {
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.2rem 0.54rem;
background: var(--bg-card);
}
.forum-breadcrumb {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.38rem;
margin-bottom: 0.72rem;
font-size: 0.76rem;
color: var(--text-muted);
}
.forum-breadcrumb a {
color: var(--accent);
text-decoration: none;
}
.forum-breadcrumb a:hover {
text-decoration: underline;
text-underline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.forum-topline {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.9rem;
}
.forum-tools {
margin-bottom: 0.9rem;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.forum-search-form {
display: flex;
align-items: center;
gap: 0.55rem;
flex-wrap: wrap;
}
.forum-search-form input[type="text"] {
min-width: 240px;
flex: 1;
border: 1.5px solid var(--border);
border-radius: 6px;
padding: 0.5rem 0.62rem;
font-size: 0.88rem;
color: var(--text);
background: var(--bg-card);
transition: var(--transition);
}
.forum-search-form input[type="text"]:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-glow);
}
.category-bar {
display: flex;
align-items: center;
gap: 0.48rem;
flex-wrap: wrap;
}
.category-chip {
display: inline-flex;
align-items: center;
gap: 0.42rem;
text-decoration: none;
color: var(--text-muted);
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.25rem 0.56rem;
background: var(--bg-card);
font-size: 0.78rem;
transition: var(--transition);
}
.category-chip strong {
font-family: var(--font-mono);
font-size: 0.72rem;
color: var(--text);
}
.category-chip.active,
.category-chip:hover {
color: var(--accent);
border-color: var(--accent);
background: var(--accent-glow);
}
.forum-actions {
display: flex;
align-items: center;
}
.forum-tabs {
display: flex;
gap: 0.45rem;
flex-wrap: wrap;
}
.forum-tabs a {
text-decoration: none;
color: var(--text-muted);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 6px;
padding: 0.4rem 0.62rem;
font-size: 0.82rem;
font-family: var(--font-mono);
transition: var(--transition);
}
.forum-tabs a.active,
.forum-tabs a:hover {
color: var(--accent);
border-color: var(--accent);
background: var(--accent-glow);
}
.forum-btn-primary,
.forum-btn-muted {
display: inline-block;
text-decoration: none;
border-radius: 6px;
font-size: 0.86rem;
font-weight: 600;
padding: 0.52rem 0.86rem;
cursor: pointer;
transition: var(--transition);
}
.forum-btn-primary {
border: none;
color: #fff;
background: var(--accent);
}
.forum-btn-primary:hover {
background: var(--accent-dim);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3);
}
.forum-btn-muted {
border: 1px solid var(--border);
color: var(--text);
background: var(--bg-card);
}
.forum-btn-muted:hover {
border-color: var(--accent);
color: var(--accent);
background: var(--accent-glow);
}
.forum-btn-muted.active {
border-color: var(--accent);
color: var(--accent);
background: var(--accent-glow);
}
.forum-btn-danger {
display: inline-block;
border: 1px solid rgba(220, 38, 38, 0.45);
color: var(--red);
background: rgba(220, 38, 38, 0.08);
border-radius: 6px;
font-size: 0.86rem;
font-weight: 600;
padding: 0.52rem 0.86rem;
cursor: pointer;
transition: var(--transition);
}
.forum-btn-danger:hover {
background: rgba(220, 38, 38, 0.15);
}
.forum-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 1rem;
align-items: start;
}
.topic-stream,
.side-card,
.topic-post-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
}
.topic-head {
display: grid;
grid-template-columns: minmax(0, 1fr) 90px 90px 110px;
padding: 0.7rem 0.92rem;
font-size: 0.75rem;
color: var(--text-muted);
background: var(--bg-elevated);
border-bottom: 1px solid var(--border);
text-transform: uppercase;
letter-spacing: 0.04em;
font-family: var(--font-mono);
}
.topic-col-mini {
text-align: center;
}
.topic-list {
list-style: none;
margin: 0;
padding: 0;
}
.topic-result {
color: var(--text-muted);
font-size: 0.78rem;
}
.topic-footer {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
padding: 0.72rem 0.92rem;
border-top: 1px solid var(--border);
background: linear-gradient(180deg, rgba(248, 250, 252, 0.75), rgba(248, 250, 252, 0.3));
}
.topic-footer-controls {
display: inline-flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 0.45rem;
margin-left: auto;
}
.page-size-form {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.22rem 0.3rem;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--bg-elevated);
font-size: 0.78rem;
color: var(--text-muted);
}
.page-size-form label,
.page-size-form span {
color: var(--text-muted);
font-size: 0.76rem;
font-weight: 600;
}
.page-size-form select {
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg-card);
color: var(--text);
font-size: 0.8rem;
font-weight: 600;
min-height: 32px;
padding: 0.22rem 0.48rem;
cursor: pointer;
transition: var(--transition);
}
.page-size-form select:hover {
border-color: var(--accent);
background: var(--accent-glow);
}
.page-size-form select:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-glow);
}
.topic-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 90px 90px 110px;
align-items: center;
min-height: 74px;
border-bottom: 1px solid var(--border);
transition: var(--transition);
padding: 0 0.92rem;
}
.topic-row:last-child {
border-bottom: none;
}
.topic-row:hover {
background: var(--bg-elevated);
}
.topic-main {
display: flex;
align-items: center;
gap: 0.68rem;
min-width: 0;
padding: 0.68rem 0;
}
.topic-avatar {
width: 34px;
height: 34px;
border-radius: 999px;
background: var(--accent-glow);
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-mono);
font-size: 0.82rem;
font-weight: 700;
flex-shrink: 0;
}
.topic-content {
min-width: 0;
}
.topic-title {
display: block;
color: var(--text);
text-decoration: none;
font-size: 0.96rem;
font-weight: 600;
line-height: 1.35;
margin-bottom: 0.26rem;
word-break: break-word;
}
.topic-title:hover {
color: var(--accent);
}
.topic-meta {
display: flex;
align-items: center;
gap: 0.45rem;
flex-wrap: wrap;
color: var(--text-muted);
font-size: 0.76rem;
}
.topic-category {
display: inline-block;
border-radius: 999px;
background: var(--accent-glow);
color: var(--accent);
border: 1px solid rgba(3, 105, 161, 0.2);
padding: 0.1rem 0.42rem;
font-size: 0.7rem;
font-weight: 600;
line-height: 1.45;
}
.topic-flag {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
padding: 0.08rem 0.45rem;
font-size: 0.68rem;
font-weight: 700;
line-height: 1.5;
margin-right: 0.25rem;
border: 1px solid transparent;
}
.topic-flag.flag-pinned {
color: var(--accent);
border-color: rgba(3, 105, 161, 0.28);
background: rgba(3, 105, 161, 0.08);
}
.topic-flag.flag-featured {
color: #b45309;
border-color: rgba(180, 83, 9, 0.35);
background: rgba(245, 158, 11, 0.12);
}
.topic-flag.flag-locked {
color: var(--red);
border-color: rgba(220, 38, 38, 0.35);
background: rgba(220, 38, 38, 0.08);
}
.topic-stat {
text-align: center;
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--text-muted);
padding: 0 0.2rem;
}
.topic-activity {
color: var(--accent);
}
.topic-empty {
padding: 1rem;
color: var(--text-muted);
font-size: 0.9rem;
}
.forum-pagination {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.4rem;
padding: 0.78rem 0.92rem;
border-top: 1px solid var(--border);
background: var(--bg-card);
}
.forum-pagination-inline {
padding: 0;
border-top: none;
background: transparent;
}
.page-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 36px;
height: 32px;
padding: 0 0.6rem;
text-decoration: none;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-muted);
background: var(--bg-card);
font-size: 0.8rem;
font-weight: 600;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
transition: var(--transition);
}
.page-link:hover {
color: var(--accent);
border-color: var(--accent);
background: var(--accent-glow);
transform: translateY(-1px);
box-shadow: 0 6px 14px rgba(3, 105, 161, 0.14);
}
.page-link.active {
color: #fff;
border-color: var(--accent);
background: var(--accent);
box-shadow: 0 8px 16px rgba(3, 105, 161, 0.2);
}
.page-link.disabled {
color: var(--text-muted);
opacity: 0.5;
pointer-events: none;
box-shadow: none;
}
.forum-sidebar {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.side-card {
padding: 0.8rem 0.82rem;
}
.side-card h3 {
margin: 0 0 0.65rem 0;
font-size: 0.83rem;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--text-muted);
font-family: var(--font-mono);
}
.side-stats {
display: grid;
gap: 0.46rem;
}
.side-stats > div {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid var(--border);
border-radius: 7px;
padding: 0.45rem 0.55rem;
background: var(--bg);
}
.side-stats span {
color: var(--text-muted);
font-size: 0.8rem;
}
.side-stats strong {
color: var(--text);
font-family: var(--font-mono);
font-size: 0.9rem;
}
.side-list {
list-style: none;
margin: 0;
padding: 0;
}
.side-list li {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px dashed var(--border);
padding: 0.36rem 0;
gap: 0.4rem;
}
.side-list li:last-child {
border-bottom: none;
}
.side-list span {
color: var(--text);
font-size: 0.82rem;
}
.side-list strong {
font-family: var(--font-mono);
color: var(--text-muted);
font-size: 0.8rem;
}
.side-empty {
margin: 0;
color: var(--text-muted);
font-size: 0.82rem;
}
.side-profile-card {
border-style: solid;
}
.side-profile-head {
display: flex;
align-items: center;
gap: 0.58rem;
margin-bottom: 0.65rem;
}
.side-avatar {
width: 38px;
height: 38px;
border-radius: 999px;
border: 1px solid rgba(111, 124, 255, 0.28);
background: linear-gradient(145deg, rgba(111, 124, 255, 0.22), rgba(167, 139, 250, 0.18));
color: #4f46e5;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-mono);
font-size: 0.88rem;
font-weight: 700;
flex-shrink: 0;
}
.side-profile-meta {
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.14rem;
}
.side-profile-meta strong {
color: #1e293b;
font-size: 0.86rem;
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.side-profile-meta span {
color: #64748b;
font-size: 0.75rem;
line-height: 1.45;
}
.side-notice-list {
margin: 0;
padding-left: 1.05rem;
display: grid;
gap: 0.32rem;
}
.side-notice-list li {
color: #475569;
font-size: 0.78rem;
line-height: 1.52;
}
.side-tag-cloud {
display: flex;
flex-wrap: wrap;
gap: 0.38rem;
}
.side-tag {
display: inline-flex;
align-items: center;
gap: 0.3rem;
text-decoration: none;
color: #4f46e5;
border: 1px solid rgba(111, 124, 255, 0.24);
border-radius: 999px;
background: rgba(111, 124, 255, 0.08);
padding: 0.18rem 0.5rem;
font-size: 0.74rem;
line-height: 1.4;
transition: var(--transition);
}
.side-tag strong {
font-family: var(--font-mono);
font-size: 0.72rem;
color: #4338ca;
}
.side-tag:hover {
border-color: rgba(111, 124, 255, 0.45);
background: rgba(111, 124, 255, 0.15);
}
.side-cta p {
margin: 0 0 0.7rem;
color: var(--text-muted);
font-size: 0.82rem;
line-height: 1.6;
}
.side-cta-kpi {
display: grid;
gap: 0.45rem;
margin-bottom: 0.68rem;
}
.side-cta-kpi > div {
display: flex;
align-items: center;
justify-content: space-between;
border: 1px solid var(--border);
border-radius: 9px;
padding: 0.44rem 0.5rem;
background: var(--bg);
}
.side-cta-kpi span {
color: var(--text-muted);
font-size: 0.78rem;
}
.side-cta-kpi strong {
color: var(--text);
font-family: var(--font-mono);
font-size: 0.86rem;
}
.side-cta-sticky {
position: sticky;
top: 86px;
}
.related-post-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.55rem;
}
.related-post-list li {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.5rem 0.56rem;
background: var(--bg);
}
.related-post-card {
position: relative;
overflow: hidden;
display: grid;
gap: 0.28rem;
}
.related-post-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(120deg, rgba(129, 140, 248, 0.06), transparent 52%);
pointer-events: none;
}
.related-post-card.tone-1::before {
background: linear-gradient(120deg, rgba(99, 102, 241, 0.09), transparent 54%);
}
.related-post-card.tone-2::before {
background: linear-gradient(120deg, rgba(14, 165, 233, 0.09), transparent 54%);
}
.related-post-card.tone-3::before {
background: linear-gradient(120deg, rgba(16, 185, 129, 0.09), transparent 54%);
}
.related-post-card.tone-4::before {
background: linear-gradient(120deg, rgba(245, 158, 11, 0.1), transparent 56%);
}
.related-post-kicker {
position: relative;
z-index: 1;
justify-self: start;
border: 1px solid rgba(129, 140, 248, 0.24);
border-radius: 999px;
padding: 0.1rem 0.4rem;
background: rgba(129, 140, 248, 0.11);
color: #4338ca;
font-size: 0.66rem;
line-height: 1.3;
font-weight: 700;
}
.related-post-list a {
display: block;
position: relative;
z-index: 1;
color: var(--text);
text-decoration: none;
font-size: 0.83rem;
font-weight: 600;
line-height: 1.4;
}
.related-post-list a:hover {
color: var(--accent);
}
.related-post-list a:focus-visible {
outline: 2px solid rgba(3, 105, 161, 0.45);
outline-offset: 2px;
border-radius: 5px;
}
.related-post-meta {
position: relative;
z-index: 1;
margin-top: 0.3rem;
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-muted);
font-size: 0.74rem;
flex-wrap: wrap;
}
.plan-reco-context {
margin: 0 0 0.62rem;
color: var(--text-muted);
font-size: 0.8rem;
line-height: 1.55;
}
.plan-reco-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.55rem;
}
.plan-reco-list li {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.5rem 0.56rem;
background: var(--bg);
}
.plan-reco-list a {
display: block;
color: var(--text);
text-decoration: none;
font-size: 0.83rem;
font-weight: 600;
line-height: 1.4;
cursor: pointer;
transition: color 0.2s ease;
}
.plan-reco-list a:hover {
color: var(--accent);
}
.plan-reco-list a:focus-visible {
outline: 2px solid rgba(3, 105, 161, 0.45);
outline-offset: 2px;
border-radius: 5px;
}
.plan-reco-meta {
margin-top: 0.3rem;
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 0.55rem;
color: var(--text-muted);
font-size: 0.74rem;
}
.plan-reco-meta strong {
color: #0f172a;
font-size: 0.8rem;
font-family: var(--font-mono);
}
.topic-post-card {
padding: 0.96rem 1.02rem;
margin-bottom: 0.82rem;
}
.topic-post-card h1 {
margin: 0.26rem 0 0.55rem;
font-size: 1.22rem;
line-height: 1.35;
}
.topic-post-card h2 {
margin: 0 0 0.65rem;
font-size: 1rem;
}
.topic-post-head {
display: flex;
flex-wrap: wrap;
gap: 0.4rem 0.62rem;
color: var(--text-muted);
font-size: 0.78rem;
}
.topic-post-author {
color: var(--text-muted);
font-size: 0.82rem;
margin-bottom: 0.42rem;
}
.topic-detail-card {
position: relative;
overflow: hidden;
}
.topic-detail-card h1 {
font-size: clamp(1.3rem, 2.4vw, 1.72rem);
line-height: 1.32;
letter-spacing: -0.01em;
}
.topic-detail-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #0f172a, #0369a1, #b45309);
opacity: 0.85;
}
.topic-detail-meta-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.38rem 0.55rem;
margin-bottom: 0.7rem;
}
.topic-detail-meta-row span {
display: inline-flex;
align-items: center;
min-height: 28px;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.16rem 0.5rem;
color: #475569;
background: rgba(248, 250, 252, 0.75);
font-size: 0.74rem;
font-weight: 600;
}
.post-mobile-quickjump {
display: none;
}
.post-trust-action-hub {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
gap: 0.52rem;
margin: 0 0 0.78rem;
}
.post-trust-action-hub > article {
border: 1px solid rgba(148, 163, 184, 0.3);
border-radius: 12px;
padding: 0.56rem 0.62rem;
background: rgba(255, 255, 255, 0.9);
display: grid;
gap: 0.42rem;
min-width: 0;
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.post-trust-action-hub > article:hover {
transform: translateY(-1px);
border-color: rgba(99, 102, 241, 0.36);
box-shadow: 0 9px 18px rgba(99, 102, 241, 0.12);
}
.post-author-cred {
grid-template-columns: auto 1fr;
align-items: start;
gap: 0.44rem 0.52rem;
}
.post-author-badge {
width: 38px;
height: 38px;
border-radius: 12px;
border: 1px solid rgba(99, 102, 241, 0.3);
background: linear-gradient(145deg, rgba(99, 102, 241, 0.22), rgba(167, 139, 250, 0.16));
color: #4338ca;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.86rem;
font-family: var(--font-mono);
font-weight: 700;
}
.post-author-copy {
min-width: 0;
}
.post-author-copy h2,
.post-reading-rail h2,
.post-related-quick h2 {
margin: 0;
color: #1e293b;
font-size: 0.86rem;
}
.post-author-copy p {
margin: 0.2rem 0 0;
color: #475569;
font-size: 0.76rem;
line-height: 1.52;
}
.post-author-stats {
grid-column: 1 / -1;
margin: 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.36rem;
}
.post-author-stats > div {
border: 1px solid rgba(148, 163, 184, 0.32);
border-radius: 10px;
padding: 0.34rem 0.42rem;
background: rgba(248, 250, 252, 0.8);
display: grid;
gap: 0.1rem;
}
.post-author-stats dt {
margin: 0;
color: #64748b;
font-size: 0.7rem;
line-height: 1.3;
}
.post-author-stats dd {
margin: 0;
color: #1e293b;
font-size: 0.82rem;
line-height: 1.2;
font-family: var(--font-mono);
}
.post-reading-rail-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.46rem;
}
.post-reading-rail-head strong {
border: 1px solid rgba(99, 102, 241, 0.28);
border-radius: 999px;
padding: 0.14rem 0.42rem;
color: #4338ca;
background: rgba(99, 102, 241, 0.08);
font-size: 0.68rem;
line-height: 1.35;
font-weight: 700;
white-space: nowrap;
max-width: 14ch;
overflow: hidden;
text-overflow: ellipsis;
}
.post-reading-inline {
display: grid;
gap: 0.28rem;
}
.post-reading-inline-text {
color: #334155;
font-size: 0.72rem;
font-family: var(--font-mono);
line-height: 1.2;
}
.post-reading-inline-bar {
width: 100%;
height: 6px;
border-radius: 999px;
background: rgba(148, 163, 184, 0.3);
overflow: hidden;
}
.post-reading-inline-fill {
display: block;
width: 0;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
transition: width 0.12s linear;
}
.post-reading-rail-actions {
display: inline-flex;
align-items: center;
gap: 0.44rem;
flex-wrap: wrap;
}
.post-related-quick-list,
.post-related-quick ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.36rem;
}
.post-related-quick-card,
.post-related-quick li {
min-width: 0;
border: 1px solid rgba(148, 163, 184, 0.34);
border-radius: 10px;
padding: 0.36rem 0.44rem;
background: rgba(248, 250, 252, 0.78);
display: grid;
gap: 0.24rem;
}
.post-related-quick-card.tone-1 {
border-color: rgba(99, 102, 241, 0.28);
background: linear-gradient(140deg, rgba(99, 102, 241, 0.09), rgba(248, 250, 252, 0.78));
}
.post-related-quick-card.tone-2 {
border-color: rgba(14, 165, 233, 0.28);
background: linear-gradient(140deg, rgba(14, 165, 233, 0.09), rgba(248, 250, 252, 0.78));
}
.post-related-quick-card.tone-3 {
border-color: rgba(16, 185, 129, 0.28);
background: linear-gradient(140deg, rgba(16, 185, 129, 0.09), rgba(248, 250, 252, 0.78));
}
.post-related-quick-card.tone-4 {
border-color: rgba(245, 158, 11, 0.3);
background: linear-gradient(140deg, rgba(245, 158, 11, 0.1), rgba(248, 250, 252, 0.78));
}
.post-related-kicker {
justify-self: start;
border: 1px solid rgba(99, 102, 241, 0.24);
border-radius: 999px;
padding: 0.08rem 0.36rem;
background: rgba(99, 102, 241, 0.1);
color: #4338ca;
font-size: 0.64rem;
line-height: 1.3;
font-weight: 700;
}
.post-related-quick-link,
.post-related-quick a {
color: #0f172a;
text-decoration: none;
font-size: 0.77rem;
line-height: 1.5;
font-weight: 600;
}
.post-related-quick-link:hover,
.post-related-quick a:hover {
color: #4f46e5;
}
.post-related-quick-link:focus-visible,
.post-related-quick a:focus-visible {
outline: 2px solid rgba(79, 70, 229, 0.42);
outline-offset: 2px;
border-radius: 5px;
}
.post-related-quick-meta {
display: flex;
align-items: center;
gap: 0.4rem;
flex-wrap: wrap;
color: #64748b;
font-size: 0.68rem;
line-height: 1.4;
}
.post-related-quick p {
margin: 0;
color: #64748b;
font-size: 0.75rem;
line-height: 1.5;
}
.post-decision-strip {
border: 1px solid rgba(3, 105, 161, 0.24);
border-radius: 12px;
padding: 0.7rem 0.74rem;
margin: 0 0 0.78rem;
background:
linear-gradient(150deg, rgba(3, 105, 161, 0.1), rgba(15, 23, 42, 0.03)),
#ffffff;
display: grid;
gap: 0.62rem;
}
.post-decision-copy h2 {
margin: 0 0 0.24rem;
font-size: 0.92rem;
letter-spacing: 0.01em;
}
.post-decision-copy p {
margin: 0;
font-size: 0.81rem;
color: #475569;
line-height: 1.6;
}
.post-trust-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 0.42rem;
}
.post-trust-list li {
border: 1px solid rgba(15, 23, 42, 0.13);
border-radius: 999px;
padding: 0.18rem 0.5rem;
background: rgba(255, 255, 255, 0.88);
color: #334155;
font-size: 0.74rem;
font-weight: 600;
line-height: 1.45;
}
.post-decision-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.44rem;
}
.post-decision-prefill {
margin: 0;
color: #0369a1;
font-size: 0.74rem;
line-height: 1.45;
font-weight: 600;
}
.post-decision-metrics {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.45rem;
}
.post-decision-metrics article {
border: 1px solid rgba(148, 163, 184, 0.34);
border-radius: 10px;
padding: 0.44rem 0.5rem;
background: rgba(255, 255, 255, 0.86);
display: flex;
flex-direction: column;
gap: 0.16rem;
}
.post-decision-metrics span {
color: #64748b;
font-size: 0.72rem;
line-height: 1.35;
}
.post-decision-metrics strong {
color: #0f172a;
font-size: 0.86rem;
line-height: 1.2;
font-family: var(--font-mono);
}
.topic-metric-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.55rem;
margin: 0 0 0.72rem;
}
.topic-metric-grid > div {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.5rem 0.56rem;
background: linear-gradient(180deg, var(--bg-elevated), rgba(248, 250, 252, 0.7));
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 0.45rem;
}
.topic-metric-grid span {
color: var(--text-muted);
font-size: 0.76rem;
}
.topic-metric-grid strong {
color: var(--text);
font-size: 0.9rem;
font-family: var(--font-mono);
}
.post-proof-band {
margin: 0 0 0.76rem;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.5rem;
}
.post-proof-item {
border: 1px solid rgba(148, 163, 184, 0.34);
border-radius: 10px;
padding: 0.42rem 0.5rem;
background: rgba(255, 255, 255, 0.78);
display: flex;
flex-direction: column;
gap: 0.18rem;
}
.post-proof-item strong {
color: #0f172a;
font-size: 0.9rem;
line-height: 1.1;
font-family: var(--font-mono);
}
.post-proof-item span {
color: #475569;
font-size: 0.74rem;
line-height: 1.35;
}
.topic-action-bar {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 0.72rem;
}
.topic-action-bar form {
margin: 0;
}
.copy-link-feedback {
min-height: 20px;
color: #0369a1;
font-size: 0.76rem;
font-weight: 600;
}
.copy-link-feedback.is-error {
color: var(--red);
}
.topic-post-content {
white-space: normal;
color: var(--text);
line-height: 1.66;
font-size: 0.95rem;
}
.topic-post-content h2,
.topic-post-content h3,
#comments-panel {
scroll-margin-top: 92px;
}
.post-commercial-cta {
margin-top: 0.9rem;
border: 1px solid rgba(3, 105, 161, 0.26);
border-radius: 12px;
padding: 0.76rem 0.82rem;
background: linear-gradient(145deg, rgba(3, 105, 161, 0.08), rgba(15, 23, 42, 0.03));
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.85rem;
flex-wrap: wrap;
}
.post-commercial-cta-intent {
border-color: rgba(15, 23, 42, 0.3);
background: linear-gradient(145deg, rgba(15, 23, 42, 0.1), rgba(3, 105, 161, 0.07));
}
.post-commercial-cta-intent .post-commercial-copy h3 {
color: #020617;
}
.post-commercial-copy h3 {
margin: 0 0 0.22rem;
font-size: 0.95rem;
color: #0f172a;
}
.post-commercial-copy p {
margin: 0;
color: #475569;
font-size: 0.8rem;
line-height: 1.55;
}
.post-commercial-actions {
display: inline-flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.forum-btn-primary.cta-emphasis {
background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
border-color: #0f172a;
}
.forum-btn-primary.cta-emphasis:hover {
background: linear-gradient(135deg, #020617 0%, #075985 100%);
border-color: #020617;
}
.post-resource-links {
margin-top: 0.9rem;
border: 1px solid rgba(148, 163, 184, 0.34);
border-radius: 12px;
padding: 0.72rem 0.78rem;
background: rgba(248, 250, 252, 0.72);
}
.post-resource-links h2 {
margin: 0 0 0.55rem;
font-size: 0.93rem;
color: #0f172a;
}
.resource-link-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.52rem;
}
.resource-link-list li {
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.5rem 0.56rem;
background: var(--bg-card);
}
.resource-link-list a {
color: var(--text);
text-decoration: none;
font-size: 0.84rem;
font-weight: 600;
line-height: 1.4;
}
.resource-link-list a:hover {
color: var(--accent);
}
.resource-link-list a:focus-visible {
outline: 2px solid rgba(3, 105, 161, 0.45);
outline-offset: 2px;
border-radius: 5px;
}
.resource-link-list p {
margin: 0.28rem 0 0;
color: var(--text-muted);
font-size: 0.76rem;
line-height: 1.5;
}
.post-faq-panel {
margin-top: 0.84rem;
border: 1px solid rgba(148, 163, 184, 0.34);
border-radius: 12px;
padding: 0.72rem 0.78rem;
background: #ffffff;
}
.post-faq-panel h2 {
margin: 0 0 0.55rem;
font-size: 0.93rem;
color: #0f172a;
}
.post-faq-panel dl {
margin: 0;
}
.post-faq-panel dt {
margin: 0;
color: #0f172a;
font-size: 0.82rem;
font-weight: 700;
line-height: 1.45;
}
.post-faq-panel dd {
margin: 0.3rem 0 0.6rem;
color: #475569;
font-size: 0.78rem;
line-height: 1.6;
}
.post-faq-panel dd:last-child {
margin-bottom: 0;
}
.post-outline-panel {
margin-top: 0.82rem;
border: 1px dashed rgba(51, 65, 85, 0.25);
border-radius: 11px;
padding: 0.68rem 0.74rem;
background: rgba(248, 250, 252, 0.75);
}
.post-outline-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
margin-bottom: 0.44rem;
}
.post-outline-head h2 {
margin: 0;
font-size: 0.9rem;
}
.post-outline-list {
margin: 0;
padding-left: 1.1rem;
display: grid;
gap: 0.32rem;
}
.post-outline-list li {
color: #475569;
font-size: 0.8rem;
line-height: 1.45;
}
.post-outline-list li.outline-level-3 {
margin-left: 0.55rem;
}
.post-outline-list a {
color: #0f172a;
text-decoration: none;
border-bottom: 1px dashed rgba(3, 105, 161, 0.35);
transition: var(--transition);
}
.post-outline-list a:hover {
color: #0369a1;
}
.post-outline-list a.is-active {
color: #4338ca;
border-bottom-color: rgba(79, 70, 229, 0.48);
font-weight: 700;
}
.post-inline-plan-panel {
margin-top: 0.82rem;
border: 1px solid rgba(15, 23, 42, 0.16);
border-radius: 12px;
padding: 0.72rem 0.76rem;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.72));
}
.post-inline-plan-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.55rem;
flex-wrap: wrap;
margin-bottom: 0.54rem;
}
.post-inline-plan-head h2 {
margin: 0;
font-size: 0.93rem;
}
.post-inline-plan-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.48rem;
}
.post-inline-plan-list li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.55rem;
border: 1px solid var(--border);
border-radius: 9px;
padding: 0.48rem 0.54rem;
background: #ffffff;
}
.post-inline-plan-main {
min-width: 0;
}
.post-inline-plan-main a {
display: block;
color: #020617;
text-decoration: none;
font-size: 0.84rem;
font-weight: 700;
line-height: 1.4;
transition: color 0.2s ease;
}
.post-inline-plan-main a:hover {
color: #0369a1;
}
.post-inline-plan-main p {
margin: 0.22rem 0 0;
color: #64748b;
font-size: 0.74rem;
line-height: 1.45;
}
.post-inline-plan-list strong {
flex-shrink: 0;
color: #0f172a;
font-size: 0.82rem;
font-family: var(--font-mono);
}
.post-requirement-brief {
margin-top: 0.84rem;
border: 1px solid rgba(15, 23, 42, 0.2);
border-radius: 12px;
padding: 0.72rem 0.76rem;
background:
linear-gradient(140deg, rgba(15, 23, 42, 0.06), rgba(3, 105, 161, 0.05)),
#ffffff;
display: grid;
gap: 0.7rem;
}
.post-requirement-copy h2 {
margin: 0 0 0.34rem;
font-size: 0.93rem;
color: #0f172a;
}
.post-requirement-copy p {
margin: 0;
color: #475569;
font-size: 0.79rem;
line-height: 1.58;
}
.post-requirement-preview {
margin-top: 0.5rem;
border: 1px solid rgba(148, 163, 184, 0.38);
border-radius: 9px;
padding: 0.46rem 0.54rem;
background: rgba(248, 250, 252, 0.8);
display: grid;
gap: 0.2rem;
}
.post-requirement-preview span {
color: #64748b;
font-size: 0.72rem;
}
.post-requirement-preview strong {
color: #0f172a;
font-size: 0.8rem;
line-height: 1.45;
}
.post-requirement-tips {
margin: 0.52rem 0 0;
padding-left: 1.05rem;
display: grid;
gap: 0.24rem;
}
.post-requirement-tips li {
color: #334155;
font-size: 0.76rem;
line-height: 1.48;
}
.post-requirement-actions {
display: inline-flex;
align-items: center;
gap: 0.46rem;
flex-wrap: wrap;
}
.post-mobile-conversion-bar {
display: none;
}
.post-mobile-conversion-main {
display: flex;
flex-direction: column;
gap: 0.14rem;
min-width: 0;
}
.post-mobile-conversion-main strong {
color: #f8fafc;
font-size: 0.76rem;
line-height: 1.3;
}
.post-mobile-conversion-main span {
color: rgba(226, 232, 240, 0.9);
font-size: 0.68rem;
line-height: 1.35;
}
.post-mobile-conversion-actions {
display: flex;
align-items: center;
gap: 0.42rem;
flex-wrap: wrap;
justify-content: flex-end;
}
.post-mobile-conversion-actions .forum-btn-primary,
.post-mobile-conversion-actions .forum-btn-muted {
min-height: 32px;
padding: 0.34rem 0.58rem;
font-size: 0.76rem;
}
.post-mobile-conversion-actions .forum-link {
color: #e2e8f0;
font-size: 0.72rem;
padding: 0.18rem 0.28rem;
}
.post-mobile-conversion-actions .topic-empty {
margin: 0;
color: #cbd5e1;
font-size: 0.7rem;
}
.comment-form .form-group,
.post-form .form-group {
margin-bottom: 0.76rem;
}
.comment-form label,
.post-form label {
display: block;
margin-bottom: 0.3rem;
color: var(--text-muted);
font-size: 0.82rem;
}
.form-help {
display: block;
margin-top: 0.35rem;
color: var(--text-muted);
font-size: 0.76rem;
}
.comment-form textarea,
.post-form input,
.post-form textarea,
.post-form select {
width: 100%;
border: 1.5px solid var(--border);
border-radius: 7px;
padding: 0.56rem 0.62rem;
font-size: 0.92rem;
color: var(--text);
background: var(--bg-card);
transition: var(--transition);
}
.comment-form textarea:focus,
.post-form input:focus,
.post-form textarea:focus,
.post-form select:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-glow);
}
.post-form textarea,
.comment-form textarea {
min-height: 120px;
resize: vertical;
}
.form-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.55rem;
}
.comment-stream {
list-style: none;
margin: 0.82rem 0 0;
padding: 0;
}
.comment-row {
display: flex;
gap: 0.68rem;
padding: 0.65rem 0;
border-bottom: 1px solid var(--border);
}
.comment-row:last-child {
border-bottom: none;
}
.comment-avatar {
width: 30px;
height: 30px;
border-radius: 999px;
background: var(--accent-glow);
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.76rem;
font-family: var(--font-mono);
font-weight: 700;
flex-shrink: 0;
}
.comment-body {
min-width: 0;
}
.comment-head {
display: flex;
gap: 0.7rem;
flex-wrap: wrap;
color: var(--text-muted);
font-size: 0.76rem;
}
.comment-author {
color: var(--text);
font-weight: 600;
}
.comment-content {
white-space: normal;
margin-top: 0.32rem;
color: var(--text);
line-height: 1.58;
font-size: 0.9rem;
transition: max-height 0.22s ease;
}
.comment-content.is-collapsed {
max-height: 10.2rem;
overflow: hidden;
position: relative;
}
.comment-content.is-collapsed::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2.2rem;
background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
pointer-events: none;
}
.comment-toggle-btn {
display: none;
align-items: center;
border: none;
background: none;
color: #4f46e5;
font-size: 0.74rem;
line-height: 1.25;
padding: 0;
margin-top: 0.22rem;
cursor: pointer;
}
.comment-toggle-btn.is-visible {
display: inline-flex;
}
.comment-toggle-btn:hover {
text-decoration: underline;
}
.comment-toggle-btn:focus-visible {
outline: 2px solid rgba(79, 70, 229, 0.42);
outline-offset: 2px;
border-radius: 4px;
}
.md-content h1,
.md-content h2,
.md-content h3,
.md-content h4 {
margin: 1rem 0 0.56rem;
color: #1e293b;
letter-spacing: -0.01em;
line-height: 1.34;
}
.md-content h1 {
font-size: 1.22rem;
}
.md-content h2 {
font-size: 1.08rem;
}
.md-content h3 {
font-size: 0.96rem;
}
.md-content h4 {
font-size: 0.88rem;
}
.md-content h1:first-child,
.md-content h2:first-child,
.md-content h3:first-child,
.md-content h4:first-child {
margin-top: 0;
}
.md-content p {
margin: 0 0 0.7rem;
}
.md-content p:last-child {
margin-bottom: 0;
}
.md-content ul,
.md-content ol {
margin: 0.25rem 0 0.75rem 1.25rem;
padding: 0;
}
.md-content li + li {
margin-top: 0.22rem;
}
.md-content strong {
color: #1e293b;
}
.md-content blockquote {
margin: 0.75rem 0;
padding: 0.45rem 0.8rem;
border-left: 3px solid rgba(111, 124, 255, 0.55);
border-radius: 12px;
background: linear-gradient(140deg, rgba(111, 124, 255, 0.08), rgba(167, 139, 250, 0.06));
color: #475569;
}
.md-content a {
color: #4f46e5;
text-decoration: underline;
text-underline-offset: 2px;
}
.md-content table {
width: 100%;
border-collapse: collapse;
margin: 0.8rem 0;
border-radius: 12px;
overflow: hidden;
border: 1px solid rgba(148, 163, 184, 0.3);
background: rgba(255, 255, 255, 0.92);
}
.md-content th,
.md-content td {
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
padding: 0.45rem 0.56rem;
text-align: left;
font-size: 0.82rem;
line-height: 1.5;
}
.md-content th {
background: rgba(247, 249, 255, 0.95);
color: #334155;
font-weight: 700;
}
.md-content tr:last-child td {
border-bottom: none;
}
.md-content hr {
border: 0;
height: 1px;
margin: 0.92rem 0;
background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.55), transparent);
}
.md-content img {
max-width: 100%;
border-radius: 12px;
border: 1px solid rgba(148, 163, 184, 0.24);
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.md-content pre {
margin: 0.75rem 0;
padding: 0.72rem 0.82rem;
border-radius: 14px;
border: 1px solid rgba(30, 41, 59, 0.16);
background: #0f172a;
color: #e2e8f0;
overflow-x: auto;
white-space: pre;
line-height: 1.45;
}
.md-content code {
font-family: var(--font-mono);
font-size: 0.86em;
background: rgba(111, 124, 255, 0.12);
border: 1px solid rgba(111, 124, 255, 0.18);
border-radius: 5px;
padding: 0.08rem 0.32rem;
}
.md-content pre code {
background: transparent;
border: none;
border-radius: 0;
padding: 0;
color: inherit;
}
.comment-actions {
margin-top: 0.44rem;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.45rem;
}
.comment-actions a,
.btn-link-delete {
color: var(--accent);
text-decoration: none;
border: none;
background: none;
padding: 0;
margin: 0;
font-size: 0.78rem;
cursor: pointer;
}
.btn-link-delete {
color: var(--red);
}
.report-form-inline {
display: inline-flex;
align-items: center;
gap: 0.4rem;
flex-wrap: wrap;
}
.report-form-inline select {
border: 1px solid var(--border);
border-radius: 6px;
background: var(--bg-card);
color: var(--text);
font-size: 0.78rem;
padding: 0.28rem 0.36rem;
}
.post-editor-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 280px;
gap: 1rem;
align-items: start;
}
.post-editor {
margin-bottom: 0;
}
.editor-subtitle {
margin: 0 0 0.86rem;
color: var(--text-muted);
font-size: 0.86rem;
}
.post-helper {
position: sticky;
top: 82px;
}
.helper-list {
margin: 0;
padding-left: 1rem;
color: var(--text-muted);
font-size: 0.82rem;
line-height: 1.65;
}
.auth-panel {
max-width: 520px;
margin: 1.5rem auto;
}
.profile-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 1rem;
align-items: start;
}
.profile-main {
min-width: 0;
}
.profile-summary {
margin-bottom: 0.85rem;
}
.profile-stat-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.55rem;
}
.profile-stat-grid > div {
border: 1px solid var(--border);
border-radius: 7px;
background: var(--bg);
padding: 0.5rem 0.55rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.profile-stat-grid span {
color: var(--text-muted);
font-size: 0.82rem;
}
.profile-stat-grid strong {
color: var(--text);
font-family: var(--font-mono);
font-size: 0.9rem;
}
.profile-tabs {
margin-bottom: 0.8rem;
}
.profile-list {
list-style: none;
margin: 0;
padding: 0;
}
.profile-row {
display: flex;
justify-content: space-between;
gap: 0.8rem;
padding: 0.72rem 0;
border-bottom: 1px solid var(--border);
}
.profile-row:last-child {
border-bottom: none;
}
.profile-row-main {
min-width: 0;
}
.profile-row-actions {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
flex-shrink: 0;
}
.profile-row-actions form {
margin: 0;
}
.profile-row-actions a {
color: var(--accent);
text-decoration: none;
font-size: 0.8rem;
}
.settings-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.9rem;
}
.settings-grid form {
border: 1px solid var(--border);
border-radius: 9px;
padding: 0.75rem 0.8rem;
background: var(--bg-card);
}
.settings-grid h3 {
margin: 0 0 0.65rem 0;
font-size: 0.95rem;
}
.notification-topline {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.8rem;
flex-wrap: wrap;
margin-bottom: 0.7rem;
}
.notification-list {
list-style: none;
margin: 0;
padding: 0;
}
.notification-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 0.85rem;
padding: 0.72rem 0;
border-bottom: 1px solid var(--border);
}
.notification-row:last-child {
border-bottom: none;
}
.notification-row.unread {
background: rgba(3, 105, 161, 0.03);
border-radius: 8px;
padding-left: 0.55rem;
padding-right: 0.55rem;
}
.notification-body {
min-width: 0;
}
.notification-head {
display: flex;
align-items: center;
gap: 0.42rem;
flex-wrap: wrap;
color: var(--text-muted);
font-size: 0.76rem;
margin-bottom: 0.3rem;
}
.notification-message {
color: var(--text);
line-height: 1.58;
font-size: 0.9rem;
word-break: break-word;
}
.notification-actions {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
flex-shrink: 0;
}
.notification-actions form {
margin: 0;
}
.forum-primary-nav .nav-link-with-badge,
.forum-header-right .nav-link-with-badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
}
.form-error {
margin: 0 0 0.72rem 0;
color: var(--red);
font-size: 0.84rem;
}
.form-success {
margin: 0 0 0.72rem 0;
color: var(--green);
font-size: 0.84rem;
}
@media (max-width: 980px) {
.forum-layout,
.post-editor-layout,
.profile-layout {
grid-template-columns: 1fr;
}
.post-helper {
position: static;
}
.side-cta-sticky {
position: static;
}
.forum-sidebar {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.7rem;
}
.forum-search-form input[type="text"] {
min-width: 180px;
}
.topic-metric-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.post-trust-action-hub {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.post-related-quick {
grid-column: 1 / -1;
}
body.forum-page[data-post-id] {
padding-bottom: 100px;
}
.post-mobile-conversion-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 125;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 0.55rem;
padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
border-top: 1px solid rgba(148, 163, 184, 0.35);
background: linear-gradient(145deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.92));
box-shadow: 0 -10px 24px rgba(2, 6, 23, 0.28);
transition: transform 0.2s ease, opacity 0.2s ease;
}
.post-mobile-conversion-bar.is-hidden {
transform: translateY(120%);
opacity: 0;
pointer-events: none;
}
}
@media (max-width: 768px) {
.forum-hero {
padding: 0.78rem 0.8rem;
}
.forum-hero-meta {
gap: 0.42rem;
}
.forum-header-inner-with-center {
display: flex;
}
.forum-top-nav {
width: 100%;
justify-content: center;
order: 2;
}
.forum-header {
padding: 1.5rem 1rem;
}
.forum-header-inner {
flex-direction: column;
align-items: flex-start;
}
.forum-header-left {
width: 100%;
justify-content: space-between;
flex-wrap: wrap;
}
.forum-header-right {
width: 100%;
justify-content: flex-start;
}
.forum-logo img {
width: 30px;
height: 30px;
}
.forum-logo span {
font-size: 0.96rem;
}
.forum-shell {
padding: 0.92rem 0.9rem 1.2rem;
}
.forum-topline {
flex-direction: column;
align-items: stretch;
}
.forum-actions {
justify-content: flex-start;
}
.forum-search-form {
align-items: stretch;
}
.forum-search-form input[type="text"] {
min-width: 0;
width: 100%;
}
.topic-footer {
flex-direction: column;
align-items: flex-start;
}
.topic-footer-controls {
width: 100%;
margin-left: 0;
justify-content: flex-start;
}
.forum-pagination-inline {
width: 100%;
}
.page-size-form {
width: 100%;
justify-content: flex-start;
}
.topic-head {
grid-template-columns: minmax(0, 1fr) 64px 64px;
}
.topic-head .topic-col-mini:last-child {
display: none;
}
.topic-row {
grid-template-columns: minmax(0, 1fr) 64px 64px;
}
.topic-row .topic-activity {
display: none;
}
.forum-sidebar {
grid-template-columns: 1fr;
}
.topic-detail-card {
display: flex;
flex-direction: column;
gap: 0.56rem;
}
.topic-detail-card h1 {
margin-top: 0.16rem;
margin-bottom: 0.28rem;
font-size: clamp(1.08rem, 5.8vw, 1.34rem);
}
.topic-post-author {
margin-bottom: 0.24rem;
}
.post-mobile-quickjump {
display: inline-flex;
align-items: center;
gap: 0.36rem;
flex-wrap: wrap;
margin: 0;
}
.post-mobile-quickjump .forum-btn-muted {
min-height: 30px;
padding: 0.28rem 0.48rem;
font-size: 0.74rem;
}
.topic-detail-card > .post-mobile-quickjump {
order: 4;
}
.topic-detail-card > .post-reading-layout {
order: 5;
margin-top: 0;
}
.topic-detail-card > .post-trust-action-hub {
order: 10;
margin: 0;
}
.topic-detail-card > .post-decision-strip {
order: 11;
margin: 0;
}
.topic-detail-card > .topic-metric-grid {
order: 12;
margin: 0;
grid-template-columns: 1fr;
}
.topic-detail-card > .post-proof-band {
order: 13;
margin: 0;
}
.topic-detail-card > .topic-action-bar {
order: 14;
margin: 0;
}
.topic-detail-card > .post-resource-links {
order: 15;
margin-top: 0;
}
.topic-detail-card > .post-faq-panel {
order: 16;
margin-top: 0;
}
.topic-detail-card > .post-inline-plan-panel {
order: 17;
margin-top: 0;
}
.topic-detail-card > .post-requirement-brief {
order: 18;
margin-top: 0;
}
.topic-detail-card > .post-commercial-cta {
order: 19;
margin-top: 0;
}
.post-reading-layout {
gap: 0.4rem;
}
.post-trust-action-hub {
grid-template-columns: 1fr;
}
.post-author-stats {
grid-template-columns: 1fr;
}
.post-reading-rail-head {
align-items: flex-start;
flex-direction: column;
}
.post-proof-band {
grid-template-columns: 1fr;
}
.post-read-progress {
height: 2px;
}
.topic-detail-meta-row {
gap: 0.34rem 0.45rem;
}
.topic-detail-meta-row span {
min-height: 26px;
padding: 0.14rem 0.45rem;
}
.post-decision-strip {
padding: 0.64rem 0.66rem;
}
.post-decision-actions {
width: 100%;
}
.post-decision-metrics {
grid-template-columns: 1fr;
}
.post-inline-plan-list li {
flex-direction: column;
align-items: flex-start;
}
.post-requirement-brief {
padding: 0.7rem 0.7rem;
}
.post-requirement-actions {
width: 100%;
}
.post-commercial-cta {
padding: 0.7rem 0.72rem;
}
body.forum-page[data-post-id] {
padding-bottom: 120px;
}
.post-mobile-conversion-bar {
grid-template-columns: 1fr;
gap: 0.38rem;
padding: 0.48rem 0.6rem calc(0.45rem + env(safe-area-inset-bottom));
}
.post-mobile-conversion-actions {
justify-content: flex-start;
}
.profile-stat-grid,
.settings-grid {
grid-template-columns: 1fr;
}
.profile-row {
flex-direction: column;
align-items: flex-start;
}
.profile-row-actions {
gap: 0.65rem;
}
}
/* ==========================================================================
Commercial Refresh (2026-02)
========================================================================== */
.forum-page {
background:
radial-gradient(880px 330px at 6% -12%, rgba(3, 105, 161, 0.07), transparent 64%),
radial-gradient(760px 300px at 92% -20%, rgba(15, 23, 42, 0.08), transparent 68%),
var(--bg);
}
.forum-header {
backdrop-filter: blur(14px);
background: rgba(248, 250, 252, 0.88);
border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}
.forum-header::before {
height: 1px;
opacity: 1;
background: linear-gradient(90deg, rgba(3, 105, 161, 0.2), rgba(15, 23, 42, 0.1), rgba(3, 105, 161, 0.2));
}
.forum-primary-nav a,
.forum-top-nav a,
.forum-link {
font-weight: 600;
}
.forum-user-chip {
border-color: rgba(148, 163, 184, 0.38);
background: rgba(255, 255, 255, 0.92);
color: #475569;
}
.forum-shell {
padding-top: 1.2rem;
}
.topic-stream,
.side-card,
.topic-post-card,
.comment-form-card {
border: 1px solid rgba(148, 163, 184, 0.27);
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.08),
0 16px 32px rgba(15, 23, 42, 0.06);
}
.topic-head {
background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.58));
color: #475569;
}
.topic-row:hover {
background: rgba(241, 245, 249, 0.82);
}
.topic-avatar {
background: linear-gradient(145deg, rgba(3, 105, 161, 0.13), rgba(15, 23, 42, 0.08));
color: #0f172a;
}
.topic-title {
color: #020617;
}
.topic-title:hover {
color: #0369a1;
}
.topic-meta,
.topic-stat,
.topic-result,
.side-empty {
color: #64748b;
}
.side-card h3 {
color: #0f172a;
letter-spacing: -0.01em;
}
.forum-btn-primary {
background: #0f172a;
border: 1px solid #0f172a;
}
.forum-btn-primary:hover {
background: #020617;
border-color: #020617;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}
.forum-btn-muted {
border-color: rgba(148, 163, 184, 0.45);
}
.forum-btn-muted:hover,
.forum-btn-muted.active {
border-color: rgba(3, 105, 161, 0.45);
background: rgba(3, 105, 161, 0.08);
}
.topic-footer {
border-top-color: rgba(148, 163, 184, 0.3);
background: linear-gradient(180deg, rgba(248, 250, 252, 0.78), rgba(248, 250, 252, 0.42));
}
.page-size-form {
border-color: rgba(148, 163, 184, 0.38);
background: rgba(255, 255, 255, 0.9);
}
.page-size-form label,
.page-size-form span {
color: #475569;
}
.page-size-form select {
border-color: rgba(148, 163, 184, 0.38);
background: rgba(255, 255, 255, 0.9);
color: #0f172a;
}
.page-size-form select:hover {
border-color: rgba(3, 105, 161, 0.45);
background: rgba(3, 105, 161, 0.08);
}
.page-link {
border-color: rgba(148, 163, 184, 0.38);
background: rgba(255, 255, 255, 0.9);
color: #334155;
}
.page-link.active {
border-color: #0f172a;
background: #0f172a;
}
.post-form input[type="text"],
.post-form input[type="password"],
.post-form textarea,
.post-form select,
.form-group input,
.form-group textarea,
.form-group select {
border-color: rgba(148, 163, 184, 0.48);
border-radius: 10px;
}
.post-form input[type="text"]:focus,
.post-form input[type="password"]:focus,
.post-form textarea:focus,
.post-form select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
border-color: rgba(3, 105, 161, 0.6);
box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}
@media (max-width: 768px) {
.forum-shell {
padding-top: 1rem;
}
.topic-stream,
.side-card,
.topic-post-card,
.comment-form-card {
border-radius: 12px;
}
}
@media (prefers-reduced-motion: reduce) {
.post-read-progress-bar,
.post-reading-inline-fill {
transition: none !important;
}
* {
transition: none !important;
animation: none !important;
}
.post-mobile-conversion-bar {
transition: none !important;
}
}
/* ==========================================================================
Fuwari-Inspired Forum Skin (2026-02)
========================================================================== */
.forum-page {
--accent: #6f7cff;
--accent-dim: #5968f4;
--accent-glow: rgba(111, 124, 255, 0.14);
--border: rgba(148, 163, 184, 0.28);
--bg-card: rgba(255, 255, 255, 0.9);
--bg-elevated: rgba(248, 250, 255, 0.9);
font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
color: #334155;
background:
radial-gradient(840px 320px at -4% -10%, rgba(111, 124, 255, 0.14), transparent 68%),
radial-gradient(780px 300px at 102% -8%, rgba(167, 139, 250, 0.15), transparent 70%),
linear-gradient(180deg, #f7f9ff 0%, #f3f6ff 100%);
}
.forum-header {
background: rgba(247, 249, 255, 0.84);
backdrop-filter: blur(18px);
border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}
.forum-header::before {
height: 1px;
opacity: 0.65;
background: linear-gradient(90deg, rgba(111, 124, 255, 0.22), rgba(167, 139, 250, 0.26), rgba(111, 124, 255, 0.22));
}
.forum-logo span {
font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
font-weight: 700;
}
.forum-primary-nav a,
.forum-top-nav a,
.forum-link {
border: 1px solid transparent;
border-radius: 999px;
}
.forum-primary-nav a:hover,
.forum-primary-nav a.active,
.forum-top-nav a:hover,
.forum-top-nav a.active,
.forum-link:hover {
border-color: rgba(111, 124, 255, 0.25);
background: rgba(111, 124, 255, 0.1);
}
.forum-shell {
max-width: 1280px;
}
.forum-layout {
grid-template-columns: 304px minmax(0, 1fr);
gap: 1.1rem;
}
.forum-layout .forum-sidebar {
grid-column: 1;
}
.forum-layout .topic-stream {
grid-column: 2;
}
.topic-stream,
.side-card,
.topic-post-card,
.comment-form-card {
border-radius: 22px;
border: 1px solid rgba(148, 163, 184, 0.24);
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.08),
0 18px 34px rgba(15, 23, 42, 0.06);
}
.topic-head {
text-transform: none;
letter-spacing: 0.01em;
font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
font-size: 0.77rem;
font-weight: 600;
color: #64748b;
border-bottom-color: rgba(148, 163, 184, 0.24);
background: linear-gradient(180deg, rgba(247, 249, 255, 0.98), rgba(247, 249, 255, 0.72));
}
.topic-row {
border-bottom-color: rgba(148, 163, 184, 0.2);
}
.topic-row:hover {
background: rgba(245, 247, 255, 0.9);
}
.topic-avatar {
border: 1px solid rgba(111, 124, 255, 0.24);
background: linear-gradient(145deg, rgba(111, 124, 255, 0.22), rgba(167, 139, 250, 0.15));
color: #4f46e5;
}
.topic-title {
color: #1e293b;
font-weight: 700;
}
.topic-title:hover {
color: #4f46e5;
}
.topic-category {
border-color: rgba(111, 124, 255, 0.22);
background: rgba(111, 124, 255, 0.1);
color: #4f46e5;
}
.topic-flag.flag-featured {
color: #9a3412;
border-color: rgba(251, 146, 60, 0.32);
background: rgba(251, 146, 60, 0.13);
}
.side-card {
padding: 0.86rem 0.9rem;
}
.side-card h3 {
text-transform: none;
letter-spacing: 0;
font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
font-size: 0.9rem;
color: #334155;
}
.forum-btn-primary {
border: 1px solid #616ef8;
background: linear-gradient(135deg, #616ef8 0%, #8075ff 100%);
}
.forum-btn-primary:hover {
border-color: #555fe6;
background: linear-gradient(135deg, #555fe6 0%, #7468f3 100%);
box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}
.forum-btn-muted {
border-color: rgba(148, 163, 184, 0.34);
background: rgba(255, 255, 255, 0.88);
}
.forum-btn-muted:hover,
.forum-btn-muted.active {
border-color: rgba(111, 124, 255, 0.36);
background: rgba(111, 124, 255, 0.1);
color: #4f46e5;
}
.topic-post-card h1,
.topic-post-card h2 {
color: #1e293b;
}
.topic-post-content {
line-height: 1.82;
color: #334155;
}
.topic-post-content h2,
.topic-post-content h3 {
color: #1e293b;
}
.topic-post-content blockquote {
margin: 0.92rem 0;
border-left: 3px solid rgba(111, 124, 255, 0.55);
border-radius: 12px;
padding: 0.58rem 0.72rem;
background: linear-gradient(140deg, rgba(111, 124, 255, 0.08), rgba(167, 139, 250, 0.06));
color: #4338ca;
}
.topic-post-content pre {
border: 1px solid rgba(30, 41, 59, 0.15);
border-radius: 14px;
}
.post-read-progress-bar {
background: linear-gradient(90deg, #616ef8 0%, #8075ff 100%);
box-shadow: 0 0 10px rgba(111, 124, 255, 0.35);
}
.post-decision-strip,
.post-trust-action-hub > article,
.post-commercial-cta,
.post-resource-links,
.post-faq-panel,
.post-inline-plan-panel,
.post-requirement-brief,
.post-outline-panel {
border-color: rgba(111, 124, 255, 0.22);
background:
linear-gradient(145deg, rgba(111, 124, 255, 0.08), rgba(167, 139, 250, 0.05)),
rgba(255, 255, 255, 0.9);
}
.post-decision-prefill {
color: #4f46e5;
}
.post-mobile-conversion-bar {
border-top-color: rgba(129, 140, 248, 0.35);
background: linear-gradient(145deg, rgba(67, 56, 202, 0.94), rgba(79, 70, 229, 0.92));
}
.post-mobile-conversion-actions .forum-link,
.post-mobile-conversion-main span {
color: rgba(224, 231, 255, 0.94);
}
.post-mobile-conversion-main strong {
color: #f8fafc;
}
.post-editor-layout {
grid-template-columns: 304px minmax(0, 1fr);
}
.post-editor-layout .post-helper {
grid-column: 1;
}
.post-editor-layout .post-editor {
grid-column: 2;
}
.profile-layout {
grid-template-columns: 304px minmax(0, 1fr);
}
.profile-layout .forum-sidebar {
grid-column: 1;
}
.profile-layout .profile-main {
grid-column: 2;
}
@media (max-width: 980px) {
.forum-layout .forum-sidebar,
.forum-layout .topic-stream,
.post-editor-layout .post-helper,
.post-editor-layout .post-editor,
.profile-layout .forum-sidebar,
.profile-layout .profile-main {
grid-column: auto;
}
}
/* ==========================================================================
Fuwari Chronicle List Refinement
========================================================================== */
.forum-topline,
.forum-tools {
border: 1px solid rgba(148, 163, 184, 0.24);
border-radius: 16px;
padding: 0.72rem 0.78rem;
background: rgba(255, 255, 255, 0.88);
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.06),
0 12px 22px rgba(15, 23, 42, 0.05);
}
.forum-topline {
margin-bottom: 0.74rem;
}
.forum-tools {
margin-bottom: 0.86rem;
}
.topic-stream {
padding: 0.36rem;
}
.topic-list-chronicle {
display: grid;
gap: 0.66rem;
padding: 0.18rem;
}
.topic-row-chronicle {
border: 1px solid rgba(148, 163, 184, 0.24);
border-radius: 16px;
background: rgba(255, 255, 255, 0.92);
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.04),
0 8px 18px rgba(15, 23, 42, 0.05);
min-height: 0;
padding: 0.72rem 0.78rem;
align-items: flex-start;
gap: 0.46rem;
grid-template-columns: minmax(0, 1fr) auto auto auto;
}
.topic-row-chronicle .topic-main {
padding: 0;
align-items: flex-start;
}
.topic-visual {
width: 58px;
height: 58px;
border-radius: 14px;
border: 1px solid rgba(129, 140, 248, 0.25);
background: linear-gradient(145deg, rgba(129, 140, 248, 0.24), rgba(167, 139, 250, 0.15));
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
flex-shrink: 0;
transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.topic-visual::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(120px 42px at 18% -14%, rgba(255, 255, 255, 0.58), transparent 58%),
linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 42%);
}
.topic-visual span {
position: relative;
z-index: 1;
color: #312e81;
font-family: var(--font-mono);
font-size: 1rem;
font-weight: 700;
line-height: 1;
}
.topic-visual.tone-1 {
border-color: rgba(99, 102, 241, 0.28);
background: linear-gradient(145deg, rgba(99, 102, 241, 0.25), rgba(167, 139, 250, 0.18));
}
.topic-visual.tone-2 {
border-color: rgba(14, 165, 233, 0.28);
background: linear-gradient(145deg, rgba(14, 165, 233, 0.22), rgba(59, 130, 246, 0.14));
}
.topic-visual.tone-3 {
border-color: rgba(16, 185, 129, 0.28);
background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(45, 212, 191, 0.14));
}
.topic-visual.tone-4 {
border-color: rgba(245, 158, 11, 0.3);
background: linear-gradient(145deg, rgba(245, 158, 11, 0.24), rgba(251, 146, 60, 0.16));
}
.topic-row-chronicle .topic-content {
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.topic-cover {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 0.4rem;
border-radius: 12px;
border: 1px solid rgba(129, 140, 248, 0.22);
padding: 0.26rem 0.5rem;
margin-bottom: 0.22rem;
background: linear-gradient(140deg, rgba(129, 140, 248, 0.16), rgba(167, 139, 250, 0.1));
transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.topic-cover.tone-1 {
background: linear-gradient(140deg, rgba(99, 102, 241, 0.17), rgba(167, 139, 250, 0.11));
}
.topic-cover.tone-2 {
background: linear-gradient(140deg, rgba(14, 165, 233, 0.16), rgba(59, 130, 246, 0.1));
border-color: rgba(14, 165, 233, 0.22);
}
.topic-cover.tone-3 {
background: linear-gradient(140deg, rgba(16, 185, 129, 0.16), rgba(45, 212, 191, 0.1));
border-color: rgba(16, 185, 129, 0.22);
}
.topic-cover.tone-4 {
background: linear-gradient(140deg, rgba(245, 158, 11, 0.16), rgba(251, 146, 60, 0.1));
border-color: rgba(245, 158, 11, 0.24);
}
.topic-cover-kicker {
color: #1e293b;
font-size: 0.64rem;
letter-spacing: 0.05em;
text-transform: uppercase;
font-weight: 700;
line-height: 1.2;
}
.topic-cover-chip {
justify-self: start;
min-width: 0;
color: #4f46e5;
font-size: 0.68rem;
font-weight: 700;
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topic-cover-time {
color: #475569;
font-size: 0.66rem;
font-family: var(--font-mono);
line-height: 1.2;
white-space: nowrap;
}
.topic-row-chronicle .topic-title {
margin-bottom: 0;
}
.topic-row-chronicle .topic-meta {
gap: 0.3rem 0.4rem;
}
.topic-row-chronicle .topic-stat {
min-width: 66px;
border: 1px solid rgba(148, 163, 184, 0.26);
border-radius: 12px;
background: rgba(247, 249, 255, 0.9);
padding: 0.22rem 0.44rem;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
gap: 0.08rem;
text-align: right;
color: #475569;
}
.topic-row-chronicle .topic-stat::before {
content: attr(data-label);
color: #64748b;
font-size: 0.63rem;
font-weight: 600;
line-height: 1;
}
.topic-row-chronicle .topic-stat strong {
display: block;
font-family: var(--font-mono);
font-size: 0.76rem;
line-height: 1.2;
color: #334155;
}
.topic-row-chronicle .topic-stat.topic-activity strong {
font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
color: #4f46e5;
font-size: 0.72rem;
font-weight: 700;
}
.topic-row-chronicle:hover {
border-color: rgba(129, 140, 248, 0.34);
background: rgba(244, 246, 255, 0.96);
transform: translateY(-1px);
}
.topic-row-chronicle:hover .topic-visual {
border-color: rgba(129, 140, 248, 0.44);
transform: translateY(-2px) scale(1.02);
box-shadow: 0 10px 18px rgba(99, 102, 241, 0.2);
}
.topic-row-chronicle:hover .topic-cover {
border-color: rgba(129, 140, 248, 0.34);
transform: translateY(-1px);
box-shadow: 0 8px 16px rgba(99, 102, 241, 0.14);
}
.topic-head {
display: none;
}
.topic-footer {
border-top: none;
background: transparent;
padding: 0.48rem 0.56rem 0.66rem;
}
.post-reading-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 240px;
gap: 0.76rem;
align-items: start;
}
.post-reading-layout .topic-post-content {
max-width: 76ch;
width: 100%;
}
.post-outline-floating {
position: sticky;
top: 104px;
margin-top: 0;
}
@media (max-width: 980px) {
.topic-row-chronicle {
grid-template-columns: minmax(0, 1fr) auto auto;
}
.topic-row-chronicle .topic-stat.topic-activity {
grid-column: 2 / span 2;
}
.post-reading-layout {
grid-template-columns: 1fr;
gap: 0.58rem;
}
.post-reading-layout .topic-post-content {
max-width: none;
}
.post-outline-floating {
position: static;
top: auto;
}
}
@media (max-width: 768px) {
.topic-row-chronicle {
grid-template-columns: 1fr;
gap: 0.36rem;
}
.topic-row-chronicle .topic-stat,
.topic-row-chronicle .topic-stat.topic-activity {
grid-column: auto;
min-width: 0;
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
text-align: left;
}
.topic-row-chronicle .topic-stat::before {
font-size: 0.66rem;
}
.topic-visual {
width: 52px;
height: 52px;
border-radius: 12px;
}
.topic-visual span {
font-size: 0.9rem;
}
.topic-cover {
grid-template-columns: 1fr auto;
gap: 0.28rem 0.34rem;
align-items: start;
}
.topic-cover-kicker {
grid-column: 1 / -1;
}
.topic-cover-time {
justify-self: end;
}
.forum-topline,
.forum-tools {
padding: 0.66rem 0.68rem;
border-radius: 14px;
}
}
/* ==========================================================================
Mobile Reading Density Tuning
========================================================================== */
@media (max-width: 768px) {
.topic-post-content {
font-size: 0.9rem;
line-height: 1.72;
letter-spacing: 0.002em;
}
.topic-post-content h2 {
margin: 0.94rem 0 0.4rem;
font-size: 1rem;
line-height: 1.32;
}
.topic-post-content h3 {
margin: 0.72rem 0 0.34rem;
font-size: 0.92rem;
line-height: 1.34;
}
.md-content p {
margin: 0 0 0.58rem;
}
.md-content ul,
.md-content ol {
margin: 0.42rem 0 0.62rem;
padding-left: 1.1rem;
}
.md-content li + li {
margin-top: 0.2rem;
}
.topic-post-content blockquote {
margin: 0.68rem 0;
padding: 0.48rem 0.56rem;
border-radius: 10px;
font-size: 0.84rem;
line-height: 1.55;
}
.md-content pre {
margin: 0.62rem 0;
padding: 0.5rem 0.56rem;
border-radius: 12px;
font-size: 0.79rem;
line-height: 1.48;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.md-content code {
font-size: 0.8em;
}
.post-outline-panel {
padding: 0.56rem 0.6rem;
}
}
/* ==========================================================================
Mobile Comment Density Tuning
========================================================================== */
@media (max-width: 768px) {
#comments-panel {
padding: 0.72rem 0.74rem;
}
#comments-panel > h2 {
margin-bottom: 0.52rem;
font-size: 0.94rem;
}
.comment-form .form-group {
margin-bottom: 0.56rem;
}
.comment-form label {
margin-bottom: 0.24rem;
font-size: 0.78rem;
}
.comment-form textarea {
min-height: 96px;
padding: 0.46rem 0.52rem;
font-size: 0.86rem;
line-height: 1.48;
}
.comment-form .form-help {
margin-top: 0.24rem;
font-size: 0.72rem;
line-height: 1.35;
}
.comment-form .forum-btn-primary {
min-height: 32px;
padding: 0.34rem 0.58rem;
font-size: 0.76rem;
}
.comment-stream {
margin-top: 0.56rem;
}
.comment-row {
gap: 0.5rem;
padding: 0.48rem 0;
}
.comment-avatar {
width: 24px;
height: 24px;
font-size: 0.68rem;
}
.comment-head {
gap: 0.4rem;
font-size: 0.72rem;
line-height: 1.3;
}
.comment-author {
font-size: 0.76rem;
}
.comment-content {
margin-top: 0.22rem;
font-size: 0.84rem;
line-height: 1.52;
}
.comment-content.is-collapsed {
max-height: 8.4rem;
}
.comment-content p {
margin: 0 0 0.5rem;
}
.comment-content p:last-child {
margin-bottom: 0;
}
.comment-actions {
margin-top: 0.3rem;
gap: 0.34rem;
}
.comment-actions a,
.btn-link-delete {
font-size: 0.72rem;
}
.comment-toggle-btn {
font-size: 0.72rem;
margin-top: 0.18rem;
}
.report-form-inline {
gap: 0.3rem;
}
.report-form-inline select {
min-height: 30px;
padding: 0.2rem 0.3rem;
font-size: 0.72rem;
}
}