:root {
    --bg: #050a16;
    --sidebar: #0a1927;
    --topbar: #0b1c2a;
    --surface: #0e2131;
    --surface-2: #12283a;
    --surface-hover: #173145;
    --text: #f3f7fa;
    --muted: #8fa2b5;
    --subtle: #607486;
    --accent: #ff6a22;
    --accent-dark: #d94f12;
    --border: #183247;
    --success: #48c78e;
    --radius-sm: 6px;
    --radius-md: 10px;
    --shadow: 0 18px 55px rgba(0, 0, 0, .28);
    --sidebar-width: 220px;
    --content-max: 1420px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 1100px;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    min-height: 100vh;
    padding: 24px 16px 20px;
    background: var(--sidebar);
    border-right: 1px solid #10283a;
    z-index: 20;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px 22px;
    font-weight: 800;
    letter-spacing: .035em;
    font-size: 15px;
}
.brand-mark {
    position: relative;
    width: 24px;
    height: 30px;
    border-radius: 14px 14px 13px 13px;
    background: var(--accent);
    clip-path: polygon(50% 0, 72% 28%, 94% 48%, 91% 75%, 72% 96%, 28% 96%, 9% 75%, 6% 48%, 28% 28%);
}
.brand-mark::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    left: 8px;
    bottom: 5px;
}
.side-nav { display: block; }
.nav-group-title {
    margin: 18px 12px 8px;
    color: #5f7385;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.nav-group-title.second { margin-top: 24px; }
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    margin: 4px 0;
    padding: 0 13px;
    border-radius: 22px;
    color: #a8bac9;
    font-size: 14px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-item:hover { background: #102538; color: #fff; transform: translateX(2px); }
.nav-item.active { color: var(--accent); background: rgba(255,106,34,.08); }
.nav-icon {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1.7px solid currentColor;
    border-radius: 4px;
    opacity: .92;
}
.home-icon::after { content:""; position:absolute; inset:4px; border-radius:1px; background:currentColor; }
.hot-icon { border-radius: 50% 50% 45% 45%; transform: rotate(45deg); }
.clock-icon { border-radius: 50%; }
.clock-icon::before { content:""; position:absolute; width:1px; height:5px; top:3px; left:6px; background:currentColor; }
.clock-icon::after { content:""; position:absolute; width:4px; height:1px; top:7px; left:6px; background:currentColor; transform:rotate(35deg); transform-origin:left center; }
.guide-icon::after { content:""; position:absolute; inset:3px 4px; border-top:1px solid currentColor; border-bottom:1px solid currentColor; }
.info-icon { border-radius:50%; }
.info-icon::after { content:"i"; position:absolute; inset:-4px 0 0; text-align:center; font-size:11px; font-weight:800; }
.star-icon { transform:rotate(45deg); border-radius:3px; }
.grid-icon { border-radius:2px; box-shadow: 6px 0 0 -4px currentColor, 0 6px 0 -4px currentColor, 6px 6px 0 -4px currentColor; }
.sidebar-note {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #71879a;
    font-size: 12px;
    line-height: 1.45;
}
.note-dot, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,34,.11); flex:0 0 7px; }
.page-area { min-height: 100vh; margin-left: var(--sidebar-width); display: flex; flex-direction: column; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 15;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
    background: rgba(11, 28, 42, .96);
    border-bottom: 1px solid #102b40;
    backdrop-filter: blur(10px);
}
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(520px, 46vw);
    height: 38px;
    padding: 0 16px;
    border: 1px solid #18374d;
    background: #11283a;
    border-radius: 22px;
}
.search-box:focus-within { border-color: rgba(255,106,34,.62); box-shadow: 0 0 0 3px rgba(255,106,34,.08); }
.search-icon { width: 14px; height: 14px; border: 2px solid #7890a2; border-radius: 50%; position:relative; }
.search-icon::after { content:""; position:absolute; width:6px; height:2px; background:#7890a2; right:-5px; bottom:-2px; transform:rotate(45deg); border-radius:2px; }
.search-box input { width:100%; border:0; outline:0; background:transparent; color:#fff; font-size:14px; }
.search-box input::placeholder { color:#62788b; }
.topbar-meta { display:flex; align-items:center; gap:10px; color:#8ea3b5; font-size:13px; }
.main-content { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 30px 34px 46px; flex:1; }
.section-block { margin-bottom: 38px; }
.section-heading-row { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.section-heading-row h1, .section-heading-row h2 { margin:0; font-size:22px; line-height:1.25; letter-spacing:-.025em; }
.accent-line { width:42px; height:3px; border-radius:3px; background:var(--accent); }
.result-count { color:var(--accent); font-size:13px; }
.featured-grid { display:grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr); gap:20px; }
.featured-card {
    position:relative;
    min-height:330px;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    background:var(--surface);
    box-shadow:var(--shadow);
}
.featured-image-link, .featured-image-link img { width:100%; height:100%; }
.featured-image-link img { object-fit:cover; transition: transform .45s ease, filter .25s ease; }
.featured-card:hover img { transform:scale(1.035); filter:saturate(1.08); }
.featured-overlay {
    position:absolute;
    inset:auto 0 0;
    padding:75px 26px 24px;
    background:linear-gradient(180deg, transparent 0%, rgba(2,7,16,.82) 42%, rgba(2,7,16,.97) 100%);
}
.featured-overlay h2 { max-width:760px; margin:10px 0 8px; font-size:27px; line-height:1.25; }
.featured-secondary .featured-overlay h2 { font-size:21px; }
.featured-overlay p { max-width:760px; margin:0 0 16px; color:#b6c4cf; font-size:14px; }
.featured-secondary .featured-overlay p { display:none; }
.category-tag { display:inline-flex; align-items:center; min-height:25px; padding:3px 9px; border:1px solid rgba(255,106,34,.35); color:#ff925b; background:rgba(255,106,34,.11); border-radius:4px; font-size:12px; font-weight:700; }
.read-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:38px;
    padding:0 15px;
    border-radius:5px;
    background:var(--accent);
    color:#fff;
    font-size:13px;
    font-weight:700;
    transition: background .18s ease, transform .18s ease;
}
.read-button:hover { background:#ff7c3d; transform:translateY(-1px); }
.post-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:18px; }
.post-card {
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    background:var(--surface);
    transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.post-card:hover { transform:translateY(-4px); border-color:#28506b; background:var(--surface-hover); }
.post-thumb { display:block; aspect-ratio: 16 / 9; overflow:hidden; background:#142b3d; }
.post-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.post-card:hover .post-thumb img { transform:scale(1.045); }
.post-card-body { padding:16px 16px 17px; }
.post-card-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; color:#7890a3; font-size:11px; }
.post-card-meta span { color:#ff8e55; }
.post-card h3 { margin:11px 0 9px; font-size:16px; line-height:1.42; min-height:45px; }
.post-card h3 a:hover { color:#ff8a50; }
.post-card p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:42px; margin:0 0 14px; color:#91a4b5; font-size:13px; line-height:1.6; }
.text-link { display:inline-flex; align-items:center; gap:6px; color:#dbe6ed; font-size:12px; font-weight:700; }
.text-link:hover { color:var(--accent); }
.empty-state { padding:70px 20px; text-align:center; border:1px dashed #28445a; border-radius:var(--radius-md); color:#8ea2b3; }
.empty-state h3 { margin:16px 0 5px; color:#fff; }
.empty-state p { margin:0; }
.empty-symbol { display:inline-block; width:44px; height:44px; border:2px solid #526d82; border-radius:50%; position:relative; }
.empty-symbol::after { content:""; position:absolute; width:18px; height:2px; background:#526d82; top:20px; left:11px; }
.about-strip {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-top:12px;
    padding:24px 26px;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    background:#081522;
}
.about-strip p { max-width:820px; margin:5px 0 0; color:#8fa3b5; }
.about-strip a { color:var(--accent); font-size:13px; }
.eyebrow { color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.site-footer { padding:24px 34px 30px; color:#5f7487; text-align:center; font-size:12px; }
.back-link { display:inline-flex; align-items:center; gap:9px; color:#dce7ee; font-size:14px; }
.back-link:hover { color:var(--accent); }
.detail-main { max-width:1180px; padding-top:42px; }
.article-panel {
    max-width:960px;
    margin:0 auto;
    padding:44px 58px 52px;
    border:1px solid var(--border);
    background:#091724;
    box-shadow:0 24px 80px rgba(0,0,0,.24);
}
.article-header h1 { max-width:790px; margin:17px 0 14px; font-size:38px; line-height:1.28; letter-spacing:-.035em; }
.article-summary { max-width:820px; margin:0; color:#9cb0bf; font-size:17px; line-height:1.75; }
.article-meta { display:flex; flex-wrap:wrap; gap:18px 28px; margin-top:24px; color:#7890a4; font-size:13px; }
.article-meta span { display:flex; gap:8px; }
.article-meta strong { color:#c7d4dc; font-weight:600; }
.article-divider { height:1px; margin:32px 0 34px; background:linear-gradient(90deg, var(--accent), #203d52 20%, #203d52 80%, transparent); }
.article-body { color:#d3dde4; font-size:17px; line-height:1.95; }
.article-body p { margin:0 0 1.4em; }
.article-footer { margin-top:42px; padding-top:24px; border-top:1px solid var(--border); }
.bottom-back { color:#ff8c53; }
.not-found { text-align:center; padding-top:90px; padding-bottom:90px; }
.not-found h1 { margin:10px 0; }
.not-found p { color:var(--muted); margin-bottom:25px; }
@media (max-width: 1250px) {
    .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .featured-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior:auto; }
    *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; }
}
