:root {
color-scheme: light;
--bg-color: #edf1fb;
--surface-2: #f2f5fc;
--card-bg: #ffffff;
--text-color: #1b2340;
--secondary-text: #5d6786;
--border-color: rgba(60, 80, 140, 0.16);
--link-color: #3f5bef;
--accent: #4f6bff;
--accent-2: #1fb5c0;
--accent-soft: rgba(79, 107, 255, 0.10);
--accent-soft-border: rgba(79, 107, 255, 0.26);
--btn-hover: rgba(79, 107, 255, 0.08);
--focus-ring: rgba(79, 107, 255, 0.22);
--glass-bg: linear-gradient(135deg, rgba(255,255,255,0.68), rgba(255,255,255,0.36));
--glass-soft: rgba(255, 255, 255, 0.46);
--glass-edge: rgba(255, 255, 255, 0.55);
--glass-rim: rgba(255, 255, 255, 0.95);
--glass-sheen: rgba(255, 255, 255, 0.55);
--glass-shadow: 0 12px 36px rgba(40, 60, 130, 0.12), 0 2px 6px rgba(40, 60, 130, 0.06);
--glass-blur: blur(18px) saturate(1.7);
--field-bg: rgba(255, 255, 255, 0.6);
--bg-image: url("/static/bg-light.svg");
--transition-fast: 0.2s ease;
--transition-mid: 0.3s ease;
--radius-lg: 22px;
--radius-md: 14px;
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
"Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
--font-title: "Songti SC", "STSong", "STZhongsong", "SimSun",
"Noto Serif CJK SC", "Source Han Serif SC", "Songti TC", Georgia, serif;
--font-mono: "SFMono-Regular", "Menlo", "Consolas", "Cascadia Mono",
"JetBrains Mono", "Noto Sans Mono CJK SC", "DejaVu Sans Mono", monospace;
--content-font-size: 16.5px;
--content-line-height: 1.85;
}
[data-theme="dark"] {
color-scheme: dark;
--bg-color: #0a0f1f;
--surface-2: #0f1730;
--card-bg: #121a31;
--text-color: #dbe4ff;
--secondary-text: #97a3c7;
--border-color: rgba(150, 170, 255, 0.16);
--link-color: #8aa2ff;
--accent: #7c96ff;
--accent-2: #3dd6d0;
--accent-soft: rgba(124, 150, 255, 0.14);
--accent-soft-border: rgba(124, 150, 255, 0.3);
--btn-hover: rgba(255, 255, 255, 0.07);
--focus-ring: rgba(124, 150, 255, 0.3);
--glass-bg: linear-gradient(135deg, rgba(34,44,84,0.62), rgba(14,20,44,0.46));
--glass-soft: rgba(30, 40, 78, 0.5);
--glass-edge: rgba(160, 180, 255, 0.16);
--glass-rim: rgba(190, 205, 255, 0.28);
--glass-sheen: rgba(150, 170, 255, 0.14);
--glass-shadow: 0 14px 40px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.3);
--field-bg: rgba(8, 12, 30, 0.45);
--bg-image: url("/static/bg-dark.svg");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg-color); }
html, body { max-width: 100%; min-height: 100vh; min-height: 100dvh; overflow-x: clip; }
body {
color: var(--text-color);
font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
background: var(--bg-image) center / cover no-repeat;
}
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-input:focus-visible { outline: none; }
body.with-nav { padding-top: 84px; padding-bottom: 40px; }
body.page-index { padding-top: 100px; padding-bottom: 20px; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.glass, .glass-soft {
-webkit-backdrop-filter: var(--glass-blur);
backdrop-filter: var(--glass-blur);
}
.glass {
position: relative; isolation: isolate;
background: var(--glass-bg);
border: 1px solid var(--glass-edge);
box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-rim), inset 0 -1px 0 rgba(255,255,255,0.08);
}
.glass::before {
content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
background:
radial-gradient(120% 70% at 0% 0%, var(--glass-sheen), transparent 55%),
radial-gradient(80% 60% at 100% 100%, var(--glass-sheen), transparent 60%);
opacity: 0.7;
}
.glass::after {
content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
background: linear-gradient(135deg, var(--glass-rim), transparent 38%, transparent 62%, var(--glass-edge));
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor; mask-composite: exclude;
}
.post-toc-card.glass::before, .post-toc-card.glass::after { display: none; }
.glass-soft {
background: var(--glass-soft);
border: 1px solid var(--glass-edge);
box-shadow: 0 6px 18px rgba(40, 60, 130, 0.12), inset 0 1px 0 var(--glass-rim);
}
.nav-btn, .theme-toggle, .hamburger, .search-group, .pill, .page-btn, .cloud-page-btn,
.tag-item, .icon-btn, .cat-item, .tech-badge, .category-count, .cf-btn, .action-btn {
background: var(--glass-soft);
border: 1px solid var(--glass-edge);
box-shadow: inset 0 1px 0 var(--glass-rim);
}
.glass-soft.action-btn, .glass-soft.theme-toggle {
-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.mobile-menu {
background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-rim);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
:root { --glass-bg: rgba(255,255,255,0.88); --glass-soft: rgba(255,255,255,0.8); }
[data-theme="dark"] { --glass-bg: rgba(20,28,56,0.92); --glass-soft: rgba(30,40,78,0.85); }
}
.navbar {
position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
width: calc(100% - 40px); max-width: 1200px; height: 60px; padding: 0 22px;
border-radius: 30px; z-index: 1000;
display: flex; align-items: center; justify-content: space-between;
}
.nav-left { display: flex; align-items: center; }
.logo-img { height: 40px; width: 40px; border-radius: 20px; object-fit: contain; display: block; box-shadow: 0 4px 14px rgba(79,107,255,0.3); transition: transform var(--transition-fast); }
.nav-left a:hover .logo-img { transform: rotate(-6deg) scale(1.06); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-btn {
padding: 7px 16px; border-radius: 999px; color: var(--text-color);
text-decoration: none; font-size: 0.9rem; font-weight: 500; cursor: pointer;
transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.nav-btn:hover { color: var(--link-color); border-color: var(--accent-soft-border); }
.nav-btn.active { color: #fff; font-weight: 600; background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 14px rgba(79,107,255,0.35); }
.theme-dark-only { display: none; }
[data-theme="dark"] .theme-light-only { display: none; }
[data-theme="dark"] .theme-dark-only { display: block; }
.theme-toggle {
width: 36px; height: 36px; border-radius: 50%; padding: 0; cursor: pointer; position: relative;
display: flex; align-items: center; justify-content: center; transition: transform var(--transition-mid);
}
.theme-toggle:hover { transform: scale(1.08); }
.theme-toggle svg { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; transition: all var(--transition-mid); }
.theme-toggle .icon-sun  { opacity: 0; transform: translate(-50%,-50%) scale(1); color: #f59e0b; }
.theme-toggle .icon-moon { opacity: 1; transform: translate(-50%,-50%) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-sun  { opacity: 1; transform: translate(-50%,-50%) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: translate(-50%,-50%) scale(1); }
.hamburger { display: none; width: 36px; height: 36px; padding: 5px; border-radius: 10px; cursor: pointer; }
.hamburger svg { width: 24px; height: 24px; stroke: currentColor; }
.mobile-menu {
position: absolute; top: calc(100% + 8px); right: 11px; width: 62px; padding: 10px 0;
display: flex; flex-direction: column; align-items: center; gap: 10px; overflow: hidden;
border-radius: 16px; z-index: 1001;
transform: scaleY(0); transform-origin: top; opacity: 0; visibility: hidden;
transition: transform var(--transition-fast), opacity var(--transition-fast), visibility var(--transition-fast);
}
.mobile-menu.active { transform: scaleY(1); opacity: 1; visibility: visible; }
.mobile-menu a {
display: flex; align-items: center; justify-content: center; width: 40px; padding: 6px; flex-shrink: 0;
border: 1px solid var(--glass-edge); border-radius: 10px; text-decoration: none;
font-size: 0.95rem; font-weight: 500; white-space: nowrap;
}
.mobile-menu a:hover { background: var(--btn-hover); }
.search-group { display: flex; align-items: center; border-radius: 999px; height: 36px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.search-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.search-input { border: none; background: transparent; padding: 0 6px 0 16px; font-size: 14px; width: 130px; height: 100%; outline: none; color: var(--text-color); }
.search-input::placeholder { color: var(--secondary-text); opacity: 0.8; }
.search-btn { border: none; background: transparent; padding: 0 12px 0 6px; height: 100%; cursor: pointer; color: var(--text-color); display: flex; align-items: center; }
.search-btn svg { width: 16px; height: 16px; fill: currentColor; }
.widget { border-radius: var(--radius-lg); padding: 20px; margin-bottom: 18px; flex-shrink: 0; }
.widget-title {
font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px;
border-bottom: 1px dashed var(--border-color); color: var(--text-color);
}
.stat-list { list-style: none; }
.stat-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; font-size: 0.9rem; color: var(--secondary-text); }
.stat-list li strong { color: var(--accent); font-size: 1.05rem; }
.tag-item {
padding: 4px 12px; border-radius: 999px; font-size: 0.82rem; color: var(--secondary-text);
cursor: pointer; height: fit-content; text-decoration: none; display: inline-block;
transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.tag-item:hover, .tag-item.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.icon-btn {
display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
color: var(--text-color); text-decoration: none; cursor: pointer;
transition: transform var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { transform: translateY(-2px); color: var(--accent); border-color: var(--accent-soft-border); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; }
.page-btn {
display: flex; justify-content: center; align-items: center; width: 38px; height: 38px; border-radius: 12px;
font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all var(--transition-fast);
}
.page-btn:hover { color: var(--link-color); border-color: var(--accent-soft-border); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(79,107,255,0.35); }
.empty-note { text-align: center; color: var(--secondary-text); padding: 60px 0; }
.container { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 20px; }
.page-header { text-align: center; padding: 20px 20px 34px; max-width: 900px; margin: 0 auto; }
.page-header h1, .page-title, .hero h1 { font-family: var(--font-title); font-size: 2.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.page-header p { margin-top: 10px; color: var(--secondary-text); font-size: 1rem; }
.page-title { text-align: center; margin-bottom: 36px; }
.site-footer {
display: flex; flex-direction: column; align-items: center; gap: 12px;
width: 100%; max-width: 960px; margin: 32px auto 0; padding: 32px 20px 40px;
text-align: center; color: var(--secondary-text); font-size: 0.85rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-color); font-size: 1rem; }
.footer-logo { width: 28px; height: 28px; border-radius: 9px; }
.footer-desc { margin: -4px 0 4px; line-height: 1.6; }
.footer-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; margin: 4px 0; }
.pill { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 14px; border-radius: 999px; font-size: 0.82rem; color: var(--secondary-text); white-space: nowrap; }
.pill strong { color: var(--text-color); font-family: var(--font-mono); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.footer-links a, .footer-copy a { color: var(--secondary-text); text-decoration: none; transition: color var(--transition-fast); }
.footer-links a:hover, .footer-copy a:hover { color: var(--link-color); }
.footer-copy a { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { font-size: 0.8rem; }
@media (max-width: 768px) {
.nav-btn:not(.hamburger) { display: none; }
.hamburger { display: flex; align-items: center; justify-content: center; }
.nav-right { gap: 12px; }
.search-group { display: none; }
}
@media (max-width: 600px) {
.page-header h1, .page-title, .hero h1 { font-size: 1.7rem; }
.site-footer { padding: 24px 16px 96px; }
}
.page-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; }
.main-container { position: relative; display: flex; align-items: flex-start; width: 100%; margin-bottom: 36px; }
.post-section { flex: 1; min-width: 0; margin-right: 312px; }
.post-grid {
display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; list-style: none; width: 100%;
align-content: start; min-height: calc(300px * 3 + 24px * 2);
}
.post-empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--secondary-text); }
.sidebar-section { position: absolute; top: 0; right: 0; bottom: 0; width: 280px; display: flex; flex-direction: column; }
.sidebar-section .widget { margin-bottom: 16px; }
.post-item {
display: flex; flex-direction: column; height: 300px; min-width: 0; width: 100%; overflow: hidden;
border-radius: var(--radius-lg);
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.post-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(40, 60, 130, 0.2), inset 0 1px 0 var(--glass-rim); }
.post-item:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-link { display: contents; color: inherit; text-decoration: none; }
.post-thumb { width: 100%; height: 180px; flex: none; object-fit: cover; display: block; background: var(--surface-2); }
.post-info { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.post-title {
font-size: 1.05rem; font-weight: 600; line-height: 1.45; word-break: break-word;
display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.post-meta-time { font-size: 0.78rem; color: var(--secondary-text); }
.post-meta-category {
font-size: 0.75rem; font-weight: 500; color: var(--link-color); background: var(--accent-soft);
border: 1px solid var(--accent-soft-border); border-radius: 999px; padding: 3px 10px;
}
.profile-card { padding: 22px 20px 18px; }
.profile-head { display: flex; align-items: center; gap: 14px; }
.profile-avatar {
width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
border: 3px solid var(--glass-rim); box-shadow: 0 8px 22px rgba(79,107,255,0.35);
}
.profile-id { min-width: 0; }
.profile-name { font-family: var(--font-title); font-size: 1.3rem; line-height: 1.25; word-break: break-word; }
.profile-motto { margin-top: 3px; font-size: 0.8rem; color: var(--secondary-text); letter-spacing: 0.04em; }
.profile-bio { margin-top: 14px; font-size: 0.86rem; line-height: 1.7; color: var(--secondary-text); }
.profile-stats {
list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px;
padding: 10px 0; border-block: 1px dashed var(--border-color);
}
.profile-stats li { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.profile-stats li + li { border-left: 1px dashed var(--border-color); }
.profile-stats strong { font-family: var(--font-title); font-size: 1.3rem; line-height: 1.3; color: var(--accent); }
.profile-stats span { font-size: 0.76rem; color: var(--secondary-text); }
.profile-updated { margin-top: 10px; font-size: 0.78rem; color: var(--secondary-text); text-align: center; }
.profile-updated time { font-family: var(--font-mono); color: var(--text-color); margin-left: 4px; }
.profile-links { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.profile-cta {
margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #fff; text-decoration: none;
background: var(--accent); box-shadow: 0 6px 16px rgba(79,107,255,0.35);
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.profile-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(79,107,255,0.45); }
.cat-widget { padding: 18px 16px 12px; }
.cat-widget .widget-title { padding-inline: 4px; margin-bottom: 8px; }
.cat-list { list-style: none; display: flex; flex-direction: column; gap: 4px; max-height: 148px; overflow-y: auto; padding-right: 2px; }
.cat-item {
width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
padding: 6px 12px; border-radius: 12px; cursor: pointer; text-align: left; font-size: 0.88rem;
background: transparent; border-color: transparent; box-shadow: none;
transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.cat-item:hover { background: var(--btn-hover); }
.cat-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-num { font-size: 0.75rem; min-width: 24px; text-align: center; padding: 0 7px; border-radius: 999px; color: var(--secondary-text); background: var(--surface-2); }
.cat-item.active { color: var(--link-color); font-weight: 600; background: var(--accent-soft); border-color: var(--accent-soft-border); }
.cat-item.active .cat-num { background: var(--accent); color: #fff; }
.cloud-widget { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; margin-bottom: 0 !important; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; justify-content: center; flex: 1 1 0; min-height: 0; overflow: hidden; }
.cloud-pagination { flex-shrink: 0; min-height: 41px; display: flex; justify-content: center; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--border-color); }
.cloud-page-btn { padding: 2px 9px; font-size: 0.75rem; border-radius: 8px; color: var(--secondary-text); cursor: pointer; transition: all var(--transition-fast); }
.cloud-page-btn:hover { color: var(--link-color); border-color: var(--accent-soft-border); }
.cloud-page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 900px) {
.page-wrapper { display: flex; flex-direction: column; }
.main-container { display: contents; }
.post-section { order: 1; width: 100%; margin-right: 0; }
.pagination { order: 2; margin-top: 24px; }
.sidebar-section { order: 3; position: static; width: 100%; margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.sidebar-section .widget { margin-bottom: 0; }
.post-grid { grid-template-columns: 1fr; min-height: 0; }
.post-item { height: auto; }
.cloud-widget { flex: none; }
.tag-cloud { flex: none; min-height: 0; overflow: visible; margin-bottom: 14px; }
.cat-list { flex-direction: row; flex-wrap: wrap; max-height: none; }
.cat-item { width: auto; }
.page-btn { width: 40px; height: 40px; }
}
.section-title-icon svg, .category-icon svg, .contact-card-icon svg {
width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero { text-align: center; padding: 30px 20px 36px; max-width: 900px; margin: 0 auto; }
.hero-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid var(--glass-rim); box-shadow: 0 10px 30px rgba(79,107,255,0.35); margin-bottom: 18px; }
.hero-tagline { margin-top: 8px; color: var(--secondary-text); font-size: 1.05rem; }
.hero-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-tag { padding: 4px 14px; font-size: 0.85rem; font-weight: 500; border-radius: 999px; color: var(--link-color); background: var(--accent-soft); border: 1px solid var(--accent-soft-border); }
.section { border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 18px; }
.section p { line-height: 1.85; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--border-color); }
.section-title-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 0.88rem; border-radius: 999px; transition: transform var(--transition-fast), border-color var(--transition-fast); }
.tech-badge:hover { border-color: var(--accent-soft-border); transform: translateY(-2px); }
.tech-badge-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--card-bg); box-shadow: 0 0 0 2px var(--accent); }
.timeline-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--secondary-text); }
.timeline-title { font-weight: 600; margin: 2px 0 4px; }
.timeline-desc { font-size: 0.9rem; color: var(--secondary-text); line-height: 1.7; }
.category-block { border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden; transition: box-shadow var(--transition-fast); }
.category-block:hover { box-shadow: 0 16px 40px rgba(40,60,130,0.18), inset 0 1px 0 var(--glass-rim); }
.category-header { width: 100%; background: none; border: 0; text-align: left; display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; user-select: none; }
.category-header:hover { background: var(--btn-hover); }
.category-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); }
.category-name { flex: 1; min-width: 0; font-size: 1.05rem; font-weight: 600; word-break: break-word; }
.category-count { font-size: 0.78rem; color: var(--secondary-text); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.toggle-arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--secondary-text); transition: transform var(--transition-mid); }
.category-block.collapsed .toggle-arrow { transform: rotate(-90deg); }
.article-list { list-style: none; overflow: hidden; border-top: 1px dashed var(--border-color); transition: max-height var(--transition-mid), opacity var(--transition-mid); }
.category-block.collapsed .article-list { max-height: 0 !important; opacity: 0; border-top-color: transparent; }
.article-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 20px; transition: background var(--transition-fast); }
.article-item:hover { background: var(--btn-hover); }
.article-bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.article-item a { flex: 1; min-width: 0; text-decoration: none; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--transition-fast); }
.article-item a:hover { color: var(--link-color); }
.article-arrow { color: var(--secondary-text); opacity: 0; transform: translateX(-6px); transition: all var(--transition-fast); }
.article-item:hover .article-arrow { opacity: 1; transform: translateX(0); color: var(--link-color); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.contact-card {
display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 20px;
border-radius: var(--radius-lg); color: inherit; text-decoration: none;
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(40,60,130,0.2), inset 0 1px 0 var(--glass-rim); }
.contact-card-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; color: var(--accent); background: var(--accent-soft); }
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card-title { font-weight: 600; }
.contact-card-value { font-size: 0.88rem; color: var(--secondary-text); font-family: var(--font-mono); max-width: 100%; overflow-wrap: anywhere; }
.form-section { border-radius: var(--radius-lg); padding: 28px; }
.form-section h2 { font-family: var(--font-title); font-size: 1.35rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px dashed var(--border-color); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group textarea {
width: 100%; padding: 10px 14px; font-family: inherit; font-size: 0.95rem; color: var(--text-color);
background: var(--field-bg); border: 1px solid var(--border-color); border-radius: 12px; outline: none;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--secondary-text); opacity: 0.7; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.form-group textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn {
width: 100%; padding: 12px; font-size: 1rem; font-weight: 600; color: #fff; cursor: pointer;
background: var(--accent); border: 0; border-radius: 12px; box-shadow: 0 8px 20px rgba(79,107,255,0.35);
transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(79,107,255,0.45); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; text-align: center; }
.form-status[data-kind="ok"] { color: #0f766e; background: rgba(31,181,192,0.14); border: 1px solid rgba(31,181,192,0.35); }
.form-status[data-kind="error"] { color: #b4233a; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); }
[data-theme="dark"] .form-status[data-kind="ok"] { color: #5eead4; }
[data-theme="dark"] .form-status[data-kind="error"] { color: #fda4af; }
.form-status a { color: var(--link-color); text-decoration: underline; }
.form-note { margin-top: 10px; text-align: center; font-size: 0.8rem; color: var(--secondary-text); }
@media (max-width: 600px) {
.section, .form-section { padding: 20px; }
.contact-grid { grid-template-columns: 1fr; }
.category-header { padding: 14px 16px; }
.article-item { padding: 10px 16px; }
}
.post-page {
display: grid; grid-template-columns: 220px minmax(0, 1040px) 270px;
grid-template-areas: "toc main side" "toc comments side";
justify-content: center; align-items: start; gap: 24px;
width: 100%; max-width: 1640px; margin: 0 auto; padding: 24px 20px 40px;
}
.post-main { grid-area: main; min-width: 0; }
.markdown-body {
background: var(--card-bg); color: var(--text-color);
border: 1px solid var(--border-color); border-radius: 30px; box-shadow: 0 10px 34px rgba(40,60,130,0.1);
width: 100%; min-width: 0; padding: 44px 64px 64px;
font-family: var(--font-sans); font-size: var(--content-font-size); line-height: var(--content-line-height);
letter-spacing: 0.01em; overflow-wrap: break-word; word-break: break-word;
}
.markdown-body > h1:first-child { text-align: center; font-family: var(--font-title); font-size: 2rem; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.5em; }
.post-header-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5em; padding-bottom: 1em; border-bottom: 1px dashed var(--border-color); font-size: 0.9rem; }
.post-header-category { color: var(--link-color); background: var(--accent-soft); border: 1px solid var(--accent-soft-border); padding: 3px 12px; border-radius: 999px; font-weight: 500; }
.post-header-date { color: var(--secondary-text); font-family: var(--font-mono); }
.markdown-body p { margin: 0 0 1.4em; }
.markdown-body p:last-child { margin-bottom: 0; }
.markdown-body > h1:not(:first-child) { font-family: var(--font-title); font-size: 1.55rem; line-height: 1.4; margin: 2em 0 0.8em; }
.markdown-body h2 { font-family: var(--font-title); font-size: 1.35rem; line-height: 1.45; font-weight: 700; margin: 2.2em 0 0.8em; padding-bottom: 0.3em; border-bottom: 1px solid var(--border-color); }
.markdown-body h3 { font-family: var(--font-title); font-size: 1.15rem; line-height: 1.5; font-weight: 600; margin: 1.8em 0 0.6em; }
.markdown-body h4 { font-family: var(--font-title); font-size: 1.02rem; font-weight: 600; margin: 1.5em 0 0.5em; }
.markdown-body :is(h1, h2, h3, h4, h5, h6) { scroll-margin-top: 90px; }
.markdown-body ul, .markdown-body ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.markdown-body li { margin: 0.45em 0; }
.markdown-body li > p { margin: 0.3em 0; }
.markdown-body blockquote { margin: 1.5em 0; padding: 0.6em 1.2em; border-left: 3px solid var(--accent); background: var(--surface-2); color: var(--secondary-text); border-radius: 0 12px 12px 0; }
.markdown-body blockquote p { margin: 0.4em 0; }
.markdown-body code { font-family: var(--font-mono); font-size: 0.9em; padding: 0.15em 0.4em; background: var(--surface-2); border: 1px solid var(--border-color); border-radius: 6px; }
.markdown-body pre { font-family: var(--font-mono); font-size: 0.88em; line-height: 1.65; padding: 1.1em 1.3em; margin: 1.4em 0; background: var(--surface-2); border: 1px solid var(--border-color); border-radius: 12px; overflow-x: auto; max-width: 100%; }
.markdown-body pre code { padding: 0; border: none; background: none; font-size: inherit; }
.markdown-body img { display: block; max-width: 100%; height: auto; margin: 1.8em auto; border-radius: 12px; cursor: zoom-in; box-shadow: 0 6px 22px rgba(40,60,130,0.12); background: var(--surface-2); }
.markdown-body hr { margin: 2.4em 0; border: none; border-top: 1px solid var(--border-color); }
.markdown-body a { color: var(--link-color); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; transition: opacity 0.15s; }
.markdown-body a:hover { opacity: 0.8; }
.markdown-body :is(iframe, video, svg) { max-width: 100%; }
.markdown-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95em; line-height: 1.6; display: block; overflow-x: auto; }
.markdown-body th, .markdown-body td { border: 1px solid var(--border-color); padding: 12px 15px; text-align: left; background: var(--card-bg); }
.markdown-body th { font-weight: 600; background: var(--surface-2); }
.markdown-body tbody tr:nth-child(even) td { background: var(--surface-2); }
.markdown-body ul:has(> li.task-list-item), .markdown-body ul.task-list { list-style: none; padding-left: 0; }
.markdown-body li.task-list-item { display: flex; align-items: center; margin: 6px 0; }
.markdown-body li.task-list-item input[type="checkbox"], .checklist-body li input[type="checkbox"] {
appearance: none; -webkit-appearance: none; position: relative; flex-shrink: 0; width: 20px; height: 20px;
margin-right: 10px; cursor: pointer; outline: none; pointer-events: auto;
border: 2px solid var(--border-color); border-radius: 6px; background: var(--card-bg); transition: all 0.1s ease;
}
.markdown-body li.task-list-item input[type="checkbox"]:checked, .checklist-body li input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.markdown-body li.task-list-item input[type="checkbox"]:checked::after, .checklist-body li input[type="checkbox"]:checked::after {
content: "✓"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 13px; font-weight: bold;
}
.toc li.toc-lv3 { padding-left: 12px; } .toc li.toc-lv4 { padding-left: 24px; }
.toc li.toc-lv5 { padding-left: 36px; } .toc li.toc-lv6 { padding-left: 48px; }
.post-toc { grid-area: toc; min-width: 0; height: 100%; }
.post-toc-card {
position: sticky; top: 50vh; transform: translateY(-50%); width: 220px; max-height: 40vh; overflow-y: auto;
border-radius: var(--radius-lg); padding: 16px 10px;
}
.post-toc-card h2 { font-size: 1.05em; padding: 0 10px 10px; margin-bottom: 6px; border-bottom: 1px dashed var(--border-color); }
.toc ul { list-style: none; }
.toc a { display: block; padding: 7px 10px; font-size: 0.9rem; line-height: 1.45; color: var(--secondary-text); text-decoration: none; border-radius: 10px; transition: all 0.1s ease; }
.toc a.active { color: var(--link-color); font-weight: 700; background: var(--accent-soft); }
.toc a:hover { color: var(--link-color); background: var(--btn-hover); }
.post-side { grid-area: side; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; width: 100%; height: max-content; }
.post-side-widgets { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.post-side .widget { width: 100%; margin-bottom: 0; }
.post-side .stat-list li { padding: 8px 0; }
.post-side .stat-list li strong { font-size: 0.92rem; text-align: right; }
.post-side .stat-list li strong.stat-mono { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-color); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--border-color); }
.post-legal .legal-text { font-size: 0.84rem; line-height: 1.7; color: var(--secondary-text); }
.post-legal .legal-text a, .post-legal .legal-list a { color: var(--link-color); text-decoration: none; }
.post-legal .legal-text a:hover, .post-legal .legal-list a:hover { text-decoration: underline; }
.post-legal .legal-list { border-top: 1px dashed var(--border-color); margin-top: 12px; padding-top: 4px; }
.post-legal .legal-list li { padding: 6px 0; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 0.8rem; }
.post-legal .legal-list li strong { font-size: 0.86rem; font-weight: 500; color: var(--text-color); text-align: left; overflow-wrap: anywhere; }
.checklist-card { display: flex; flex-direction: column; min-height: 120px; }
.checklist-card .widget-title { display: flex; justify-content: space-between; align-items: center; }
.checklist-progress { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--secondary-text); }
.checklist-body { font-size: 0.9rem; }
.checklist-body ul, .checklist-body ol { list-style: none; }
.checklist-body li { display: flex; align-items: flex-start; gap: 0; margin: 8px 0; line-height: 1.5; }
.checklist-body li input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; }
.checklist-body li:has(input:checked) { color: var(--secondary-text); text-decoration: line-through; }
.post-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 4px; }
.action-btn {
display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
border-radius: 50%; color: var(--text-color); text-decoration: none; cursor: pointer; transition: all 0.2s ease;
}
.action-btn svg { width: 20px; height: 20px; }
.action-btn:hover, .action-btn[aria-expanded="true"] { border-color: var(--accent-soft-border); color: var(--link-color); transform: translateY(-2px); }
.post-actions .theme-toggle { width: 44px; height: 44px; }
.post-actions .theme-toggle svg { width: 44px; height: 44px; }
.only-mobile { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(5, 8, 20, 0.94); }
.lb-stage { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; cursor: zoom-in; touch-action: none; }
.lb-stage.zoomed { cursor: grab; }
.lb-stage.panning { cursor: grabbing; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; transition: transform 0.1s ease-out; user-select: none; -webkit-user-drag: none; }
.lb-img.no-anim { transition: none; }
.lb-btn { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; font-size: 24px; color: #fff; cursor: pointer; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; }
.lb-btn:hover { background: rgba(255,255,255,0.25); }
.lb-prev { top: 50%; left: 30px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 30px; transform: translateY(-50%); }
.lb-close { top: 20px; right: 30px; width: 44px; height: 44px; font-size: 28px; }
.post-toc-card::-webkit-scrollbar { width: 12px; }
.post-toc-card::-webkit-scrollbar-track { margin: 6px 0; background: transparent; }
.post-toc-card::-webkit-scrollbar-thumb { background-color: rgba(128,128,128,0.32); background-clip: content-box; border: 3px solid transparent; border-radius: 999px; }
.post-toc-card::-webkit-scrollbar-thumb:hover { background-color: var(--accent); }
@supports (-moz-appearance: none) { .post-toc-card { scrollbar-width: thin; scrollbar-color: rgba(128,128,128,0.45) transparent; } }
@media (min-width: 1101px) and (max-width: 1400px) {
.post-page { grid-template-columns: 180px minmax(0, 1fr) 230px; gap: 18px; padding-inline: 14px; }
.post-toc-card { width: 180px; }
.markdown-body { padding: 36px 40px 56px; }
}
@media (max-height: 820px) and (min-width: 1101px) { .post-side { position: static; } }
@media (max-width: 1100px) {
.post-page { display: flex; flex-direction: column; gap: 16px; padding: 12px 12px 12px; }
.post-toc { display: contents; }
.post-main { order: 1; width: 100%; }
.post-comments { order: 3; }
.post-side { order: 2; display: contents; position: static; }
.post-side-widgets { order: 2; }
.post-side .post-info-widget { display: none; }
.post-side .checklist-card { order: 1; }
.post-side .post-legal { order: 2; }
.markdown-body { padding: 24px 20px 48px; border-radius: 24px; font-size: 16px; line-height: 1.8; }
.markdown-body > h1:first-child { font-size: 1.6rem; }
.markdown-body h2 { font-size: 1.2rem; }
.markdown-body h3 { font-size: 1.08rem; }
.markdown-body img { margin: 1.2em auto; }
.post-header-meta { margin-bottom: 1.8em; }
.post-toc-card { position: fixed; top: auto; bottom: 74px; left: 12px; right: 12px; width: auto; max-height: 55vh; transform: none; z-index: 1001; transition: transform 0.3s ease, opacity 0.3s ease; }
.post-toc-card.collapsed { transform: translateY(20px); opacity: 0; pointer-events: none; }
.post-actions { position: fixed; right: 16px; bottom: 24px; z-index: 1000; margin: 0; gap: 12px; }
.post-actions > a[href="/"] { order: 1; }
#mobile-toc-toggle { order: 2; }
.post-actions > .theme-toggle { order: 3; }
#jump-comments { order: 4; }
#back-top { order: 5; }
.only-mobile { display: flex; }
}
@media (max-width: 600px) { .lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-close { right: 16px; } }
.post-comments { grid-area: comments; min-width: 0; width: 100%; scroll-margin-top: 90px; border-radius: 30px; padding: 24px 32px 32px; }
.post-comments h2 { font-family: var(--font-title); font-size: 1.15rem; margin-bottom: 16px; }
.comment-form { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; margin-bottom: 28px; width: 100%; }
.cf-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--field-bg); border: 1px solid var(--border-color); color: var(--secondary-text); }
.cf-avatar svg { width: 22px; height: 22px; }
.cf-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cf-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.cf-field {
display: flex; align-items: center; flex: 1 1 150px; min-width: 0; overflow: hidden;
border: 1px solid var(--border-color); border-radius: 12px; background: var(--field-bg);
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.cf-field:focus-within, .cf-editor:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.cf-label { padding: 9px 12px; font-size: 0.82rem; color: var(--secondary-text); background: rgba(127,127,127,0.1); border-right: 1px solid var(--border-color); white-space: nowrap; }
.cf-field input { flex: 1; min-width: 0; padding: 9px 12px; border: 0; background: transparent; color: var(--text-color); font: inherit; font-size: 0.92rem; outline: none; }
.cf-field input::placeholder, .cf-editor textarea::placeholder { color: var(--secondary-text); opacity: 0.7; }
.cf-editor { position: relative; border: 1px solid var(--border-color); border-radius: 14px; background: var(--field-bg); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.cf-editor textarea { display: block; width: 100%; min-height: 110px; resize: vertical; padding: 12px 14px 34px; border: 0; background: transparent; color: var(--text-color); font: inherit; font-size: 0.95rem; line-height: 1.7; outline: none; }
.cf-counter { position: absolute; right: 16px; bottom: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--secondary-text); pointer-events: none; }
.cf-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-right: 2px; }
.cf-actions { display: flex; gap: 10px; }
.cf-btn { padding: 8px 18px; font-size: 0.92rem; font-weight: 600; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; }
.cf-btn:hover { border-color: var(--accent-soft-border); color: var(--link-color); }
.cf-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(79,107,255,0.35); }
.cf-btn-primary:hover { opacity: 0.92; color: #fff; }
.cf-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.cf-reply { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px dashed var(--border-color); border-radius: 12px; background: var(--field-bg); font-size: 0.85rem; color: var(--secondary-text); }
.cf-reply b { color: var(--link-color); font-weight: 600; }
.cf-reply button { border: 0; background: transparent; color: var(--secondary-text); font-size: 0.82rem; cursor: pointer; }
.cf-reply button:hover { color: var(--link-color); }
.cf-preview { padding: 12px 14px; border: 1px dashed var(--border-color); border-radius: 14px; background: var(--field-bg); font-size: 0.92rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.comment-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 16px; background: var(--field-bg); border: 1px solid var(--border-color); border-radius: 16px; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 0.95rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.comment-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.comment-content { min-width: 0; }
.comment-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px dashed var(--border-color); }
.comment-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; font-weight: 700; font-size: 0.95rem; }
.comment-name a { color: var(--link-color); text-decoration: none; }
.comment-name a:hover { text-decoration: underline; }
.comment-owner { display: inline-block; padding: 1px 8px; font-size: 0.7rem; font-weight: 600; line-height: 1.7; color: #fff; background: var(--accent); border-radius: 999px; white-space: nowrap; }
.comment-item.is-owner { border-color: var(--accent-soft-border); box-shadow: inset 0 0 0 1px var(--accent-soft); }
.comment-reply-to { color: var(--link-color); font-weight: 500; margin-right: 6px; }
.comment-time { font-size: 0.74rem; color: var(--secondary-text); font-family: var(--font-mono); flex-shrink: 0; opacity: 0.85; }
.comment-body { font-size: 0.93rem; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.comment-foot { margin-top: 8px; display: flex; justify-content: flex-end; }
.comment-reply-btn { border: 1px solid transparent; background: transparent; color: var(--secondary-text); font-size: 0.8rem; padding: 2px 10px; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; }
.comment-reply-btn:hover { color: var(--link-color); border-color: var(--border-color); }
.comment-children { list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; border-left: 1px dashed var(--border-color); display: flex; flex-direction: column; gap: 10px; }
.comment-children .comment-item { padding: 12px 14px; background: var(--surface-2); }
.comment-empty { margin-top: 16px; font-size: 0.88rem; color: var(--secondary-text); text-align: center; }
@media (max-width: 1100px) {
.post-comments { padding: 20px 16px 24px; border-radius: 24px; }
.comment-form { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
.cf-avatar { display: none; }
.cf-fields { flex-direction: column; gap: 8px; }
.cf-field { flex: 1 1 auto; width: 100%; }
.cf-toolbar { justify-content: stretch; }
.cf-actions { width: 100%; }
.cf-actions .cf-btn { flex: 1 1 0; }
.comment-item { padding: 12px 14px; }
.comment-foot { justify-content: flex-start; }
.comment-children { padding-left: 12px; margin-top: 8px; }
}
body.admin { padding: 0; }
.adm-boot { text-align: center; padding: 80px 0; color: var(--secondary-text); }
.adm-app { min-height: 100vh; min-height: 100dvh; }
.adm-login { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.adm-login-card { width: 100%; max-width: 380px; padding: 32px 28px; border-radius: 28px; display: flex; flex-direction: column; gap: 14px; }
.adm-login-card img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 6px 18px rgba(79,107,255,.35); }
.adm-login-card h1 { font-family: var(--font-title); font-size: 1.5rem; }
.adm-login-card p.hint { font-size: .85rem; color: var(--secondary-text); margin-top: -6px; }
.adm-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 20px; max-width: 1480px; margin: 0 auto; padding: 16px; min-height: 100dvh; }
.adm-side { position: sticky; top: 16px; align-self: start; height: calc(100dvh - 32px); display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; border-radius: 26px; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 12px; font-weight: 700; }
.adm-brand img { width: 34px; height: 34px; border-radius: 10px; }
.adm-nav { display: flex; flex-direction: column; gap: 4px; }
.adm-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-size: .93rem; color: var(--text-color); border: 1px solid transparent; transition: background var(--transition-fast); }
.adm-nav a:hover { background: var(--btn-hover); }
.adm-nav a.on { background: var(--accent-soft); color: var(--link-color); border-color: var(--accent-soft-border); font-weight: 600; }
.adm-nav a .badge { margin-left: auto; font-size: .72rem; padding: 0 7px; border-radius: 999px; background: #ef4444; color: #fff; }
.adm-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.adm-me { padding: 10px 12px; border-radius: 14px; background: var(--glass-soft); border: 1px solid var(--glass-edge); }
.adm-me small { display: block; color: var(--secondary-text); }
.adm-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adm-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.adm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-top h2 { font-family: var(--font-title); font-size: 1.5rem; }
.adm-card { border-radius: 22px; padding: 18px 20px; }
.adm-card h3 { font-size: 1rem; margin-bottom: 12px; }
.adm-muted { color: var(--secondary-text); font-size: .85rem; }
.adm-empty { text-align: center; padding: 36px 0; color: var(--secondary-text); }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.adm-stat { padding: 16px; border-radius: 18px; display: flex; flex-direction: column; gap: 2px; }
.adm-stat strong { font-family: var(--font-title); font-size: 1.7rem; color: var(--accent); line-height: 1.2; }
.adm-stat span { font-size: .82rem; color: var(--secondary-text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 14px; font-size: .88rem; font-weight: 600; border-radius: 999px; cursor: pointer; text-decoration: none; background: var(--glass-soft); border: 1px solid var(--glass-edge); color: var(--text-color); box-shadow: inset 0 1px 0 var(--glass-rim); transition: all var(--transition-fast); }
.btn:hover { border-color: var(--accent-soft-border); color: var(--link-color); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(79,107,255,.35); }
.btn-primary:hover { color: #fff; opacity: .92; }
.btn-danger:hover { color: #ef4444; border-color: rgba(239,68,68,.45); }
.btn-sm { padding: 3px 10px; font-size: .78rem; }
.fld { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; min-width: 0; }
.fld > span { color: var(--secondary-text); }
.fld input, .fld select, .fld textarea, .adm-search { width: 100%; padding: 8px 12px; font: inherit; font-size: .92rem; color: var(--text-color); background: var(--field-bg); border: 1px solid var(--border-color); border-radius: 12px; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.fld input:focus, .fld select:focus, .fld textarea:focus, .adm-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.fld.chk { flex-direction: row; align-items: center; gap: 8px; }
.fld.chk input { width: auto; }
.adm-search { max-width: 260px; border-radius: 999px; }
.adm-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
.adm-list { display: flex; flex-direction: column; }
.adm-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px dashed var(--border-color); }
.adm-item:last-child { border-bottom: 0; }
.adm-item .t { font-weight: 600; overflow-wrap: anywhere; }
.adm-item .m, .cm .m { font-size: .8rem; color: var(--secondary-text); display: flex; gap: 6px 12px; flex-wrap: wrap; margin-top: 2px; }
.tag { display: inline-block; padding: 0 8px; font-size: .72rem; border-radius: 999px; background: var(--accent-soft); color: var(--link-color); border: 1px solid var(--accent-soft-border); }
.tag.warn { background: rgba(245,158,11,.14); color: #b45309; border-color: rgba(245,158,11,.4); }
.tag.bad { background: rgba(239,68,68,.12); color: #dc2626; border-color: rgba(239,68,68,.35); }
[data-theme="dark"] .tag.warn { color: #fbbf24; } [data-theme="dark"] .tag.bad { color: #fca5a5; }
.cm .t { font-weight: 600; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cm > input[type=checkbox] { margin-top: 5px; align-self: start; }
.adm-top select { padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .88rem; color: var(--text-color); background: var(--field-bg); border: 1px solid var(--border-color); outline: none; }
.cm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px 4px; border-bottom: 1px dashed var(--border-color); }
.cm:last-child { border-bottom: 0; }
.cm .body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0; font-size: .93rem; }
.cm .acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cm textarea { width: 100%; min-height: 70px; margin-top: 6px; padding: 8px 12px; font: inherit; border-radius: 12px; border: 1px solid var(--border-color); background: var(--field-bg); color: var(--text-color); }
.adm-pager { display: flex; gap: 8px; justify-content: center; align-items: center; padding-top: 12px; color: var(--secondary-text); font-size: .85rem; }
.adm-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-tabs button { padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: .88rem; background: var(--glass-soft); border: 1px solid var(--glass-edge); }
.adm-tabs button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.media-card { border-radius: 16px; overflow: hidden; background: var(--field-bg); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--surface-2); cursor: zoom-in; }
.media-card .info { padding: 8px 10px 4px; font-size: .78rem; color: var(--secondary-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card .acts { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 8px 10px; }
.drop-on { outline: 2px dashed var(--accent); outline-offset: 4px; }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.ed-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ed-title { width: 100%; font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; padding: 10px 14px; color: var(--text-color); background: var(--field-bg); border: 1px solid var(--border-color); border-radius: 14px; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.ed-title:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.ed-bar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ed-split { display: grid; gap: 12px; grid-template-columns: 1fr; }
.ed-split.preview { grid-template-columns: 1fr 1fr; }
.ed-text { width: 100%; min-height: 62vh; resize: vertical; padding: 14px 16px; font-family: var(--font-mono); font-size: .9rem; line-height: 1.7; color: var(--text-color); background: var(--field-bg); border: 1px solid var(--border-color); border-radius: 16px; outline: none; tab-size: 4; }
.ed-text:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.ed-prev { min-height: 62vh; max-height: 78vh; overflow: auto; padding: 24px 28px !important; border-radius: 16px !important; }
.ed-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.cover-prev { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.adm-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(5,8,20,.55); }
.adm-modal .box { width: 100%; max-width: 860px; max-height: 88vh; overflow: auto; border-radius: 24px; padding: 20px; background: var(--card-bg); border: 1px solid var(--border-color); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.adm-modal .box.sm { max-width: 400px; }
.adm-modal .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.adm-modal .hd h3 { font-size: 1.05rem; }
.adm-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 4000; display: flex; flex-direction: column; gap: 8px; }
.adm-toast { padding: 10px 16px; border-radius: 14px; font-size: .88rem; background: var(--card-bg); border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: 340px; }
.adm-toast.err { border-color: rgba(239,68,68,.5); color: #dc2626; }
[data-theme="dark"] .adm-toast.err { color: #fca5a5; }
.deploy-chip { font-size: .78rem; }
@media (max-width: 960px) {
.adm-shell { grid-template-columns: 1fr; padding: 10px; gap: 12px; }
.adm-side { position: static; height: auto; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; border-radius: 20px; }
.adm-brand { padding: 0 4px; }
.adm-nav { flex-direction: row; flex-wrap: wrap; }
.adm-nav a { padding: 6px 12px; }
.adm-side-foot { margin: 0; }
.adm-me { display: none; }
.ed { grid-template-columns: 1fr; }
.ed-side { position: static; }
.ed-split.preview { grid-template-columns: 1fr; }
.adm-item { grid-template-columns: 1fr; }
}
.adm-top { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.adm-top h2 { margin-right: auto; letter-spacing: -0.01em; }
.adm-top > .adm-row, .adm-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.adm-top .adm-search { flex: 1 1 160px; min-width: 120px; max-width: 320px; }
.adm-top .btn { flex: 0 0 auto; }
.btn { min-height: 34px; padding: 7px 16px; gap: 8px; white-space: nowrap; line-height: 1.2; }
.btn-sm { min-height: 28px; padding: 4px 12px; font-size: 0.8rem; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { font-weight: 700; }
.adm-item { border-radius: 12px; padding: 12px 10px; transition: background var(--transition-fast); }
.adm-item:hover { background: var(--btn-hover); }
.adm-item > .adm-row { flex-wrap: nowrap; justify-content: flex-end; }
.adm-stat { transition: transform 0.18s ease, border-color 0.18s ease; }
.adm-stat:hover { transform: translateY(-2px); border-color: var(--accent-soft-border); }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: none; }
.stats-grid > .adm-card { display: flex; flex-direction: column; height: min(62vh, 620px); min-height: 320px; overflow: hidden; }
.stats-grid > .adm-card > h3 { flex: 0 0 auto; margin-bottom: 10px; }
.stats-grid > .adm-card > .geo-list,
.stats-grid > .adm-card > .geo-groups { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.stats-grid > .adm-card > .geo-list::-webkit-scrollbar,
.stats-grid > .adm-card > .geo-groups::-webkit-scrollbar { width: 6px; }
.stats-grid > .adm-card > .geo-list::-webkit-scrollbar-thumb,
.stats-grid > .adm-card > .geo-groups::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 999px; }
.stats-grid > .adm-card > .geo-list::-webkit-scrollbar-track,
.stats-grid > .adm-card > .geo-groups::-webkit-scrollbar-track { background: transparent; }
.geo-code { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 20px; border-radius: 6px; background: var(--accent-soft); color: var(--link-color); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; line-height: 1; }
.geo-list { display: flex; flex-direction: column; gap: 10px; }
.geo-row { display: grid; grid-template-columns: minmax(96px, 170px) minmax(0, 1fr) 60px; gap: 12px; align-items: center; }
.geo-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 0.9rem; }
.geo-name .geo-cn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.geo-track > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.3s ease; }
.geo-val { font-family: var(--font-mono); font-size: 0.82rem; color: var(--secondary-text); text-align: right; }
.geo-groups { display: flex; flex-direction: column; gap: 12px; }
.geo-group { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.geo-group-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.geo-group-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.geo-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.geo-cities li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; }
.geo-cities li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visit-table { display: flex; flex-direction: column; gap: 2px; max-height: 520px; overflow: auto; }
.visit-row { display: grid; grid-template-columns: 132px 136px minmax(120px, 1fr) 56px minmax(100px, 1.2fr); gap: 12px; align-items: center; padding: 7px 8px; border-radius: 10px; font-size: 0.84rem; }
.visit-hd { position: sticky; top: 0; z-index: 1; background: var(--card-bg); font-size: 0.76rem; color: var(--secondary-text); font-weight: 600; }
.visit-row:not(.visit-hd):hover { background: var(--btn-hover); }
.visit-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visit-country { display: flex; align-items: center; gap: 8px; }
.visit-row .visit-path { font-family: var(--font-mono); font-size: 0.8rem; color: var(--secondary-text); }
.media-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.media-toolbar .adm-search { flex: 1 1 200px; max-width: 340px; }
.media-toolbar .btn { flex: 0 0 auto; }
.adm-menu { position: relative; }
.adm-menu > summary { list-style: none; cursor: pointer; user-select: none; }
.adm-menu > summary::-webkit-details-marker { display: none; }
.adm-menu > summary::after { content: "▾"; margin-left: 6px; font-size: 0.75em; opacity: 0.7; }
.adm-menu[open] > summary { border-color: var(--accent-soft-border); color: var(--link-color); }
.adm-menu-list { position: absolute; z-index: 30; margin-top: 6px; min-width: 170px; max-height: 280px; overflow: auto; padding: 6px; border-radius: 14px; background: var(--card-bg); border: 1px solid var(--border-color); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); }
.adm-menu-item { display: block; width: 100%; padding: 7px 10px; text-align: left; border: 0; border-radius: 10px; background: transparent; color: var(--text-color); font: inherit; font-size: 0.88rem; cursor: pointer; }
.adm-menu-item:hover { background: var(--btn-hover); }
.adm-menu-item.on { background: var(--accent-soft); color: var(--link-color); font-weight: 600; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.media-card { position: relative; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.media-card:hover { transform: translateY(-2px); border-color: var(--accent-soft-border); box-shadow: 0 12px 28px rgba(20, 30, 70, 0.14); }
.media-card.checked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.media-card img { aspect-ratio: 1 / 1; }
.media-card .info { display: flex; align-items: center; gap: 4px; padding: 8px 10px 10px; font-size: 0.76rem; overflow: hidden; }
.media-card .info .tag { font-size: 0.68rem; padding: 0 6px; }
.media-pick { position: absolute; top: 8px; left: 8px; z-index: 3; display: flex; padding: 4px; border-radius: 8px; background: rgba(8, 12, 28, 0.45); backdrop-filter: blur(4px); }
.media-pick input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.media-card .acts { position: absolute; left: 8px; right: 8px; bottom: 8px; gap: 6px; padding: 6px; border-radius: 12px; background: rgba(8, 12, 28, 0.55); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease; }
.media-card:hover .acts, .media-card:focus-within .acts { opacity: 1; transform: none; }
.media-card .acts .btn { flex: 1 1 auto; justify-content: center; min-height: 26px; padding: 3px 10px; font-size: 0.74rem; background: rgba(255, 255, 255, 0.9); color: #1b2340; border-color: transparent; }
[data-theme="dark"] .media-card .acts .btn { background: rgba(255, 255, 255, 0.14); color: #e7ecff; }
@media (hover: none) {
.media-card .acts { position: static; opacity: 1; transform: none; padding: 4px 8px 10px; background: transparent; backdrop-filter: none; }
.media-card .acts .btn { background: var(--glass-soft); color: var(--text-color); }
}
.media-foot { display: flex; justify-content: flex-end; margin-top: 16px; }
.media-upload { min-height: 38px; padding: 9px 24px; font-size: 0.92rem; }
.ed-bar { position: sticky; top: 58px; z-index: 10; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 8px; border-radius: 14px; background: var(--glass-soft); border: 1px solid var(--glass-edge); backdrop-filter: blur(10px); }
.ed-text { min-height: clamp(320px, 58vh, 720px); }
.ed-split.preview .ed-prev { position: sticky; top: 116px; align-self: start; }
.ed-title { font-size: 1.5rem; padding: 12px 16px; }
.cover-prev { max-height: 220px; }
@media (max-width: 900px) {
.stats-grid { grid-template-columns: 1fr; max-width: none; }
.stats-grid > .adm-card { height: auto; max-height: none; }
.stats-grid > .adm-card > .geo-list,
.stats-grid > .adm-card > .geo-groups { overflow: visible; padding-right: 0; }
}
@media (max-width: 720px) {
.adm-top { flex-direction: column; align-items: stretch; gap: 8px; }
.adm-top h2 { margin-right: 0; }
.adm-top > .adm-row, .adm-actions { flex-wrap: wrap; width: 100%; }
.adm-top .btn { flex: 1 1 auto; }
.media-toolbar { flex-direction: column; align-items: stretch; }
.media-toolbar .btn, .media-toolbar .adm-search, .adm-menu { width: 100%; max-width: none; }
.adm-menu-list { position: static; margin-top: 6px; }
.media-foot { justify-content: stretch; }
.media-upload { width: 100%; }
.ed-bar { position: static; }
.ed-bar .btn { flex: 1 1 45%; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.adm-card { padding: 14px; border-radius: 18px; }
.geo-row { grid-template-columns: minmax(84px, 120px) minmax(0, 1fr) 52px; gap: 8px; }
.visit-row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
.visit-hd { display: none; }
}
