/**
 * DAJU UI · Blog Theme
 * 翡翠绿博客主题 · 参考 getgpt.pro/blog
 */

/* =========================================================
   1. Design Tokens
   ========================================================= */
:root {
    --brand: #E85D1A;
    --brand-dark: #C44A0E;
    --brand-light: #FF8E48;
    --brand-soft: #F4DDC0;
    --brand-softer: #FFF6E8;
    --accent: #3F7BC8;

    --bg: #ffffff;
    --bg-muted: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-hero: linear-gradient(180deg, #FFF6E8 0%, #ffffff 80%);

    --text: #0f172a;
    --text-muted: #475569;
    --text-subtle: #94a3b8;

    --border: #e5e7eb;
    --border-soft: #f1f5f9;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow: 0 4px 16px rgba(15, 23, 42, .06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, .08);
    --shadow-brand: 0 8px 24px rgba(232, 93, 26, .18);

    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

    --container-max: 1180px;
}

[data-theme="dark"] {
    --bg: #0b1220;
    --bg-muted: #0f172a;
    --bg-alt: #1e293b;
    --bg-hero: linear-gradient(180deg, rgba(232, 93, 26, .08) 0%, #0b1220 80%);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border: #1e293b;
    --border-soft: #1e293b;
    --shadow: 0 4px 16px rgba(0, 0, 0, .35);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .45);
}

/* =========================================================
   2. Base / Reset
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* 禁止媒体溢出 */
img, video, iframe, table { max-width: 100%; }
a { color: var(--brand-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.3; color: var(--text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.5em 0; }
.unstyle-li { list-style: none; padding-left: 0; margin: 0; }
.no-margin-bottom { margin-bottom: 0 !important; }
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.row { display: flex; flex-wrap: wrap; gap: 32px; }
.column-big { flex: 1 1 0; min-width: 0; }
.column-small { width: 320px; flex-shrink: 0; }

/* =========================================================
   3. Top Nav
   ========================================================= */
.blog-header {
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}
[data-theme="dark"] .blog-header {
    background: rgba(11, 18, 32, .85);
    border-bottom-color: var(--border);
}
.blog-header-c {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.blog-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: .3px;
}
.blog-header-title img { height: 32px; width: auto; }
.blog-header-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}
.subtitle-overflow {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.nav-list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}
.list-item { position: relative; }
.nav-link {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted) !important;
    border-radius: 10px;
    transition: all .2s;
}
.nav-link:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-softer);
}
.list-item.active .nav-link,
.nav-link.active {
    color: var(--brand-dark) !important;
    background: var(--brand-softer);
}
.dropdown-menus {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    list-style: none;
    margin: 8px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all .18s;
}
.list-menu:hover .dropdown-menus { opacity: 1; visibility: visible; transform: none; }
.dropdown-menus .nav-link { display: block; }
.has-down::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    opacity: .5;
}

/* Hamburger (mobile) */
.blog-header-toggle { display: none; cursor: pointer; margin-left: auto; }
.blogtoggle-icon { width: 28px; height: 20px; }

/* =========================================================
   4. Layout Containers
   ========================================================= */
.blog-container {
    padding-top: 32px;
    padding-bottom: 64px;
    min-height: calc(100vh - 64px - 180px);
}

/* =========================================================
   5. Hero Section (blog index)
   ========================================================= */
.dj-blog-hero {
    background: var(--bg-hero);
    padding: 56px 0 40px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-soft);
}
.dj-blog-hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.dj-blog-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-radius: 999px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.dj-blog-hero-kicker::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(232, 93, 26, .2);
}
.dj-blog-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--text) 0%, var(--brand-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text);
}
.dj-blog-hero p.dj-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 24px;
}

/* Chip filter row */
.dj-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}
.dj-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all .2s;
    cursor: pointer;
}
.dj-chip:hover,
.dj-chip.active {
    color: var(--brand-dark);
    border-color: var(--brand);
    background: var(--brand-softer);
    box-shadow: 0 2px 8px rgba(232, 93, 26, .12);
}
.dj-chip-count {
    font-size: 11px;
    opacity: .6;
}

/* =========================================================
   6. Featured (sticky posts)
   ========================================================= */
.dj-blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.dj-feature-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: linear-gradient(135deg, var(--brand-softer), var(--bg));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all .25s;
    position: relative;
    overflow: hidden;
    color: var(--text) !important;
}
.dj-feature-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(232, 93, 26, .18), transparent 70%);
    border-radius: 50%;
}
.dj-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 93, 26, .3);
}
.dj-feature-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.dj-feature-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--text) !important;
    margin: 0;
    line-height: 1.3;
}
.dj-feature-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dj-feature-meta {
    margin-top: auto;
    padding-top: 14px;
    font-size: 12px;
    color: var(--text-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}
.dj-feature-meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; display: inline-block; opacity: .5; }

/* =========================================================
   7. Tag Cloud Row
   ========================================================= */
.dj-tagcloud-wrap {
    margin: 24px 0 28px;
    padding: 18px 20px;
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
}
.dj-tagcloud-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.dj-tagcloud-title::before {
    content: '';
    width: 14px; height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.dj-tagcloud-body { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.dj-tagcloud-body a {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted) !important;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all .2s;
}
.dj-tagcloud-body a:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-softer);
    border-color: var(--brand);
}

/* =========================================================
   8. Article List Stream
   ========================================================= */
.dj-article-stream { display: flex; flex-direction: column; gap: 20px; }

