:root {
    --sketch-bg: #f9f6f2;
    --sketch-paper: #fdfaf7;
    --sketch-ink: #3d3935;
    --sketch-ink-muted: #7b736d;
    --sketch-accent: #f28a36;
    --sketch-accent-hover: #dd762b;
    --sketch-accent-soft: #fff1e4;
    --sketch-card-bg: #ffffff;
    --sketch-border: 2px solid var(--sketch-ink);
    --sketch-line-soft: rgba(61, 57, 53, 0.16);
    --sketch-shadow: 10px 10px 0 rgba(61, 57, 53, 0.14);
    --sketch-shadow-sm: 5px 5px 0 rgba(61, 57, 53, 0.12);
    --sketch-radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--sketch-bg);
    color: var(--sketch-ink);
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 246, 242, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 2px dashed rgba(61, 57, 53, 0.24);
    box-shadow: 0 8px 0 rgba(61, 57, 53, 0.05);
}

.site-header::after {
    display: none;
}

.header-container {
    width: min(1504px, calc(100% - 100px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-container {
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.side-navigation { display: none; }

.noise-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(rgba(61, 57, 53, 0.18) 1px, transparent 1px);
    background-size: 8px 8px;
    z-index: 0;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 56px;
}

.site-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 0 rgba(61, 57, 53, 0.1));
}

.site-brand span {
    font-size: 22px;
    font-weight: 900;
    color: var(--sketch-ink);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.site-nav a {
    color: var(--sketch-ink);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    z-index: 1;
    padding: 8px 11px 10px;
    border: 0;
    transition: color 0.2s, transform 0.2s;
    letter-spacing: 0;
    border-radius: 12px 18px 10px 16px;
}

.site-nav a:hover {
    color: var(--sketch-ink);
    transform: translateY(-1px) rotate(-0.5deg);
}

.site-nav a::before {
    display: none;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 9px;
    right: 8px;
    bottom: 5px;
    z-index: -1;
    height: 5px;
    background: rgba(242, 138, 54, 0.52);
    border-radius: 100% 18% 100% 22% / 24% 100% 28% 100%;
    transform: rotate(-1.5deg) scaleX(0.72);
    transform-origin: left center;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    opacity: 1;
    transform: rotate(-1.5deg) scaleX(1);
}

.site-nav a.active {
    color: var(--sketch-accent-hover);
    transform: translateY(-1px);
}

.site-nav a.active::before {
    display: none;
}

.language-switch {
    display: flex;
    border: 2px solid var(--sketch-ink);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    padding: 2px;
}

.language-switch a {
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--sketch-ink);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.language-switch a.active {
    background: var(--sketch-ink);
    color: #fff;
}
.header-scan-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 7px 16px 8px;
    border: 2px solid var(--sketch-ink);
    border-radius: 10px 15px 11px 14px / 12px 10px 15px 11px;
    background: #fff;
    color: var(--sketch-ink);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 3px 4px 0 var(--sketch-ink);
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.header-scan-btn:hover {
    background: var(--sketch-accent-soft);
    transform: translate(-1px, -1px) rotate(-0.5deg);
    box-shadow: 4px 5px 0 var(--sketch-ink);
}

.header-scan-btn:active {
    transform: translate(2px, 3px);
    box-shadow: 1px 1px 0 var(--sketch-ink);
}

.header-scan-btn svg {
    width: 20px;
    height: 20px;
}

.qr-trigger,
.secondary-link,
.mobile-qr-button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.qr-trigger {
    position: relative;
    padding: 10px 20px 11px;
    color: #fff;
    background: var(--sketch-accent);
    border: var(--sketch-border);
    border-width: 3px;
    border-radius: 12px 18px 13px 16px / 14px 12px 18px 13px;
    box-shadow: 5px 6px 0 var(--sketch-ink);
    font-weight: 800;
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

.qr-trigger:hover {
    background: var(--sketch-accent-hover);
    transform: translate(-2px, -2px) rotate(-0.5deg);
    box-shadow: 7px 8px 0 var(--sketch-ink);
}

.qr-trigger:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--sketch-ink);
}

.hero-section,
.page-hero,
.section-block,
.category-strip,
.conversion-band,
.article-layout,
.site-footer {
    width: min(1504px, calc(100% - 80px));
    margin: 0 auto;
}

/* 首页样式放在 public/static/site/css/home.css，公共文件只保留全站样式。 */

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    position: relative;
    border: var(--sketch-border);
    border-width: 3px;
    border-radius: 12px 18px 13px 16px / 14px 12px 18px 13px;
    box-shadow: 5px 6px 0 var(--sketch-ink);
    font-weight: 800;
    color: #fff;
    background: var(--sketch-accent);
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

.primary-link:hover {
    background: var(--sketch-accent-hover);
    transform: translate(-2px, -2px) rotate(-0.5deg);
    box-shadow: 7px 8px 0 var(--sketch-ink);
}

.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    position: relative;
    border: var(--sketch-border);
    border-width: 3px;
    border-radius: 12px 18px 13px 16px / 14px 12px 18px 13px;
    box-shadow: 5px 6px 0 var(--sketch-ink);
    font-weight: 800;
    color: var(--sketch-ink);
    background: #fff;
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

.secondary-link:hover {
    background: var(--sketch-accent-soft);
    transform: translate(-2px, -2px) rotate(-0.5deg);
    box-shadow: 7px 8px 0 var(--sketch-ink);
}

.primary-link:active,
.secondary-link:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--sketch-ink);
}

