        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0b0e14;
            color: #e3e6eb;
            line-height: 1.75;
            padding: 0 1rem;
            max-width: 1280px;
            margin: 0 auto;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        a {
            color: #d4a74a;
            text-decoration: none;
            transition: color 0.2s, opacity 0.2s;
        }
        a:hover,
        a:focus-visible {
            color: #f0c85a;
            text-decoration: underline;
            outline: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }
        h1,
        h2,
        h3,
        h4 {
            font-weight: 600;
            line-height: 1.3;
            color: #f0f3f8;
            letter-spacing: 0.01em;
        }
        h1 {
            font-size: 2.4rem;
            margin: 1.5rem 0 0.75rem;
            border-left: 6px solid #d4a74a;
            padding-left: 1.2rem;
        }
        h2 {
            font-size: 1.8rem;
            margin: 2.5rem 0 0.8rem;
            border-bottom: 2px solid #2a313c;
            padding-bottom: 0.4rem;
        }
        h3 {
            font-size: 1.35rem;
            margin: 1.8rem 0 0.5rem;
            color: #d4a74a;
        }
        h4 {
            font-size: 1.1rem;
            margin: 1.2rem 0 0.3rem;
            color: #c8cdd6;
        }
        p {
            margin-bottom: 1.1rem;
        }
        ul,
        ol {
            margin: 0.6rem 0 1.2rem 1.8rem;
        }
        li {
            margin-bottom: 0.3rem;
        }
        strong {
            color: #f0c85a;
            font-weight: 600;
        }
        hr {
            border: none;
            border-top: 1px solid #2a313c;
            margin: 2rem 0;
        }
        blockquote {
            border-left: 4px solid #d4a74a;
            background: #141a22;
            padding: 0.8rem 1.2rem;
            margin: 1.2rem 0;
            border-radius: 0 6px 6px 0;
            font-style: italic;
            color: #c8cdd6;
        }
        code {
            background: #1e2530;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        .wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .site-header {
            padding: 1rem 0 0.5rem;
            border-bottom: 1px solid #1f2630;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }
        .my-logo {
            font-size: 1.7rem;
            font-weight: 700;
            color: #f0f3f8;
            text-transform: uppercase;
            letter-spacing: 1px;
            background: linear-gradient(135deg, #d4a74a, #b48a3a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
        }
        .my-logo small {
            font-size: 0.75rem;
            display: block;
            -webkit-text-fill-color: #7a7f8a;
            color: #7a7f8a;
            letter-spacing: 0.3px;
            font-weight: 400;
        }
        .my-logo:hover {
            opacity: 0.9;
            text-decoration: none;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: #e3e6eb;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            transition: background 0.2s;
        }
        .nav-toggle:hover {
            background: #1f2630;
        }
        .main-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem 1.2rem;
            align-items: center;
        }
        .main-nav a {
            font-size: 0.95rem;
            color: #b8bdc8;
            padding: 0.3rem 0;
            border-bottom: 2px solid transparent;
            transition: border-color 0.2s, color 0.2s;
        }
        .main-nav a:hover {
            color: #f0c85a;
            border-bottom-color: #d4a74a;
            text-decoration: none;
        }
        .breadcrumb {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding: 0.6rem 0 0.2rem;
            font-size: 0.85rem;
            color: #7a7f8a;
            width: 100%;
        }
        .breadcrumb li {
            margin: 0 0.3rem 0 0;
        }
        .breadcrumb li+li::before {
            content: "›";
            margin-right: 0.4rem;
            color: #4a505c;
        }
        .breadcrumb a {
            color: #9aa0ac;
        }
        .breadcrumb a:hover {
            color: #d4a74a;
        }
        .breadcrumb .active {
            color: #d4a74a;
        }
        .search-section {
            background: #141a22;
            border-radius: 12px;
            padding: 1.8rem 2rem;
            margin: 2rem 0 1.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            border: 1px solid #1f2630;
        }
        .search-section label {
            font-size: 1.1rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #d4a74a;
        }
        .search-section form {
            display: flex;
            flex: 1;
            min-width: 220px;
            gap: 0.5rem;
        }
        .search-section input[type="text"] {
            flex: 1;
            padding: 0.7rem 1rem;
            border: 1px solid #2a313c;
            border-radius: 6px;
            background: #0b0e14;
            color: #e3e6eb;
            font-size: 1rem;
            transition: border 0.2s;
        }
        .search-section input[type="text"]:focus {
            border-color: #d4a74a;
            outline: none;
        }
        .search-section button {
            padding: 0.7rem 1.4rem;
            background: #d4a74a;
            border: none;
            border-radius: 6px;
            color: #0b0e14;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .search-section button:hover {
            background: #f0c85a;
            transform: scale(1.02);
        }
        .content {
            flex: 1;
        }
        .content img {
            margin: 1.5rem auto;
            border-radius: 12px;
            max-height: 480px;
            width: 100%;
            object-fit: cover;
            background: #1a212b;
        }
        .lore-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.95rem;
            background: #141a22;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #1f2630;
        }
        .lore-table th {
            background: #1f2630;
            color: #d4a74a;
            padding: 0.7rem 1rem;
            text-align: left;
            font-weight: 600;
        }
        .lore-table td {
            padding: 0.6rem 1rem;
            border-top: 1px solid #1f2630;
        }
        .lore-table tr:hover td {
            background: #1a212b;
        }
        .rating-section {
            background: #141a22;
            border-radius: 12px;
            padding: 1.8rem 2rem;
            margin: 2rem 0;
            border: 1px solid #1f2630;
        }
        .rating-stars {
            display: flex;
            gap: 0.3rem;
            font-size: 1.8rem;
            color: #4a505c;
            cursor: pointer;
            direction: rtl;
            justify-content: flex-end;
        }
        .rating-stars input {
            display: none;
        }
        .rating-stars label {
            transition: color 0.2s, transform 0.1s;
            color: #4a505c;
        }
        .rating-stars label:hover,
        .rating-stars label:hover~label,
        .rating-stars input:checked~label {
            color: #f0c85a;
            transform: scale(1.1);
        }
        .rating-section form {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            margin-top: 0.8rem;
        }
        .rating-section form button {
            padding: 0.6rem 1.4rem;
            background: #d4a74a;
            border: none;
            border-radius: 6px;
            color: #0b0e14;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }
        .rating-section form button:hover {
            background: #f0c85a;
        }
        .rating-value {
            font-size: 1.2rem;
            color: #d4a74a;
            font-weight: 500;
        }
        .comments-section {
            background: #141a22;
            border-radius: 12px;
            padding: 1.8rem 2rem;
            margin: 2rem 0;
            border: 1px solid #1f2630;
        }
        .comments-section textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid #2a313c;
            border-radius: 6px;
            background: #0b0e14;
            color: #e3e6eb;
            font-size: 1rem;
            min-height: 100px;
            resize: vertical;
            font-family: inherit;
            transition: border 0.2s;
        }
        .comments-section textarea:focus {
            border-color: #d4a74a;
            outline: none;
        }
        .comments-section input[type="text"] {
            padding: 0.6rem 1rem;
            border: 1px solid #2a313c;
            border-radius: 6px;
            background: #0b0e14;
            color: #e3e6eb;
            font-size: 1rem;
            width: 100%;
            max-width: 320px;
            transition: border 0.2s;
        }
        .comments-section input[type="text"]:focus {
            border-color: #d4a74a;
            outline: none;
        }
        .comments-section form {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        .comments-section .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            align-items: center;
        }
        .comments-section button {
            padding: 0.7rem 1.8rem;
            background: #d4a74a;
            border: none;
            border-radius: 6px;
            color: #0b0e14;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            align-self: flex-start;
        }
        .comments-section button:hover {
            background: #f0c85a;
        }
        friend-link {
            display: block;
            padding: 1.8rem 2rem;
            background: #141a22;
            border-radius: 12px;
            margin: 2rem 0 1rem;
            border: 1px solid #1f2630;
        }
        friend-link ul {
            list-style: none;
            margin: 0.8rem 0 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem 2rem;
        }
        friend-link li {
            margin: 0;
        }
        friend-link a {
            color: #b8bdc8;
            font-size: 0.95rem;
        }
        friend-link a:hover {
            color: #f0c85a;
        }
        friend-link::before {
            content: "🔗 Friendly Links";
            font-weight: 600;
            font-size: 1.2rem;
            color: #d4a74a;
            display: block;
            margin-bottom: 0.3rem;
        }
        .site-footer {
            padding: 1.5rem 0 2.5rem;
            border-top: 1px solid #1f2630;
            margin-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 0.8rem;
            font-size: 0.9rem;
            color: #7a7f8a;
        }
        .site-footer .copyright {
            font-size: 0.85rem;
        }
        .site-footer a {
            color: #9aa0ac;
        }
        .site-footer a:hover {
            color: #d4a74a;
        }
        .last-updated {
            font-size: 0.85rem;
            color: #7a7f8a;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin: 0.5rem 0 1rem;
        }
        @media (max-width: 768px) {
            body {
                padding: 0 0.75rem;
            }
            h1 {
                font-size: 1.8rem;
                padding-left: 0.8rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            h3 {
                font-size: 1.15rem;
            }
            .site-header {
                flex-wrap: wrap;
            }
            .nav-toggle {
                display: block;
            }
            .main-nav {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: flex-start;
                padding: 0.8rem 0 0.4rem;
                gap: 0.3rem;
            }
            .main-nav.open {
                display: flex;
            }
            .main-nav a {
                padding: 0.4rem 0;
                font-size: 1rem;
                border-bottom: 1px solid #1f2630;
                width: 100%;
            }
            .search-section {
                flex-direction: column;
                padding: 1.2rem;
            }
            .search-section form {
                width: 100%;
            }
            .rating-section {
                padding: 1.2rem;
            }
            .comments-section {
                padding: 1.2rem;
            }
            .lore-table {
                font-size: 0.85rem;
            }
            .lore-table th,
            .lore-table td {
                padding: 0.4rem 0.6rem;
            }
            .site-footer {
                flex-direction: column;
                text-align: center;
            }
            friend-link {
                padding: 1.2rem;
            }
            friend-link ul {
                flex-direction: column;
                gap: 0.4rem;
            }
        }
        @media (max-width: 480px) {
            h1 {
                font-size: 1.5rem;
            }
            .my-logo {
                font-size: 1.3rem;
            }
            .rating-stars {
                font-size: 1.5rem;
            }
        }
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #0b0e14;
        }
        ::-webkit-scrollbar-thumb {
            background: #2a313c;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #3a4250;
        }
        @media print {
            body {
                background: #fff;
                color: #222;
            }
            .search-section,
            .rating-section,
            .comments-section,
            .nav-toggle,
            .main-nav {
                display: none !important;
            }
            a {
                color: #222;
            }
            h1,
            h2,
            h3,
            h4 {
                color: #222;
            }
            .lore-table {
                background: #fff;
                border-color: #ccc;
            }
            .lore-table th {
                background: #eee;
                color: #222;
            }
            .lore-table td {
                border-color: #ccc;
            }
            .site-header {
                border-bottom-color: #ccc;
            }
            .site-footer {
                border-top-color: #ccc;
            }
            friend-link {
                background: #f5f5f5;
                border-color: #ccc;
            }
            .breadcrumb {
                color: #555;
            }
            .breadcrumb a {
                color: #555;
            }
            .last-updated {
                color: #555;
            }
        }