.dj-article-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 22px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: all .22s;
    position: relative;
}
.dj-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 93, 26, .25);
    box-shadow: var(--shadow);
}
.dj-article-card.no-cover { grid-template-columns: 1fr; }
.dj-article-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-softer), var(--brand-soft));
}
.dj-article-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.dj-article-card:hover .dj-article-cover img { transform: scale(1.04); }
.dj-article-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dj-article-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-subtle);
    flex-wrap: wrap;
}
.dj-article-meta-top .sort-chip {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-softer);
    border-radius: 4px;
    letter-spacing: .02em;
}
.dj-article-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.005em;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}
.dj-article-title a { color: var(--text) !important; }
.dj-article-title a:hover { color: var(--brand-dark) !important; }
.dj-article-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.dj-article-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}
.dj-article-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; overflow: hidden; flex: 1; }
.dj-article-tags .tags {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11.5px;
    color: var(--text-subtle) !important;
    background: var(--bg-alt);
    border-radius: 4px;
    transition: all .2s;
    white-space: nowrap;
}
.dj-article-tags .tags:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-softer);
}
.dj-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark) !important;
    white-space: nowrap;
    flex-shrink: 0;
}
.dj-read-more::after {
    content: '→';
    transition: transform .2s;
}
.dj-article-card:hover .dj-read-more::after { transform: translateX(3px); }

/* Top flag */
.log-topflg {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 8px;
}

/* =========================================================
   9. Empty State
   ========================================================= */
.dj-empty {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}
.dj-empty-icon {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 32px;
}
.dj-empty-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.dj-empty-desc { color: var(--text-muted); font-size: 14px; margin: 0 0 18px; }
.dj-empty .dj-btn { margin-top: 4px; }

/* =========================================================
   10. Sidebar Widgets (reskin emlog)
   ========================================================= */
.side-bar { display: flex; flex-direction: column; gap: 20px; }
.widget {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: none;
    transition: border-color .2s;
}
.widget:hover { border-color: var(--border); }
.widget.shadow-theme { box-shadow: none; }
.widget-title { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-soft); }
.widget-title h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-title h3::before {
    content: '';
    width: 3px; height: 14px;
    background: var(--brand);
    border-radius: 2px;
}
.widget-list li { padding: 8px 0; border-bottom: 1px dashed var(--border-soft); }
.widget-list li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--text) !important; font-size: 14px; }
.widget ul li a:hover { color: var(--brand-dark) !important; }

/* Blogger widget */
.bloggerinfo { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 0 8px; gap: 8px; }
.bloggerinfo-img {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-soft);
    padding: 0;
}
.bloginfo-name { font-size: 15px; font-weight: 700; }
.bloginfo-descript { font-size: 13px; color: var(--text-muted); }

/* Categories */
.log-classify-f li { padding: 6px 0; border: none; }
.log-classify-f li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all .15s;
}
.log-classify-f li a:hover { background: var(--brand-softer); color: var(--brand-dark) !important; }
.log-classify-c { margin-top: 4px; padding-left: 10px; }
.log-classify-c li a { font-size: 13px; color: var(--text-muted) !important; }

/* Tag cloud widget */
.tag-container { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.tag-container span { line-height: 1 !important; }
.tags-side, .tags {
    display: inline-block;
    padding: 4px 9px;
    font-size: 12.5px !important;
    color: var(--text-muted) !important;
    background: var(--bg-alt);
    border-radius: 6px;
    transition: all .2s;
    line-height: 1.4 !important;
}
.tags-side:hover, .tags:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-softer);
}

/* Newest posts / hot posts */
.blog-lates { padding: 10px 0; border-bottom: 1px dashed var(--border-soft); }
.blog-lates:last-child { border-bottom: 0; }
.blog-lates > a {
    font-size: 14px;
    color: var(--text) !important;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.blog-lates > a:hover { color: var(--brand-dark) !important; }
.side-cover-image {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.side-cover-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.85) 100%);
}
.side-title-container {
    position: absolute;
    left: 10px; right: 10px; bottom: 8px;
    z-index: 1;
}
.side-title-container a {
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Newest comments */
.comment-info {
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-soft);
}
.comment-info:last-child { border-bottom: 0; }
.comment-info > hr { display: none; }
.comment-info_img {
    grid-row: 1 / 3;
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.comm-lates-name { font-size: 12.5px; color: var(--brand-dark); font-weight: 600; }
.logcom-latest-time { font-size: 11px; color: var(--text-subtle); margin-left: 6px; }
.comment-info a {
    grid-column: 2;
    font-size: 13px;
    color: var(--text-muted) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Search */
.widget form input[type="search"],
.widget form .search {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    margin-bottom: 8px;
    transition: all .2s;
}
.widget form input[type="search"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(232, 93, 26, .15);
}
.widget form input[type="submit"] {
    width: 100%;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
}
.widget form input[type="submit"]:hover { background: var(--brand-dark); }

.archive {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

/* =========================================================
   11. Pagination
   ========================================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 32px 0 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted) !important;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all .18s;
}
.pagination a:hover {
    color: var(--brand-dark) !important;
    border-color: var(--brand);
    background: var(--brand-softer);
}
.pagination .current,
.pagination span.current {
    color: #fff !important;
    background: var(--brand);
    border-color: var(--brand);
}

/* =========================================================
   12. Article Detail Page
   ========================================================= */
.log-con.dj-post {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
}
.dj-post-header {
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-soft);
}
.dj-post-kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.log-title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.25;
    margin: 0 0 14px;
    color: var(--text);
}
.dj-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-subtle);
    align-items: center;
}
.dj-post-meta .dot { display: inline-block; width: 3px; height: 3px; background: currentColor; border-radius: 50%; opacity: .6; }
.dj-post-meta a { color: var(--text-muted) !important; font-weight: 500; }
.dj-post-meta a:hover { color: var(--brand-dark) !important; }
.dj-post-cover {
    margin: 0 -48px 32px;
    overflow: hidden;
}
.dj-post-cover img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.back-top,
.dj-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: var(--brand);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14), 0 8px 22px rgba(232, 93, 26, .16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    z-index: 80;
    appearance: none;
    -webkit-appearance: none;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}