.hero-qr,
.qr-card {
    padding: 24px;
    background: #fff;
    border: var(--sketch-border);
    border-radius: var(--sketch-radius);
    box-shadow: var(--sketch-shadow);
}

.hero-qr img,
.qr-card img,
.conversion-band img,
.qr-float img,
.qr-modal-panel img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto;
}

.hero-qr p,
.qr-card p {
    margin: 14px 0 0;
    color: #5b667a;
    text-align: center;
}

.section-block {
    padding: 36px 0;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2,
.conversion-band h2,
.related-section h2,
.faq-section h2,
.direct-answer h2 {
    margin: 6px 0 0;
    color: #111827;
    font-size: 26px;
    line-height: 1.25;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.section-heading-row a {
    color: var(--sketch-accent);
    font-weight: 700;
}

.feature-grid,
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.topic-card,
.case-card,
.topic-row,
.empty-state {
    background: var(--sketch-card-bg);
    border: var(--sketch-border);
    border-radius: var(--sketch-radius);
    transition: transform 0.2s;
}

.feature-card:hover,
.topic-card:hover,
.case-card:hover {
    transform: translateY(-4px) rotate(0.5deg);
}

.feature-card,
.topic-card {
    padding: 22px;
}

.case-card {
    overflow: hidden;
}

.case-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef2f7;
}

.case-card div {
    padding: 16px 18px 18px;
}

.case-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.case-card p {
    margin: 0;
    color: #5b667a;
}

.topic-card-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
    object-fit: cover;
    background: #eef2f7;
    border-radius: 6px;
}

.feature-card h3,
.topic-card h3 {
    margin: 8px 0 10px;
    color: #111827;
    font-size: 20px;
    line-height: 1.3;
}

.feature-card p,
.topic-card p {
    margin: 0;
    color: #5b667a;
}

.topic-card time {
    display: block;
    margin-top: 14px;
    color: #7b8496;
    font-size: 13px;
}

.topic-list {
    display: grid;
    gap: 12px;
}

.reading-grid,
.reading-columns {
    display: grid;
    gap: 18px;
}

.reading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reading-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reading-columns h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 20px;
    line-height: 1.3;
}

.topic-row {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
}

.topic-row strong {
    color: #111827;
}

.topic-row span {
    color: #5b667a;
}

.page-hero {
    padding: 58px 0 24px;
}

.page-hero h1 {
    font-size: 38px;
}

.page-hero.compact {
    padding-bottom: 12px;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0 22px;
}

.category-strip a {
    padding: 8px 14px;
    color: #445066;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 999px;
}

.category-strip a.active {
    color: #fff;
    background: var(--sketch-accent);
    border-color: var(--sketch-ink);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    display: grid;
    gap: 8px;
    min-height: 108px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 8px;
}

