* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f5f7fa;
            color: #1a1a2e;
            line-height: 1.7;
            padding: 0;
        }
        a {
            color: #c0392b;
            text-decoration: none;
            transition: color 0.25s ease;
        }
        a:hover {
            color: #962d22;
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            padding: 16px 0;
            border-bottom: 4px solid #c0392b;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            color: #f1c40f;
            text-shadow: 2px 2px 0 #c0392b;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s;
        }
        .my-logo:hover {
            transform: scale(1.02);
            text-decoration: none;
        }
        .my-logo i {
            font-size: 2rem;
            color: #f1c40f;
        }
        .my-logo span {
            font-size: 0.9rem;
            font-weight: 400;
            color: #ecf0f1;
            text-shadow: none;
            letter-spacing: 0;
            display: block;
            font-size: 0.65rem;
            opacity: 0.8;
        }
        .main-nav {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .main-nav a {
            color: #ecf0f1;
            padding: 8px 16px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.25s ease;
            white-space: nowrap;
        }
        .main-nav a:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #f1c40f;
            text-decoration: none;
        }
        .main-nav a.active {
            background: #c0392b;
            color: #fff;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: #ecf0f1;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .hamburger:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        .breadcrumb {
            background: #fff;
            padding: 12px 0;
            border-bottom: 1px solid #e0e0e0;
            font-size: 0.85rem;
            color: #555;
        }
        .breadcrumb a {
            color: #c0392b;
        }
        .breadcrumb a:hover {
            color: #962d22;
        }
        .breadcrumb .sep {
            margin: 0 8px;
            color: #999;
        }
        .breadcrumb .current {
            color: #333;
            font-weight: 600;
        }
        .main-content {
            padding: 40px 0 60px;
        }
        .main-content h1 {
            font-size: 2.6rem;
            font-weight: 900;
            color: #1a1a2e;
            line-height: 1.2;
            margin-bottom: 16px;
            border-left: 6px solid #c0392b;
            padding-left: 20px;
        }
        .main-content h1 i {
            color: #f1c40f;
            margin-right: 8px;
        }
        .main-content .subtitle {
            font-size: 1.15rem;
            color: #555;
            margin-bottom: 32px;
            padding-left: 26px;
        }
        .last-updated {
            display: inline-block;
            background: #1a1a2e;
            color: #f1c40f;
            padding: 6px 18px;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 28px;
            margin-left: 26px;
        }
        .last-updated i {
            margin-right: 6px;
        }
        .content-card {
            background: #fff;
            border-radius: 20px;
            padding: 36px 40px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
            margin-bottom: 32px;
        }
        .content-card h2 {
            font-size: 1.9rem;
            font-weight: 800;
            color: #1a1a2e;
            margin-top: 0;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 3px solid #f1c40f;
        }
        .content-card h2 i {
            color: #c0392b;
            margin-right: 10px;
        }
        .content-card h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: #2c3e50;
            margin-top: 28px;
            margin-bottom: 12px;
            padding-left: 4px;
        }
        .content-card h3 i {
            color: #f39c12;
            margin-right: 8px;
            font-size: 1.2rem;
        }
        .content-card h4 {
            font-size: 1.15rem;
            font-weight: 700;
            color: #34495e;
            margin-top: 20px;
            margin-bottom: 8px;
            padding-left: 8px;
            border-left: 3px solid #c0392b;
            padding-left: 14px;
        }
        .content-card p {
            margin-bottom: 18px;
            color: #2c3e50;
            font-size: 1.05rem;
        }
        .content-card ul,
        .content-card ol {
            margin: 12px 0 20px 28px;
            color: #2c3e50;
            font-size: 1.05rem;
        }
        .content-card li {
            margin-bottom: 8px;
        }
        .content-card strong {
            color: #1a1a2e;
            font-weight: 700;
        }
        .content-card .highlight-box {
            background: #fef9e7;
            border-left: 5px solid #f1c40f;
            padding: 18px 22px;
            border-radius: 12px;
            margin: 20px 0;
        }
        .content-card .highlight-box strong {
            color: #c0392b;
        }
        .content-card .emoji-lg {
            font-size: 1.4rem;
            margin-right: 4px;
        }
        .featured-img-wrap {
            margin: 28px 0 32px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        }
        .featured-img-wrap img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        .featured-img-wrap .img-caption {
            background: #f8f9fa;
            padding: 10px 18px;
            font-size: 0.9rem;
            color: #666;
            text-align: center;
            border-top: 1px solid #e9ecef;
        }
        .code-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0 24px;
            font-size: 0.98rem;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
        }
        .code-table thead {
            background: #1a1a2e;
            color: #fff;
        }
        .code-table th {
            padding: 14px 18px;
            text-align: left;
            font-weight: 600;
        }
        .code-table td {
            padding: 12px 18px;
            border-bottom: 1px solid #e9ecef;
        }
        .code-table tbody tr:hover {
            background: #f8f9fa;
        }
        .code-table .badge {
            display: inline-block;
            background: #27ae60;
            color: #fff;
            padding: 2px 12px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .code-table .badge.expired {
            background: #95a5a6;
        }
        .interactive-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
            margin-top: 20px;
        }
        .interactive-card {
            background: #fff;
            border-radius: 20px;
            padding: 28px 32px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        }
        .interactive-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .interactive-card h3 i {
            color: #c0392b;
        }
        .interactive-card input,
        .interactive-card textarea,
        .interactive-card select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.25s;
            background: #fafafa;
            margin-bottom: 14px;
        }
        .interactive-card input:focus,
        .interactive-card textarea:focus,
        .interactive-card select:focus {
            border-color: #c0392b;
            outline: none;
            background: #fff;
        }
        .interactive-card textarea {
            min-height: 100px;
            resize: vertical;
        }
        .interactive-card .btn {
            background: #c0392b;
            color: #fff;
            border: none;
            padding: 12px 28px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .interactive-card .btn:hover {
            background: #962d22;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
        }
        .interactive-card .btn i {
            font-size: 1rem;
        }
        .interactive-card .feedback-msg {
            margin-top: 12px;
            padding: 10px 16px;
            border-radius: 10px;
            font-size: 0.95rem;
            display: none;
        }
        .interactive-card .feedback-msg.show {
            display: block;
        }
        .interactive-card .feedback-msg.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .interactive-card .feedback-msg.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .star-rating {
            display: flex;
            gap: 6px;
            font-size: 2rem;
            cursor: pointer;
            margin-bottom: 14px;
            direction: rtl;
            justify-content: flex-end;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            color: #ddd;
            transition: color 0.2s;
            cursor: pointer;
        }
        .star-rating label:hover,
        .star-rating label:hover~label,
        .star-rating input:checked~label {
            color: #f1c40f;
        }
        .site-footer {
            background: #1a1a2e;
            color: #ecf0f1;
            padding: 40px 0 24px;
            margin-top: 40px;
            border-top: 4px solid #c0392b;
        }
        .site-footer .footer-inner {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 36px;
        }
        .site-footer h4 {
            color: #f1c40f;
            font-size: 1.1rem;
            margin-bottom: 14px;
            font-weight: 700;
        }
        .site-footer a {
            color: #bdc3c7;
            display: block;
            padding: 4px 0;
            font-size: 0.95rem;
            transition: color 0.25s;
        }
        .site-footer a:hover {
            color: #f1c40f;
            text-decoration: none;
        }
        .site-footer .copyright {
            grid-column: 1 / -1;
            text-align: center;
            padding-top: 24px;
            margin-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 0.9rem;
            color: #95a5a6;
        }
        .site-footer .copyright strong {
            color: #ecf0f1;
        }
        friend-link {
            display: block;
            margin-top: 8px;
        }
        friend-link a {
            display: inline-block;
            margin-right: 16px;
            padding: 4px 0;
        }
        @media (max-width: 992px) {
            .site-footer .footer-inner {
                grid-template-columns: 1fr 1fr;
            }
            .interactive-section {
                grid-template-columns: 1fr;
            }
            .main-content h1 {
                font-size: 2rem;
            }
            .content-card {
                padding: 24px 20px;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                background: #16213e;
                padding: 16px 12px;
                border-radius: 16px;
                margin-top: 8px;
                gap: 4px;
            }
            .main-nav.open {
                display: flex;
            }
            .main-nav a {
                padding: 12px 16px;
                border-radius: 10px;
            }
            .header-inner {
                align-items: center;
            }
            .my-logo {
                font-size: 1.4rem;
            }
            .my-logo span {
                font-size: 0.55rem;
            }
            .main-content h1 {
                font-size: 1.6rem;
                padding-left: 14px;
            }
            .main-content .subtitle {
                font-size: 1rem;
                padding-left: 14px;
            }
            .last-updated {
                margin-left: 14px;
                font-size: 0.75rem;
                padding: 4px 14px;
            }
            .content-card {
                padding: 18px 14px;
                border-radius: 14px;
            }
            .content-card h2 {
                font-size: 1.4rem;
            }
            .content-card h3 {
                font-size: 1.15rem;
            }
            .content-card h4 {
                font-size: 1rem;
            }
            .content-card p,
            .content-card li {
                font-size: 0.98rem;
            }
            .code-table {
                font-size: 0.85rem;
            }
            .code-table th,
            .code-table td {
                padding: 8px 10px;
            }
            .interactive-card {
                padding: 20px 16px;
            }
            .site-footer .footer-inner {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .star-rating {
                font-size: 1.6rem;
                justify-content: center;
            }
            .breadcrumb {
                font-size: 0.75rem;
                padding: 8px 0;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 12px;
            }
            .main-content h1 {
                font-size: 1.3rem;
                padding-left: 10px;
                border-left-width: 4px;
            }
            .content-card {
                padding: 14px 10px;
            }
            .content-card h2 {
                font-size: 1.2rem;
            }
            .code-table {
                font-size: 0.75rem;
            }
            .code-table th,
            .code-table td {
                padding: 6px 6px;
            }
            .my-logo {
                font-size: 1.2rem;
            }
            .my-logo i {
                font-size: 1.4rem;
            }
        }
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #c0392b;
            color: #fff;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35);
            cursor: pointer;
            transition: all 0.3s;
            z-index: 999;
            border: none;
        }
        .scroll-top:hover {
            background: #962d22;
            transform: translateY(-4px);
            box-shadow: 0 8px 28px rgba(192, 57, 43, 0.45);
        }
        @media (max-width: 768px) {
            .scroll-top {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
                bottom: 20px;
                right: 20px;
            }
        }
