*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        :root {
            --primary: #1a2a3a;
            --secondary: #c9a84c;
            --accent: #e85d3a;
            --bg: #f4f2ed;
            --bg-card: #ffffff;
            --text: #1e1e1e;
            --text-light: #4a4a4a;
            --border: #d4cfc7;
            --radius: 8px;
            --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            --font: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
            --max-width: 1200px;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            padding: 0 1rem;
        }
        .wrapper {
            max-width: var(--max-width);
            margin: 0 auto;
            background: var(--bg-card);
            box-shadow: var(--shadow);
            border-radius: var(--radius);
            overflow: hidden;
        }
        a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.2s;
        }
        a:hover {
            color: #b8431f;
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius);
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--primary);
            line-height: 1.3;
            margin-top: 1.8rem;
            margin-bottom: 0.6rem;
        }
        h1 {
            font-size: 2.4rem;
            border-bottom: 4px solid var(--secondary);
            padding-bottom: 0.4rem;
        }
        h2 {
            font-size: 1.8rem;
            border-left: 5px solid var(--secondary);
            padding-left: 0.8rem;
            margin-top: 2.4rem;
        }
        h3 {
            font-size: 1.4rem;
            margin-top: 1.8rem;
        }
        h4 {
            font-size: 1.15rem;
            margin-top: 1.4rem;
            font-weight: 600;
        }
        p {
            margin-bottom: 1rem;
        }
        ul,
        ol {
            margin-bottom: 1.2rem;
            padding-left: 1.6rem;
        }
        li {
            margin-bottom: 0.3rem;
        }
        .container {
            padding: 1.2rem 1.8rem 2.5rem;
        }
        @media (max-width: 768px) {
            .container {
                padding: 0.8rem 1rem 1.8rem;
            }
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            h3 {
                font-size: 1.2rem;
            }
            body {
                padding: 0 0.4rem;
            }
        }
        header {
            background: var(--primary);
            color: #fff;
            padding: 0 1.8rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--secondary);
            padding: 0.8rem 0;
            display: inline-block;
            text-decoration: none;
        }
        .my-logo:hover {
            color: #e8c86a;
            text-decoration: none;
        }
        .my-logo span {
            color: #fff;
            font-weight: 300;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.6rem;
            cursor: pointer;
            padding: 0.6rem 0;
        }
        .nav-menu {
            display: flex;
            flex-wrap: wrap;
            gap: 0.2rem;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .nav-menu li a {
            display: block;
            padding: 0.8rem 1rem;
            color: #ddd;
            font-size: 0.92rem;
            border-radius: 4px;
            transition: background 0.2s, color 0.2s;
        }
        .nav-menu li a:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
            text-decoration: none;
        }
        @media (max-width: 768px) {
            header {
                padding: 0 1rem;
            }
            .nav-toggle {
                display: block;
            }
            .nav-menu {
                display: none;
                width: 100%;
                flex-direction: column;
                padding-bottom: 0.8rem;
            }
            .nav-menu.open {
                display: flex;
            }
            .nav-menu li a {
                padding: 0.6rem 0.8rem;
            }
        }
        .breadcrumbs {
            background: #eae7e0;
            padding: 0.5rem 1.8rem;
            font-size: 0.85rem;
            color: var(--text-light);
            border-bottom: 1px solid var(--border);
        }
        .breadcrumbs a {
            color: var(--primary);
        }
        .breadcrumbs span {
            margin: 0 0.3rem;
        }
        @media (max-width: 768px) {
            .breadcrumbs {
                padding: 0.4rem 1rem;
                font-size: 0.78rem;
            }
        }
        .feature-img {
            margin: 1.2rem 0 1.8rem;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .feature-img figcaption {
            background: var(--primary);
            color: #ddd;
            font-size: 0.85rem;
            padding: 0.4rem 1rem;
            text-align: center;
        }
        .search-box {
            background: #f0ede7;
            padding: 1.2rem 1.8rem;
            border-radius: var(--radius);
            margin: 1.2rem 0 1.8rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            align-items: center;
        }
        .search-box label {
            font-weight: 600;
            color: var(--primary);
        }
        .search-box input {
            flex: 1 1 200px;
            padding: 0.6rem 1rem;
            border: 1px solid var(--border);
            border-radius: 4px;
            font-size: 0.95rem;
        }
        .search-box button {
            background: var(--secondary);
            color: var(--primary);
            border: none;
            padding: 0.6rem 1.6rem;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 0.95rem;
        }
        .search-box button:hover {
            background: #dbb756;
        }
        .interact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
            margin: 2rem 0 1.2rem;
        }
        @media (max-width: 768px) {
            .interact-grid {
                grid-template-columns: 1fr;
            }
        }
        .card {
            background: #f8f6f2;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.2rem 1.4rem;
        }
        .card h4 {
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .card textarea,
        .card input,
        .card select {
            width: 100%;
            padding: 0.5rem 0.8rem;
            border: 1px solid var(--border);
            border-radius: 4px;
            font-family: var(--font);
            font-size: 0.92rem;
        }
        .card textarea {
            min-height: 70px;
            resize: vertical;
        }
        .card .btn {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 0.5rem 1.4rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.2s;
            margin-top: 0.4rem;
        }
        .card .btn:hover {
            background: #243b4e;
        }
        .star-rating {
            display: flex;
            gap: 0.3rem;
            font-size: 1.3rem;
            color: #ccc;
            cursor: pointer;
        }
        .star-rating .fas.fa-star {
            color: var(--secondary);
        }
        .star-rating .far.fa-star {
            color: #bbb;
        }
        friend-link {
            display: block;
            background: #eae7e0;
            padding: 1rem 1.8rem;
            border-top: 2px solid var(--border);
            font-size: 0.92rem;
        }
        friend-link a {
            display: inline-block;
            margin: 0.2rem 0.6rem 0.2rem 0;
        }
        footer {
            background: var(--primary);
            color: #bbb;
            padding: 1.4rem 1.8rem;
            font-size: 0.88rem;
            text-align: center;
        }
        footer a {
            color: var(--secondary);
        }
        footer .copyright {
            margin-top: 0.6rem;
            font-size: 0.82rem;
            color: #999;
        }
        .wiki-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0 1.6rem;
            font-size: 0.92rem;
        }
        .wiki-table th,
        .wiki-table td {
            border: 1px solid var(--border);
            padding: 0.5rem 0.8rem;
            text-align: left;
        }
        .wiki-table th {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
        }
        .wiki-table tr:nth-child(even) {
            background: #f8f6f2;
        }
        @media (max-width: 600px) {
            .wiki-table {
                font-size: 0.78rem;
            }
            .wiki-table th,
            .wiki-table td {
                padding: 0.3rem 0.5rem;
            }
        }
        .highlight {
            background: #fcf6e5;
            border-left: 4px solid var(--secondary);
            padding: 0.8rem 1.2rem;
            margin: 1rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .tag {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            padding: 0.1rem 0.6rem;
            border-radius: 3px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .last-updated {
            text-align: right;
            font-size: 0.82rem;
            color: var(--text-light);
            border-top: 1px solid var(--border);
            padding-top: 0.6rem;
            margin-top: 1.6rem;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
            margin: 1rem 0;
        }
        @media (max-width: 640px) {
            .grid-2 {
                grid-template-columns: 1fr;
            }
        }
        .toc {
            background: #f0ede7;
            padding: 1rem 1.4rem;
            border-radius: var(--radius);
            margin: 1.2rem 0;
        }
        .toc ul {
            list-style: none;
            padding-left: 0;
        }
        .toc ul li {
            margin-bottom: 0.3rem;
        }
        .toc ul li a {
            color: var(--primary);
        }
        .toc ul li a:hover {
            color: var(--accent);
        }
        .btn-top {
            position: fixed;
            bottom: 1.4rem;
            right: 1.4rem;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
            transition: background 0.2s;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .btn-top:hover {
            background: #243b4e;
        }
        @media (max-width: 768px) {
            .btn-top {
                width: 38px;
                height: 38px;
                font-size: 1rem;
                bottom: 1rem;
                right: 1rem;
            }
        }