.back-top:hover,
.dj-scroll-top:hover {
    color: var(--brand-dark);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18), 0 10px 26px rgba(232, 93, 26, .22);
}
.back-top:focus-visible,
.dj-scroll-top:focus-visible {
    outline: 3px solid rgba(232, 93, 26, .24);
    outline-offset: 4px;
}
.dj-scroll-top-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.dj-scroll-top-track,
.dj-scroll-top-progress {
    fill: none;
    stroke-width: 4;
}
.dj-scroll-top-track { stroke: rgba(232, 93, 26, .16); }
.dj-scroll-top-progress {
    stroke: currentColor;
    stroke-linecap: round;
    transition: stroke-dashoffset .08s linear;
}
.dj-scroll-top-icon {
    position: relative;
    width: 26px;
    height: 26px;
    color: currentColor;
}
.dj-scroll-top-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.back-top.mh { /* desktop keep fixed */ }

/* Markdown overrides inside post body */
.log-con .markdown { font-size: 16px; line-height: 1.85; color: var(--text); }
.log-con .markdown h1,
.log-con .markdown h2,
.log-con .markdown h3,
.log-con .markdown h4 { border-bottom: none !important; margin-top: 1.8em; }
.log-con .markdown h2 {
    position: relative;
    padding-left: 14px;
    border-left: 4px solid var(--brand);
    border-radius: 2px;
}
.log-con .markdown a {
    color: var(--brand-dark);
    text-decoration: underline;
    text-decoration-color: rgba(232, 93, 26, .35);
    text-underline-offset: 3px;
}
.log-con .markdown a:hover { text-decoration-color: var(--brand); }
.log-con .markdown blockquote {
    margin: 1.2em 0;
    padding: 14px 20px;
    background: var(--brand-softer);
    border-left: 4px solid var(--brand);
    border-radius: 0 12px 12px 0;
    color: var(--text-muted);
}
.log-con .markdown code {
    padding: 2px 6px;
    background: var(--bg-alt);
    border-radius: 4px;
    font-size: .9em;
    color: #be185d;
}
.log-con .markdown pre {
    padding: 18px 20px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.65;
}
.log-con .markdown pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; }
.log-con .markdown img { border-radius: 10px; margin: 1em 0; }
.log-con .markdown table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 14px;
}
.log-con .markdown th, .log-con .markdown td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}
.log-con .markdown th { background: var(--bg-alt); font-weight: 600; }

/* Prev/Next + Related */
.dj-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
}
.dj-post-nav a {
    display: block;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    transition: all .2s;
    color: var(--text) !important;
}
.dj-post-nav a:hover {
    border-color: var(--brand);
    background: var(--brand-softer);
    color: var(--brand-dark) !important;
    transform: translateY(-1px);
}
.dj-post-nav .tag { font-size: 11.5px; color: var(--text-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; display: block; }
.dj-post-nav .t { font-size: 14.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dj-post-nav .right { text-align: right; }

/* =========================================================
   13. Page (custom page)
   ========================================================= */
.page-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
}

/* =========================================================
   14. Comments
   ========================================================= */
.dj-comments { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border-soft); }
.dj-comments-title { font-size: 18px; font-weight: 700; margin-bottom: 18px; }

/* =========================================================
   15. Footer
   ========================================================= */
.blog-footer {
    background: var(--bg-muted);
    border-top: 1px solid var(--border-soft);
    padding: 40px 0;
    margin-top: 60px;
}
.footinfo {
    text-align: center;
    font-size: 13px;
    color: var(--text-subtle);
}
.footinfo a { color: var(--text-muted); }
.footinfo a:hover { color: var(--brand-dark); }
.footinfo .footer-social { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.footinfo a.footer-social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; padding: 0;
    border: 1px solid #e6e6e6; border-radius: 50%;
    background: #fff; color: #1a1a1a;
}
.footinfo a.footer-social-btn:hover { border-color: var(--brand-dark); color: var(--brand-dark); }
.footinfo a.footer-social-btn svg { display: block; width: 15px; height: 15px; }

/* =========================================================
   16. Utility classes (keep emlog compat)
   ========================================================= */
.shadow-theme { box-shadow: none; }
.rea-width { width: 100%; }
.bottom-5 { margin-bottom: 20px; }
.m-r-5 { margin-right: 8px; }
.m-r-10 { margin-right: 12px; }
.card-padding { padding: 20px; display: block; }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.info-row { padding: 12px 20px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text-subtle); display: flex; justify-content: space-between; align-items: center; }

/* =========================================================
   17. Slideshow (legacy)
   ========================================================= */
