        *,
        *::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, sans-serif;
            background: #faf9f6;
            color: #1e1e2a;
            line-height: 1.7;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 30px;
            min-height: 100vh;
        }
        a {
            color: #b8860b;
            text-decoration: none;
            transition: color 0.2s;
        }
        a:hover {
            color: #8b6508;
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
        }
        ul,
        ol {
            padding-left: 1.6rem;
            margin: 0.8rem 0;
        }
        li {
            margin-bottom: 0.4rem;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.3;
            color: #1a1a2e;
            margin-top: 1.8rem;
            margin-bottom: 0.6rem;
        }
        h1 {
            font-size: 2.4rem;
            margin-top: 0.4rem;
        }
        h2 {
            font-size: 1.8rem;
            border-bottom: 3px solid #d4a017;
            padding-bottom: 0.3rem;
        }
        h3 {
            font-size: 1.4rem;
            color: #2d2d44;
        }
        h4 {
            font-size: 1.15rem;
            color: #3d3d55;
        }
        p {
            margin: 0.8rem 0;
        }
        strong,
        b {
            color: #1a1a2e;
        }
        header {
            padding: 18px 0 10px;
            border-bottom: 2px solid #e0d6c8;
            margin-bottom: 20px;
        }
        .header-top {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: 1px;
            color: #1a1a2e;
            background: linear-gradient(135deg, #b8860b, #8b6508);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .my-logo i {
            background: #1a1a2e;
            -webkit-text-fill-color: #faf9f6;
            background-clip: unset;
            color: #faf9f6;
            font-size: 1.8rem;
            padding: 6px;
            border-radius: 8px;
        }
        .my-logo:hover {
            text-decoration: none;
            opacity: 0.85;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.7rem;
            color: #1a1a2e;
            cursor: pointer;
            padding: 4px 10px;
            border-radius: 6px;
            transition: background 0.2s;
        }
        .hamburger:hover {
            background: #e8e0d4;
        }
        nav {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px 18px;
        }
        nav a {
            font-weight: 600;
            color: #2d2d44;
            padding: 4px 0;
            border-bottom: 2px solid transparent;
            transition: 0.2s;
            font-size: 0.95rem;
        }
        nav a:hover {
            border-bottom-color: #b8860b;
            text-decoration: none;
            color: #b8860b;
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: #6b6b7a;
            padding: 8px 0 4px;
            margin-top: 6px;
        }
        .breadcrumb a {
            color: #6b6b7a;
            font-weight: 400;
        }
        .breadcrumb a:hover {
            color: #b8860b;
            text-decoration: none;
        }
        .breadcrumb span {
            color: #9a9aab;
        }
        .search-section {
            background: #f0ebe3;
            padding: 18px 22px;
            border-radius: 14px;
            margin: 24px 0 30px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 14px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        }
        .search-section label {
            font-weight: 700;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .search-section input[type="text"] {
            flex: 1 1 240px;
            padding: 10px 16px;
            border: 2px solid #d4c8b8;
            border-radius: 8px;
            font-size: 1rem;
            background: #fff;
            transition: 0.2s;
            min-width: 180px;
        }
        .search-section input[type="text"]:focus {
            border-color: #b8860b;
            outline: none;
            box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
        }
        .search-section button {
            background: #1a1a2e;
            color: #faf9f6;
            border: none;
            padding: 10px 28px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .search-section button:hover {
            background: #b8860b;
            transform: translateY(-1px);
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 280px;
            gap: 32px;
            margin: 20px 0;
        }
        .main-content {
            min-width: 0;
        }
        .sidebar {
            background: #f5f0e8;
            padding: 20px 18px;
            border-radius: 14px;
            border: 1px solid #e0d6c8;
            height: fit-content;
            position: sticky;
            top: 20px;
        }
        .sidebar h3 {
            font-size: 1.15rem;
            margin-top: 0;
            border-bottom: 2px solid #d4a017;
            padding-bottom: 6px;
        }
        .sidebar ul {
            list-style: none;
            padding-left: 0;
        }
        .sidebar li {
            padding: 6px 0;
            border-bottom: 1px solid #e8e0d4;
        }
        .sidebar li a {
            font-weight: 500;
        }
        .featured-img {
            margin: 20px 0 18px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        }
        .featured-img figcaption {
            font-size: 0.85rem;
            color: #6b6b7a;
            text-align: center;
            margin-top: 6px;
            font-style: italic;
        }
        .chess-table {
            width: 100%;
            border-collapse: collapse;
            margin: 16px 0 20px;
            font-size: 0.95rem;
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        }
        .chess-table th {
            background: #1a1a2e;
            color: #faf9f6;
            padding: 10px 14px;
            text-align: left;
            font-weight: 600;
        }
        .chess-table td {
            padding: 10px 14px;
            border-bottom: 1px solid #e8e0d4;
        }
        .chess-table tr:last-child td {
            border-bottom: none;
        }
        .chess-table tr:hover td {
            background: #f8f4ee;
        }
        .feedback-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin: 32px 0 20px;
        }
        .comment-box,
        .rating-box {
            background: #f5f0e8;
            padding: 20px 22px;
            border-radius: 14px;
            border: 1px solid #e0d6c8;
        }
        .comment-box h3,
        .rating-box h3 {
            margin-top: 0;
            border-bottom: 2px solid #d4a017;
            padding-bottom: 6px;
        }
        .comment-box textarea {
            width: 100%;
            padding: 12px 14px;
            border: 2px solid #d4c8b8;
            border-radius: 8px;
            font-size: 0.95rem;
            font-family: inherit;
            resize: vertical;
            min-height: 90px;
            transition: 0.2s;
            background: #fff;
        }
        .comment-box textarea:focus {
            border-color: #b8860b;
            outline: none;
            box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
        }
        .comment-box input[type="text"] {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid #d4c8b8;
            border-radius: 8px;
            font-size: 0.95rem;
            margin-bottom: 10px;
            background: #fff;
            transition: 0.2s;
        }
        .comment-box input[type="text"]:focus {
            border-color: #b8860b;
            outline: none;
            box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
        }
        .comment-box button,
        .rating-box button {
            background: #1a1a2e;
            color: #faf9f6;
            border: none;
            padding: 10px 28px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 8px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .comment-box button:hover,
        .rating-box button:hover {
            background: #b8860b;
            transform: translateY(-1px);
        }
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 4px;
            margin: 10px 0;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 2rem;
            color: #d4c8b8;
            cursor: pointer;
            transition: 0.2s;
        }
        .star-rating input:checked~label,
        .star-rating label:hover,
        .star-rating label:hover~label {
            color: #d4a017;
        }
        .rating-display {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1a1a2e;
            margin-top: 4px;
        }
        friend-link {
            display: block;
            background: #f0ebe3;
            padding: 18px 22px;
            border-radius: 14px;
            margin: 30px 0 14px;
            border: 1px solid #e0d6c8;
        }
        friend-link::before {
            content: "🔗 Friendly Links";
            display: block;
            font-weight: 700;
            font-size: 1.15rem;
            color: #1a1a2e;
            margin-bottom: 10px;
            border-bottom: 2px solid #d4a017;
            padding-bottom: 6px;
        }
        friend-link a {
            display: inline-block;
            margin: 4px 16px 4px 0;
            font-weight: 500;
            padding: 4px 0;
        }
        footer {
            text-align: center;
            padding: 22px 0 14px;
            border-top: 2px solid #e0d6c8;
            color: #6b6b7a;
            font-size: 0.9rem;
            margin-top: 20px;
        }
        footer .copyright {
            font-weight: 600;
            color: #1a1a2e;
        }
        .last-updated {
            display: inline-block;
            background: #e8e0d4;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            color: #4a4a5a;
            margin: 6px 0 10px;
        }
        @media (max-width: 820px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
                margin-top: 20px;
            }
            .feedback-section {
                grid-template-columns: 1fr;
            }
            h1 {
                font-size: 1.9rem;
            }
            h2 {
                font-size: 1.5rem;
            }
            h3 {
                font-size: 1.2rem;
            }
            .header-top {
                flex-wrap: wrap;
            }
            .hamburger {
                display: block;
            }
            nav {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: flex-start;
                padding: 12px 0 6px;
                gap: 2px;
            }
            nav.open {
                display: flex;
            }
            nav a {
                padding: 8px 0;
                font-size: 1rem;
                border-bottom: 1px solid #e8e0d4;
                width: 100%;
            }
            .search-section {
                flex-direction: column;
                align-items: stretch;
            }
            .search-section input[type="text"] {
                flex: 1 1 auto;
            }
            .chess-table {
                font-size: 0.8rem;
            }
            .chess-table th,
            .chess-table td {
                padding: 6px 8px;
            }
            body {
                padding: 0 12px 20px;
            }
        }
        @media (max-width: 460px) {
            h1 {
                font-size: 1.6rem;
            }
            .my-logo {
                font-size: 1.5rem;
            }
            .my-logo i {
                font-size: 1.3rem;
                padding: 4px;
            }
            .star-rating label {
                font-size: 1.6rem;
            }
            .chess-table {
                font-size: 0.7rem;
            }
            .chess-table th,
            .chess-table td {
                padding: 4px 6px;
            }
        }
        .highlight-box {
            background: #fdf8f0;
            border-left: 4px solid #d4a017;
            padding: 14px 20px;
            border-radius: 0 10px 10px 0;
            margin: 16px 0;
        }
        .emoji-big {
            font-size: 1.3rem;
            margin-right: 4px;
        }
        .tip {
            background: #eaf4e8;
            border-left: 4px solid #2e7d32;
            padding: 12px 18px;
            border-radius: 0 10px 10px 0;
            margin: 14px 0;
        }
        .inline-icon {
            margin-right: 6px;
            color: #b8860b;
        }
        .anchor-offset {
            scroll-margin-top: 20px;
        }
