/* ============================================================
   Cms.Studio — tech-editorial design system
   Style: minimal tech-media (The Verge / TechCrunch flavoured)
   Palette: cool neutrals + electric blue→violet accent gradient
   ============================================================ */
:root {
    --bg: #f5f7fa;
    --card: #ffffff;
    --ink: #0d1526;
    --sub: #566174;
    --muted: #8d97a8;
    --line: #e7eaf0;
    --line-soft: #eef1f6;
    --accent: #2158f3;
    --accent-deep: #1742c4;
    --accent-2: #7c3aed;
    --grad: linear-gradient(120deg, #2158f3 0%, #6d4aff 55%, #7c3aed 100%);
    --hot: #ff3b4a;
    --ok: #16a34a;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(13, 21, 38, 0.05), 0 12px 28px -18px rgba(13, 21, 38, 0.18);
    --shadow-lift: 0 2px 6px rgba(13, 21, 38, 0.06), 0 20px 40px -20px rgba(33, 88, 243, 0.28);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
            Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    /* Anchor jumps (#feedback, #comments, TOC links) must clear the sticky header. */
    scroll-padding-top: 88px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { letter-spacing: -0.015em; line-height: 1.3; }

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }

img { display: block; max-width: 100%; }

.muted { color: var(--muted); }
.dot { margin: 0 8px; color: var(--line); }
code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    background: #f1f4f9;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 0.9em;
}

/* ---------- header (gizmodo-style) ---------- */
.site-header, .admin-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 2px solid var(--ink);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 64px;
    flex-wrap: wrap;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 0;
}
.site-brand:hover { color: var(--ink); }

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--grad);
    box-shadow: 0 4px 12px -4px rgba(33, 88, 243, 0.55);
    flex: 0 0 auto;
}
.brand-mark::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 9px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.95);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    flex-wrap: wrap;
}

.site-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sub);
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(13, 21, 38, 0.06); }
.site-nav a.on { color: var(--ink); }
.site-nav a.on::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: var(--grad);
}

.nav-ic {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    flex: 0 0 auto;
    opacity: 0.85;
}
.nav-ic-svg { display: block; width: 15px; height: 15px; }

/* rank entries live in the nav on mobile (sidebar hides) */
.nav-rank-group { display: none; gap: 2px; }
.nav-rank { color: var(--hot) !important; }

