/*! 由 ./zh/about/flag/aboutinfo.html 内联 <style> 原样提取，勿手改（保持视觉一致） */

        /* === 全局样式重置 === */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --primary: #87CEEB;
            --primary-dark: #4682B4;
            --bg: #E6F7FF;
            --card: #FFFFFF;
            --text: #333;
            --gray: #666;
            --alert-bg: #003366;
            --gap-sm: 8px;
            --gap-md: 16px;
            --gap-lg: 24px;
            --padding-sm: 12px;
            --padding-md: 20px;
            --padding-lg: 30px;
            --device-shadow: 0 0 20px rgba(0,0,0,0.15);
            --elastic-out: cubic-bezier(0.34, 1.56, 0.64, 1);
            --elastic-soft: cubic-bezier(0.22, 1, 0.36, 1);
        }
        /* 背景装饰 */
        body::before {
            content: '';
            position: fixed; top: 0; left: 0;
            width: 100%; height: 100%;
            background: radial-gradient(ellipse at 20% 50%, rgba(135,206,235,0.10), transparent 60%),
                        radial-gradient(ellipse at 80% 20%, rgba(70,130,180,0.06), transparent 50%);
            z-index: 0;
            animation: bgDrift 14s ease-in-out infinite alternate;
            pointer-events: none;
        }
        @keyframes bgDrift { 0%{transform:scale(1);opacity:0.7} 100%{transform:scale(1.04);opacity:1} }
        @keyframes fadeSlideUp { to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { to { opacity: 1; } }
        @keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
            background: #f0f4f8;
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            font-size: 16px;
        }
        /* 设备切换按钮 */
        .device-switch-container {
            position: fixed; top: 80px; right: 20px;
            z-index: 9999; display: flex;
            flex-direction: column; gap: 10px;
        }
        .switch-toggle-btn {
            width: 50px; height: 50px; border-radius: 50%;
            background: var(--primary);
            color: var(--primary-dark); border: none;
            font-size: 18px; cursor: pointer;
            box-shadow: var(--device-shadow);
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.3s var(--elastic-out);
        }
        .switch-toggle-btn:hover { transform: scale(1.08); }
        .device-options {
            display: none; flex-direction: column; gap: 8px;
            background: white; padding: 10px;
            border-radius: 10px; box-shadow: var(--device-shadow);
        }
        .device-options.show { display: flex; }
        .device-btn {
            padding: 8px 12px; border: 1px solid var(--primary);
            border-radius: 6px; background: white;
            color: var(--primary-dark); cursor: pointer;
            font-size: 14px; transition: all 0.2s;
        }
        .device-btn.active, .device-btn:hover {
            background: var(--primary); color: white;
        }
        .page-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 0 var(--padding-sm);
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
            margin: 20px auto;
            max-width: 1000px;
            width: 90%;
        }
        /* 设备视图比例 */
        .device-pc {
            width: 100%; max-width: 1000px;
            min-height: 60vh; overflow-y: auto;
            border-radius: 12px; box-shadow: var(--device-shadow);
        }
        .device-tablet {
            width: 100%; max-width: 768px;
            min-height: 60vh; overflow-y: auto;
            border-radius: 12px; box-shadow: var(--device-shadow);
        }
        .device-mobile {
            width: 100%; max-width: 420px;
            min-height: 80vh; overflow-y: auto;
            border-radius: 20px; box-shadow: var(--device-shadow);
        }
        .container {
            width: 100%;
            padding: clamp(var(--padding-sm),5vw,var(--padding-md)) var(--padding-sm);
            display: flex; flex-direction: column;
            align-items: center; gap: var(--gap-md);
        }
        .navbar {
            background: var(--primary);
            padding: 12px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: var(--z-nav,100);
            width: 100%;
            opacity: 0;
            animation: fadeSlideUp 0.7s var(--elastic-soft) 0.1s forwards;
        }
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 var(--padding-sm);
        }
        .logo {
            font-size: clamp(1.2rem, 4vw, 1.5rem);
            font-weight: bold;
            color: var(--primary-dark);
            text-decoration: none;
            transition: transform 0.35s var(--elastic-out);
        }
        .logo:hover { transform: scale(1.06); }
        .nav-links { display: flex; gap: clamp(12px, 3vw, 20px); }
        .nav-links a {
            color: var(--primary-dark);
            font-weight: 500;
            text-decoration: none;
            font-size: clamp(0.9rem, 3vw, 1rem);
            opacity: 0; transform: translateY(-6px);
            animation: fadeSlideUp 0.45s var(--elastic-soft) forwards;
            position: relative; padding-bottom: 4px;
            transition: color 0.3s ease;
        }
        .nav-links a:nth-child(1) { animation-delay: 0.2s; }
        .nav-links a:nth-child(2) { animation-delay: 0.3s; }
        .nav-links a:nth-child(3) { animation-delay: 0.4s; }
        .nav-links a::after {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 0; height: 2px;
            background: var(--primary-dark);
            border-radius: 2px;
            transition: width 0.35s var(--elastic-out);
        }
        .nav-links a:hover::after,
        .nav-links a.active::after { width: 100%; }
        .card {
            background: var(--card);
            width: 100%;
            max-width: 800px;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(135, 206, 235, 0.4);
            padding: clamp(var(--padding-md), 5vw, var(--padding-lg));
            margin-top: var(--gap-sm);
            opacity: 0; transform: translateY(20px);
            animation: cardIn 0.6s var(--elastic-soft) 0.25s forwards;
            transition: box-shadow 0.4s ease, transform 0.4s ease;
        }
        .card:hover {
            box-shadow: 0 12px 36px rgba(135,206,235,0.5);
            transform: translateY(-3px);
        }
        .card h1, .card h2 { color: var(--primary-dark); margin-bottom: var(--gap-md); }
        .card h1 { text-align: center; font-size: clamp(1.8rem, 6vw, 2.2rem); }
        .card h2 { font-size: clamp(1.2rem, 4vw, 1.4rem); display: flex; align-items: center; gap: 8px; }
        .card h2::before { content: "📢"; }
        .list { padding-left: 22px; margin: 14px 0; line-height: 1.7; }
        .list li { margin: 10px 0; }
        .highlight { color: var(--primary-dark); font-weight: bold; }
        .gold { color: #e6b800; font-weight: bold; }
        .code-block {
            background: #f7fafc;
            border-left: 3px solid var(--primary-dark);
            padding: 14px 18px; margin: 16px 0;
            border-radius: 6px; font-family: monospace; line-height: 1.6;
        }
        .back-btn {
            color: var(--primary-dark); text-decoration: none;
            font-weight: 500; font-size: 0.9rem;
            padding: 6px 20px;
            border: 1px solid var(--primary-dark);
            border-radius: 6px;
            transition: all 0.35s var(--elastic-out);
            display: inline-flex; align-items: center;
            align-self: flex-start;
            opacity: 0; transform: translateX(-20px);
            animation: fadeSlideUp 0.5s var(--elastic-soft) 0.15s forwards;
        }
        .back-btn::before {
            content: ''; display: inline-block;
            width: 7px; height: 7px;
            border-left: 2px solid var(--primary-dark);
            border-bottom: 2px solid var(--primary-dark);
            transform: rotate(45deg);
            margin-right: 7px; flex-shrink: 0;
            transition: border-color 0.25s;
        }
        .back-btn:hover { background: var(--primary-dark); color: white; }
        .back-btn:hover::before { border-color: #fff; }
        footer {
            text-align: center;
            padding: var(--padding-md);
            background: var(--primary);
            color: var(--primary-dark);
            font-size: clamp(0.8rem, 2.5vw, 0.85rem);
            width: 100%;
            opacity: 0;
            animation: fadeIn 0.8s ease 0.6s forwards;
        }
        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-thumb { background: #fff399; border-radius: 4px; }
        ::-webkit-scrollbar-track { background: #f1f1f1; }
        @media (max-width: 768px) {
            .device-switch-container { top: 70px; right: 10px; }
            .switch-toggle-btn { width: 40px; height: 40px; font-size: 16px; }
            .nav-container { flex-wrap: wrap; justify-content: center; gap: 8px; }
            .nav-links { margin-top: 6px; gap: 15px; flex-wrap: wrap; justify-content: center; }
        }
        @media (max-width: 480px) {
            .card { padding: 16px; }
            .card h1 { font-size: 1.5rem; }
            .back-btn { font-size: 0.82rem; padding: 5px 14px; }
        }
    
/* 内联 style="" 提取（保持原有高优先级） */
[data-css="sc1"]{text-align:center !important;margin-bottom:var(--gap-lg) !important}
[data-css="sc2"]{text-align:center !important;margin-top:var(--gap-lg) !important;line-height:1.8 !important}
[data-css="sc3"]{margin-top:8px !important;font-weight:bold !important;color:var(--primary-dark) !important}
[data-css="sc4"]{margin-top:8px !important;font-weight:bold !important;color:var(--primary-dark) !important}
