
body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #222;
    padding: 10px;
    color: #fff9d9;
    font-size:15px;
}
wrapper{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}
notice{
    display: block;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    max-height: 500px;
    overflow:hidden;
    transition: 0.2s all ease-out;
}
notice.mini{
    padding: 10px;
}
ab{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    transition: all 0.2s;
    max-height: 500px;
    padding-top: 10px;
}
nd, nh{
    display: block;
}
nd{
    opacity: 0.9;
}
nh{
    font-weight: bold;
    font-size:16px;
}
nh:first-child{
    font-weight: normal;
}
np{
    display: flex;
    align-items: center;

}
np *{
    padding-block: 3px;
}
ni-group{
    margin-left: auto;
    width: max-content;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
}


ni{
    padding-inline:7px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s all ease-out;
    opacity: 0.7;
}
ni:hover{
    transform: scale(1.1);
    opacity: 1;
}
ni:active{
    transform: scale(0.9);
}

ab.hidden, .ninja{
    max-height: 0px;
    padding: 0px;
    opacity: 0;

}
notice.ninja{
    transition: 0;
}
field-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 10px;
    margin-top:15px;
}
input, epic-group{
    outline: none;
    border: none;
    border-radius: 7px;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    color: white;
    font-size:16px;
    min-width: 0px;
}
#revert{
    display:none;
}
#date, #site{
    background: transparent;
}
epic-group{
    display: grid;
    grid-template-columns: 1fr max-content;

    padding:0px;
    align-items:center;
}
.mini-ico{
    padding: 12px;
    transition: 0.2s all;
    cursor: pointer;
}

.mini-ico:hover{
    transform: scale(1.1);
}
.mini-ico:active{
    transform: scale(0.9);
}

