html, body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    overflow: auto;
    font-family: "Noto Serif CJK SC", "Noto Sans CJK SC", serif, sans-serif;
    font-size: 13px;
    color: #444444;
    position: relative;
}

h1, h2, h3, h4, h5, h6, p {
    margin-block-start: 0;
    margin-block-end: 0;
}

a {
    color: #ff5252;
}

body > header {
    /* 使用sticky时必须设置top! */
    /* position: sticky; */
    /* top: 0; */
    background-color: #fafafa;
    border: #eeeeee;
    box-shadow: 0 0 9px #cccccc;
    padding: 1rem;
}

body > header > p > b {
    color: green;
}

body > article > section {
    margin: 0 1rem;
    padding: 3rem 0;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto 1fr;
    border-bottom: 1px dotted #eeeeee;
}

body > article > section > aside > div {
    border-radius: 100%;
    padding: 1rem;
    background-color: #eeeeee;
}

body > article > section > aside > div > div {
    width: 48px;
    height: 48px;
    background-size: contain;
}

body > article > section > div {
    margin-left: 0.5rem;
}

body > article > section > div > h2 > sup {
    margin-left: 0.5rem;
    color: gray;
}

body > article > section > div > p {
    margin: 0.5rem 0;
}

body > article > section > div > p:nth-child(3) > a {
    text-decoration: none;
    display: inline-block;
    border: 1px solid #ef9a9a;
    box-shadow: 3px 0 6px #ccc;
    margin: 0.5rem;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    background-color: #ffebee;
    color: #ff5252;
    user-select: none;
    cursor: pointer;
}

body > article > section > div > p:nth-child(3) > a:first-child {
    margin-left: 0 !important;
}

body > article > section > div > p:nth-child(3) > a:hover {
    border-color: #ff5252;
}

body > footer {
    border-top: 1px solid #eeeeee;
    border-bottom: 3px solid #eeeeee;
    padding: 16px;
    background-color: #fafafa;
}

body > footer > div:first-child {
    display: flex;
}

body > footer > div:first-child > div {
    flex: 1;
}

body > footer > div:first-child > a {
    display: inline-block;
    margin-right: 1rem;
}

body > footer > div:nth-child(2) {
    margin-top: 1rem;
    border-top: 1px dashed #cccccc;
    padding-top: 1rem
}
