        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0e0b1a;
            color: #e4e0f0;
            line-height: 1.8;
            padding: 0 1rem;
            max-width: 1280px;
            margin: 0 auto;
        }
        a {
            color: #b8a9f0;
            text-decoration: none;
            transition: color 0.2s;
        }
        a:hover {
            color: #d6caff;
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }
        h1,
        h2,
        h3,
        h4 {
            font-weight: 600;
            line-height: 1.3;
            color: #f0ebff;
            margin-top: 2rem;
            margin-bottom: 0.75rem;
        }
        h1 {
            font-size: 2.4rem;
            margin-top: 0.5rem;
            border-left: 6px solid #f5c842;
            padding-left: 1.2rem;
        }
        h2 {
            font-size: 1.8rem;
            border-bottom: 2px solid #2d2640;
            padding-bottom: 0.4rem;
        }
        h3 {
            font-size: 1.35rem;
            color: #d4ccf0;
        }
        h4 {
            font-size: 1.1rem;
            color: #bfb5e8;
        }
        p {
            margin-bottom: 1.2rem;
            color: #d9d4e8;
        }
        ul,
        ol {
            margin-left: 1.8rem;
            margin-bottom: 1.4rem;
            color: #d9d4e8;
        }
        li {
            margin-bottom: 0.4rem;
        }
        strong {
            color: #f5e8a0;
            font-weight: 600;
        }
        em {
            color: #c8b8f0;
            font-style: italic;
        }
        .wrapper {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        main {
            flex: 1;
            padding: 1.5rem 0;
        }
        header {
            padding: 1.2rem 0 0.6rem 0;
            border-bottom: 1px solid #2a2240;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }
        .my-logo {
            font-size: 1.9rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #f5c842, #e8b830);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(245, 200, 66, 0.15);
            display: inline-block;
        }
        .my-logo a {
            color: inherit;
            text-decoration: none;
        }
        .my-logo a:hover {
            text-decoration: none;
        }
        .my-logo small {
            font-size: 0.7rem;
            -webkit-text-fill-color: #8870c0;
            display: block;
            letter-spacing: 2px;
            font-weight: 300;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: 1px solid #3d2e60;
            color: #e4e0f0;
            font-size: 1.6rem;
            padding: 0.3rem 0.8rem;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .nav-toggle:hover {
            background: #1f1830;
        }
        nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.2rem 0.8rem;
            align-items: center;
        }
        nav a {
            padding: 0.4rem 0.9rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            color: #c8bcf0;
            transition: all 0.2s;
            white-space: nowrap;
        }
        nav a:hover {
            background: #2a1f48;
            color: #f0ebff;
            text-decoration: none;
        }
        nav a.active {
            background: #3d2a6a;
            color: #f5e8a0;
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.4rem 0.6rem;
            font-size: 0.85rem;
            padding: 0.8rem 0 0.2rem 0;
            color: #8870b0;
            width: 100%;
        }
        .breadcrumb a {
            color: #a895d8;
        }
        .breadcrumb span {
            color: #6a5a8a;
        }
        .breadcrumb .current {
            color: #d4c8f0;
            font-weight: 500;
        }
        .search-wrap {
            display: flex;
            gap: 0.4rem;
            margin: 1.2rem 0 2rem 0;
            max-width: 520px;
            width: 100%;
        }
        .search-wrap input[type="text"] {
            flex: 1;
            padding: 0.7rem 1.2rem;
            border: 1px solid #3d2e60;
            border-radius: 40px;
            background: #161028;
            color: #e4e0f0;
            font-size: 0.95rem;
            outline: none;
            transition: border 0.2s, box-shadow 0.2s;
        }
        .search-wrap input[type="text"]:focus {
            border-color: #f5c842;
            box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.15);
        }
        .search-wrap button {
            padding: 0.7rem 1.6rem;
            border: none;
            border-radius: 40px;
            background: linear-gradient(135deg, #f5c842, #d9a830);
            color: #0e0b1a;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.2s;
        }
        .search-wrap button:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 20px rgba(245, 200, 66, 0.3);
        }
        .hero-figure {
            margin: 1.8rem 0 2.4rem 0;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
            background: #1a1430;
            position: relative;
        }
        .hero-figure img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
        }
        .hero-caption {
            padding: 1rem 1.6rem;
            background: rgba(14, 11, 26, 0.85);
            font-size: 0.9rem;
            color: #b8a8e0;
            border-top: 1px solid #2d2248;
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.6rem 0 2.2rem 0;
            font-size: 0.92rem;
            background: #161028;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        .data-table thead {
            background: #2d1f50;
        }
        .data-table th {
            padding: 0.8rem 1.2rem;
            text-align: left;
            font-weight: 600;
            color: #f5e8a0;
            border-bottom: 2px solid #3d2e60;
        }
        .data-table td {
            padding: 0.7rem 1.2rem;
            border-bottom: 1px solid #221a38;
            color: #d4cce8;
        }
        .data-table tbody tr:hover {
            background: #1f1738;
        }
        .feedback-section {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin: 3rem 0 2rem 0;
            padding: 2rem 0;
            border-top: 1px solid #2d2248;
            border-bottom: 1px solid #2d2248;
        }
        .feedback-card {
            flex: 1 1 280px;
            background: #161028;
            padding: 1.6rem 1.8rem;
            border-radius: 16px;
            border: 1px solid #2d2248;
        }
        .feedback-card h3 {
            margin-top: 0;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        .feedback-card label {
            display: block;
            margin: 0.8rem 0 0.3rem 0;
            font-weight: 500;
            color: #c8bcf0;
        }
        .feedback-card input,
        .feedback-card textarea,
        .feedback-card select {
            width: 100%;
            padding: 0.6rem 1rem;
            border: 1px solid #3d2e60;
            border-radius: 8px;
            background: #0e0b1a;
            color: #e4e0f0;
            font-size: 0.95rem;
            outline: none;
            transition: border 0.2s;
            margin-bottom: 0.6rem;
        }
        .feedback-card input:focus,
        .feedback-card textarea:focus,
        .feedback-card select:focus {
            border-color: #f5c842;
        }
        .feedback-card textarea {
            min-height: 80px;
            resize: vertical;
        }
        .feedback-card .btn-submit {
            background: linear-gradient(135deg, #f5c842, #d9a830);
            color: #0e0b1a;
            font-weight: 600;
            border: none;
            padding: 0.7rem 1.8rem;
            border-radius: 40px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.2s;
            font-size: 0.95rem;
            margin-top: 0.4rem;
        }
        .feedback-card .btn-submit:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 20px rgba(245, 200, 66, 0.25);
        }
        .star-rating {
            display: flex;
            gap: 0.3rem;
            direction: rtl;
            justify-content: flex-end;
            margin: 0.4rem 0 0.8rem 0;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 1.8rem;
            color: #3d2e60;
            cursor: pointer;
            transition: color 0.15s;
            margin: 0;
        }
        .star-rating label:hover,
        .star-rating label:hover~label,
        .star-rating input:checked~label {
            color: #f5c842;
        }
        footer {
            padding: 2rem 0 1.2rem 0;
            border-top: 1px solid #2a1f40;
            margin-top: 3rem;
            font-size: 0.9rem;
            color: #8870a8;
        }
        footer .footer-inner {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1.5rem;
        }
        footer .copyright {
            width: 100%;
            text-align: center;
            padding-top: 1.2rem;
            border-top: 1px solid #1f1830;
            margin-top: 1.2rem;
            font-size: 0.82rem;
            color: #6a5a82;
        }
        friend-link {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem 1.2rem;
            padding: 0.8rem 0;
            font-size: 0.88rem;
        }
        friend-link a {
            color: #a895d8;
            padding: 0.2rem 0.6rem;
            border-radius: 6px;
            background: #1a1430;
            transition: background 0.2s;
        }
        friend-link a:hover {
            background: #2a1f48;
            text-decoration: none;
        }
        friend-link::before {
            content: "🔗 Friends: ";
            font-weight: 500;
            color: #8870b0;
        }
        @media (max-width: 768px) {
            body {
                padding: 0 0.8rem;
            }
            h1 {
                font-size: 1.7rem;
                padding-left: 0.8rem;
            }
            h2 {
                font-size: 1.35rem;
            }
            h3 {
                font-size: 1.1rem;
            }
            .my-logo {
                font-size: 1.4rem;
            }
            .nav-toggle {
                display: inline-block;
            }
            nav {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: flex-start;
                gap: 0.3rem;
                padding: 0.8rem 0 0.4rem 0;
                border-top: 1px solid #2a1f40;
                margin-top: 0.6rem;
            }
            nav.open {
                display: flex;
            }
            nav a {
                width: 100%;
                padding: 0.5rem 1rem;
                border-radius: 8px;
            }
            .breadcrumb {
                font-size: 0.75rem;
            }
            .search-wrap {
                flex-wrap: wrap;
            }
            .search-wrap button {
                width: 100%;
            }
            .feedback-section {
                flex-direction: column;
                gap: 1.2rem;
            }
            .feedback-card {
                flex: 1 1 auto;
            }
            .data-table {
                font-size: 0.78rem;
            }
            .data-table th,
            .data-table td {
                padding: 0.5rem 0.6rem;
            }
            footer .footer-inner {
                flex-direction: column;
                gap: 0.8rem;
            }
            friend-link {
                flex-direction: column;
                gap: 0.4rem;
            }
        }
        @media (min-width: 769px) {
            .nav-toggle {
                display: none !important;
            }
            nav {
                display: flex !important;
            }
        }
        .badge {
            display: inline-block;
            background: #2d1f50;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            color: #d4c8f0;
            margin-right: 0.4rem;
        }
        .highlight-box {
            background: #1a1430;
            border-left: 4px solid #f5c842;
            padding: 1.2rem 1.6rem;
            border-radius: 0 12px 12px 0;
            margin: 1.6rem 0;
        }
        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.8rem;
            margin: 1.6rem 0;
        }
        @media (max-width: 640px) {
            .two-col {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }
        .emoji-lg {
            font-size: 1.4em;
            display: inline-block;
            margin-right: 0.2rem;
        }
        .last-updated {
            font-size: 0.85rem;
            color: #8870b0;
            margin: 0.2rem 0 1.2rem 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .toc {
            background: #161028;
            border-radius: 12px;
            padding: 1.4rem 1.8rem;
            margin: 1.6rem 0 2.4rem 0;
            border: 1px solid #2d2248;
        }
        .toc h3 {
            margin-top: 0;
        }
        .toc ol {
            margin: 0.6rem 0 0 1.4rem;
        }
        .toc a {
            color: #b8a9f0;
        }
        .toc a:hover {
            color: #f5e8a0;
        }
        .quote-block {
            font-style: italic;
            border-left: 4px solid #f5c842;
            padding: 0.8rem 1.4rem;
            margin: 1.2rem 0;
            background: #1a1430;
            border-radius: 0 12px 12px 0;
            color: #d0c4f0;
        }
        .quote-block cite {
            display: block;
            margin-top: 0.4rem;
            font-size: 0.85rem;
            color: #8870b0;
            font-style: normal;
        }
        .data-table td a {
            color: #c8b8f0;
        }
        .data-table td a:hover {
            color: #f5e8a0;
        }
        .feedback-card select option {
            background: #0e0b1a;
            color: #e4e0f0;
        }
        ::selection {
            background: #f5c842;
            color: #0e0b1a;
        }
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #0e0b1a;
        }
        ::-webkit-scrollbar-thumb {
            background: #3d2e60;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #5a4290;
        }
