*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-white: #ffffff;
    --bg-light: #f5f6f8;
    --bg-warm: #f0f1f3;
    --bg-card: #ffffff;
    --bg-header: #ffffff;
    --bg-modal: #ffffff;

    --border: #e2e5ea;
    --border-light: #eaecef;
    --border-hover: #d0d4d9;

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #8896a6;
    --text-disabled: #a0aec0;

    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #dbeafe;
    --accent-text: #1e40af;

    --success: #16a34a;
    --success-bg: #dcfce7;
    --success-border: #86efac;

    --warning: #d97706;
    --warning-bg: #fef3c7;
    --warning-border: #fcd34d;

    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --danger-border: #fca5a5;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);

    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 8px;

    --transition: 0.15s ease;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    font-size: 14px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 246, 248, 0.82);
    z-index: -1;
    pointer-events: none;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0;
}

.brand-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.header-right {
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.header-action-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.header-action-btn svg {
    opacity: 0.7;
}

.header-action-btn:hover svg {
    opacity: 1;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 32px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.search-header {
    margin-bottom: 24px;
    text-align: center;
}

.search-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.search-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.search-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ===== SEARCH RESULT INFO ===== */
.search-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
}

.search-info strong {
    color: var(--text-primary);
}

/* ===== RESULTS ===== */
.results-section {
    margin-top: 24px;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.result-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.result-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius);
}

.result-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.result-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.result-meta span {
    margin-right: 12px;
}

.result-info-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-time {
    font-size: 12px;
    color: var(--text-muted);
}

.result-arrow {
    color: var(--text-muted);
}

/* ===== STATUS BADGE ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.pass {
    background: var(--success-bg);
    color: var(--success);
}

.status-badge.pass::before {
    background: var(--success);
}

.status-badge.suspicious {
    background: var(--warning-bg);
    color: var(--warning);
}

.status-badge.suspicious::before {
    background: var(--warning);
}

.status-badge.confirmed {
    background: var(--danger-bg);
    color: var(--danger);
}

.status-badge.confirmed::before {
    background: var(--danger);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.empty-state svg {
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 92%;
    max-width: 800px;
    max-height: 85vh;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal.modal-large {
    max-width: 960px;
}

.modal.modal-small {
    max-width: 400px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* ===== USER DETAIL ===== */
.user-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-section {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.detail-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-muted);
}

.detail-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

/* ===== LOGS TABLE ===== */
.logs-section {
    margin-top: 0;
}

.logs-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.logs-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.logs-table td {
    padding: 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.logs-table tr:hover td {
    background: var(--bg-light);
}

.logs-table tr:last-child td {
    border-bottom: none;
}

.no-logs {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: 13px;
}

.log-image-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.log-image-link:hover {
    background: var(--accent);
    color: white;
}

.log-image-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border-radius: 8px;
}

.log-video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--success);
    background: var(--success-bg);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.log-video-link:hover {
    background: var(--success);
    color: white;
}

.log-action-btn {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.log-action-btn.edit {
    color: var(--accent);
    background: var(--accent-light);
    border: none;
}

.log-action-btn.edit:hover {
    background: var(--accent);
    color: white;
}

.log-action-btn.delete {
    color: var(--danger);
    background: var(--danger-bg);
    border: none;
}

.log-action-btn.delete:hover {
    background: var(--danger);
    color: white;
}

.log-actions-cell {
    display: flex;
    gap: 6px;
}

/* ===== IMAGE VIEWER ===== */
.image-viewer {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.image-viewer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.image-viewer-nav img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.image-viewer-prev, .image-viewer-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all var(--transition);
}

.image-viewer-prev:hover, .image-viewer-next:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.image-viewer-counter {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.image-viewer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all var(--transition);
}

.image-viewer-close:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

/* ===== LOGIN ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg-light);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition);
}

.login-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.login-input::placeholder {
    color: var(--text-muted);
}

.login-submit {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.login-submit:hover {
    background: var(--accent-hover);
}

.login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-error {
    font-size: 13px;
    color: var(--danger);
    text-align: center;
    min-height: 20px;
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.login-back:hover {
    color: var(--accent);
}

/* ===== ADMIN ===== */
.admin-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
}