epic-group:last-child{
    grid-column: span 2;
}
site-list{
    --sites: 0;
    height: calc(43px * var(--sites) - 1px);
    margin-bottom: clamp(0px, calc(15px * var(--sites)), 15px);

    background: rgba(255,255,255,0.05);
    display: grid;
    grid-template-columns: 1fr;
    border-radius:10px;
    margin-top:10px;
    color: white;
    overflow: hidden;
    grid-gap:1px;
    transition: 0.2s;
}
entry, site-info{
    padding-inline:10px;
    padding-block:12px;
}
site-info{
    color: rgba(255,255,255,0.5);
    padding-bottom:10px;
}
entry.selected{
    background: rgba(255,255,255,0.1);
}
entry{
    background: rgba(255,255,255,0.03);
    cursor: pointer;
}
entry:hover{
    background: rgba(255,255,255,0.06);

}
#dropdown{
    transform: rotate(180deg);
}
#dropdown.unfold{
    transform: rotate(0deg);
}
#dropdown.bounce{
    animation: bounce_anim 0.4s forwards ease-out;
}
@keyframes bounce_anim{
    0%{
        transform: scale(1);
    }
    33%{
        transform: scale(0.85);
    }
    67%{
        transform: scale(1.15);
    }
    100%{
        transform: scale(1);
    }
}
nf{
    display: flex;
    white-space: nowrap;
    align-items: center;
    padding: 0px;

    grid-gap: 6px;
    margin-right:10px;
    color:white;
    opacity: 0.8;
    transition: 0.3s all;
    max-width: 150px;
    overflow: hidden;
}
nf.hidden{
    opacity: 0;
    max-width: 0px;
}
@media (max-width: 440px){
    nf span{
        display: none;
    }
}
a{
    color: white;
}
a:visited{
    color: rgba(255,255,255,0.8);
}
nd code{
    font-size:13px;
}
recycle-bin{
    display:none;
}
post{
    display: block;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    padding: 7px;
}
post-wrapper{
    display:block;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s all;
}
post-wrapper.expanded{
    background: rgba(255,255,255,0.03);
}
post-wrapper.expanded post{
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}
:root{
    --multiplier: clamp(0.5px, calc(0.41 * 1vw - 0.70px), 1.0px);
}
votes, expand{

    display: flex;
    align-items: center;
    padding: 7px;
    background: rgba(255,255,255,0.05);
    grid-gap: calc(7 * var(--multiplier));

    color: white;
    border-radius:10px;
    font-weight: bold;
    font-size: calc(13 * var(--multiplier));

}
top-part{
    display: flex;
    grid-gap: 7px;
}
top-part img{
    width: calc(18 * var(--multiplier));;
}
votes.upvote{
    background: rgba(64, 214, 97, 0.2);
}
votes.downvote{
    background: rgba(229, 67, 67, 0.2);
}
votes.accept{
    border: 1px solid rgba(202,255,214,0.7);
    background: rgba(202,255,214,0.15);
    color: white;
    padding: 6px;
}
votes.unaccept{
    border: 1px solid rgba(255,202,202,0.7);
    background: rgba(255,202,202,0.15);
    color: white;
    padding: 6px;
}
expand{
    grid-gap:5px;
    font-size: calc(13 * var(--multiplier));
    margin-left: auto;
    cursor: pointer;
    transition: 0.3s all;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

expand:hover{
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}
expand:active{
    transform: scale(0.95);
}
bottom-part{
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    margin-top:10px;
    grid-gap:8px;
    align-items: center;
    color: white;
    cursor: pointer;
}
post a{
    text-decoration: none;
}
last-vote{
    text-align: right;
    padding-right:4px;
    font-size:13px;
    color: rgba(255,255,255,0.7);
}
post-type{
    background: #0394fc;
    font-size:14px;
    padding:8px;
    font-weight: bold;
    padding-block:3px;
    border-radius:5px;
    text-transform: uppercase;
}
post-type.a{
    background: #db6d04;
}
results{
    --posts: 0;
    display: grid;
    grid-gap:10px;
    height: calc(87px * var(--posts) - 10px);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}
results.unshrink{
    height: auto !important;
}

expand img{
    transition: 0.3s all;
}
post-wrapper.expanded expand img{
    transform: rotate(90deg);
}
post-wrapper.expanded expand{
    filter: invert(1);
    background: rgba(35,35,35);
}
votes-breakdown{
    display: grid;
    grid-template-columns: 1fr;
    opacity: 0;
    padding: 0;
    transition: 0.2s all;
    grid-gap: 10px;
    height: 0px;
}
post-wrapper.expanded votes-breakdown{
    padding: 10px;
    opacity: 1;
    height: calc(35px * var(--votes) - 10px);
}
nf-2{
    display: flex;
    grid-gap: 10px;
    align-items: center;
    color: white;
    opacity: 0.8;
    margin-left: auto;
    margin-right: auto;
}

vote-exp img{
    width: 18px;
}
vote-exp{
    display: flex;
    color: white;
    grid-gap: 8px;
    align-items: center;
    font-size:15px;
}
daily-span{
    display:flex;
    margin-left:auto;
}
.accept vote-ts, .unaccept vote-ts{
    display:flex;
    margin-left:auto;
}
daily-span, daily-score, vote-ts{
    color: rgba(255,255,255,0.7);
}
daily-score{
    font-weight: bold;
    color: white;
}
sep{
    color: rgba(255,255,255,0.4);
    font-size:10px;
}
vote-exp span{
    display: flex;
    margin-left: 2px;
}
vote-exp.upvote span, vote-exp.accept span{

}
vote-exp.downvote span, vote-exp.unaccept span{

}
error{
    display: flex;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    align-items: center;
    font-size: 15px;
    grid-gap: 10px;
    max-height: 0px;
    transition: 0.2s all;
    color: white;
    opacity: 0;
}
error.shown{
    opacity: 1;
    padding:10px;
    margin-bottom: 10px;
    max-height: 50px;
}
post-title{
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
						  supported by Chrome, Edge, Opera and Firefox */
}