/* EXIF 查看器样式 */
.exif-viewer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.exif-viewer[hidden] { display: none; }

.exif-card {
  width: 100%; max-width: 560px;
  background: var(--paper); border: 1px solid var(--ink);
  border-radius: 10px; padding: 24px;
}

.exif-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}

.exif-header h2 {
  font-size: 20px; font-weight: 700;
}

.exif-close {
  width: 32px; height: 32px; border: none; background: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); transition: color .2s;
}
.exif-close:hover { color: var(--ink); }
.exif-close svg { width: 20px; height: 20px; }

.exif-dropzone {
  border: 2px dashed var(--line); border-radius: 8px;
  padding: 48px 24px; text-align: center;
  cursor: pointer; transition: all .2s;
  position: relative;
}
.exif-dropzone:hover { border-color: var(--ink); background: var(--paper-2); }
.exif-dropzone.dragover { border-color: var(--ink); background: var(--paper-2); }

.exif-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  color: var(--ink-2);
}

.exif-dropzone-text {
  font-size: 14px; color: var(--ink-2);
}

.exif-file-input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}

.exif-result {
  margin-top: 20px; padding: 20px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 8px;
}

.exif-result-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.exif-result-row:last-child { border-bottom: none; }

.exif-result-label {
  font-size: 13px; color: var(--ink-3);
}

.exif-result-value {
  font-family: var(--num); font-size: 14px; font-weight: 600;
  color: var(--ink);
}

.exif-message {
  text-align: center; padding: 16px;
  font-size: 13px; color: var(--ink-3);
}

/* 参数解读 */
.exif-interp { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.exif-interp-h { font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }
.exif-interp-row { display: flex; gap: 10px; padding: 7px 0; align-items: baseline; }
.exif-interp-row + .exif-interp-row { border-top: 1px dashed var(--line); }
.exif-interp-label { flex: 0 0 96px; font-family: var(--num); font-size: 13px; font-weight: 600; color: var(--ink); }
.exif-interp-text { flex: 1; font-size: 13px; line-height: 1.6; color: var(--ink-2); }

@media (max-width: 640px) {
  .exif-interp-row { flex-direction: column; gap: 2px; }
  .exif-interp-label { flex: none; }
  .exif-card { padding: 20px; }
  .exif-dropzone { padding: 36px 20px; }
  .exif-icon { width: 48px; height: 48px; }
}
