body, html {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
}

table {
    width: 100%;
}

td, th {
    text-align: left;
    padding: 4px 8px;
}

th {
    font-size: 18px;
    background-color: white;
    border-bottom: 3px solid black;
    position: sticky;
    top: 0;
    z-index: 100;
}

td {
    font-size: 14px;
    border-bottom: 1px solid black;
}

td:nth-child(2) {
    max-width: 320px;
    font-weight: bold;
}

td:nth-child(2):hover {
    cursor: pointer;
    opacity: 0.6;
}

tr {
    vertical-align: top;
}

tr:hover td {
    background-color: #efeeed;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    opacity: 0.6;
    z-index: 9000;
    display: none;
}

.modal {
    position: fixed;
    top: 48px;
    left: 48px;
    width: calc(100% - 2 * 48px - 2 * 48px);
    height: calc(100% - 2 * 48px - 2 * 48px);
    padding: 48px;
    background-color: white;
    z-index: 9005;
    display: none;
}

.portal {
    border: 0;
    width: 100%;
    height: 100%;
}

.anon { color: #8AAA75 }
.fang { color: #CCD4DA }
.rosa { color: #FE712B }
.stella { color: #c1ea9d }
.naomi { color: #ecc1b0 }
.naser { color: #FFB561 }
.trish { color: #5E4CA3 }
.reed { color: #E7203E }
.complete { color: green }
.incomplete { color: firebrick }
.on-going { color: darkcyan }

.clickable:hover {
    cursor: pointer;
    opacity: 0.6;
}

.filter-clear {
    position: fixed;
    top: 48px;
    right: 24px;
    background-color: white;
    opacity: 0.2;
}

.filter-clear:hover {
    opacity: 1;
    cursor: pointer;
}

.icon {
    width: 20px;
    height: 20px;
}

.pin,
.share,
.more {
    opacity: 0.1;
}

.pin:hover,
.share:hover,
.more:hover {
    cursor: pointer;
    opacity: 1;
}

.pin.active {
    opacity: 1;
}

tr.open .icon.more {
    opacity: 1;
}

tr.open .row-subcontent-wrapper {
    display: block;
}

.row-subcontent-wrapper {
    position: relative;
    display: none;
    z-index: 10;
}

.row-subcontent {
    position: absolute;
    width: calc(100vw - 78px);
    height: calc(200px - 16px);
    top: 0;
    left: 28px;
    text-align: justify;
    padding: 8px;
}

.row-subcontent-item {
    max-width: 50%;
}

.row-subcontent-item:not(:last-child) {
    margin-bottom: 12px;
}

.fanfic-text {
    font-family: sans-serif;
    text-align: justify;
    font-size: 16px;
    line-height: 18px;
    width: calc(100% - 48px);
}

.spoiler {
    background-color: black;
}

.spoiler:hover {
    background-color: transparent;
}