.admin-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.back-btn:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.admin-brand {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.new-profile-btn:hover {
    background: var(--accent-hover);
}

.logout-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.logout-btn:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.admin-main {
    flex: 1;
    padding: 24px;
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PROFILE LIST ===== */
.profile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.profile-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: var(--radius);
}

.profile-meta h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.profile-meta p {
    font-size: 12px;
    color: var(--text-muted);
}

.profile-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition);
}

.profile-item:hover .profile-actions {
    opacity: 1;
}

.edit-btn, .delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.edit-btn:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.delete-btn:hover {
    color: var(--danger);
    background: var(--danger-bg);
}

.admin-empty {
    text-align: center;
    padding: 64px 24px;
    background: var(--bg-white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.admin-empty svg {
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.4;
}

.admin-empty p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== FORM ===== */
.profile-form, .log-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input, .form-group select {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    min-height: 18px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-danger {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background: var(--danger);
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-small:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

/* ===== IMAGE UPLOAD ===== */
.multi-image-upload {
    width: 100%;
}

.multi-image-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border: 1px dashed var(--border);
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.multi-image-upload-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.multi-image-upload-btn svg {
    opacity: 0.5;
}

.multi-image-upload-btn span {
    font-size: 13px;
}

.multi-image-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.multi-image-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.multi-image-thumb:hover {
    border-color: var(--accent);
}

.multi-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multi-image-thumb .thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition);
}

.multi-image-thumb:hover .thumb-remove {
    opacity: 1;
}

/* ===== VIDEO UPLOAD ===== */
.video-upload-area {
    width: 100%;
}

.video-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 24px;
    border: 1px dashed var(--border);
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.video-upload-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.video-upload-btn svg {
    opacity: 0.5;
}

.video-upload-btn span {
    font-size: 13px;
    font-weight: 500;
}

.video-upload-btn small {
    font-size: 12px;
    opacity: 0.7;
}

.video-preview {
    margin-top: 10px;
}

.video-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.video-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: var(--radius);
}

.video-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-info span {
    font-size: 13px;
    color: var(--text-primary);
}

.video-download {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
}

.video-download:hover {
    text-decoration: underline;
}

.video-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.video-remove:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.video-upload-progress {
    margin-top: 12px;
    padding: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.progress-percent {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ===== RESULT STATUS ===== */
.result-status-options {
    display: flex;
    gap: 8px;
}

.result-status-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.result-status-btn:hover {
    border-color: var(--text-muted);
}

.result-status-btn.active {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.suspicious {
    background: var(--warning);
}

.status-dot.pass {
    background: var(--success);
}

.status-dot.confirmed {
    background: var(--danger);
}

/* ===== LOGS HEADER ===== */
.logs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.logs-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.logs-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

/* ===== DELETE CONFIRM ===== */
.delete-confirm-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.delete-actions {
    justify-content: center;
}

/* ===== QUERY DATE SECTION ===== */
.query-date-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.query-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.query-quick-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.query-quick-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.query-quick-btn.active {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
}

.query-result-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.query-result-section h4 span {
    color: var(--accent);
}

.query-result-list {
    max-height: 400px;
    overflow-y: auto;
}

.query-result-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.query-result-item {
    padding: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.query-result-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.query-result-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.query-result-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.query-result-item-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.query-result-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.query-result-label {
    color: var(--text-muted);
    min-width: 70px;
}

.query-result-video-link {
    color: var(--accent);
    text-decoration: none;
}

.query-result-video-link:hover {
    text-decoration: underline;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }

    .brand-sub {
        display: none;
    }

    .main-content {
        padding: 16px;
    }

    .search-section {
        padding: 20px;
    }

    .search-form {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 96%;
    }

    .modal-body {
        padding: 16px;
    }

    .profile-actions {
        opacity: 1;
    }

    .result-info-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
}

/* PC101: 搜索结果行右侧信息（SteamID / 账号） */
.result-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

/* 查挂跑路标记：红底白字，加粗加重 */
.runaway-tag{display:inline-block;margin-left:6px;padding:2px 8px;background:#d32f2f;color:#fff;
  font-size:11.5px;font-weight:800;letter-spacing:.5px;border-radius:4px;line-height:1.5;
  box-shadow:0 1px 2px rgba(211,47,47,.35);vertical-align:middle}
