* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            --bg: #0b0e14;
            --surface: #141a24;
            --card: #1c2430;
            --border: #2d3748;
            --text: #e8edf5;
            --text-muted: #9aa8c2;
            --accent: #f5c542;
            --accent-hover: #ffd966;
            --gold: #c9a84c;
            --deep-blue: #1a2a4a;
            --navy: #0f1b33;
            --danger: #e74c3c;
            --success: #2ecc71;
            --radius: 12px;
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
            --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            font-size: 16px;
            min-height: 100vh;
        }
        a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.2s;
        }
        a:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius);
        }
        header {
            background: var(--surface);
            border-bottom: 2px solid var(--border);
            padding: 0 24px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }
        .header-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }
        .my-logo {
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: 1px;
            background: linear-gradient(135deg, var(--gold), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none !important;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            -webkit-text-fill-color: var(--accent);
            font-size: 1.8rem;
        }
        .my-logo:hover {
            opacity: 0.9;
            text-decoration: none !important;
        }
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 28px;
            list-style: none;
        }
        .nav-menu li a {
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
            padding: 6px 0;
            border-bottom: 2px solid transparent;
            transition: all 0.25s;
        }
        .nav-menu li a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
            text-decoration: none;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 6px;
        }
        .hamburger span {
            display: block;
            width: 28px;
            height: 3px;
            background: var(--text);
            border-radius: 4px;
            transition: all 0.3s;
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
        .breadcrumb-wrap {
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px 24px 0;
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--text-muted);
            list-style: none;
        }
        .breadcrumb li+li::before {
            content: "›";
            margin-right: 8px;
            color: var(--text-muted);
            font-weight: 700;
        }
        .breadcrumb a {
            color: var(--text-muted);
        }
        .breadcrumb a:hover {
            color: var(--accent);
            text-decoration: none;
        }
        .breadcrumb .current {
            color: var(--accent);
            font-weight: 600;
        }
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 24px 24px 60px;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        .main-content {
            min-width: 0;
        }
        .sidebar {
            position: sticky;
            top: 96px;
            align-self: start;
            background: var(--surface);
            border-radius: var(--radius);
            padding: 24px 20px;
            border: 1px solid var(--border);
            max-height: calc(100vh - 120px);
            overflow-y: auto;
        }
        .sidebar h3 {
            font-size: 1.1rem;
            color: var(--accent);
            margin-bottom: 16px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 10px;
        }
        .sidebar ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .sidebar ul li a {
            font-size: 0.9rem;
            color: var(--text-muted);
            display: block;
            padding: 4px 0;
            border-left: 2px solid transparent;
            padding-left: 12px;
            transition: all 0.2s;
        }
        .sidebar ul li a:hover {
            color: var(--accent);
            border-left-color: var(--accent);
            text-decoration: none;
        }
        .sidebar .search-box {
            display: flex;
            margin-bottom: 24px;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: var(--card);
        }
        .sidebar .search-box input {
            flex: 1;
            padding: 10px 14px;
            background: transparent;
            border: none;
            color: var(--text);
            font-size: 0.9rem;
            outline: none;
        }
        .sidebar .search-box input::placeholder {
            color: var(--text-muted);
        }
        .sidebar .search-box button {
            background: var(--accent);
            border: none;
            padding: 0 16px;
            color: #0b0e14;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.2s;
        }
        .sidebar .search-box button:hover {
            background: var(--accent-hover);
        }
        h1 {
            font-size: 2.6rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 16px;
            background: linear-gradient(135deg, var(--gold), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        h2 {
            font-size: 1.9rem;
            font-weight: 700;
            margin-top: 48px;
            margin-bottom: 16px;
            color: var(--accent);
            border-bottom: 2px solid var(--border);
            padding-bottom: 10px;
        }
        h3 {
            font-size: 1.4rem;
            font-weight: 600;
            margin-top: 32px;
            margin-bottom: 12px;
            color: var(--text);
        }
        h4 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 8px;
            color: var(--text-muted);
        }
        p {
            margin-bottom: 20px;
            color: var(--text);
            font-size: 1.05rem;
        }
        .last-updated {
            display: inline-block;
            background: var(--card);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 24px;
            border: 1px solid var(--border);
        }
        .last-updated i {
            margin-right: 6px;
            color: var(--accent);
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 28px;
            padding: 16px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .article-meta span i {
            margin-right: 6px;
            color: var(--accent);
        }
        .featured-img-wrap {
            margin: 28px 0 32px;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            position: relative;
            background: var(--card);
        }
        .featured-img-wrap img {
            width: 100%;
            max-height: 480px;
            object-fit: cover;
        }
        .featured-img-wrap .img-caption {
            padding: 12px 18px;
            font-size: 0.85rem;
            color: var(--text-muted);
            background: var(--surface);
            border-top: 1px solid var(--border);
        }
        .tip-box {
            background: var(--card);
            border-left: 4px solid var(--accent);
            padding: 20px 24px;
            margin: 28px 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .tip-box strong {
            color: var(--accent);
        }
        .tip-box.warning {
            border-left-color: var(--danger);
        }
        .tip-box.warning strong {
            color: var(--danger);
        }
        .tip-box.success {
            border-left-color: var(--success);
        }
        .tip-box.success strong {
            color: var(--success);
        }
        .related-links {
            background: var(--card);
            padding: 20px 24px;
            border-radius: var(--radius);
            margin: 28px 0;
            border: 1px solid var(--border);
        }
        .related-links h4 {
            margin-top: 0;
            color: var(--accent);
        }
        .related-links ul {
            list-style: none;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px 20px;
            margin-top: 12px;
        }
        .related-links ul li a {
            font-size: 0.9rem;
            padding: 4px 0;
            display: inline-block;
        }
        .interaction-section {
            margin-top: 48px;
            padding-top: 32px;
            border-top: 2px solid var(--border);
        }
        .rating-area {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px 28px;
            background: var(--card);
            padding: 20px 24px;
            border-radius: var(--radius);
            margin-bottom: 32px;
            border: 1px solid var(--border);
        }
        .rating-area .stars {
            display: flex;
            gap: 6px;
            font-size: 1.8rem;
            color: var(--text-muted);
            cursor: pointer;
        }
        .rating-area .stars i {
            transition: color 0.2s, transform 0.15s;
        }
        .rating-area .stars i:hover,
        .rating-area .stars i.active {
            color: var(--accent);
            transform: scale(1.15);
        }
        .rating-area .rating-form {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .rating-area .rating-form input[type="number"] {
            width: 70px;
            padding: 8px 10px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text);
            font-size: 0.95rem;
            outline: none;
        }
        .rating-area .rating-form button {
            background: var(--accent);
            color: #0b0e14;
            border: none;
            padding: 8px 20px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 0.9rem;
        }
        .rating-area .rating-form button:hover {
            background: var(--accent-hover);
        }
        .comment-section {
            background: var(--card);
            padding: 24px;
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }
        .comment-section h3 {
            margin-top: 0;
        }
        .comment-section form {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 16px;
        }
        .comment-section form input,
        .comment-section form textarea {
            padding: 12px 16px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text);
            font-size: 0.95rem;
            outline: none;
            font-family: var(--font);
            transition: border 0.2s;
        }
        .comment-section form input:focus,
        .comment-section form textarea:focus {
            border-color: var(--accent);
        }
        .comment-section form textarea {
            min-height: 120px;
            resize: vertical;
        }
        .comment-section form button {
            align-self: flex-start;
            background: var(--accent);
            color: #0b0e14;
            border: none;
            padding: 10px 32px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 1rem;
        }
        .comment-section form button:hover {
            background: var(--accent-hover);
        }
        footer {
            background: var(--surface);
            border-top: 2px solid var(--border);
            padding: 40px 24px 20px;
            margin-top: 40px;
        }
        .footer-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
        }
        .footer-inner h4 {
            color: var(--accent);
            margin-top: 0;
            margin-bottom: 14px;
            font-size: 1.1rem;
        }
        .footer-inner p {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .footer-inner ul {
            list-style: none;
        }
        .footer-inner ul li {
            margin-bottom: 8px;
        }
        .footer-inner ul li a {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .footer-inner ul li a:hover {
            color: var(--accent);
        }
        friend-link {
            display: block;
            margin-top: 28px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
            grid-column: 1 / -1;
        }
        friend-link a {
            display: inline-block;
            margin-right: 24px;
            margin-bottom: 8px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        friend-link a:hover {
            color: var(--accent);
        }
        .copyright {
            grid-column: 1 / -1;
            text-align: center;
            font-size: 0.85rem;
            color: var(--text-muted);
            padding-top: 20px;
            border-top: 1px solid var(--border);
            margin-top: 16px;
        }
        @media (max-width: 1024px) {
            .container {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
                max-height: none;
                order: 2;
                margin-top: 32px;
            }
            .footer-inner {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 768px) {
            .header-inner {
                height: 64px;
            }
            .my-logo {
                font-size: 1.2rem;
            }
            .my-logo i {
                font-size: 1.3rem;
            }
            .nav-menu {
                position: fixed;
                top: 64px;
                left: 0;
                right: 0;
                background: var(--surface);
                flex-direction: column;
                padding: 24px 28px;
                gap: 18px;
                transform: translateY(-120%);
                opacity: 0;
                transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                border-bottom: 2px solid var(--border);
                box-shadow: var(--shadow);
                pointer-events: none;
                z-index: 99;
            }
            .nav-menu.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: all;
            }
            .hamburger {
                display: flex;
            }
            h1 {
                font-size: 1.9rem;
            }
            h2 {
                font-size: 1.5rem;
            }
            h3 {
                font-size: 1.2rem;
            }
            .container {
                padding: 16px 16px 40px;
                gap: 24px;
            }
            .breadcrumb-wrap {
                padding: 12px 16px 0;
            }
            .related-links ul {
                grid-template-columns: 1fr;
            }
            .rating-area {
                flex-direction: column;
                align-items: stretch;
            }
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .article-meta {
                flex-direction: column;
                gap: 8px;
            }
        }
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-muted);
        }
        ::selection {
            background: var(--accent);
            color: #0b0e14;
        }
        .anchor-offset {
            scroll-margin-top: 88px;
        }