.search-form { position: relative; display: flex; align-items: center; }
.search-form input {
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 8px 40px 8px 16px;
    font-size: 13px;
    width: 180px;
    outline: none;
    background: var(--bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, width 0.2s ease, background 0.15s ease;
    font-family: inherit;
}
.search-form input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(13, 21, 38, 0.08);
    background: #fff;
    width: 230px;
}
.search-go {
    position: absolute;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.search-go:hover { background: var(--ink); color: #fff; }

/* header menu wrapper: holds the nav + search; inline on desktop,
   collapsible panel on mobile (see the responsive section below) */
.header-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

/* hamburger button — only shown on small screens */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 40px;
    padding: 8px 9px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.15s ease;
}
/* animate to an X when the menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- layout ---------- */
.page {
    max-width: 1520px;
    margin: 26px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

.main-col { min-width: 0; }
.side-col { min-width: 0; }

/* ---------- announcement bar (mimo style) ---------- */
.announce {
    background: linear-gradient(100deg, #0b1020 0%, #182550 55%, #2536a0 100%);
    color: #e8edff;
    font-size: 13px;
}
.announce-inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    white-space: nowrap;
}
.announce a { color: #fff; overflow: hidden; text-overflow: ellipsis; }
.announce a:hover { color: #cfe0ff; }
.announce-badge {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 999px;
}
.announce-arrow { margin-left: auto; opacity: 0.75; flex: 0 0 auto; }

/* ---------- section heads (mimo style) ---------- */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.section-more { font-size: 13.5px; color: var(--accent); font-weight: 600; }
.section-more:hover { color: var(--accent-deep); }

/* ---------- hero (homepage featured) ---------- */
.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}
.hero-single { grid-template-columns: 1fr; }
.hero-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: #dfe4ec;
    box-shadow: var(--shadow);
}
.hero-main { min-height: 320px; }
.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.hero-card:hover img { transform: scale(1.045); }
.hero-mask {
    position: absolute;
    inset: auto 0 0 0;
    padding: 56px 22px 18px;
    background: linear-gradient(transparent, rgba(8, 12, 24, 0.82));
}
.hero-mask h2 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.38;
}
.hero-mask h3 {
    margin: 0;
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
}
.hero-card:hover .hero-mask h2,
.hero-card:hover .hero-mask h3 { color: #dfe6ff; }
.hero-tag {
    display: inline-block;
    background: var(--grad);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px -4px rgba(33, 88, 243, 0.6);
}
.hero-side {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 14px;
    min-height: 320px;
}
.hero-side .hero-card { min-height: 148px; }

/* ---------- section headings ---------- */
.section-heading {
    font-size: 20px;
    font-weight: 700;
    margin: 6px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-heading::before {
    content: "";
    width: 5px;
    height: 20px;
    border-radius: 3px;
    background: var(--grad);
}
.section-desc { color: var(--muted); margin: -8px 0 16px; font-size: 14px; }

/* ---------- feed (post cards) ---------- */
.feed-item {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feed-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(33, 88, 243, 0.25);
}

.feed-item.has-thumb {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feed-text { flex: 1; min-width: 0; }
.feed-thumb {
    flex: 0 0 176px;
    height: 116px;
    border-radius: 10px;
    overflow: hidden;
    background: #dfe4ec;
}
.feed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.feed-item:hover .feed-thumb img { transform: scale(1.06); }

.feed-title { margin: 0 0 8px; font-size: 18.5px; line-height: 1.45; font-weight: 700; }
.feed-title a { color: var(--ink); }
.feed-title a:hover { color: var(--accent); }
.badge-top {
    display: inline-block;
    background: var(--grad);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    vertical-align: 3px;
    margin-right: 8px;
}

.feed-summary {
    margin: 0 0 12px;
    color: var(--sub);
    font-size: 14.5px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--muted);
    gap: 10px;
    flex-wrap: wrap;
}
.feed-tags a { color: var(--accent); margin-left: 2px; font-weight: 500; }
.feed-tags-inline a { color: var(--muted); }
.feed-tags-inline a:hover { color: var(--accent); }
.feed-cat {
    color: var(--accent) !important;
    font-weight: 600;
}

/* ---------- sidebar ---------- */
.side-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}
.side-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
}
.side-title::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--grad);
}

.rank-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.rank-tabs a {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--sub);
    transition: all 0.15s ease;
}
.rank-tabs a:hover { color: var(--accent); border-color: var(--accent); }
.rank-tabs a.active { color: #fff; background: var(--grad); border-color: transparent; }
.rank-tabs.big a { font-size: 13.5px; padding: 7px 16px; }

.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line-soft);
    font-size: 13.5px;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-no {
    min-width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #eef1f6;
    color: var(--sub);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 20px;
    flex-shrink: 0;
}
.rank-list li:nth-child(-n+3) .rank-no {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 3px 8px -3px rgba(33, 88, 243, 0.5);
}
.rank-list a { flex: 1; font-weight: 500; color: var(--ink); }
.rank-list a:hover { color: var(--accent); }
.rank-views { color: var(--muted); font-size: 12px; flex-shrink: 0; font-variant-numeric: tabular-nums; }

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 5px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line-soft); }
.side-list li:last-child { border-bottom: 0; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    font-size: 12.5px;
    color: var(--sub);
    padding: 3px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 0.15s ease;
}
.tag-cloud a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(33, 88, 243, 0.06);
}

/* ---------- rank page ---------- */
.rank-page-list { list-style: none; margin: 0; padding: 0; }
.rank-page-list li {
    display: flex;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    align-items: baseline;
    box-shadow: var(--shadow);
}
.rank-title { font-size: 16.5px; font-weight: 600; }
.rank-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.rank-meta a { color: var(--accent); font-weight: 500; }

/* ---------- post page (mimo docs style: wide article + sticky TOC) ---------- */
.breadcrumb {
    max-width: 1520px;
    margin: 18px auto 14px;
    padding: 0 20px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: var(--line); }
.bc-current { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50vw; }

.post-layout {
    max-width: 1320px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 232px;
    gap: 32px;
    align-items: start;
}
.post-main { min-width: 0; }
/* article pages: extra-wide canvas so the body gets the space the TOC used to take */
.page-wide { max-width: 1520px; grid-template-columns: minmax(0, 1fr) 280px; }