.slideshow-container { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.slideshow-text {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
    color: #fff;
    font-weight: 600;
}
.slideshow-prev, .slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(0,0,0,.4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background .2s;
}
.slideshow-prev { left: 16px; }
.slideshow-next { right: 16px; }
.slideshow-prev:hover, .slideshow-next:hover { background: var(--brand); }

/* =========================================================
   18. Responsive
   ========================================================= */
@media (max-width: 980px) {
    .row { flex-direction: column; }
    .column-small { width: 100%; }
    .dj-blog-featured { grid-template-columns: 1fr; }
    .dj-post-cover { margin-left: -24px; margin-right: -24px; }
    .log-con.dj-post { padding: 28px 24px; }
    .dj-post-cover { margin: 0 -24px 24px; }
}

@media (max-width: 720px) {
    .blog-header-subtitle { display: none; }
    .blog-header-toggle { display: flex; align-items: center; }
    .blog-header-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 8px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .blog-header-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list > li { width: 100%; }
    .nav-link { display: block; padding: 12px 16px; border-radius: 8px; }
    .dropdown-menus { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg-muted); margin-left: 14px; padding: 4px; }
    .dj-blog-hero { padding: 32px 0 24px; margin-bottom: 20px; }
    .dj-blog-hero h1 { font-size: clamp(24px, 7vw, 32px); }
    .dj-blog-hero p.dj-sub { font-size: 14px; padding: 0 8px; }
    .dj-chip-row { gap: 6px; }
    .dj-chip { padding: 6px 12px; font-size: 12.5px; }
    .dj-feature-card { padding: 22px; }
    .dj-feature-title { font-size: 19px; }
    .dj-article-card { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
    .dj-article-cover { aspect-ratio: 16 / 9; }
    .dj-article-title { font-size: 17px; }
    .dj-article-meta-top { gap: 8px; font-size: 11.5px; }
    .dj-post-nav { grid-template-columns: 1fr; }
    .dj-post-nav .right { text-align: left; }
    .log-con.dj-post { padding: 22px 18px; border-radius: 18px; }
    .dj-post-header { padding-bottom: 16px; margin-bottom: 20px; }
    .dj-post-cover { margin: 0 -18px 20px; }
    .dj-post-cover img { max-height: 320px; }
    .container { padding-left: 16px; padding-right: 16px; }
    .blog-container { padding-top: 20px; padding-bottom: 40px; }
    .blog-header-c { padding-left: 16px; padding-right: 16px; gap: 12px; }
    .row { gap: 24px; }
    .widget { padding: 16px 18px; }
    .pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 10px; font-size: 13px; }
    .dj-tagcloud-wrap { padding: 14px 16px; margin: 18px 0 20px; }
    .back-top,
    .dj-scroll-top { right: 14px; bottom: 14px; width: 50px; height: 50px; }
    .dj-scroll-top-icon { width: 24px; height: 24px; }
    /* TOC drawer moves inline on mobile */
    .dj-toc-wrap { position: static !important; max-height: none !important; margin-bottom: 24px; }
}

@media (max-width: 480px) {
    .blog-header-c { height: 56px; }
    .blog-header-nav { top: 56px; }
    .blog-header-title { font-size: 16px; }
    .blog-header-title img { height: 28px; }
    .dj-blog-hero { padding: 24px 0 18px; }
    .dj-blog-hero-kicker { font-size: 11px; padding: 4px 10px; }
    .dj-blog-hero h1 { margin-bottom: 10px; }
    .dj-feature-card { padding: 18px; border-radius: 16px; }
    .dj-feature-title { font-size: 17px; }
    .dj-article-card { padding: 14px; border-radius: 16px; }
    .dj-article-title { font-size: 16px; }
    .log-con.dj-post { padding: 18px 14px; }
    .dj-post-cover { margin: 0 -14px 16px; }
    .log-title { font-size: clamp(22px, 6.5vw, 28px); }
    .dj-post-meta { gap: 8px; font-size: 12px; }
    .log-con .markdown { font-size: 15px; }
    .log-con .markdown pre { padding: 14px 14px; font-size: 12.5px; margin-left: -14px; margin-right: -14px; border-radius: 0; }
    .widget { padding: 14px 16px; border-radius: 16px; }
}

/* =========================================================
   20. Sticky TOC (Table of Contents)
   ========================================================= */
.dj-toc-wrap {
    position: sticky;
    top: 80px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.dj-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.dj-toc-title::before {
    content: '';
    width: 3px; height: 14px;
    background: var(--brand);
    border-radius: 2px;
}
.dj-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--border-soft);
}
.dj-toc-list li { margin: 0; }
.dj-toc-list a {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-muted) !important;
    line-height: 1.5;
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: all .15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dj-toc-list a:hover { color: var(--brand-dark) !important; border-left-color: var(--brand-light); background: var(--brand-softer); }
.dj-toc-list a.active {
    color: var(--brand-dark) !important;
    font-weight: 600;
    border-left-color: var(--brand);
    background: var(--brand-softer);
}
.dj-toc-list .toc-h3 a { padding-left: 26px; font-size: 12.5px; }
.dj-toc-list .toc-h4 a { padding-left: 36px; font-size: 12px; opacity: .85; }

/* =========================================================
   20.5 Landing Page Template (用于 landing.php)
   ========================================================= */
.dj-landing {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    overflow: visible;
}
.dj-landing--flush-footer {
    padding-bottom: 48px;
}
.dj-landing--flush-footer .dj-landing-inner > .dj-c-bleed:last-child {
    padding-bottom: 48px;
    margin-bottom: -48px;
}
.dj-landing--flush-footer ~ .blog-footer {
    margin-top: 0;
}
.dj-landing .dj-landing-inner {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}
.dj-landing-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 20px;
    padding: 0;
    border: none;
    color: var(--text);
}
/* 在落地页里，去掉 markdown 默认的 h2 左侧绿边 */
.dj-landing .markdown > h2 {
    border-left: none;
    padding-left: 0;
    background: transparent;
}
.dj-landing .markdown > h2,
.dj-landing .markdown > h3 {
    /* 让原生 markdown 写的标题也跟组件体系和谐 */
    letter-spacing: -.015em;
}
@media (max-width: 720px) {
    .dj-landing { padding: 16px 14px 60px; }
    .dj-landing--flush-footer { padding-bottom: 36px; }
    .dj-landing--flush-footer .dj-landing-inner > .dj-c-bleed:last-child {
        padding-bottom: 36px;
        margin-bottom: -36px;
    }
}

/* =========================================================
   21. Article Rich Components (复制到文章源码模式里用)
   所有类都以 .dj-c- 开头，避免与主题其他 class 冲突。
   ========================================================= */

/* ---------- 21.1 Section Header：kicker + title + subtitle ---------- */
.dj-c-section-head {
    text-align: left;
    margin: 48px 0 24px;
}
.dj-c-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    background: var(--brand-softer);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.dj-c-section-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.3;
    color: var(--text);
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: none !important;
}
.dj-c-section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 20px;
    max-width: 720px;
}

