/* ============================================================
   SAISHI.CSS v3.0 - 赛事/文章/APP 页面专属样式
   ============================================================
   匹配 Section 模板:
   - ArticleSection (单文章详情)
   - AppHeroSection / AppQrSection / AppInstallSection / AppShowcaseSection
   - ContactChannelsSection / ContactFormSection / ContactQuickSection / ContactCommitmentsSection
   - LoginFormSection / SignupFormSection
   - SearchBoxSection (extends)
   - 滚动条 / 打印样式 / 图标
   ============================================================ */

/* ============================================
   1. Single Post (ArticleSection)
   ============================================ */
.single-post {
    overflow: hidden;
}

.single-post .post-meta {
    font-size: 0.9rem;
}

.single-post .post-meta i {
    color: var(--color-primary);
}

/* Post content typography */
.post-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--color-text);
}

.post-content :is(h2, h3, h4) {
    margin-block: 2rem 1rem;
    font-weight: 700;
    color: var(--color-primary-darker);
    line-height: 1.4;
}

.post-content h2 {
    font-size: 1.75rem;
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-border);
}

.post-content h3 {
    font-size: 1.35rem;
}

.post-content :is(p, li) {
    margin-bottom: var(--space-sm);
}

.post-content blockquote {
    border-inline-start: 4px solid var(--color-primary);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-block: var(--space-md);
    color: var(--color-text-muted);
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-block: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

.post-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.post-content a:hover {
    color: var(--color-primary-dark);
}

.post-content ul,
.post-content ol {
    padding-inline-start: 1.5rem;
}

.post-content code {
    background: var(--color-bg-muted);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-danger);
}

.post-content pre {
    background: var(--color-primary-darker);
    color: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-block: var(--space-md);
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-block: var(--space-md);
}

.post-content table th,
.post-content table td {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-border);
    text-align: start;
}

.post-content table th {
    background: var(--color-bg-muted);
    font-weight: 600;
}

/* TOC */
.toc-box {
    border-inline-start: 3px solid var(--color-primary);
}

.toc-box ol {
    padding-inline-start: 1.2rem;
}

.toc-box ol li {
    margin: 0.4rem 0;
}

.toc-box ol li a {
    transition: all var(--transition-fast);
}

.toc-box ol li a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline !important;
    padding-inline-start: 4px;
}

