
@import url('/DATA/theme.css');
@import url('/DATA/coin.css');

:root {
    --wiki-bg: var(--iz-deep);
    --wiki-sheet: var(--iz-sheet);
    --wiki-box: var(--iz-box);
    --wiki-line: var(--iz-border-strong);
    --wiki-text: var(--iz-text);
    --wiki-muted: var(--iz-muted);
    --wiki-accent: var(--iz-accent);
    --wiki-accent-hover: var(--iz-accent-hover);
}

html, body {margin: 0}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--iz-font);
    font-size: 16px;
    line-height: 1.65;
    background: var(--wiki-bg);
    color: var(--wiki-text);
}

::selection {
    background: var(--wiki-line);
    color: var(--wiki-text);
}

a {
    color: var(--wiki-accent);
    text-decoration: underline;
    text-decoration-color: var(--wiki-line);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--wiki-accent-hover);
    text-decoration-color: currentColor;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    color: inherit;
    text-decoration: none;
}

#header {
    display: none;
}

main {
    padding: 24px 16px 40px;
}

#container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 48px 40px;
    background: var(--wiki-sheet);
    border: 1px solid var(--wiki-line);
    border-radius: var(--iz-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

#container main {
    padding: 0;
}

#container::after {
    content: "";
    display: table;
    clear: both;
}

p {
    margin: 0 0 1em;
}


h1, h2 {
    font-family: var(--iz-font-title);
    font-weight: normal;
    color: var(--wiki-text);
}

h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 0.3em 0 0.6em;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--wiki-line);
}

h2 {
    display: flow-root; 
    font-size: 25px;
    line-height: 1.3;
    margin: 1.6em 0 0.6em;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--wiki-line);
}

h3, h4 {
    font-family: var(--iz-font);
    font-weight: bold;
    color: var(--wiki-accent);
    margin: 1.4em 0 0.4em;
}

h3 {
    font-size: 19px;
}

h4 {
    font-size: 17px;
}

small {
    color: var(--wiki-muted);
}

hr {
    border: none;
    border-top: 1px solid var(--wiki-line);
    margin: 2em 0;
}

#toc {
    float: left;
    width: 240px;
    margin: 0 32px 16px 0;
    padding: 12px 16px 8px;
    background: var(--wiki-box);
    border: 1px solid var(--wiki-line);
    border-radius: var(--iz-radius);
    font-size: 14px;
    line-height: 1.4;
}

#toc::before {
    content: "Sommaire";
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: var(--wiki-text);
}

#toc:empty {
    display: none;
}

#toc ol {
    margin: 0;
    padding-left: 18px;
    list-style-type: disc;
}

#toc ol ol {
    padding-left: 14px;
    list-style-type: circle;
}

#toc li {
    padding: 2px 0;
}

#toc a {
    text-decoration: none;
}

#toc a:hover {
    text-decoration: underline;
}

#contents [id] {
    scroll-margin-top: 70px;
}

ol {
    padding-left: 2em;
}

ul {
    padding-left: 1.5em;
}

li {
    padding-bottom: 4px;
}

li::marker {
    color: var(--wiki-accent);
}

footer {
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--wiki-muted);
}

footer:empty {
    display: none;
}

.imagehere {
    height: 150px;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
}

.charactermain-image {
    height: 350px;
    width: 300px;
    margin-left: auto;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    border: 1px solid var(--wiki-line);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 4px 0 12px;
}

.galleryimage {
    width: 170px;
    height: 170px;
    background-color: var(--wiki-box);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--wiki-line);
    border-radius: var(--iz-radius);
}

.box,
.infobox {
    background: var(--wiki-box);
    border: 1px solid var(--wiki-line);
    border-radius: var(--iz-radius);
    padding: 10px 14px;
}

.characterprofile {
    float: right;
    width: 300px;
    margin: 0 0 30px 30px;
    background: var(--wiki-box);
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

table {
    border-collapse: collapse;
    width: 300px;
    background: var(--wiki-sheet);
    border: 1px solid var(--wiki-line);
    font-size: 15px;
}

td, th {
    text-align: left;
    padding: 5px 10px;
    border: 1px solid var(--wiki-line);
}

th {
    background: var(--wiki-box);
}

td:nth-child(odd) {
    font-weight: 600;
    text-align: right;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-container img {
    width: 32px;
    height: auto;
    border-radius: var(--iz-radius);
}

.title-container h2 {
    margin: 0;
}

@media only screen and (max-width: 1100px) {
    table, .characterprofile {
        float: left;
        width: 100%;
        margin: 10px 0 0 0;
    }

    .characterprofile {
        margin: 0 0 30px 0;
    }

    .charactermain-image {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

@media only screen and (max-width: 700px) {
    main {
        padding: 0;
    }

    #container {
        padding: 16px 18px 30px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    #toc {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }
}
