.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%; } .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-cta p { margin: 0 0 0.7rem; color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; } .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-list a { display: block; 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 { margin-top: 0.3rem; display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.74rem; } .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.74rem; } .topic-detail-card { position: relative; overflow: hidden; } .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-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); } .topic-action-bar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.72rem; } .topic-post-content { white-space: normal; color: var(--text); line-height: 1.66; font-size: 0.95rem; } .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-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; } .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; } .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; } .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 blockquote { margin: 0.75rem 0; padding: 0.45rem 0.8rem; border-left: 3px solid var(--accent); background: var(--accent-glow); color: var(--text-muted); } .md-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; } .md-content pre { margin: 0.75rem 0; padding: 0.72rem 0.82rem; border-radius: 10px; border: 1px solid var(--border); 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(2, 132, 199, 0.12); border: 1px solid rgba(2, 132, 199, 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; } .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)); } } @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: 1.5rem 1rem; } .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-metric-grid { grid-template-columns: 1fr; } .post-commercial-cta { padding: 0.7rem 0.72rem; } .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) { * { transition: none !important; animation: none !important; } }