:root{
    --wt-font-size:0.7rem;
    --wt-accent:#fe0945;
    --wt-danger:#fe0945;
    --wt-good:#6eff8d;

    --wt-body:#bfbfbf;
    --wt-card:#e6e6e6;
    --wt-panel:#2b2b2b;
    --wt-white:#ffffff;

    --wt-text:#000000;
    --wt-text-light:#777777;
    --wt-text-on-dark:#ffffff;

    --wt-border:#fff;
    --wt-border-light:#dbdbdb;

    --wt-selection:#ccc;

    --wt-shadow:0 20px 60px rgba(0,0,0,.18);
    --wt-pop-overlay:rgba(43,43,43,.95);

    --wt-radius-xl:5px;
    --wt-radius-lg:5px;
    --wt-radius-md:5px;
    --wt-radius-sm:5px;
    --wt-radius-pill:5px;
}

html,
body{
    touch-action:manipulation;
}

button,
label,
input,
select{
    touch-action:manipulation;
}

body{
    font-family:"Geist Pixel", sans-serif;
    font-optical-sizing:auto;
    font-weight:400;
    font-style:normal;
    font-variation-settings:"ELSH" 0;
    margin:0;
    background:var(--wt-body);
}

::selection{
    background-color:var(--wt-selection);
    color:var(--wt-text-on-dark);
}

::-moz-selection{
    background-color:var(--wt-selection);
    color:var(--wt-text-on-dark);
}

img,
object,
video{
    max-width:100%;
    min-width:100%;
    -webkit-user-drag:none;
    overflow:hidden;
    border-radius:0;
}
.wt-transfer-card h1,
.wt-transfer-card p,
.wt-link-box p,
.wt-link-box input,
.wt-link-box button,
.wt-file-row,
.wt-file-row small,
.wt-history-row,
.wt-history-row small,
.wt-history-row button,
.wt-cancel-upload-btn,
.wt-pop-actions button,
.wt-upload-title,
.wt-upload-complete,
.wt-upload-status{
    font-size:var(--wt-font-size);
}
h2{
    text-align:left;
    color:var(--wt-text-light);
    font-size:var(--wt-font-size);
    line-height:1.2em;
    font-weight:500;
    margin-top:5px;
    margin-bottom:15px;
}

h3{
    text-align:center;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    font-weight:500;
    margin-top:5px;
    white-space:nowrap;
}
h4{
    text-align:center;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    font-weight:500;
}

#main{
    float:left;
    width:100%;
    opacity:0;
    transition:opacity 1s ease-in;
}

#preloader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:var(--wt-body);
    z-index:9999;
}

#progress-bar{
    width:100%;
    height:100%;
    background-color:var(--wt-body);
    transition:width 0.5s ease-in-out;
}

#load{
    position:fixed;
    z-index:10000;
    width:10em;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    animation:loadPulse 1s ease-in-out infinite;
}

@keyframes loadPulse{
    0%{ opacity:0.4; }
    50%{ opacity:1; }
    100%{ opacity:0.4; }
}

#logo{
    float:left;
    width:10em;
    margin-top:30px;
    margin-bottom:50px;
    margin-left:3%;
}

#full{
    display:block;
    margin-left:3%;
    margin-right:3%;
}

#null{
    width:100%;
    float:left;
}
#gapbot{
    width:100%;
    height:150px;
    float:left;
}

#wieldtransfer{
    clear:both;
    margin:0 3% 50px 3%;
}

.wt-transfer-card{
    background:var(--wt-card);
    border-radius:var(--wt-radius-xl);
    padding:15px;
}

.wt-drop-zone{
    border:2px dashed var(--wt-border);
    border-radius:var(--wt-radius-lg);
    min-height:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    cursor:pointer;
    background:var(--wt-body);
    transition:all .25s ease;
}

.wt-drop-zone h1{
    margin:0;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    font-weight:500;
}

.wt-drop-zone p{
    margin:8px 0 0;
    color:var(--wt-text-light);
    font-size:var(--wt-font-size);
}

.wt-drop-zone.is-dragging{
    background:var(--wt-white);
    border-color:var(--wt-accent);
    transform:scale(.99);
}

.wt-input{
    width:100%;
    box-sizing:border-box;
    margin-top:14px;
    padding:16px;
    border:0;
    border-radius:var(--wt-radius-pill);
    font-family:inherit;
    font-size:var(--wt-font-size);
}

.wt-upload-btn{
    width:100%;
    margin-top:14px;
    padding:16px;
    border:0;
    border-radius:var(--wt-radius-pill);
    background:var(--wt-accent);
    color:var(--wt-text-on-dark);
    font-family:inherit;
    font-size:var(--wt-font-size);
    cursor:pointer;
}

.wt-file-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:10px;
    padding:12px 14px;
    background:var(--wt-white);
    border-radius:var(--wt-radius-sm);
    color:var(--wt-text);
}

.wt-file-remove{
    flex:0 0 28px;
    width:28px;
    height:28px;
    border:0;
    border-radius:50%;
    background:var(--wt-card);
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    line-height:1;
    cursor:pointer;
}

.wt-download-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:20px;
}
.wt-download-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:14px 16px;
    background:var(--wt-white);
    border-radius:var(--wt-radius-sm);
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    text-decoration:none;
}

