:root{color-scheme:dark;--red:#ff3b34;--red-hover:#ff514b;--bg:#111;--line:#2c2c2c;--muted:#848484}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:#eee;font:14px/1.5 Arial,Helvetica,sans-serif}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.4}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:48px 24px}
.stage{width:360px;max-width:100%;text-align:center}
.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:300px;padding:28px 18px;border:1px dashed transparent;border-radius:16px;background:transparent;color:inherit;transition:border-color .2s,background .2s}
.dropzone:hover,.dropzone.dragover{border-color:#4a2927;background:#ff3b3404}
.dropzone.dragover{border-color:var(--red);background:#ff3b340b}
.flight{position:relative;display:block;width:120px;height:120px;margin:0 0 22px;animation:flight 3.2s ease-in-out infinite}
.plane{display:block;width:100%;height:100%}
.dropzone strong{font-size:19px;font-weight:500;letter-spacing:-.3px;overflow-wrap:anywhere;max-width:100%}
.dropzone #fileSize{color:var(--muted);font-size:12px;margin-top:8px}
.limits{font-size:10px;color:#5f5f5f;margin-top:26px}
.dropzone:hover #fileSize,.dropzone.dragover #fileSize{color:#bbb}
.dropzone.dragover .flight{animation:none;transform:translate(7px,-7px)}
@keyframes flight{0%,100%{transform:translate(-5px,5px) rotate(-8deg)}30%{transform:translate(6px,-6px) rotate(7deg)}65%{transform:translate(3px,-3px) rotate(2deg)}}
body[data-state="selected"] .dropzone{min-height:0;padding:8px 12px 18px}
body[data-state="selected"] .flight{width:72px;height:72px;margin:0 0 20px;animation:none}
body[data-state="selected"] .dropzone strong{font-size:15px;font-weight:500;letter-spacing:0}
body[data-state="selected"] .limits{display:none}
.selection-tools{margin:-9px 0 20px}
.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 0;border:0;background:transparent;color:#939393;text-decoration:none;font-size:11px}
.text-button:hover{color:#eee}
.option{padding:17px 0;border-top:1px solid var(--line);text-align:left}
.option-label{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:#c8c8c8;cursor:pointer}
input[type=checkbox]{appearance:none;position:relative;flex-shrink:0;width:34px;height:20px;margin:0;border:0;border-radius:20px;background:#3a3a3a;cursor:pointer;transition:background .15s}
input[type=checkbox]:before{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#bbb;transition:transform .15s}
input[type=checkbox]:checked{background:var(--red)}
input[type=checkbox]:checked:before{transform:translateX(14px);background:#fff}
.field{margin-top:13px;text-align:left}
.field small{display:block;color:#727272;font-size:10px;margin-top:7px}
.field-label{display:block;color:#939393;font-size:10px;margin:12px 0 7px}
input:not([type=checkbox],[type=file]){width:100%;min-width:0;padding:12px;border:1px solid #333;border-radius:6px;background:#191919;color:#e3e3e3;font-size:12px}
input::placeholder{color:#696969}
input[readonly]{color:#969696}
.primary{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:46px;margin-top:16px;padding:12px 16px;border:0;border-radius:7px;background:var(--red);color:#fff;font-size:13px;font-weight:600}
.primary:hover:enabled{background:var(--red-hover)}
.primary span{font-size:20px;line-height:1}
.account-area{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px;color:#6f6f6f;font-size:10px}
.account-area>span{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-area .text-button{font-size:10px;color:#6f6f6f}
.account-area .text-button:hover{color:#ccc}
.status{margin:15px 0 0;color:#8d8d8d;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.status.error{color:#ff8882}
.upload-progress{margin-top:24px}
.upload-progress>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#a3a3a3}
progress{display:block;width:100%;height:3px;margin-top:7px;border:0;border-radius:5px;appearance:none}
progress::-webkit-progress-bar{background:#333;border-radius:5px}
progress::-webkit-progress-value{background:var(--red);border-radius:5px}
body[data-busy="true"] .send-options,body[data-busy="true"] .selection-tools{display:none}
body[data-busy="true"] .dropzone{opacity:1;padding:0 12px 8px;border-color:transparent;background:transparent}
body[data-busy="true"] .dropzone .flight{display:none}
.journey{position:relative;width:100vw;height:230px;left:50%;transform:translateX(-50%);overflow:hidden;pointer-events:none;margin-bottom:12px}
.file-list{list-style:none;margin:-6px 0 24px;padding:0;max-height:140px;overflow:auto;text-align:left;color:#aaa;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.file-list li{padding:5px 0;border-bottom:1px solid #252525}
.state-mark{display:block;margin:0 auto 24px}
h1{font-size:24px;font-weight:500;letter-spacing:-.5px;margin:0 0 24px;line-height:1.25}
.muted{font-size:12px;color:var(--muted);margin:0 0 22px}
.link-field{display:flex;gap:7px}
.link-field button{border:0;border-radius:6px;background:var(--red);color:#fff;padding:0 13px;font-size:12px}
.link-field button:hover{background:var(--red-hover)}
.receipt{display:flex;flex-direction:column;gap:6px;margin:22px 0;color:#818181;font-size:11px;line-height:1.7}
.receipt strong{color:#c5c5c5;font-size:12px;font-weight:500;overflow-wrap:anywhere}
.result-view .receipt{font-size:10px}
.result-view .text-button{margin-top:8px}
.download-view>.text-button{margin-top:22px}
.history{margin-top:24px;border-top:1px solid var(--line);padding-top:15px;text-align:left}
.history summary{cursor:pointer;color:#777;font-size:11px}
.history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #252525}
.history-item>div:first-child{min-width:0}
.history-item strong{display:block;color:#aaa;font-size:11px;font-weight:400;overflow-wrap:anywhere}
.history-item small{color:#666;font-size:9px}
.history-actions{display:flex;gap:8px;flex-shrink:0}
.history-actions button{border:0;background:transparent;color:#909090;font-size:10px;padding:6px 0;min-height:34px}
@media(max-width:480px){.screen{padding:32px 24px}.stage{width:340px}.dropzone{padding:24px 12px}.dropzone strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.courier{left:calc(50% - 56px);top:20px;transform:rotate(10deg)}}

.flight-scene{display:block;width:100%;height:230px;overflow:hidden}.flight-craft{will-change:transform}
