:root{color-scheme:light;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#172c2a;background:#f3f6f2;line-height:1.55;--ink:#172c2a;--muted:#536762;--green:#08634e;--line:#dce6df}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
.shell{max-width:1050px;margin:auto;padding:46px 24px}
header{margin-bottom:27px}
.brand{color:var(--green);font-size:.92rem;font-weight:750;letter-spacing:.08em}
h1{font-size:clamp(1.9rem,5vw,3rem);margin:8px 0;letter-spacing:-.035em}
h2{font-size:1.18rem;margin:0;overflow-wrap:anywhere}
p{color:var(--muted);margin:8px 0 0}
.layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px}
.card{padding:23px;border:1px solid var(--line);background:#fff;border-radius:18px;box-shadow:0 6px 24px #1e504709;min-width:0}
form{display:grid;gap:12px}
label{font-weight:650}
input,textarea{display:block;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f9fbf9;color:var(--ink);font:inherit}
textarea{resize:vertical}
.drop{position:relative;display:grid;gap:6px;text-align:center;padding:24px 9px;border:2px dashed #91b6a8;border-radius:12px;background:#f0f8f3;color:var(--green);cursor:pointer;overflow-wrap:anywhere}
.drop input{position:absolute;inset:0;opacity:0;height:100%;cursor:pointer}
.drop.over,.drop:focus-within{background:#dcefe5;border-color:var(--green)}
small,.note{font-weight:400;color:var(--muted);font-size:.87rem}
button,.button{min-height:44px;display:inline-flex;justify-content:center;align-items:center;padding:9px 14px;border:1px solid var(--line);border-radius:10px;color:var(--green);background:#f0f7f3;font:inherit;font-weight:700;text-align:center;text-decoration:none;cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
.primary{background:var(--green);color:#fff;border-color:var(--green)}
.primary:hover{background:#074c3d}
.full,progress{width:100%;margin-top:14px}
progress{accent-color:var(--green)}
.result{text-align:center}
.result img{display:block;max-width:100%;height:auto;margin:14px auto 8px;border:1px solid var(--line);border-radius:10px}
.result strong{overflow-wrap:anywhere}
.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:14px 0 10px}
.history,.receiver section+section{margin-top:18px}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.history-item{border-top:1px solid var(--line);margin-top:12px;padding-top:12px;flex-wrap:wrap;overflow-wrap:anywhere}
.history-item .actions{margin:0}
.danger{color:#9b3030}
.status{color:var(--green);overflow-wrap:anywhere}
.status.error{color:#a13232}
.receiver{max-width:580px}
.receiver textarea{margin-top:12px}
@media(max-width:700px){.layout{grid-template-columns:1fr}.shell{padding:26px 14px}.card{padding:17px}}
:root{background:#f7f8f6;--green:#086344;--line:#dce3de}
.topbar{border-bottom:1px solid var(--line);background:#fff}
.nav-inner{max-width:1280px;min-height:64px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-size:1.13rem;letter-spacing:0;color:var(--ink)}
.mark,.file-mark{display:grid;place-items:center;border-radius:10px;background:#e5f2e9;color:var(--green);font-weight:800;width:36px;height:36px;flex:none}
.file-mark{width:44px;height:48px}
.account{display:flex;align-items:center;gap:12px;color:var(--green);font-size:.9rem;font-weight:700}
.account button{background:transparent}
.shell{max-width:1280px;padding-top:30px}
header{margin-bottom:20px}
h1{font-size:clamp(1.85rem,4vw,2.55rem)}
.layout{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)}
.card{border-radius:14px;box-shadow:0 4px 14px #183b2a07}
.login{max-width:425px;margin:10vh auto 0}
.login h1{margin:0 0 20px;font-size:1.7rem}
.drop{display:flex;align-items:center;gap:14px;text-align:left;padding:17px}
.file-copy{display:grid;flex:1;min-width:0}
.change{font-weight:700;text-decoration:underline}
.empty{min-height:260px;display:grid;place-items:center;text-align:center}
.result h2{text-align:left}
.result img{max-height:225px;width:auto}
.history{margin-top:25px}
.history .row{margin-bottom:8px}
.table-wrap{overflow:auto;border-radius:12px}
table{width:100%;border-collapse:collapse;background:#fff;text-align:left}
th,td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
th{background:#edf2ed;white-space:nowrap}
td:first-child{overflow-wrap:anywhere}
td:last-child{white-space:nowrap}
td button+button{margin-left:6px}
.receiver{max-width:560px}
.receiver header{text-align:center}
.receiver .brand{justify-content:center}
.receiver h1{margin-top:14px}
.file-head{display:flex;gap:14px;align-items:center}
.file-head>div{min-width:0}
.file-head p{margin-top:3px}
.receiver .full{min-height:52px;font-size:1.1rem}
.receiver .note{text-align:center}
.receiver #expiry{margin-top:18px}
@media(max-width:700px){.layout{grid-template-columns:1fr}.nav-inner{padding:0 14px}.empty{min-height:135px}.history{margin-top:18px}}
.settings-panel{max-width:680px;margin:25px auto}
.settings-panel h1{font-size:1.7rem;margin:0 0 10px}
.settings-panel label{display:block}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.settings-panel details{border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.settings-panel summary{cursor:pointer;color:var(--green)}
@media(max-width:600px){.settings-grid{grid-template-columns:1fr}}
#accelerate-upload{width:auto;display:inline-block;margin-right:.4em}
#share-video,#copy-link,#open-link{margin-top:.75rem}