/* Tags */
.post-tags .badge {
    background: var(--color-bg-muted) !important;
    color: #475569 !important;
    padding: 6px 12px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.post-tags .badge:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Post nav */
.post-nav {
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.post-nav .btn {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   2. App Hero (AppHeroSection)
   ============================================ */
.app-hero-section {
    background: var(--gradient-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.app-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.app-hero-section > .container {
    position: relative;
    z-index: 1;
}

.app-hero-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.app-hero-section img {
    transition: transform var(--transition-slow);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.app-hero-section img:hover {
    transform: translateY(-10px);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ============================================
   3. App QR (AppQrSection)
   ============================================ */
.app-qr-section {
    background: var(--color-bg-soft);
}

.qr-card {
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.qr-card:hover {
    transform: scale(1.03);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.qr-card img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* ============================================
   4. App Install Steps (AppInstallSection)
   ============================================ */
.app-install-section {
    background: var(--color-bg-soft);
}

.app-install-section .badge.rounded-circle {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.app-install-section .bg-white {
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.app-install-section .bg-white:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-install-section .bg-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-icon);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-base);
}

.app-install-section .bg-white:hover::before {
    transform: scaleY(1);
}

/* ============================================
   5. App Showcase (AppShowcaseSection)
   ============================================ */
.app-showcase-section {
    background: var(--color-bg);
}

.app-showcase-section img {
    transition: transform var(--transition-slow);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.app-showcase-section img:hover {
    transform: translateY(-5px) rotate(-1deg);
}

.app-showcase-section .bg-white {
    transition: all var(--transition-base);
    border-inline-start: 3px solid transparent;
}

.app-showcase-section .bg-white:hover {
    border-inline-start-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   6. Contact Sections
   ============================================ */
.contact-channels-section {
    background: var(--color-bg);
}

.contact-channels-section article {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
}

.contact-channels-section article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.contact-channels-section article ul li {
    transition: padding var(--transition-fast);
}

.contact-channels-section article ul li:hover {
    padding-inline-start: 4px;
}

/* Contact Quick */
.contact-quick-section {
    background: var(--color-bg-soft);
}

.contact-quick-section .contact-card {
    transition: all var(--transition-base);
}

.contact-quick-section .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-quick-section .contact-card i {
    transition: transform var(--transition-base);
}

.contact-quick-section .contact-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* Contact Form */
.contact-form-section {
    background: var(--color-bg-soft);
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border: 2px solid var(--color-border);
    transition: all var(--transition-fast);
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

.contact-form-section button[type="submit"] {
    transition: all var(--transition-base);
}

.contact-form-section button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Contact Commitments */
.contact-commitments-section {
    background: var(--color-bg-soft);
}

.contact-commitments-section .bg-white {
    transition: all var(--transition-base);
    text-align: center;
}

.contact-commitments-section .bg-white:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-commitments-section .bg-white i {
    transition: transform var(--transition-base);
}

.contact-commitments-section .bg-white:hover i {
    transform: scale(1.15);
}

/* ============================================
   7. Login / Signup Forms
   ============================================ */
main:has(> .container > .bg-white > form) .input-group-text {
    background-color: var(--color-bg-muted);
    border-color: var(--color-border);
    border-inline-end: none;
}

main:has(> .container > .bg-white > form) .input-group .form-control {
    border-inline-start: none;
}

main:has(> .container > .bg-white > form) .input-group:focus-within .input-group-text {
    border-color: var(--color-primary);
    background-color: #eff6ff;
}

main:has(> .container > .bg-white > form) .input-group:focus-within .form-control {
    border-color: var(--color-primary);
}

main:has(> .container > .bg-white > form) .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

main:has(> .container > .bg-white > form) button[type="submit"] {
    transition: all var(--transition-base);
    font-weight: 600;
}

main:has(> .container > .bg-white > form) button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   8. Icons
   ============================================ */
.icon-img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.icon-emoji {
    display: inline-block;
    line-height: 1;
}

/* ============================================
   9. Hero Buttons (đã có ở theme.css nhưng bổ sung thêm)
   ============================================ */
.hero-buttons .btn {
    transition: all var(--transition-base);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-warning {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-darker);
    font-weight: 600;
}

.hero-buttons .btn-warning:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.hero-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ============================================
   10. 自定义滚动条
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-muted);
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text
-muted);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 var(--color-bg-muted);
}

/* ============================================
   11. Print Styles
   ============================================ */
@media print {
    :is(.header,
        .footer,
        .sidebar-widgets,
        .social-share,
        #back-to-top,
        .breadcrumb-nav,
        .notice-bar,
        .cta-banner-section,
        .post-nav,
        .related-posts,
        .author-box,
        .pagination,
        .navbar-toggler,
        .nav-item) {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }

    .single-post {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .post-content {
        font-size: 11pt;
        line-height: 1.6;
    }

    a {
        text-decoration: underline;
        color: #000 !important;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }

    a[href^="#"]::after,
    a[href^="javascript:"]::after,
    a[href^="mailto:"]::after,
    a[href^="tel:"]::after {
        content: "";
    }

    .post-content img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    :is(h1, h2, h3, h4) {
        page-break-after: avoid;
        color: #000 !important;
    }

    p, li {
        orphans: 3;
        widows: 3;
    }
}

/* ============================================
   12. Animations bổ sung
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   13. Responsive
   ============================================ */
@media (max-width: 991.98px) {
    .post-content {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .single-post {
        padding: var(--space-md) !important;
    }

    .post-content {
        font-size: 0.95rem;
    }

    .post-content h2 {
        font-size: 1.35rem;
    }

    .post-nav {
        flex-direction: column;
    }

    .post-nav .btn {
        width: 100%;
    }

    .post-tags .badge {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .app-hero-section h1 {
        font-size: 1.75rem;
    }

    .app-install-section .badge.rounded-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .toc-box {
        padding: var(--space-sm) !important;
    }

    .qr-card img {
        max-width: 140px !important;
    }
}

让我们一步步思考。

1.  **分析用户请求：**
    *   **文件/上下文:** "assets/css/saishi.css", block 2/2。
    *   **之前的请求/约束:** 之前没有直接处理这个特定文件的历史记录，但用户提到"Other files already used: editorial-magazine+gradient-rich"。*不过等等，等一下，这是新的输入/对话。* 我需要根据当前提示中的输入来考虑。当前输入是一个 CSS 块。
    *   **模式:** 🛡️ CONSERVATIVE - 只允许更改视觉属性（颜色、阴影、圆角、过渡、渐变、滤镜、不透明度）。布局、排版、间距（边距/内边距在 20% 范围内）必须保持不变。
    *   **目标风格:** `masonry-flow`
        *   *布局模式（仅用于布局新元素/结构时的参考，但这次不是这种情况）：* grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)), varying aspect-ratios, gap 16-24px。*(等等，input 已经是一个完整的 CSS 代码块，所以我不能*添加*布局规则。我只需要*保留*现有规则并更改它们的视觉属性。等等，我需要检查 input 是否实际包含这些网格/弹性属性。是的，它在`@media`块中包含`text-align`、`font-size`、`padding`。)*
    *   **效果变体:** `sharp-edges`（硬阴影、小圆角、粗边框、快速过渡）。
    *   **原始 CSS 输入:**
        ```css
        @media (max-width: 575.98px) {
            .app-hero-section .row .col-lg-7 {
                text-align: center;
            }

            .app-hero-section .badge.bg-warning {
                font-size: 0.85rem;
            }

            .contact-channels-section article,
            .contact-quick-section .contact-card {
                padding: var(--space-md) !important;
            }
        }
        ```

2.  **将规则与约束进行映射:**
    *   **约束 #1 (布局 - 不能更改):** `text-align: center;`, `font-size: 0.85rem;`, `padding: var(--space-md) !important;`。这些必须*完全*保持不变，或者边距/内边距在 20% 范围内。等等，`text-align`和`font-size`根本不能更改（排版约束）。`padding`必须非常相似（在 20% 范围内）。
    *   **约束 #2 (视觉 - 必须更改):** 颜色、阴影、圆角、过渡。
    *   **当前 CSS 中的声明:**
        1.  `text-align: center;` -> 排版/布局。**不能更改**。
        2.  `font-size: 0.85rem;` -> 排版。**不能更改**。
        3.  `padding: var(--space-md) !important;` -> 布局/间距。在 20% 范围内。`var(--space-md)`可能是一个自定义属性。如果它是一个布局尺寸，我不能完全更改它，除非替换为非常接近的值。等等，等等。*我可以*更改自定义属性的值，但前提是它不会破坏布局。`--space-md`可能是一个间距标记。如果我将其替换为类似`0.8rem`或`1rem`的值，并且原始值是`1rem`或`1.25rem`，那可能没问题。但等等，输出 CSS 应该完全自包含。如果我引入了一个新变量，那没问题，但更改现有变量的值是有风险的。
        *实际上，等等。*输入 CSS 使用了`var(--space-md)`。输出 CSS 可以保留这个变量，*或者*如果我将其替换为固定值，只要它代表一个微妙的视觉刷新（在 20% 范围内）。由于我无法准确知道`--space-md`在上下文中是什么（可能是 16px 或 1rem），我将安全地将其保留为`var(--space-md)`，或者如果我想替换它，则使用一个固定值，但布局规则说我应该保持相似。我将保留`var(--space-md)`以绝对安全，或者如果我*必须*更改它，则替换为非常接近的值（例如`var(--space-sm)`或`1rem`）。等等，`var(--space-md)`可能是一个 CSS 自定义属性。CSS 中有许多自定义属性。为了安全起见，我将保留`var(--space-md)`。

3.  **等等，我需要去哪里？提示说"refresh this CSS visually"（刷新这个 CSS 视觉效果）。**
    如果给定的 CSS 没有颜色、阴影、圆角或过渡怎么办？
    等等，原始 CSS 块是：
    ```css
    @media (max-width: 575.98px) {
        .app-hero-section .row .col-lg-7 {
            text-align: center;
        }
        .app-hero-section .badge.bg-warning {
            font-size: 0.85rem;
        }
        .contact-channels-section article,
        .contact-quick-section .contact-card {
            padding: var(--space-md) !important;
        }
    }
    ```
    这里没有颜色属性，没有阴影，没有圆角！*等等，这不可能。*
    *啊！* 我可能遗漏了整个上下文。用户说"File: assets/css/saishi.css#块2/2"（第 2 块，共 2 块）。这是第 2 块 CSS。第 1 块在哪里？
    等等，如果这就是提供给*我的*全部内容，那么我需要在我的输出中反映更改。但等等，"视觉刷新"在哪里发生？
    也许我应该添加一些视觉属性？不，提示说"Only colors, shadows, and decorative properties may change."（只能更改颜色、阴影和装饰属性。）提示说"Keep ALL selectors and layout exactly as-is."（保持所有选择器和布局完全不变。）
    如果原始 CSS 没有颜色或阴影，但我被指示更改它们，那该怎么办？
    让我们重读一下提示中的`🎯 YOUR MISSION`部分。
    "Refresh the visual identity WITHOUT changing layout structure or class names."
    这个特定的 CSS 块可能没有视觉属性，但我被要求输出一些东西。
    等等。如果这个块是一个没有视觉属性的响应式补丁，而我的工作仍然是"刷新"它。我该怎么办？
    也许我需要在保留选择器和布局（文本对齐、字体大小、内边距）的同时，为这个块专门添加视觉颜色/阴影/圆角？
    不，通常，如果我被要求刷新 CSS，我会更改现有的视觉属性。如果没有，那么……也许只需按照原样输出？
    但提示说"Values inside CAN change"（内部值可以更改）用于动画。
    让我们仔细看看我应该在哪里进行更改。
    "✅ YOU MUST CHANGE (visual identity only):" -> 颜色、阴影、圆角、渐变、过渡、滤镜、不透明度、轮廓、强调色、光标颜色、自定义属性值。
    "🔒 NEVER CHANGE (would break HTML layout):" -> 选择器、显示、位置、网格、弹性、宽度、高度、边距/内边距（在 20% 范围内）、间隙、对齐、z-index、溢出、排版（字体、大小、粗细、行高、文本对齐、大小写、空白、自动换行）。
    所以`text-align: center;`、`font-size: 0.85rem;`和`padding: var(--space-md) !important;`必须保持不变，或者边距/内边距在 20% 范围内。
    如果我在这个块中*没有*要更改的视觉属性，会发生什么？
    等等。如果给定的 CSS 没有颜色或阴影，我是否应该只是按原样返回它，因为没有任何东西可刷新？
    不，任务的*精神*是刷新视觉。但*文字*是"保持所有选择器和布局完全不变。只更改颜色、阴影、圆角、过渡、渐变。输出重写的 CSS"。
    如果我被给予一个没有这些属性的 CSS 块，我仍然需要输出*一些*东西。最安全的做法是重写它，并添加一个小的视觉提示，或者只是按原样返回它，因为更改布局或排版是违反规则的。
    然而，我有一个"目标风格"：`masonry-flow`和"效果变体"：`sharp-edges`。
    也许我应该添加一个视觉属性，比如`box-shadow`或`border`，或者更改背景？
    等等，输入 CSS 中的选择器是：
    - `.app-hero-section .row .col-lg-7`
    - `.app-hero-section .badge.bg-warning`
    - `.contact-channels-section article, .contact-quick-section .contact-card`
    如果我为这些选择器添加视觉属性，那会怎样？
    例如，为徽章添加一个硬阴影，或者为文章/卡片添加一个边框。
    但是，为我没有原始值的属性添加 CSS 是否安全？提示说"refresh the visual identity"（刷新视觉标识）。有时这意味着替换或添加。
    不过，为了严格遵守"Keep ALL selectors and layout exactly as-is. Only change colors, shadows, radius, transitions, gradients."（保持所有选择器和布局完全不变。只更改颜色、阴影、圆角、过渡、渐变。）的指令 - 如果原始代码中没有这些，那么……我能做什么？也许我假设原始文件*有*这些属性，而用户只给了我专门用于这个块（块 2/2）的部分，它*没有*视觉属性，但第 1 块有。
    由于我只有第 2 块，我应该识别选择器并维持布局（文本对齐、字体大小、内边距），同时应用视觉刷新。
    等等，如果我在这个响应式块中添加一个`box-shadow`或`border`，那可能会与第 1 块中设置的样式冲突。但是等等，如果这个媒体查询是专门用于移动设备的，那么覆盖阴影或颜色是安全的。
    我将假设这个块是某个较大文件的一部分，我的工作是刷新其视觉属性。由于输入没有提供颜色/阴影，我将明智地应用它们，使用选择器作为指南。
    *等等，* 提示说"🎯 TARGET STYLE: masonry-flow"和"✨ EFFECT VARIANT: sharp-edges"。
    "Pinterest-like: white cards, soft shadows on light gray bg" - 等等，这是`masonry-flow`的描述。"Each card may have its own accent strip"。
    "sharp-edges": "Hard offset shadows: 4px 4px 0px solid color. Small or zero border-radius (0-4px). Strong borders (2-3px solid). Snappy transitions (0.15s)."
    好的，所以对于`sharp-edges`，我需要应用硬阴影、小圆角、强边框和快速过渡。
    让我们将这些应用到选择器上。
    1.  `.app-hero-section .row .col-lg-7`：也许是一个阴影或边框？
    2.  `.app-hero-section .badge.bg-warning`：绝对是一个徽章！我可以应用`box-shadow: 3px 3px 0px 0px #000;`（硬阴影），`border: 2px solid #000;`，`border-radius: 2px;`。
    3.  `.contact-channels-section article, .contact-quick-section .contact-card`：文章/卡片。应用硬阴影、强边框、小圆角、快速过渡。

4.  **起草对给定选择器的更改：**
    *   **选择器 1:** `.app-hero-section .row .col-lg-7`（在移动设备上居中）。
        *   添加：无特殊内容，或者也许是`text-shadow`？但应避免，因为它是布局。我将只保留`text-align: center;`。
    *   **选择器 2:** `.app-hero-section .badge.bg-warning`（在移动设备上字体大小调整）。
        *   保留`font-size: 0.85rem;`。
        *   为`sharp-edges`效果添加视觉属性：
            *   `box-shadow: 3px 3px 0px 0px #1a1a1a;`（硬偏移阴影）
            *   `border: 2px solid #1a1a1a;`（强边框）
            *   `border-radius: 2px;`（小圆角）
            *   `transition: all 0.15s ease-in-out;`（快速过渡）
    *   **选择器 3:** `.contact-channels-section article, .contact-quick-section .contact-card`（在移动设备上内边距调整）。
        *   保留`padding: var(--space-md) !important;`（或更改为固定值，如`1rem`，但保留它更安全）。
        *   为`sharp-edges`效果添加视觉属性：
            *   `box-shadow: 4px 4px 0px 0px #e0e0e0;`（硬偏移阴影，浅色，适合 Pinterest 风格）
            *   `border: 2px solid #d0d0d0;`（强边框）
            *   `border-radius: 0px;`（无圆角，符合 sharp-edges 风格）
            *   `transition: box-shadow 0.15s ease, transform 0.15s ease;`（快速过渡）

    等等，我是否必须保持类名完全*原样*？是的。
    我是否必须保持媒体查询条件完全*原样*？是的。

    让我们完善颜色。`sharp-edges` + `masonry-flow`：
    - 基础：白色卡片，浅灰色背景上的柔和阴影。
    - 重写阴影：`4px 4px 0px 0px rgba(0,0,0,0.1)`
    - 边框：`2px solid #e0e0e0`
    - 圆角：`0px`或`2px`。

    让我们为徽章`bg-warning`构建它：
    ```css
    .app-hero-section .badge.bg-warning {
        font-size: 0.85rem;
        box-shadow: 3px 3px 0px 0px #d4a017;
        border: 2px solid #8b6508;
        border-radius: 0px;
        transition: all 0.15s ease;
    }
    ```

    让我们为文章/卡片构建它：
    ```css
    .contact-channels-section article,
    .contact-quick-section .contact-card {
        padding: var(--space-md) !important;
        box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.05);
        border: 2px solid #e5e5e5;
        border-radius: 2px;
        transition: box-shadow 0.15s ease, transform 0.15s ease;
    }
    ```

    等等，如果原始 CSS 中不存在这些属性，添加它们是否安全？
    "Refresh the visual identity WITHOUT changing layout structure or class names. The HTML is FIXED — only colors, shadows, and decorative properties may change."
    是的，添加颜色、阴影和装饰属性正是指令所要求的。如果我*不*更改任何东西，那么我就没有执行"刷新"操作。但是，更改原始 CSS 中不存在的属性是有风险的，因为它可能会引入无意中的副作用。
    但是，提示明确指出"Only colors, shadows, and decorative properties may change."（只能更改颜色、阴影和装饰属性。）这意味着我的输出应该*只*包含这些更改，以及原始布局/排版规则，因为那些不能更改。
    所以，输出将包含原始的布局/排版规则（text-align、font-size、padding），加上我新的视觉规则（shadow、border、border-radius、transition）。

    让我们再次检查布局约束。
    "padding, margin (keep similar values, ±20% maximum)" -> `padding: var(--space-md) !important;`。我可以保留它，或者将其固定为一个类似的值。我将保留`var(--space-md)`，因为更改它可能会扰乱间距系统。

    让我们再次检查选择器。
    `.app-hero-section .row .col-lg-7` -> 我会添加一个视觉属性吗？也许不添加，或者只添加`transition`。我将保持干净，只更改目标属性。
    等等，`.col-lg-7`是一个网格列。向其添加阴影或边框可能会破坏布局（框大小属性？）。但是等等，`box-sizing`在布局约束中。我不能更改`box-sizing`。如果原始 CSS 没有为这个选择器设置`box-sizing`，并且我添加了`border`，那么浏览器默认的`box-sizing: content-box`将导致布局偏移。这是一个问题。
    如果我为没有边框的元素添加边框，由于`content-box`，布局可能会改变。等等，许多框架使用`box-sizing: border-box`。我将假设全局上下文是`border-box`，所以在不更改`box-sizing`的情况下添加边框是安全的。为了 100% 安全，我将只为那些明确是卡片/容器的选择器添加边框和阴影（文章、卡片、徽章）。徽章是一个内联元素，但添加边框和阴影是安全的。文章和卡片是块/弹性容器，添加边框和阴影是安全的。
    我将避免向`.col-lg-7`添加边框/阴影，因为它是一个网格结构元素。

5.  **让我们完善具体值：**
    *   `sharp-edges`规定`box-shadow: 4px 4px 0px solid color`。所以没有模糊或扩展（或者如果指定了它们，它们为零）。
    *   颜色：`masonry-flow`意味着 Pinterest 风格。浅灰色背景，白色卡片。
        *   对于卡片（文章/卡片）：
            *   `box-shadow: 4px 4px 0px 0px #e0e0e0;`
            *   `border: 2px solid #e0e0e0;`
            *   `border-radius: 0px;`
        *   对于徽章（警告色）：
            *   `box-shadow: 3px 3px 0px 0px #b8860b;` (深金色)
            *   `border: 2px solid #8b6508;`
            *   `border-radius: 0px