@import url("https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css");

* {
    font-family: NanumSquare;
}

h1 {
    margin: 0;
    margin-bottom: 24px;
    font-weight: 600;
}

body {
    display: flex;
    justify-content: center;
    margin: 0;
}

main {
    width: 100%;
    max-width: 1062px;
    margin: 48px 0;
}

#archiveLogo {
    color: #ff3d3d;
    font-style: italic;
    font-size: 0.5em;
    font-weight: 900;
    margin-left: 2px;
}

.banner {
    width: calc(100% - 2px);
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding: 32px 0;
    flex-direction: column;
    align-items: center;
    & > div:first-child {
        margin-bottom: 4px;
    }
}

#prefix {
    color: #16d8a3;
    margin-right: 4px;
}

#prefix,
#title {
    font-size: 1.2rem;
    font-weight: 600;
}

#created,
#link {
    font-size: 0.8rem;
    color: #666;
}

#link {
    text-decoration: none;
}

#graqh {
    height: 30px;
    width: 0%;
    /* 35%와 67% */
    min-width: 40px;
    max-width: 100%;
    border-radius: 15px;
    background: linear-gradient(to right, #2cffed, #23ff7e);
    &:after {
        content: "";
        background-image: url("/public/2.svg");
        display: flex;
        height: 30px;
        width: 100%;
        filter: brightness(0) invert(1);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right;
    }
}

#graqhFrame {
    height: 30px;
    width: 100%;
    background: #eee;
    border-radius: 15px;
    position: absolute;
    z-index: -1;
}

div > :has(#graqh) {
    position: relative;
    width: calc(100% - 48px);
    margin-top: 8px;
}

#graqhTooltip {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.8rem;
    margin-top: 4px;
}

[id^="ds"] {
    border-bottom: 1px solid #ccc;
    padding: 16px 0;
    display: flex;
    & > span {
        font-weight: 600;
        font-size: 1.2rem;
        display: inline-block;
        min-width: 20%;
        max-width: 120px;
    }
}

#reply {
    border-radius: 12px;
    width: calc(100% - 48px);
    padding: 12px;
    margin: 12px;
    background-color: #ddd;
    & > span {
        font-weight: 600;
        display: block;
        font-size: 1.2rem;
    }
}
