  :root {
        --wiki-border: #a2a9b1;
        --wiki-bg-gray: #f8f9fa;
        --wiki-text: #202122;
        --link-blue: #0645ad;
        --link-visited: #0b0080;
        --wiki-font: sans-serif;
        --serif-font: 'Linux Libertine', 'Georgia', 'Times', serif;
    }

    body {
        font-family: var(--wiki-font);
        background-color: #ffffff;
        color: var(--wiki-text);
        margin: 0;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    /* Layout Utility */
    .container { max-width: 1000px; margin: 0 auto; padding: 20px; background: #fff; }
    a { color: var(--link-blue); text-decoration: none; }
    a:hover { text-decoration: underline; }
    a:visited { color: var(--link-visited); }

    /* Header */
    header.wiki-header {
        background: #f6f6f6;
        border-bottom: 1px solid var(--wiki-border);
        padding: 15px 0;
        margin-bottom: 20px;
    }
    .header-inner {
        max-width: 1000px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
    .wiki-logo {
        font-family: var(--serif-font);
        font-size: 1.8rem;
        color: #000;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .wiki-logo img { height: 45px; } 
    .wiki-logo small { font-size: 0.7rem; color: #555; display: block; margin-top: -5px; }

    /* Search Bar */
    .wiki-search form { display: flex; }
    .wiki-search input {
        padding: 8px;
        border: 1px solid #ccc;
        width: 250px;
    }
    .wiki-search button {
        padding: 8px 15px;
        background: #f8f9fa;
        border: 1px solid #ccc;
        border-left: none;
        cursor: pointer;
        font-weight: bold;
    }

    /* Navigation */
    nav.wiki-nav {
        background: #ffffff;
        border-bottom: 1px solid #a2a9b1;
        margin-bottom: 15px;
        max-width: 1000px;
        margin: 0 auto;
    }
    nav.wiki-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        padding-left: 15px;
    }
    nav.wiki-nav li { margin-right: 5px; }
    nav.wiki-nav a {
        display: block;
        padding: 10px 15px;
        color: var(--link-blue);
        background: linear-gradient(to bottom,#fff 0,#f6f6f6 100%);
        border: 1px solid #a2a9b1;
        border-bottom: none;
        border-radius: 5px 5px 0 0;
        font-size: 0.9rem;
    }
    nav.wiki-nav a:hover { background: #fff; }

    /* Footer */
    .wiki-footer {
        margin-top: 50px;
        padding: 30px;
        border-top: 1px solid #a2a9b1;
        font-size: 0.8rem;
        color: #555;
        background: #f6f6f6;
        text-align: center;
    }

    /* Common Elements */
    h1, h2, h3 { font-family: var(--serif-font); font-weight: normal; border-bottom: 1px solid #a2a9b1; padding-bottom: 5px; }
    h1 { font-size: 2rem; margin-top: 0; }
    
    /* Grid for Categories/Indexes */
    .wiki-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
        margin-top: 15px;
    }
    .wiki-gallery-item {
        border: 1px solid #ccc;
        background: #f8f9fa;
        text-align: center;
        padding: 5px;
    }
    .wiki-gallery-item img {
        max-width: 100%;
        height: auto;
        border: 1px solid #eee;
    }
    .wiki-gallery-item span {
        display: block;
        margin-top: 5px;
        font-size: 0.85rem;
        line-height: 1.2;
    }