/*
 * This file is a part of InfiniBrowser — https://infinibrowser.wiki/
 * Copyright (c) zeroptr. All rights reserved.
 */
p{margin-top:0;margin-bottom:1rem}h3{margin-top:1rem;margin-bottom:0}.header{margin-top:3.5rem;margin-bottom:1rem}.header>a+h1{margin-top:0}.btn-container{display:flex;flex-wrap:wrap;margin:1rem 0;gap:8px}.vbtn-container{display:grid;grid-auto-rows:max-content;width:max-content;gap:8px}.vbtn-container .btn{width:100%}#upload{border:1px dashed #555;width:max-content;margin:1rem 0;padding:1rem}.note{color:#999}.note a:hover{color:#fff}.user{display:flex;align-items:center;align-content:center;margin-top:-8px;gap:8px}.user img{border-radius:100%;height:2.5rem;width:2.5rem}.user-mention{border-radius:69px;background:#2e3237;transition:background-color .2s;text-decoration:none;font-weight:700;padding:4px 8px;cursor:pointer}.user-mention:hover{background:#454b53}.user-mention img{border-radius:100%;margin-bottom:-4px;height:2ch;width:2ch}.submit{margin-top:1rem;border-left:3px solid #5c646f;padding:.5rem 1rem}.submit .btn-container{margin-bottom:0}.submit h3{margin:0}ul{margin:8px 1rem;padding:0}#items{display:flex;flex-flow:row wrap;justify-content:center;margin-bottom:1rem;max-width:500px}.loader-container{display:flex;align-content:center;align-items:center;gap:8px}.savefiles{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;margin-top:8px;gap:2px}.savefile{display:flex;padding:12px;background:rgba(255,255,255,.04);align-content:center;align-items:center}.savefile .ibtn{display:none;margin-left:12px}.savefile .ibtn,.savefile .ibtn img{width:28px;height:28px}.savefile>div{display:flex;flex-direction:column;flex-grow:1}.savefile>div>span{color:#aaa}.savefile b span{margin-left:8px;font-size:.75rem;color:#777}.savefile:hover{background:rgba(255,255,255,.08)}.savefile:hover .ibtn{display:unset}.checkbox{margin:1rem 0;width:100%}.checkbox div{display:flex;align-items:center;align-content:center;cursor:pointer;gap:4px}.checkbox div:has(:checked){font-weight:700}.checkbox label{cursor:pointer;flex-grow:1}section{margin-bottom:2rem}.settings p{margin-bottom:0;color:#999}.settings .btn-container{margin-top:.5rem}.labels{display:flex;flex-wrap:wrap;margin-top:8px;gap:1rem}.stats{display:grid;grid-template-columns:1fr 1fr;margin-top:8px;gap:1rem}.mstats{display:flex;flex-wrap:wrap;justify-content:center;margin:12px 0}.mstat{padding:12px;border-radius:8px;min-width:150px}.mstat:hover{background:rgba(255,255,255,.05)}.mstats b{font-weight:900;font-size:2rem}@media screen and (max-width:600px){.stats{grid-auto-flow:column;grid-template-columns:1fr;grid-template-rows:max-content max-content}.mstats{flex-direction:column}.counters>div{padding:1.5rem!important}.counter{font-size:3rem!important}}@media screen and (max-width:450px){.btn-container .btn{width:100%}}.label{display:flex;align-content:center;align-items:center;gap:6px}.label::before{content:"";width:8px;height:8px;background:#666}.bar.blue,.label.blue::before{background:#3375cc}.bar.green,.label.green::before{background:#2baf3d}b.green{color:#2baf3d}.stat{flex-grow:1}.counters h2,.stat h3{margin:8px 0}.counters{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.counters>div{flex:1 1 400px;padding:2rem;border:1px solid var(--color);background:linear-gradient(180deg,var(--color) -400%,#0006);color:var(--color);border-radius:8px;opacity:.1}@keyframes appear{100%{opacity:1}}.counter{font-weight:900;font-size:4rem}.progressbar{display:flex;width:100%;height:40px;background:rgba(255,255,255,.05);border-radius:8px;overflow:hidden}.bar{flex-grow:var(--perc);border-right:2px solid #18181b;height:100%}.progressbar span{display:flex;align-items:center;align-content:center;justify-content:center;text-align:center;font-weight:700;padding:0 8px;height:100%}.progressbar>span{flex-grow:var(--perc);flex-shrink:1}.processing{cursor:wait;opacity:.75}.processing *{pointer-events:none}p.submit{margin-top:1.5rem;margin-bottom:1.6rem}.sorting h1{margin:0 auto 0 0}.leaderboard{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;counter-reset:place var(--c);gap:2px}.lb{padding:8px;margin:0!important;background:rgba(255,255,255,.04);text-decoration:none;font-size:1.3rem;flex-grow:1}.lb:hover{background:rgba(255,255,255,.08)}.lb img{width:3rem;height:3rem}.lb div{display:flex;flex-direction:column}.lb span:nth-child(2){color:#aaa;font-size:1rem;font-weight:400}.lb b::before{counter-increment:place;content:counter(place) ". "}.leaderboard[data-page="1"] .lb:first-of-type b::before{content:"🥇 "}.leaderboard[data-page="1"] .lb:nth-of-type(2) b::before{content:"🥈 "}.leaderboard[data-page="1"] .lb:nth-of-type(3) b::before{content:"🥉 "}.page{display:flex;align-items:center;align-content:center;justify-content:center;margin-top:1rem;gap:8px}.page span{text-align:center;width:48px}.contribute section{display:flex;width:100%;text-align:center;align-content:center;align-items:center;flex-direction:column;transition:opacity .3s,scale .3s;margin-top:2rem;gap:1rem}.contribute h1{font-size:2rem}#s_upload .title{max-width:400px}#s_upload label{display:flex;flex-direction:column;justify-content:center;align-content:center;align-items:center;width:255px;height:255px;cursor:pointer;margin-bottom:2rem;background-image:linear-gradient(90deg,currentColor 50%,transparent 50%),linear-gradient(90deg,currentColor 50%,transparent 50%),linear-gradient(0deg,currentColor 50%,transparent 50%),linear-gradient(0deg,currentColor 50%,transparent 50%);background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:24px 2px,24px 2px,2px 24px,2px 24px;background-position:left top,right bottom,left bottom,right top;animation:1s linear infinite border;transition:background-color .3s,color .5s,scale .6s}@keyframes border{to{background-position:left 24px top,right 24px bottom,left bottom 24px,right top 24px}}@keyframes hide_page{to{scale:0.8;opacity:0}}@keyframes show_page{from{scale:0.8;opacity:0}}#s_upload label:active,#s_upload label:hover,.drag #s_upload label{scale:1.1;animation-duration:.3s;background-color:rgba(255,255,255,.025);color:#8ef873}.contribute h2{font-size:1.5rem}.contribute h2,.contribute p{margin:0}#s_upload a,#s_upload label span{font-weight:500;color:#777}#s_upload a:hover,#s_upload p a{color:#fff}#s_submit{padding-top:5rem}