.post {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 40px 44px;
    box-shadow: var(--shadow);
}
.post-wide { margin: 0 0 6px; }
.post-title { margin: 0 0 12px; font-size: 33px; font-weight: 800; line-height: 1.28; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.post-meta a { color: var(--accent); font-weight: 500; }
.post-cover {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 28px;
}

/* on this page — sticky table of contents (lives in the sidebar above Rankings) */
.side-toc { margin-bottom: 18px; }
.post-toc { position: sticky; top: 84px; }
.toc-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
}
.toc-title {
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin: 0; }
.toc-list a {
    display: block;
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sub);
    border-left: 2px solid var(--line-soft);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.toc-l3 a { padding-left: 24px; font-size: 12.5px; }
.toc-list a:hover { color: var(--accent); }
.toc-list a.toc-active {
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 600;
}

.post-foot {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.post-updated { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* 图文并茂: image blocks with captions */
.content-figure { margin: 30px 0; }
.content-figure img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(13, 21, 38, 0.06), 0 24px 48px -24px rgba(13, 21, 38, 0.22);
}
.content-figure figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

/* article value feedback (ithome style) */
.post-feedback {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin: 20px 0;
    box-shadow: var(--shadow);
    text-align: center;
}
.fb-head { font-size: 16px; font-weight: 700; }
.fb-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 4px;
    flex-wrap: wrap;
}
.stars {
    position: relative;
    display: inline-block;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 2px;
    user-select: none;
}
.stars-base { color: #dfe3ea; }
.stars-fill {
    position: absolute;
    inset: 0;
    overflow: hidden;
    white-space: nowrap;
    width: var(--pct, 0%);
    color: #ffb400;
}
.fb-score { font-size: 14px; }
.fb-score strong { font-size: 19px; color: var(--ink); }
.fb-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 14px 0 10px;
    flex-wrap: wrap;
}
.fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--sub);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}
.fb-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.fb-btn.on.fb-up {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(33, 88, 243, 0.55);
}
.fb-btn.on.fb-down {
    background: linear-gradient(120deg, #ff5a5f, #ff3b4a);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(255, 59, 74, 0.55);
}
.fb-count {
    background: rgba(127, 135, 150, 0.14);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}
.fb-btn.on .fb-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.fb-hint { font-size: 12.5px; color: var(--muted); margin: 0; }

.post-body { font-size: 16px; color: var(--ink); }
.post-body h1 { font-size: 24px; margin-top: 32px; }
.post-body h2 {
    font-size: 20px;
    margin-top: 30px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
}
.post-body h3 { font-size: 17px; margin-top: 24px; }
.post-body pre {
    background: #0e1730;
    color: #dce4f5;
    border: 0;
    border-radius: 10px;
    padding: 16px 18px;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.6;
}
.post-body code {
    background: #f1f4f9;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 0.9em;
}
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body blockquote {
    border-left: 4px solid var(--accent);
    margin: 18px 0;
    padding: 10px 18px;
    color: var(--sub);
    background: rgba(33, 88, 243, 0.05);
    border-radius: 0 8px 8px 0;
}
.post-body img { max-width: 100%; border-radius: 10px; }
.post-body table { border-collapse: collapse; width: 100%; }
.post-body th, .post-body td {
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-size: 14px;
}
.post-body th { background: #f6f8fc; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.post-tags { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.post-tags a {
    color: var(--sub);
    margin-left: 6px;
    padding: 3px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-block;
}
.post-tags a:hover { color: var(--accent); border-color: var(--accent); }

.related { margin-top: 22px; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li {
    padding: 9px 0;
    border-bottom: 1px dashed var(--line-soft);
    font-size: 14.5px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li {
    padding: 11px 0;
    border-bottom: 1px dashed var(--line-soft);
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

/* archive index: month groups with the article list under each month */
.archive-month { margin: 24px 0 4px; }
.archive-month:first-of-type { margin-top: 6px; }
.archive-month-heading {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 2px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.archive-month-heading a { color: var(--accent-deep); }
.archive-posts { list-style: none; padding: 0; margin: 0; }
.archive-posts li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line-soft);
    font-size: 15px;
    display: flex;
    gap: 14px;
    align-items: baseline;
}
.archive-posts .archive-date {
    color: var(--muted);
    font-size: 13px;
    min-width: 58px;
    flex-shrink: 0;
}
.archive-posts .archive-title { flex: 1; min-width: 0; }
.archive-posts li:hover .archive-title { color: var(--accent); }

/* ---------- pager ---------- */
.pager { display: flex; align-items: center; gap: 16px; margin: 20px 2px; font-size: 14px; }
.pager-link {
    color: #fff;
    background: var(--grad);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 16px -6px rgba(33, 88, 243, 0.55);
}
.pager-link:hover { color: #fff; opacity: 0.92; }

/* ---------- footer ---------- */
.site-footer {
    border-top: 1px solid var(--line-soft);
    background: var(--card);
    margin-top: 40px;
}
.footer-inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 26px 20px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-links a { margin-left: 16px; }
.footer-links a:hover { color: var(--accent); }

/* ============================================================
   ADMIN
   ============================================================ */
.console-body { background: var(--bg); }
.console-shell { display: flex; min-height: 100vh; }

.console-side {
    position: fixed;
    inset: 0 auto 0 0;
    width: 232px;
    background: #0d1526;
    border-right: 0;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    gap: 6px;
    z-index: 30;
}
.console-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 8px 16px;
}
.console-brand:hover { color: #fff; }
/* menu wrapper: column on desktop, collapsible panel on mobile */
.console-menu {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.console-group {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    padding: 14px 12px 6px;
}
.console-group:first-child { padding-top: 2px; }
.console-nav { display: flex; flex-direction: column; gap: 2px; }
.console-nav a {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    transition: background 0.15s ease, color 0.15s ease;
}
.console-nav a .nav-ic { margin-right: 10px; opacity: 0.8; }
.console-nav a .nav-ic-svg { width: 16px; height: 16px; }
.console-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.console-nav a.on {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 6px 14px -6px rgba(33, 88, 243, 0.55);
}
.console-side-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.console-side-foot a { padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.console-side-foot a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.console-main {
    flex: 1;
    min-width: 0;
    margin-left: 232px;
}
.console-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 1px 0 rgba(13, 21, 38, 0.03);
}
.console-crumb { font-size: 13px; color: var(--muted); font-weight: 500; }
.console-crumb::first-letter { text-transform: uppercase; }
.console-user {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sub);
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.console-user::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--grad);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.console-user:hover { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(33, 88, 243, 0.1); }

.admin-main { max-width: 1160px; margin: 28px auto; padding: 0 28px; }
/* Fluid-width admin pages (editor pages) — like nopCommerce's admin container. */
.admin-main-wide { max-width: 1440px; }
.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-head h1 { font-size: 22px; margin: 0; font-weight: 800; }

.admin-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.admin-card.narrow { max-width: 560px; margin: 60px auto; }
.admin-card h1 { margin-top: 0; font-size: 20px; font-weight: 700; }
.admin-card h2 {
    font-size: 15.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
}
.admin-card h2::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--grad);
}

.edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

/* ---------- stat cards / charts ---------- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.stat-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 18px 16px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }

.trend {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 132px;
    padding-top: 8px;
}
.trend-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.trend-bar {
    width: 72%;
    min-height: 3px;
    background: var(--grad);
    border-radius: 4px 4px 0 0;
    opacity: 0.9;
    transition: opacity 0.15s ease;
}
.trend-col:hover .trend-bar { opacity: 1; }
.trend-day { font-size: 10px; color: var(--muted); margin-top: 4px; }

/* ---------- visitor distribution ---------- */
.dist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.dist-head {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.dist-list { list-style: none; margin: 0; padding: 0; }
.dist-list li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.dist-label { flex: 0 0 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-bar { flex: 1; height: 10px; background: #eef1f6; border-radius: 5px; overflow: hidden; }
.dist-bar span { display: block; height: 100%; background: var(--grad); border-radius: 5px; }
.dist-num {
    flex: 0 0 42px;
    text-align: right;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* ---------- admin tables ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
    text-align: left;
    border-bottom: 2px solid var(--ink);
    padding: 10px 12px;
    color: var(--ink);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
}
.admin-table td { border-bottom: 1px solid var(--line-soft); padding: 11px 12px; }
.admin-table tr:hover td { background: rgba(33, 88, 243, 0.04); }
.admin-table .col-actions { width: 1%; white-space: nowrap; text-align: right; }
.admin-table td.actions { text-align: right; white-space: nowrap; }
.admin-table td.actions .inline { display: inline; }
.slug-chip {
    display: inline-block;
    background: #f1f4f9;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    color: var(--sub);
}
.pill {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    background: #f1f4f9;
    border: 1px solid var(--line);
    color: var(--muted);
}
.pill-ok {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.28);
    color: var(--ok);
}
.pill-warn {
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.3);
    color: #b45309;
}
.pill-accent {
    background: rgba(33, 88, 243, 0.09);
    border-color: rgba(33, 88, 243, 0.26);
    color: var(--accent);
}
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    color: var(--sub);
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.15s ease;
}
.icon-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(33, 88, 243, 0.06);
    box-shadow: 0 0 0 3px rgba(33, 88, 243, 0.1);
}
.icon-btn.danger:hover {
    color: #fff;
    background: var(--hot);
    border-color: var(--hot);
    box-shadow: 0 4px 12px -4px rgba(255, 59, 74, 0.55);
}
.icon-btn.ok:hover {
    color: #fff;
    background: var(--ok);
    border-color: var(--ok);
    box-shadow: 0 4px 12px -4px rgba(22, 163, 74, 0.55);
}
.icon-btn.warn:hover {
    color: #fff;
    background: #d97706;
    border-color: #d97706;
    box-shadow: 0 4px 12px -4px rgba(217, 119, 6, 0.55);
}
.actions a, .link-btn { color: var(--accent); margin-right: 12px; font-weight: 500; }
.link-btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}
.link-btn:hover, .actions a:hover { color: var(--accent-deep); text-decoration: underline; }
.inline { display: inline; }