.category-card strong {
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.category-card span {
    align-self: end;
    color: #6b7486;
    font-size: 14px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 6px;
}

.pagination-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pagination span.active {
    color: #fff;
    background: var(--sketch-accent);
    border-color: var(--sketch-ink);
}

.pagination span.gap {
    color: #7b8496;
    background: transparent;
    border-color: transparent;
}

.conversion-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    margin-bottom: 54px;
    padding: 26px;
    color: #fff;
    background: #162238;
    border-radius: 8px;
}

.conversion-band p {
    margin: 8px 0 0;
    color: #d5dbea;
}

.conversion-band img {
    width: 132px;
    height: 132px;
    background: #fff;
    border-radius: 6px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 280px;
    gap: 42px;
    padding: 42px 0 60px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #6b7486;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--sketch-accent);
}

.article-header {
    margin-bottom: 24px;
}

.article-cover {
    margin: 0 0 28px;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #eef2f7;
    border-radius: 8px;
}

.article-header h1 {
    font-size: 40px;
}

.article-header time {
    display: block;
    margin-top: 12px;
    color: #7b8496;
}

.direct-answer,
.faq-section,
.related-section {
    margin: 28px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 8px;
}

.direct-answer p {
    margin: 12px 0 0;
    color: #364257;
    font-size: 17px;
}

.article-content {
    color: #273246;
    font-size: 17px;
}

.article-content h2,
.article-content h3 {
    margin-top: 32px;
    color: #111827;
    line-height: 1.3;
}

.article-content p {
    margin: 14px 0;
}

.article-content img {
    height: auto;
    border-radius: 8px;
}

.faq-section details {
    padding: 14px 0;
    border-top: 1px solid #e5e8ef;
}

.faq-section summary {
    cursor: pointer;
    color: #111827;
    font-weight: 700;
}

.faq-section p {
    margin: 10px 0 0;
    color: #5b667a;
}

.topic-grid.small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-aside {
    position: relative;
}

.qr-card {
    position: sticky;
    top: 88px;
}

.qr-card h2 {
    margin: 14px 0 0;
    text-align: center;
    font-size: 20px;
}

.aside-topic-box {
    margin-top: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 8px;
}

.aside-topic-box h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 18px;
    line-height: 1.3;
}

.aside-topic-list {
    display: grid;
    gap: 10px;
}

.aside-topic-list a {
    color: #364257;
    font-size: 14px;
    line-height: 1.45;
}

.empty-state {
    padding: 28px;
    color: #5b667a;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 54px;
    margin-bottom: 42px;
    padding: 24px 28px;
    color: var(--sketch-ink-muted);
    background: rgba(255, 255, 255, 0.56);
    border: 3px solid rgba(61, 57, 53, 0.42);
    border-radius: 18px 26px 16px 24px / 16px 20px 22px 18px;
    box-shadow: 8px 9px 0 rgba(61, 57, 53, 0.11);
    transform: rotate(-0.2deg);
}

.site-footer p {
    margin: 4px 0 0;
}

.site-footer a {
    color: var(--sketch-ink);
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    transform: rotate(0.2deg);
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-brand strong {
    color: var(--sketch-ink);
    font-size: 18px;
    font-weight: 900;
}

.footer-links a {
    position: relative;
    padding: 8px 15px;
    background: #fff;
    border: 2px solid rgba(61, 57, 53, 0.42);
    border-radius: 12px 18px 13px 16px / 14px 12px 18px 13px;
    box-shadow: 3px 4px 0 rgba(61, 57, 53, 0.14);
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--sketch-ink);
    border-color: var(--sketch-ink);
    background: var(--sketch-accent-soft);
    transform: translate(-2px, -2px) rotate(-0.5deg);
    box-shadow: 5px 6px 0 rgba(61, 57, 53, 0.2);
}

.floating-actions {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
}