/* ---------- 21.2 Hero Block（文章顶部大标题区） ---------- */
.dj-c-hero {
    padding: 36px 32px;
    margin: 0 -20px 32px;
    background: linear-gradient(135deg, var(--brand-softer) 0%, var(--bg) 80%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}
.dj-c-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(232, 93, 26, .22), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.dj-c-hero > * { position: relative; z-index: 1; }
.dj-c-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 8px;
}
.dj-c-hero h1, .dj-c-hero .dj-h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
}
.dj-c-hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 0 18px;
}
.dj-c-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.dj-c-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.dj-c-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dj-c-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: var(--brand);
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: var(--shadow-brand);
    transition: all .2s;
    border: none;
}
.dj-c-btn:hover { background: var(--brand-dark); color: #fff !important; transform: translateY(-1px); }
.dj-c-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text) !important;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none !important;
    transition: all .2s;
}
.dj-c-btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark) !important; background: var(--brand-softer); }

/* ---------- 21.3 Grid (2/3/4 列卡片) ---------- */
.dj-c-grid { display: grid; gap: 16px; margin: 20px 0; }
.dj-c-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dj-c-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dj-c-grid-4 { grid-template-columns: repeat(4, 1fr); }

.dj-c-card {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: all .2s;
    color: inherit !important;
    text-decoration: none !important;
    display: block;
}
.dj-c-card:hover {
    border-color: rgba(232, 93, 26, .35);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.dj-c-card-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .06em;
    margin-bottom: 6px;
}
.dj-c-card h3, .dj-c-card .dj-h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -.01em;
}
.dj-c-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.dj-c-card-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-dark);
    background: var(--brand-softer);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .05em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* ---------- 21.4 Capability List (01/02/03 大编号行) ---------- */
.dj-c-caplist { margin: 20px 0; display: flex; flex-direction: column; gap: 0; }
.dj-c-cap {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border-soft);
}
.dj-c-cap:last-child { border-bottom: 1px solid var(--border-soft); }
.dj-c-cap-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--brand-light);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.dj-c-cap-title {
    font-size: 18px !important;
    font-weight: 700;
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: none !important;
}
.dj-c-cap-desc { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- 21.5 Skill Tags Wall ---------- */
.dj-c-skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; padding: 0; list-style: none; }
.dj-c-skills li {
    padding: 7px 14px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-muted);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    transition: all .15s;
}
.dj-c-skills li:hover {
    color: var(--brand-dark);
    border-color: var(--brand);
    background: var(--brand-softer);
}
.dj-c-skills li::before {
    content: '#';
    color: var(--brand);
    font-weight: 700;
    margin-right: 3px;
}

