:root { color-scheme: light dark; } body { font-family: 'Segoe UI', sans-serif; max-width: 480px; margin: auto; padding: 24px; background: transparent; color: inherit; } .file-box { border: 2px dashed #8884; border-radius: 10px; padding: 30px; text-align: center; cursor: pointer; transition: 0.3s ease; margin-bottom: 16px; } .file-box:hover { background: #2222; } .file-box input { display: none; } .file-box label { cursor: pointer; font-weight: bold; font-size: 16px; display: inline-block; } .file-name { margin-top: 12px; font-size: 14px; color: #ccc; text-align: left; list-style: none; padding-left: 0; } .file-name li { margin-bottom: 4px; display: flex; align-items: center; } .file-name i { margin-right: 8px; flex-shrink: 0; } .file-name .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; width: 100%; } .progress { background: #3333; height: 24px; border-radius: 6px; overflow: hidden; margin-top: 12px; } .bar { height: 100%; width: 0%; background: #4ade80; color: #000; text-align: center; line-height: 24px; font-weight: bold; transition: width 0.3s ease; } .result { display: none; margin-top: 16px; padding: 12px; background: #1c1c1c; border-left: 5px solid #4ade80; border-radius: 6px; font-weight: 500; color: #4ade80; } .btn-copy { margin-top: 8px; padding: 10px 14px; width: 100%; border-radius: 10px; border: none; color: #fff; font-weight: 600; font-size: 15px; text-align: left; display: flex; align-items: center; gap: 12px; box-shadow: 0 6px 14px #0003; transition: transform 0.15s ease; } .btn-copy:active { transform: scale(0.96); } .btn-copy.page { background: #6366f1; } .btn-copy.direct { background: #10b981; } .btn-copy.qr { background: #f97316; } button.upload { background: linear-gradient(to right, #facc15, #fbbf24); color: #000; font-weight: 600; font-size: 16px; border: none; border-radius: 10px; padding: 12px; width: 100%; margin-top: 16px; transition: 0.2s ease; box-shadow: 0 6px 14px #0002; } button.upload:active { transform: scale(0.96); } button.upload:disabled { opacity: 0.6; cursor: not-allowed; } #popup { display: none; position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: rgba(34, 197, 94, 0.95); color: white; padding: 14px 28px; border-radius: 12px; z-index: 999; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,0.2); backdrop-filter: blur(5px); align-items: center; gap: 10px; }