        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        :root {
            --primary: #FF6B35;
            --primary-light: #FF8A5C;
            --primary-dark: #E55A2B;
            --secondary: #004E89;
            --secondary-light: #1A6BA8;
            --accent: #FFD166;
            --bg: #FDF8F5;
            --bg-card: #FFFFFF;
            --text: #1A1A2E;
            --text-light: #4A4A5A;
            --border: #E8E0DC;
            --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
            --radius: 16px;
            --radius-sm: 8px;
            --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --max-width: 1200px;
            --header-h: 70px;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        a {
            color: var(--secondary);
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: color 0.2s;
        }
        a:hover {
            color: var(--primary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text);
            margin-top: 1.6em;
            margin-bottom: 0.4em;
        }
        h1 {
            font-size: 2.6rem;
            margin-top: 0.2em;
        }
        h2 {
            font-size: 2.0rem;
            border-left: 6px solid var(--primary);
            padding-left: 18px;
        }
        h3 {
            font-size: 1.5rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-light);
        }
        p {
            margin-bottom: 1.2em;
            font-size: 1.05rem;
        }
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .badge {
            display: inline-block;
            background: var(--accent);
            color: var(--text);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 20px;
            letter-spacing: 0.3px;
        }
        header {
            background: var(--bg-card);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
            position: sticky;
            top: 0;
            z-index: 100;
            height: var(--header-h);
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            text-decoration: none;
            color: var(--text);
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .my-logo:hover {
            color: var(--primary);
        }
        .my-logo span {
            background: var(--primary);
            color: #fff;
            padding: 0 10px;
            border-radius: 6px;
            font-size: 1.2rem;
            margin-left: 4px;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.6rem;
            color: var(--text);
            cursor: pointer;
            padding: 6px 10px;
            border-radius: var(--radius-sm);
            transition: background 0.2s;
        }
        .nav-toggle:hover {
            background: var(--bg);
        }
        nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        nav a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 500;
            font-size: 0.95rem;
            padding: 6px 14px;
            border-radius: 30px;
            transition: all 0.2s;
        }
        nav a:hover {
            background: var(--primary);
            color: #fff;
        }
        nav a.active {
            background: var(--secondary);
            color: #fff;
        }
        .breadcrumb {
            padding: 14px 0 6px;
            font-size: 0.85rem;
            color: var(--text-light);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }
        .breadcrumb a {
            text-decoration: none;
            color: var(--secondary);
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .breadcrumb span {
            color: var(--text-light);
        }
        .breadcrumb .sep {
            margin: 0 4px;
            color: #bbb;
        }
        .hero {
            background: linear-gradient(135deg, var(--secondary) 0%, #002B4A 100%);
            color: #fff;
            padding: 50px 0 60px;
            border-radius: 0 0 var(--radius) var(--radius);
            margin-bottom: 40px;
        }
        .hero h1 {
            color: #fff;
            font-size: 3rem;
            margin-top: 0;
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.85);
            max-width: 720px;
            margin-top: 12px;
        }
        .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
        }
        .hero-meta i {
            margin-right: 6px;
        }
        .search-box {
            background: var(--bg-card);
            padding: 28px 32px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin: 30px 0 40px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }
        .search-box label {
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--secondary);
        }
        .search-box input {
            flex: 1;
            min-width: 200px;
            padding: 12px 18px;
            border: 2px solid var(--border);
            border-radius: 30px;
            font-size: 1rem;
            outline: none;
            transition: border 0.2s;
            background: var(--bg);
        }
        .search-box input:focus {
            border-color: var(--primary);
        }
        .search-box button {
            padding: 12px 32px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
        }
        .search-box button:hover {
            background: var(--primary-dark);
            transform: scale(1.02);
        }
        .content-wrap {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin: 30px 0;
        }
        .main-content {
            background: var(--bg-card);
            padding: 40px 44px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .sidebar {
            position: sticky;
            top: calc(var(--header-h) + 20px);
            align-self: start;
            background: var(--bg-card);
            padding: 28px 24px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            max-height: 80vh;
            overflow-y: auto;
        }
        .sidebar h3 {
            font-size: 1.2rem;
            margin-top: 0;
            border-bottom: 2px solid var(--primary);
            padding-bottom: 10px;
        }
        .sidebar ul {
            list-style: none;
            margin-top: 14px;
        }
        .sidebar li {
            margin-bottom: 8px;
        }
        .sidebar a {
            text-decoration: none;
            color: var(--text-light);
            font-size: 0.95rem;
            display: block;
            padding: 4px 0;
            border-bottom: 1px solid var(--border);
            transition: color 0.2s;
        }
        .sidebar a:hover {
            color: var(--primary);
        }
        .featured-img {
            margin: 30px 0;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            background: var(--bg);
        }
        .featured-img img {
            width: 100%;
            height: auto;
            object-fit: cover;
            max-height: 480px;
        }
        .featured-img figcaption {
            padding: 12px 20px;
            font-size: 0.85rem;
            color: var(--text-light);
            background: var(--bg);
            border-top: 1px solid var(--border);
        }
        .interact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin: 40px 0 20px;
        }
        .card-form {
            background: var(--bg);
            padding: 24px 28px;
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }
        .card-form h3 {
            margin-top: 0;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .card-form form {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 12px;
        }
        .card-form input,
        .card-form textarea {
            padding: 10px 14px;
            border: 2px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            outline: none;
            background: var(--bg-card);
            transition: border 0.2s;
            font-family: var(--font);
        }
        .card-form input:focus,
        .card-form textarea:focus {
            border-color: var(--secondary);
        }
        .card-form textarea {
            min-height: 80px;
            resize: vertical;
        }
        .card-form button {
            padding: 10px 20px;
            background: var(--secondary);
            color: #fff;
            border: none;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            font-size: 0.95rem;
        }
        .card-form button:hover {
            background: var(--secondary-light);
            transform: scale(1.02);
        }
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            gap: 4px;
            justify-content: flex-end;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 1.6rem;
            color: #ddd;
            cursor: pointer;
            transition: color 0.15s;
        }
        .star-rating label:hover,
        .star-rating label:hover~label,
        .star-rating input:checked~label {
            color: #FFB800;
        }
        .toc {
            background: var(--bg);
            padding: 20px 24px;
            border-radius: var(--radius-sm);
            border-left: 4px solid var(--primary);
            margin: 30px 0;
        }
        .toc strong {
            font-size: 1.1rem;
            display: block;
            margin-bottom: 8px;
        }
        .toc ol {
            padding-left: 22px;
            columns: 2 240px;
            column-gap: 30px;
        }
        .toc li {
            margin-bottom: 4px;
        }
        .toc a {
            text-decoration: none;
        }
        .toc a:hover {
            text-decoration: underline;
        }
        friend-link {
            display: block;
            padding: 24px 0 12px;
            border-top: 2px solid var(--border);
            margin-top: 20px;
        }
        friend-link::before {
            content: "🔗 Friends & Related";
            font-weight: 700;
            font-size: 1.1rem;
            display: block;
            margin-bottom: 12px;
            color: var(--secondary);
        }
        friend-link a {
            display: inline-block;
            margin: 4px 16px 4px 0;
            font-size: 0.95rem;
        }
        footer {
            background: var(--text);
            color: rgba(255, 255, 255, 0.7);
            padding: 40px 0 30px;
            margin-top: 60px;
            border-radius: var(--radius) var(--radius) 0 0;
        }
        footer .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
        }
        footer .copy {
            font-size: 0.85rem;
        }
        footer .copy strong {
            color: #fff;
        }
        footer a {
            color: var(--accent);
            text-decoration: none;
        }
        footer a:hover {
            text-decoration: underline;
        }
        @media (max-width: 900px) {
            .content-wrap {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
                max-height: none;
            }
            .main-content {
                padding: 24px 18px;
            }
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .interact-grid {
                grid-template-columns: 1fr;
            }
            .toc ol {
                columns: 1;
            }
            .search-box {
                padding: 20px;
                flex-direction: column;
                align-items: stretch;
            }
            .search-box input {
                min-width: auto;
            }
            .header-inner {
                padding: 0 12px;
            }
            .my-logo {
                font-size: 1.4rem;
            }
            .my-logo span {
                font-size: 1rem;
            }
        }
        @media (max-width: 680px) {
            .nav-toggle {
                display: block;
            }
            nav {
                display: none;
                position: absolute;
                top: var(--header-h);
                left: 0;
                right: 0;
                background: var(--bg-card);
                flex-direction: column;
                padding: 16px 20px;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
                border-bottom: 2px solid var(--border);
                gap: 4px;
            }
            nav.open {
                display: flex;
            }
            nav a {
                padding: 10px 14px;
                border-radius: var(--radius-sm);
                width: 100%;
            }
            .hero {
                padding: 30px 0 40px;
            }
            .hero h1 {
                font-size: 1.8rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .main-content {
                padding: 16px 12px;
            }
            .breadcrumb {
                font-size: 0.75rem;
            }
            .star-rating label {
                font-size: 1.4rem;
            }
        }
        .text-small {
            font-size: 0.85rem;
            color: var(--text-light);
        }
        .mt-0 {
            margin-top: 0;
        }
        .mb-0 {
            margin-bottom: 0;
        }
        .flex-between {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
        }
        .highlight {
            background: #FFF3E0;
            padding: 0 6px;
            border-radius: 4px;
            font-weight: 600;
        }
        .emoji-lg {
            font-size: 1.4rem;
        }
        .tag {
            display: inline-block;
            background: var(--accent);
            padding: 2px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text);
        }
        .divider {
            border: none;
            height: 2px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            margin: 40px 0;
            opacity: 0.3;
        }
        .schema-hidden {
            display: none;
        }