/* ---------- 21.6 Pricing Cards ---------- */
.dj-c-pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 28px; }
.dj-c-pricing-3 { grid-template-columns: repeat(3, 1fr); }
.dj-c-price-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    transition: all .2s;
}
.dj-c-price-card.featured {
    border-color: var(--brand);
    box-shadow: 0 8px 24px rgba(232, 93, 26, .15);
}
.dj-c-price-badge {
    position: absolute;
    top: -10px;
    right: 18px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    letter-spacing: .05em;
}
.dj-c-price-name { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
.dj-c-price-val {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.02em;
    margin: 0 0 4px;
    line-height: 1.1;
}
.dj-c-price-val small { font-size: 14px; color: var(--text-subtle); font-weight: 500; }
.dj-c-price-desc { color: var(--text-muted); font-size: 13.5px; line-height: 1.65; margin: 6px 0 14px; }
.dj-c-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.dj-c-price-card .dj-c-btn {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
}
.dj-c-price-features li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.dj-c-price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

/* ---------- 21.7 Callout / Alert Box ---------- */
.dj-c-callout {
    margin: 20px 0;
    padding: 16px 20px 16px 46px;
    background: var(--brand-softer);
    border: 1px solid rgba(232, 93, 26, .3);
    border-left: 4px solid var(--brand);
    border-radius: 12px;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.7;
    position: relative;
}
.dj-c-callout::before {
    content: 'ℹ';
    position: absolute;
    left: 16px; top: 14px;
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
.dj-c-callout p:last-child { margin-bottom: 0; }
.dj-c-callout.warn { background: #fef3c7; border-color: #fcd34d; border-left-color: #E0A317; }
.dj-c-callout.warn::before { content: '!'; background: #E0A317; }
.dj-c-callout.danger { background: #fee2e2; border-color: #fca5a5; border-left-color: #ef4444; }
.dj-c-callout.danger::before { content: '!'; background: #ef4444; }
.dj-c-callout.tip { background: #dbeafe; border-color: #93c5fd; border-left-color: #3b82f6; }
.dj-c-callout.tip::before { content: '?'; background: #3b82f6; }

/* ---------- 21.8 Clean Table Wrapper ---------- */
.dj-c-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    margin: 20px 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.dj-c-table th, .dj-c-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.dj-c-table th {
    background: var(--bg-muted);
    font-weight: 700;
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.dj-c-table tr:last-child td { border-bottom: 0; }
.dj-c-table tr:hover td { background: var(--brand-softer); }
.dj-c-table .num { font-variant-numeric: tabular-nums; color: var(--brand-dark); font-weight: 600; }

/* ---------- 21.9 Two-column split ---------- */
.dj-c-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    margin: 28px 0;
}
.dj-c-split img { border-radius: 14px; width: 100%; }
.dj-c-split-media img { margin: 0; box-shadow: var(--shadow); }

/* ---------- 21.10 Inline Stat Row ---------- */
.dj-c-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
}
.dj-c-stat { text-align: center; }
.dj-c-stat-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.dj-c-stat-label { font-size: 13px; color: var(--text-muted); }

/* ---------- 21.11 CTA End Block ---------- */
.dj-c-cta-end {
    text-align: center;
    padding: 36px 28px;
    background: linear-gradient(135deg, var(--brand-softer), var(--brand-soft));
    border-radius: var(--radius-xl);
    margin: 40px 0 20px;
}
.dj-c-cta-end h3, .dj-c-cta-end .dj-h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: none !important;
}
.dj-c-cta-end p { color: var(--text-muted); margin: 0 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .dj-c-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .dj-c-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .dj-c-pricing, .dj-c-pricing-3 { grid-template-columns: 1fr; }
    .dj-c-split { grid-template-columns: 1fr; }
    .dj-c-hero { padding: 28px 24px; margin: 0 0 24px; }
}
@media (max-width: 640px) {
    .dj-c-grid-2, .dj-c-grid-3, .dj-c-grid-4 { grid-template-columns: 1fr; }
    .dj-c-cap { grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; }
    .dj-c-cap-num { font-size: 32px; }
    .dj-c-price-val { font-size: 30px; }
    .dj-c-hero { padding: 24px 18px; }
    .dj-c-stats { padding: 16px; }
}

/* Partner / B2B footer widget */
.dj-partner-strip {
    background: linear-gradient(135deg, var(--brand-softer), var(--bg));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    margin: 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.dj-partner-strip-text { flex: 1; min-width: 220px; }
.dj-partner-strip .t { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.dj-partner-strip .s { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.dj-partner-strip a.dj-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark) !important;
    background: var(--bg);
    border: 1px solid var(--brand);
    border-radius: 999px;
    transition: all .2s;
    white-space: nowrap;
}
.dj-partner-strip a.dj-btn-outline:hover { background: var(--brand); color: #fff !important; }

/* =========================================================
   19. Animations
   ========================================================= */
@keyframes djFadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.dj-article-card, .dj-feature-card { animation: djFadeInUp .4s ease both; }
.dj-article-card:nth-child(2) { animation-delay: .05s; }
.dj-article-card:nth-child(3) { animation-delay: .1s; }
.dj-article-card:nth-child(4) { animation-delay: .15s; }
.dj-article-card:nth-child(5) { animation-delay: .2s; }
.dj-article-card:nth-child(n+6) { animation-delay: .25s; }

/* =========================================================
   22. Landing Page V2 Components (getgpt.pro/codex 风格 1:1)
   深浅交替 section + full-bleed + hover 动效
   使用时文章里包裹 `.dj-c-bleed` 可突破 .dj-landing 960-1120px 容器
   ========================================================= */

/* ---------- 22.0 Full-bleed 容器（突破 .dj-landing 约束占满视口宽） ---------- */
.dj-c-bleed {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    padding: 80px 24px;
    overflow: hidden;
}
/* 首尾 bleed 自动抵消 .dj-landing 外边距 */
.dj-landing-inner > .dj-c-bleed:first-child { margin-top: -24px; }
.dj-landing-inner > .dj-c-bleed:last-child { margin-bottom: -80px; }
.dj-c-bleed.light { background: #f8fafc; }
.dj-c-bleed.dark {
    background: #0a0e14;
    color: #e5e7eb;
}
.dj-c-bleed.dark::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    width: 900px; height: 600px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(232, 93, 26, .18), transparent 60%),
        radial-gradient(ellipse 55% 45% at 70% 60%, rgba(255, 142, 72, .10), transparent 60%);
    filter: blur(20px);
    pointer-events: none;
}
.dj-c-bleed-inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    z-index: 1;
}
@media (max-width: 720px) {
    .dj-c-bleed { padding: 56px 18px; }
}

/* ---------- 22.1 Hero V2 (深色渐变 + 大标题) ---------- */
.dj-c-hero-v2 {
    position: relative;
    text-align: left;
}
.dj-c-hero-v2 .dj-c-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #FF8E48;
    background: rgba(255, 142, 72, .08);
    border: 1px solid rgba(255, 142, 72, .3);
    border-radius: 999px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.dj-c-hero-v2 .dj-c-hero-kicker::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: #FF8E48;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 142, 72, .8);
}
.dj-c-hero-v2 h1 {
    font-size: clamp(36px, 5.5vw, 68px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: -.03em !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
    max-width: 900px;
}
.dj-c-hero-v2 h1 .dj-c-grad {
    background: linear-gradient(90deg, #FF8E48 0%, #FFD0A8 50%, #FFE6CC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.dj-c-hero-v2 p.dj-c-hero-lead {
    font-size: 17px;
    line-height: 1.75;
    color: #9ca3af;
    max-width: 720px;
    margin: 0 0 28px;
}
.dj-c-hero-v2 .dj-c-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
/* 兼容写法：同时支持 <span> 子元素 与 .dj-c-badge 显式 class
   （TinyMCE 会吃掉无 class 的 span，所以推荐每个 pill 加 .dj-c-badge） */
.dj-c-hero-v2 .dj-c-hero-badges span,
.dj-c-hero-v2 .dj-c-hero-badges .dj-c-badge,
.dj-c-bleed.dark .dj-c-badge {
    display: inline-block !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #cbd5e1 !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    margin: 0 !important;
}
/* 浅色背景下的 badge */
.dj-c-bleed.light .dj-c-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    line-height: 1.4;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}
.dj-c-hero-v2 .dj-c-cta-row { margin-bottom: 0; }
/* 全局可用按钮样式（不再仅限 hero） */
.dj-c-btn-grad {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #0a1b12 !important;
    background: linear-gradient(90deg, #FF8E48, #E85D1A) !important;
    border: none !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(232, 93, 26, .4);
    transition: all .2s;
}
.dj-c-btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 93, 26, .55);
    color: #0a1b12 !important;
}
.dj-c-hero-v2 .dj-c-btn-grad::after {
    content: '↓';
    font-weight: 700;
}
.dj-c-btn-dark-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #e5e7eb !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all .2s;
}
.dj-c-btn-dark-ghost:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.3) !important;
    transform: translateY(-2px);
    color: #e5e7eb !important;
}
/* 浅色背景下用 light-ghost 按钮 */
.dj-c-btn-light-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all .2s;
}
.dj-c-btn-light-ghost:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px);
    color: #0f172a !important;
}

