@font-face {
    font-family: "HYWenHei";
    src: url("zh-cn.ttf");
}

body {
    font-size: 11pt;
    font-family: "HYWenHei", sans-serif;
    padding: 1rem;

    display: flex;
    align-items: space-between;
    gap: 16px;
}

p,
ul {
    margin: 0 0 0.75rem 0;
}

#header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.25rem;
}

h2 {
    color: #bd6b33;
    margin: 0;
}

hr {
    margin-bottom: 1rem;
}

select {
    margin-bottom: 1rem;
}

input[type="checkbox"],
label {
    cursor: pointer;
}
select {
    padding: 8px 24px;
    border-radius: 5rem;
    font-family: "HYWenHei", sans-serif;
}

#settings {
    max-width: 400px;
}

#artifact-file {
    margin-bottom: 16px;
}

#artifact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    align-content: start;
    justify-content: center;
    gap: 16px;
}

button {
    padding: 12px 64px;
    background: #bd6b33;
    color: #f8f4e0;
    font-family: "HYWenHei", sans-serif;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
}
button:active {
    background: #a35c2c;
}

.artifact {
    background: #ede5da;
    color: #3b4554;

    display: flex;
    flex-direction: column;

    width: 300px;
}
.artifact .header {
    color: #f8f4e0;
    background: #bd6b33;
    font-size: 16pt;
    padding: 8px 16px;
}
.artifact .banner {
    background: linear-gradient(150deg, #695753 0%, #e3ab54 100%);
    color: #fcfffe;
    padding: 8px 16px;
    font-size: 14pt;

    display: flex;
    justify-content: space-between;
    align-items: end;
}
.artifact .main {
    text-align: left;
}
.artifact .name {
    text-align: right;
}
.artifact .body {
    border-top: 4px solid #8b6c4f;
    padding: 8px 16px;
    line-height: 1.6;
}
.artifact .lvl {
    background: #3c434c;
    color: #fcfffe;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 10pt;
    margin-bottom: 12px;
}
.artifact .roll {
    background: #efcd94;
    color: #7b571c;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.artifact .roll0 {
    line-height: 1.3;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
}
.artifact .equip {
    background: #ffe6bb;
    color: #4a4d65;
    padding: 8px 16px;
    border-bottom: 4px solid #f4e1b2;
}
.artifact .equip-none {
    border-bottom: 4px solid #d7d0c2;
}