.filter-form { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.filter-form input, .filter-form select {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    background: var(--card);
    outline: none;
    font-family: inherit;
}
.filter-form input:focus, .filter-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(33, 88, 243, 0.12);
}

/* ---------- forms ---------- */
form label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--sub); font-weight: 500; }
form label.check { display: flex; align-items: center; gap: 8px; }
form input[type="text"], form input[type="password"], form input[type="number"],
form input[type="datetime-local"], form select, form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: var(--card);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
form input:focus, form textarea:focus, form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(33, 88, 243, 0.12);
}
form input[readonly] { background: #f4f6fa; color: var(--sub); }
form textarea.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
form label.check input { width: auto; margin: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--grad);
    color: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 16px -6px rgba(33, 88, 243, 0.55);
    transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { color: #fff; opacity: 0.92; transform: translateY(-1px); }
.btn.secondary {
    background: var(--card);
    color: var(--sub);
    border: 1px solid var(--line);
    box-shadow: none;
}
.btn.secondary:hover { color: var(--accent); border-color: var(--accent); }
.btn.danger {
    background: var(--hot);
    box-shadow: 0 6px 16px -6px rgba(255, 59, 74, 0.55);
}
.btn.danger:hover { color: #fff; opacity: 0.92; }

.error { color: var(--hot); }
.success { color: var(--ok); font-weight: 600; }

/* ---------- modal (admin add/edit) ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; }
.modal[hidden] { display: none; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 21, 38, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.modal-panel {
    position: relative;
    width: min(520px, 100%);
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 24px 64px -16px rgba(13, 21, 38, 0.4);
    overflow: hidden;
    animation: modal-pop 0.22s cubic-bezier(0.3, 1.4, 0.6, 1);
}
@keyframes modal-pop {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--line-soft);
}
.modal-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
}
.modal-head h3::before {
    content: "";
    width: 4px;
    height: 17px;
    border-radius: 2px;
    background: var(--grad);
}
.modal-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.modal-x:hover { background: rgba(13, 21, 38, 0.06); color: var(--ink); }
.modal-body { padding: 18px 22px 6px; max-height: 62vh; overflow-y: auto; }
.modal-body .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-body .form-row label { margin-bottom: 14px; }
.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px 18px;
    border-top: 1px solid var(--line-soft);
    background: #fafbfe;
}
@media (max-width: 560px) {
    .modal-body .form-row { grid-template-columns: 1fr; }
}

/* ---------- comments ---------- */
.bulk-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.comment-customer strong { display: block; font-size: 13.5px; }
.comment-customer .muted { font-size: 12px; word-break: break-all; }

.comments { margin-top: 26px; }
.comment {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.comment-reply-item { margin-left: 36px; border-left: 3px solid var(--accent); }
.comment-meta { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.comment-meta strong { color: var(--ink); font-size: 14px; }
.comment-reply { color: var(--accent); font-weight: 500; cursor: pointer; }
.comment-content { font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }

.comment-form-wrap {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}
.comment-form-wrap h3 { margin-top: 0; font-size: 16px; font-weight: 700; }
.comment-form-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.comment-form-row label { flex: 1; min-width: 220px; margin-bottom: 12px; }
.code-actions { display: flex; gap: 8px; padding-bottom: 12px; }
.notice {
    background: rgba(33, 88, 243, 0.07);
    border: 1px solid rgba(33, 88, 243, 0.22);
    border-radius: var(--radius-sm);
    padding: 9px 13px;
    font-size: 13.5px;
    color: var(--accent-deep);
}
.comment-cell { max-width: 320px; word-break: break-word; }

/* ---------- editor (Vditor) / cover widget ---------- */
.editor-wrap {
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.cover-preview {
    margin-top: 8px;
    max-height: 130px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    display: block;
}
.cover-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cover-upload { margin-top: 6px; }
.cover-actions { display: flex; gap: 8px; margin-top: 10px; }
.cover-pick { cursor: pointer; }
.cover-pick input[type="file"] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .post-layout { grid-template-columns: minmax(0, 1fr); }
    .post-toc { position: static; }
    .toc-card { margin-bottom: 8px; }
}

@media (max-width: 900px) {
    .page { grid-template-columns: minmax(0, 1fr); }
    .side-col { display: none; }
    .edit-grid { grid-template-columns: minmax(0, 1fr); }
    /* --- gizmodo-style slide-out drawer (mobile) --- */
    .header-inner { padding: 10px 14px; gap: 12px; }
    /* Drop the header blur on mobile: backdrop-filter creates a containing block for
       the fixed-position drawer, trapping it inside the header box. Solid bg instead. */
    .site-header {
        z-index: 50;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #fff;
    }
    .nav-toggle { display: flex; z-index: 3; margin-left: 0; }
    .header-inner { flex-wrap: nowrap; }
    .site-nav a.on::after { display: none; }
    .header-menu {
        position: fixed;
        top: 60px; right: 0; bottom: 0;
        width: min(330px, 86vw);
        z-index: 2;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 16px 28px;
        background: #fff;
        border-left: 1px solid var(--line-soft);
        box-shadow: -18px 0 44px rgba(15, 20, 35, 0.14);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
        overflow-y: auto;
    }
    body.nav-open .header-menu { transform: translateX(0); visibility: visible; }
    .site-nav {
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    .site-nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 12px 12px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 10px;
    }
    /* ranking entries move into the nav on mobile (sidebar hides) */
    .nav-rank-group { display: flex; flex-direction: column; gap: 2px; }
    .search-form { width: 100%; margin: 2px 0 12px; order: -1; }
    .search-form input, .search-form input:focus { width: 100%; }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 20, 35, 0.42);
        z-index: 40;
    }
    .post { padding: 24px 20px; }
    .post-title { font-size: 26px; }
    .breadcrumb { margin-top: 12px; }
    .admin-card { padding: 18px 16px; }
    .admin-card.narrow { margin: 20px auto; }
    /* console: sidebar collapses behind a hamburger on mobile */
    .console-side {
        position: static;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
    }
    .console-brand { padding: 0 8px 0 0; flex: 0 0 auto; }
    .console-toggle { display: flex; margin-left: auto; }
    .console-toggle .nav-toggle-bar { background: #fff; }
    .console-toggle { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
    .console-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 2px;
        margin-top: 2px;
        padding: 8px 0 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .console-side.nav-open .console-menu { display: flex; }
    .console-nav { flex-direction: column; gap: 2px; }
    .console-nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 11px 12px;
        white-space: normal;
    }
    .console-side-foot {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .console-side-foot a { display: flex; align-items: center; min-height: 44px; }
    .console-shell { flex-direction: column; }
    .console-main { margin-left: 0; }
    .console-top { padding: 0 16px; }
    .admin-main { padding: 0 16px; }
}

@media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; }
    .hero-main { min-height: 210px; }
    .hero-main .hero-mask h2 { font-size: 18px; }
    .hero-side { grid-template-columns: 1fr 1fr; grid-auto-rows: 112px; min-height: 0; }
    .hero-side .hero-card { min-height: 112px; }
    .hero-side .hero-mask h3 { font-size: 13px; }
    .feed-item.has-thumb { gap: 12px; padding: 16px; }
    .feed-thumb { flex-basis: 116px; height: 78px; }
    .feed-title { font-size: 16.5px; }
    .footer-inner { flex-direction: column; }
    .footer-links a { margin: 0 16px 0 0; }
}