.wt-download-row small{
    color:var(--wt-text-light);
    font-size:var(--wt-font-size);
}
.wt-file-row > div{
    min-width:0;
}

.wt-file-row span{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.wt-file-row small{
    color:var(--wt-text-light);
    white-space:nowrap;
}

#wt-progress{
    margin-top:14px;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
}

.wt-link-box{
    margin-top:14px;
    padding:14px;
    background:var(--wt-white);
    border-radius:var(--wt-radius-md);
}

.wt-link-box p{
    margin:0 0 10px;
    color:var(--wt-text);
}

.wt-link-box input{
    width:100%;
    box-sizing:border-box;
    padding:12px;
    border:1px solid var(--wt-border-light);
    border-radius:12px;
    font-family:inherit;
}

.wt-link-box button{
    width:100%;
    margin-top:10px;
    padding:12px;
    border:0;
    border-radius:var(--wt-radius-pill);
    background:var(--wt-text);
    color:var(--wt-text-on-dark);
    font-family:inherit;
    cursor:pointer;
}

.wt-progress-bar{
    width:100%;
    height:16px;
    margin-top:12px;
    background:var(--wt-white);
    border-radius:var(--wt-radius-pill);
    overflow:hidden;
}

.wt-progress-fill{
    height:100%;
    width:0%;
    background:var(--wt-accent);
    border-radius:var(--wt-radius-pill);
    transition:width .2s ease;
}

.wt-progress-percent{
    margin-top:8px;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    text-align:center;
}

.wt-new-transfer-btn{
    background:var(--wt-accent) !important;
}

#wt-transfer-history{
    margin-top:18px;
}

.wt-history-title{
    margin-bottom:10px;
    color:var(--wt-text-light);
    font-size:var(--wt-font-size);
}

.wt-history-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-top:10px;
    padding:12px 14px;
    background:var(--wt-white);
    border-radius:var(--wt-radius-sm);
    color:var(--wt-text);
}

.wt-history-row strong{
    display:block;
    font-weight:500;
}

.wt-history-row small{
    display:block;
    margin-top:3px;
    color:var(--wt-text-light);
}

.wt-main-download-btn{
    display:block;
    box-sizing:border-box;
    width:100%;
    margin-top:18px;
    padding:16px;
    border:0;
    border-radius:var(--wt-radius-pill);
    background:var(--wt-accent);
    color:var(--wt-text-on-dark);
    font-family:inherit;
    font-size:var(--wt-font-size);
    text-align:center;
    text-decoration:none;
    cursor:pointer;
}

.wt-history-row button{
    flex:0 0 auto;
    border:0;
    border-radius:var(--wt-radius-pill);
    padding:9px 13px;
    background:var(--wt-text);
    color:var(--wt-text-on-dark);
    font-family:inherit;
    cursor:pointer;
}

.wt-history-actions{
    display:flex;
    gap:8px;
    flex:0 0 auto;
}

.wt-delete-transfer-btn{
    background:var(--wt-danger) !important;
}
.wt-upload-title{
    margin:14px 0;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    font-weight:500;
}
.wt-cancel-upload-btn{
    width:100%;
    margin-top:14px;
    padding:12px;
    border:0;
    border-radius:var(--wt-radius-pill);
    background:var(--wt-text);
    color:var(--wt-text-on-dark);
    font-family:inherit;
    cursor:pointer;
}

.wt-pop-wrap{
    position:fixed;
    inset:0;
    z-index:99999;
    background:var(--wt-pop-overlay);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
}

.wt-pop{
    width:min(420px, 100%);
    background:var(--wt-card);
    border-radius:var(--wt-radius-xl);
    padding:18px;
    text-align:center;
    box-shadow:var(--wt-shadow);
}

.wt-pop h2{
    margin:0 0 10px;
    text-align:center;
    color:var(--wt-text);
    font-size:var(--wt-font-size);
    font-weight:500;
}

.wt-pop p{
    margin:0 0 16px;
    color:var(--wt-text-light);
    font-size:var(--wt-font-size);
}

.wt-pop-actions{
    display:flex;
    gap:10px;
    font-size:var(--wt-font-size);
}

.wt-pop-actions button{
    flex:1;
    padding:14px;
    border:0;
    border-radius:var(--wt-radius-pill);
    font-family:inherit;
    cursor:pointer;
}

.wt-pop-cancel{
    background:var(--wt-text);
    color:var(--wt-text-on-dark);
}

.wt-pop-confirm{
    background:var(--wt-danger);
    color:var(--wt-text-on-dark);
}

.wt-pop-ok{
    background:var(--wt-accent);
    color:var(--wt-text-on-dark);
}
.wt-downloads-no,
.wt-downloads-yes{
    display:inline-block;
    padding:3px 8px;
    border-radius:var(--wt-radius-pill);
}

.wt-downloads-no{
    background:var(--wt-card);
    color:var(--wt-text-light);
}

.wt-downloads-yes{
    background:var(--wt-good);
    color:var(--wt-text-light);
}
@keyframes wtPulse{
    0%{opacity:.45;}
    50%{opacity:1;}
    100%{opacity:.45;}
}

.wt-progress-percent,
.wt-upload-status,
.wt-upload-complete{
    animation:wtPulse 1.2s ease-in-out infinite;
}