.float-btn {
    width: 58px;
    height: 58px;
    border: 3px solid var(--sketch-ink);
    border-radius: 18px 24px 20px 22px / 22px 18px 24px 19px;
    background: var(--sketch-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 5px 6px 0 var(--sketch-ink);
    transition: all 0.2s;
    position: relative;
}

.float-btn:hover {
    transform: translate(-2px, -3px) rotate(-1deg);
    background: var(--sketch-accent-hover);
    color: #fff;
    box-shadow: 7px 8px 0 var(--sketch-ink);
}

.qr-popup {
    position: absolute;
    right: 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 198px;
    padding: 13px 13px 11px;
    background: #fff;
    border: 3px solid var(--sketch-ink);
    border-radius: 18px 24px 16px 22px / 21px 16px 24px 18px;
    box-shadow: 7px 8px 0 rgba(61, 57, 53, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    text-align: center;
    z-index: 100;
}

.qr-popup::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 18px;
    bottom: 18px;
    width: 4px;
    background: var(--sketch-accent);
    border-radius: 999px;
    pointer-events: none;
}

/* 悬浮按钮中的弹出位置：向上弹出 */
.floating-actions .qr-popup {
    bottom: 64px;
    transform: translate(6px, 8px) rotate(-1deg);
}

/* Header 按钮中的弹出位置：向下弹出 */
.header-scan-btn .qr-popup {
    top: 46px;
    transform: translateY(-8px) rotate(1deg);
}

.float-btn:hover .qr-popup,
.float-btn:focus-within .qr-popup,
.header-scan-btn:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) rotate(-1deg);
}

.qr-popup img {
    width: 142px;
    height: 142px;
    margin: 0;
    padding: 7px;
    background: #fff;
    border: 2px solid rgba(61, 57, 53, 0.2);
    border-radius: 14px 18px 13px 16px / 16px 13px 18px 14px;
    object-fit: contain;
}

.qr-popup p {
    position: relative;
    font-size: 13px;
    line-height: 1.35;
    color: var(--sketch-ink);
    font-weight: 900;
    margin: 0;
    z-index: 1;
}

.qr-popup p::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 6px;
    background: rgba(242, 138, 54, 0.18);
    border-radius: 999px 55% 999px 45%;
    transform: rotate(-1deg);
    z-index: -1;
}

.float-btn svg, .float-btn i {
    width: 24px;
    height: 24px;
}

.float-btn.lang-btn {
    font-size: 14px;
    font-weight: 900;
}

.float-btn > img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.qr-float, .mobile-qr-button {
    display: none !important;
}

.qr-modal[hidden] {
    display: none;
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
}

/* 原创磨砂艺术弹窗样式 */
.qr-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.qr-modal-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, 90vw);
    /* 核心磨砂质感 */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    /* 有机手绘边框：不规则圆角模拟手绘感 */
    border: 3px solid var(--sketch-ink);
    border-radius: 25px 120px 30px 95px / 35px 25px 115px 45px;

    padding: 50px 40px 40px;
    z-index: 1001;
    box-shadow: 15px 15px 0 rgba(61, 57, 53, 0.15);
    text-align: center;
}

/* 装饰性手绘胶带效果 */
.qr-modal-panel::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 120px;
    height: 35px;
    background: rgba(255, 157, 118, 0.4); /* 肤色/半透明胶带 */
    border: 1px solid rgba(61, 57, 53, 0.1);
    backdrop-filter: blur(2px);
}

.qr-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--sketch-ink);
    line-height: 1;
    transition: transform 0.2s;
}

.qr-modal-close:hover {
    transform: rotate(90deg) scale(1.2);
}

.modal-qr-container {
    position: relative;
    display: inline-block;
    margin: 30px 0 20px;
    transition: transform 0.3s;
}

.modal-qr-container img {
    width: 240px; /* 稍微放大，作为中心 */
    height: 240px;
    border: 3px solid var(--sketch-ink);
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 12px 12px 0 rgba(61, 57, 53, 0.1);
}

/* 模拟扫描对焦框 */
.modal-qr-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--sketch-accent);
    border-radius: 20px;
    opacity: 0.3;
    pointer-events: none;
    background: linear-gradient(var(--sketch-accent), var(--sketch-accent)) 0 0/2px 20px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 0 0/20px 2px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 100% 0/2px 20px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 100% 0/20px 2px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 0 100%/2px 20px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 0 100%/20px 2px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 100% 100%/2px 20px,
                linear-gradient(var(--sketch-accent), var(--sketch-accent)) 100% 100%/20px 2px;
    background-repeat: no-repeat;
}

