html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; background: #111111 url('bg.png') no-repeat center center fixed; background-size: cover; color: #f0f0f0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
.site-wrapper { width: 100%; max-width: 960px; margin: 0 auto; padding: 15px 12px 40px 12px; }
.combine-logo-wrap { text-align: center; margin-bottom: 20px; }
.combine-logo { max-width: 220px; height: auto; display: inline-block; }
.combine-box { border: 2px dashed #950b0b; border-radius: 8px; background: rgba(26, 26, 26, 0.9); padding: 40px 20px; text-align: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; margin-bottom: 25px; }
.combine-box:hover, .combine-box.drag-active { background: rgba(36, 20, 20, 0.95); border-color: #d11a1a; }
.combine-box-icon { font-size: 40px; color: #950b0b; line-height: 1; margin-bottom: 10px; }
.combine-box-title { font-size: 19px; font-weight: 700; color: #ffffff; margin-bottom: 6px; }
.combine-box-sub { font-size: 13px; color: #999999; }
.combine-list-wrap { background: rgba(24, 24, 24, 0.9); border: 1px solid #282828; border-radius: 8px; padding: 16px; margin-bottom: 25px; }
.combine-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.combine-list-title { font-size: 15px; font-weight: 700; color: #dddddd; }
.btn-combine-action { background: #950b0b; color: #ffffff; border: 1px solid #750808; padding: 9px 18px; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.btn-combine-action:hover { background: #b80e0e; }
.btn-combine-action:disabled { background: #555555; border-color: #444444; cursor: not-allowed; }
.combine-file-list { display: flex; flex-direction: column; gap: 8px; min-height: 40px; }
.combine-file-item { display: flex; align-items: center; gap: 12px; background: #222222; border: 1px solid #333333; border-radius: 5px; padding: 10px 14px; cursor: grab; user-select: none; }
.combine-file-item.item-dragging { opacity: 0.4; border-style: dashed; }
.combine-drag-handle { font-size: 16px; color: #777777; cursor: grab; }
.combine-file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.combine-file-name { font-size: 14px; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combine-file-size { font-size: 12px; color: #888888; }
.btn-file-delete { background: transparent; border: none; color: #ff5555; font-size: 20px; font-weight: 700; cursor: pointer; line-height: 1; padding: 2px 6px; }
.btn-file-delete:hover { color: #ff1111; }
.combine-result-wrap { background: rgba(28, 38, 30, 0.95); border: 1px solid #285532; border-radius: 8px; padding: 16px; margin-bottom: 25px; }
.combine-result-badge { font-size: 12px; font-weight: 700; color: #52c41a; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.combine-result-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.combine-result-info { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.combine-result-icon { font-size: 22px; }
.combine-result-name { font-size: 14px; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-download-action { background: #1f8b4c; color: #ffffff; text-decoration: none; padding: 9px 18px; border-radius: 4px; font-size: 14px; font-weight: 700; display: inline-block; transition: background 0.15s; }
.btn-download-action:hover { background: #27ad5f; }
.site-footer { text-align: center; font-size: 12px; color: #888888; padding-top: 20px; }
.toast-confirm { position: absolute; z-index: 999999; background: #ffff00; color: #000000; padding: 10px 16px; font-size: 13px; font-weight: 700; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,0.6); pointer-events: none; transition: opacity 0.4s; }
.toast-fail { position: absolute; z-index: 999999; background: #cc0000; color: #ffff00; padding: 12px 16px; font-size: 13px; font-weight: 700; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,0.7); max-width: 380px; transition: opacity 0.4s; }
.toast-cmd { width: 100%; margin-top: 8px; background: #111111; color: #00ff00; border: 1px solid #333333; font-family: monospace; font-size: 11px; padding: 6px; resize: none; border-radius: 3px; }
.toast-copy-btn { margin-top: 6px; background: #ffff00; color: #000000; border: none; font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: 3px; cursor: pointer; }
@media (max-width: 600px) { .site-wrapper { padding: 10px 8px; } .combine-box { padding: 30px 12px; } .combine-list-head { flex-direction: column; align-items: stretch; } .btn-combine-action { width: 100%; text-align: center; } .combine-result-row { flex-direction: column; align-items: stretch; } .btn-download-action { width: 100%; text-align: center; } }
.cookie-modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(4px); z-index: 999998; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cookie-modal-card { background: #1a1a1a; border: 2px solid #950b0b; border-radius: 8px; max-width: 580px; width: 100%; padding: 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9); }
.cookie-modal-title { font-size: 18px; font-weight: 800; color: #ff4444; margin-bottom: 12px; }
.cookie-modal-body p { font-size: 13px; line-height: 1.6; color: #cccccc; margin: 0 0 10px 0; }
.cookie-modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.btn-cookie-action { padding: 9px 18px; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; border: none; }
.btn-cookie-reject { background: #2a2a2a; color: #888888; border: 1px solid #444444; }
.btn-cookie-reject:hover { background: #333333; color: #ffffff; }
.btn-cookie-accept { background: #950b0b; color: #ffffff; }
.btn-cookie-accept:hover { background: #b80e0e; }
.combine-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-reset-action { background: #333333; color: #ff5555; border: 1px solid #4f1d1d; padding: 9px 16px; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn-reset-action:hover { background: #451515; color: #ffffff; }
.btn-reset-action:disabled { background: #222222; color: #666666; border-color: #333333; cursor: not-allowed; }
@media (max-width: 600px) { .combine-head-actions { width: 100%; display: flex; flex-direction: column; } .btn-reset-action { width: 100%; text-align: center; } }