/* ---------- 22.2 Section Head V2 (深/浅皆可) ---------- */
.dj-c-bleed .dj-c-section-head {
    text-align: center;
    margin: 0 0 48px;
}
.dj-c-bleed.dark .dj-c-kicker {
    color: #FFC79A;
    background: rgba(110,231,183,.08);
    border: 1px solid rgba(110,231,183,.2);
}
.dj-c-bleed.dark .dj-c-section-title,
.dj-c-bleed.dark h2 {
    color: #fff !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.dj-c-bleed.dark .dj-c-section-sub,
.dj-c-bleed.dark p.lead {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto;
}
.dj-c-bleed.light .dj-c-section-title,
.dj-c-bleed.light h2 {
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.dj-c-bleed.light .dj-c-section-sub,
.dj-c-bleed.light p.lead {
    font-size: 16px;
    line-height: 1.75;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- 22.3 Feature Grid (深色，带彩色图标) ---------- */
.dj-c-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.dj-c-feature {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 32px 28px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.dj-c-feature:hover {
    background: rgba(255,255,255,.04);
    border-color: rgba(110,231,183,.3);
    transform: translateY(-4px);
}
.dj-c-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(110,231,183,.06), transparent 50%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.dj-c-feature:hover::before { opacity: 1; }
.dj-c-feature-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.dj-c-feature-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
    flex-shrink: 0;
}
.dj-c-feature-icon.green { background: rgba(232, 93, 26, .15); color: #FFC79A; }
.dj-c-feature-icon.blue { background: rgba(59,130,246,.15); color: #93c5fd; }
.dj-c-feature-icon.purple { background: rgba(147,51,234,.15); color: #c4b5fd; }
.dj-c-feature-icon.orange { background: rgba(249,115,22,.15); color: #fdba74; }
.dj-c-feature-title-wrap { display: flex; flex-direction: column; gap: 2px; }
.dj-c-feature h3 {
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -.01em;
}
.dj-c-feature-tag {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}
.dj-c-feature p {
    color: #9ca3af;
    font-size: 14.5px;
    line-height: 1.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ---------- 22.4 NumCard Grid (浅色，带大水印数字 + hover) ---------- */
.dj-c-numcard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.dj-c-numcard {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    overflow: hidden;
    transition: all .3s;
    isolation: isolate;
}
.dj-c-numcard::before {
    content: attr(data-num);
    position: absolute;
    top: 12px; right: 18px;
    font-size: 72px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    letter-spacing: -.04em;
    z-index: -1;
    transition: all .3s;
}
.dj-c-numcard:hover {
    border-color: #E85D1A;
    box-shadow: 0 12px 32px -8px rgba(232, 93, 26, .25);
    transform: translateY(-4px);
}
.dj-c-numcard:hover::before {
    color: rgba(232, 93, 26, .15);
    transform: scale(1.1);
}
.dj-c-numcard h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -.01em;
    position: relative;
}
.dj-c-numcard p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    position: relative;
}

/* ---------- 22.5 Checklist Wrap (浅色，2 列勾选) ---------- */
.dj-c-checklist-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px -4px rgba(15,23,42,.04);
}
.dj-c-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.dj-c-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.dj-c-checklist li::before {
    content: '✓';
    flex-shrink: 0;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 26, .12);
    color: #E85D1A;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    margin-top: 2px;
}
.dj-c-checklist li strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.dj-c-checklist li span {
    display: block;
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
}
.dj-c-checklist-note {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
}

/* ---------- 22.6 Pricing V2 (2 卡 + 推荐右上角徽章 + 大图标) ---------- */
.dj-c-pricing-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.dj-c-pricing-v2-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 30px;
    transition: all .3s;
    overflow: hidden;
}
.dj-c-pricing-v2-card.featured {
    border-color: #E85D1A;
    border-width: 2px;
}
.dj-c-pricing-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -8px rgba(15,23,42,.1);
}
.dj-c-pricing-v2-card .dj-c-corner-badge {
    position: absolute;
    top: 0; right: 0;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #E85D1A, #FF8E48);
    border-radius: 0 18px 0 12px;
    letter-spacing: .05em;
}
.dj-c-pricing-v2-card .dj-c-pv-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.dj-c-pricing-v2-card .dj-c-pv-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E85D1A, #FF8E48);
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}
.dj-c-pricing-v2-card.alt .dj-c-pv-icon {
    background: linear-gradient(135deg, #64748b, #94a3b8);
}
.dj-c-pricing-v2-card .dj-c-pv-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.dj-c-pricing-v2-card .dj-c-pv-name {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.dj-c-pricing-v2-card .dj-c-pv-meta {
    font-size: 13px;
    color: #64748b;
}
.dj-c-pricing-v2-card .dj-c-pv-meta strong { color: #E85D1A; font-weight: 700; }
.dj-c-pricing-v2-card p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 20px;
}
.dj-c-pricing-v2-card .dj-c-btn {
    display: block;
    text-align: center;
    justify-content: center;
    width: 100%;
}

/* ---------- 22.7 Quota Grid (深色，2-3 卡详细额度) ---------- */
.dj-c-quota-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.dj-c-quota-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1180px;
    gap: 20px;
}
.dj-c-quota-grid-3 .dj-c-quota-card { padding: 28px 22px; }
.dj-c-quota-grid-3 .dj-c-quota-name h3 { font-size: 18px !important; }
.dj-c-quota-grid-3 .dj-c-quota-row-label { font-size: 12.5px; }
.dj-c-quota-grid-3 .dj-c-quota-row-val { font-size: 13px; white-space: nowrap; }
.dj-c-quota-grid-3 .dj-c-quota-model-name { font-size: 12px; }
.dj-c-quota-grid-3 .dj-c-quota-price { font-size: 12.5px; margin-left: 0; padding-left: 48px; }
.dj-c-quota-grid-3 .dj-c-quota-name-icon { font-size: 14px; font-weight: 700; }
.dj-c-quota-card {
    position: relative;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 32px 28px;
    transition: all .2s;
}
.dj-c-quota-card.featured {
    border-color: rgba(110,231,183,.3);
    background: linear-gradient(180deg, rgba(232, 93, 26, .06), rgba(255,255,255,.02));
}
.dj-c-quota-card:hover {
    transform: translateY(-3px);
    border-color: rgba(110,231,183,.25);
}
.dj-c-quota-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.dj-c-quota-name {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dj-c-quota-name-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 17px;
    background: rgba(232, 93, 26, .15);
    color: #FFC79A;
}
.dj-c-quota-card.alt .dj-c-quota-name-icon { background: rgba(100,116,139,.2); color: #cbd5e1; }
.dj-c-quota-name h3 {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2;
}
.dj-c-quota-price {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    margin: 2px 0 0 48px;
}
.dj-c-quota-tag {
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #FFC79A;
    background: rgba(110,231,183,.1);
    border: 1px solid rgba(110,231,183,.25);
    border-radius: 999px;
    letter-spacing: .03em;
    white-space: nowrap;
}
.dj-c-quota-card.alt .dj-c-quota-tag {
    color: #cbd5e1;
    background: rgba(203,213,225,.08);
    border-color: rgba(203,213,225,.2);
}
.dj-c-quota-model {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.dj-c-quota-model:first-of-type {
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
}
.dj-c-quota-model-name {
    font-size: 13px;
    font-weight: 700;
    color: #FFC79A;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.dj-c-quota-card.alt .dj-c-quota-model-name { color: #cbd5e1; }
.dj-c-quota-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.dj-c-quota-row-label { color: #9ca3af; }
.dj-c-quota-row-val {
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.dj-c-quota-footer {
    margin-top: 20px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: #9ca3af;
    line-height: 1.65;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
}

/* ---------- 22.8 Quota Notice (深色 info box) ---------- */
.dj-c-notice-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13.5px;
    color: #fbbf24;
    background: rgba(251,191,36,.08);
    border: 1px solid rgba(251,191,36,.25);
    border-radius: 999px;
    margin: 0 0 32px;
}
.dj-c-notice-dark::before { content: 'ⓘ'; font-weight: 700; }

/* ---------- 22.9 Extra Info Cards (额度说明小卡 3 列) ---------- */
.dj-c-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.dj-c-info-card {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 22px 20px;
}
.dj-c-info-card .dj-c-info-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    color: #FFC79A;
    border-radius: 9px;
    font-size: 16px;
    margin-bottom: 14px;
}
.dj-c-info-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: none !important;
}
.dj-c-info-card p {
    font-size: 13.5px;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0;
}

/* ---------- 22.9b FAQ 折叠（浅色，纯 CSS / details summary） ---------- */
.dj-c-faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dj-c-faq {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all .2s;
    overflow: hidden;
}
.dj-c-faq:hover {
    border-color: #E85D1A;
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
}
.dj-c-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color .2s;
}
.dj-c-faq summary::-webkit-details-marker { display: none; }
.dj-c-faq summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1;
    transition: transform .25s, color .2s;
    flex-shrink: 0;
}
.dj-c-faq[open] summary::after {
    content: '\2212';
    color: #E85D1A;
    transform: rotate(0deg);
}
.dj-c-faq[open] summary { color: #E85D1A; }
.dj-c-faq-body {
    padding: 0 28px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}
.dj-c-faq-body p { margin: 0 0 10px; }
.dj-c-faq-body p:last-child { margin: 0; }

/* ---------- 22.10 Final CTA (深色 + 统计栏) ---------- */
.dj-c-cta-final {
    text-align: center;
    padding: 24px 0 0;
}
.dj-c-cta-final h2 {
    color: #fff !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.dj-c-cta-final p {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 32px;
}
.dj-c-cta-final .dj-c-cta-row {
    justify-content: center;
    margin-bottom: 48px;
}
/* V2 stats — 重置 V1 的浅色卡片背景，保证深色 CTA 区里是透明 */
.dj-c-cta-final .dj-c-stats,
.dj-c-bleed.dark .dj-c-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 32px 0 0 !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 0 !important;
}
.dj-c-stat .dj-c-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #FFC79A;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.dj-c-stat .dj-c-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.dj-c-stat .dj-c-stat-value small { font-size: 14px; font-weight: 500; color: #cbd5e1; }

/* ---------- 22.11 响应式 ---------- */
@media (max-width: 980px) {
    .dj-c-feature-grid,
    .dj-c-numcard-grid { grid-template-columns: repeat(2, 1fr); }
    .dj-c-numcard::before { font-size: 56px; }
    .dj-c-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .dj-c-info-grid { grid-template-columns: 1fr; }
    .dj-c-quota-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .dj-c-feature-grid,
    .dj-c-numcard-grid,
    .dj-c-pricing-v2,
    .dj-c-quota-grid,
    .dj-c-quota-grid-3 { grid-template-columns: 1fr; }
    .dj-c-checklist { grid-template-columns: 1fr; gap: 20px; }
    .dj-c-checklist-wrap { padding: 28px 22px; }
    .dj-c-feature, .dj-c-numcard, .dj-c-quota-card, .dj-c-pricing-v2-card { padding: 24px 20px; }
    .dj-c-numcard::before { font-size: 48px; top: 8px; right: 14px; }
    .dj-c-hero-v2 h1 { font-size: clamp(30px, 8vw, 42px) !important; }
    .dj-c-hero-v2 .dj-c-btn-grad,
    .dj-c-hero-v2 .dj-c-btn-dark-ghost,
    .dj-c-cta-final .dj-c-btn-grad,
    .dj-c-cta-final .dj-c-btn-dark-ghost { width: 100%; justify-content: center; }
    .dj-c-faq summary { font-size: 15px !important; padding: 18px 22px !important; }
    .dj-c-faq[open] .dj-c-faq-body { padding: 0 22px 18px !important; font-size: 14px !important; }
}