.modal-content-area {
    margin-bottom: 10px;
}

.modal-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--sketch-ink);
}

.modal-scan-hint {
    font-size: 16px;
    font-weight: 700;
    color: var(--sketch-ink);
    margin-top: 15px;
}

.modal-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(61, 57, 53, 0.6);
}


/* --- Professional Site Footer - Fully De-boxed --- */
.site-footer {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 80px 0 40px;
    margin-top: 80px;
    border-top: 1px solid rgba(61, 57, 53, 0.1) !important;
}

.footer-container {
    width: min(1504px, calc(100% - 96px));
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-col-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 42px;
    height: 42px;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 900;
    color: var(--sketch-ink);
}

.footer-about {
    font-size: 14px;
    color: var(--sketch-ink-muted);
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 900;
    color: var(--sketch-ink);
    margin: 0 0 25px;
    position: relative;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--sketch-ink-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--sketch-accent);
}

.footer-contact {
    font-size: 14px;
    color: var(--sketch-ink-muted);
    margin-bottom: 12px;
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(61, 57, 53, 0.06);
}

.copyright {
    font-size: 13px;
    color: var(--sketch-ink-muted);
    opacity: 0.8;
}

.beian a {
    font-size: 13px;
    color: var(--sketch-ink-muted);
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0.8;
}

.beian a:hover {
    color: var(--sketch-accent);
    opacity: 1;
}

@media (max-width: 1024px) {
    .header-container {
        width: min(100%, calc(100% - 40px));
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: auto;
        padding: 8px 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: none !important; /* 移除手机端的虚线边框 */
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .header-container {
        flex-direction: row; /* 强制 Logo 和操作区在一行 */
        justify-content: space-between;
        height: 50px;
        gap: 10px;
    }

    .site-brand {
        margin-right: 0;
        gap: 8px;
    }

    .site-brand span {
        font-size: 16px;
    }

    .site-logo {
        width: 32px;
        height: 32px;
    }

    /* 手机端隐藏顶部的扫码按钮，因为底部已有固定按钮 */
    .header-scan-btn, 
    .qr-trigger {
        display: none !important;
    }

    /* 极简导航：只在平板显示，手机端隐藏或改为更小的样式 */
    .site-nav {
        display: none; /* 彻底精简顶部，手机端通过内容引导 */
    }

    .header-right {
        width: auto;
        justify-content: flex-end;
        margin-top: 0;
    }

    .language-switch {
        transform: scale(0.9);
    }
    
    .hero-section,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .mobile-qr-button {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 1001;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        color: #fff;
        background: var(--sketch-accent);
        border: 2px solid var(--sketch-ink);
        border-radius: 12px 18px 14px 16px / 14px 16px 12px 18px;
        font-weight: 900;
        font-size: 16px;
        box-shadow: 4px 5px 0 var(--sketch-ink);
    }

    /* 防止悬浮按钮重叠 */
    .floating-actions {
        bottom: 90px !important; /* 向上平移，避开底部大按钮 */
        right: 16px !important;
        z-index: 1000;
        display: flex !important;
    }

    .site-footer {
        margin-bottom: 90px !important; /* 增加底部间距 */
        text-align: center;
        padding: 20px !important;
        border-width: 2px !important;
    }
}

@media (max-width: 560px) {
    .site-brand span {
        font-size: 18px;
    }

    .site-logo {
        width: 36px;
        height: 36px;
    }

    .header-scan-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .language-switch a {
        padding: 4px 10px;
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .hero-section,
    .page-hero,
    .section-block,
    .category-strip,
    .conversion-band,
    .article-layout,
    .site-footer {
        width: 100%;
    }

    .hero-section {
        padding-top: 48px;
    }

    .hero-actions,
    .section-heading-row {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .topic-card,
    .case-card div {
        padding: 18px;
    }
}
