.camera-movement-dialog {
  box-sizing: border-box;
  width: min(1280px, 86vw);
  max-width: 1280px;
  height: 80vh;
  max-height: 80vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--df-color-surface-media);
  color: var(--df-color-text);
}
.camera-movement-dialog[open] { display: flex; flex-direction: column; }
.camera-movement-dialog__head { display: flex; align-items: flex-end; flex: none; height: 57px; padding: 0 24px; }
.camera-movement-dialog__tabs { display: flex; align-items: flex-end; gap: 32px; height: 44px; }
.camera-movement-dialog__tabs button { height: 44px; padding: 0 0 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--df-color-text-body); font-size: 14px; line-height: 34px; }
.camera-movement-dialog__tabs button[aria-selected="true"] { border-bottom-color: var(--df-color-text-strong); color: var(--df-color-text-strong); font-size: 16px; font-weight: 600; }
.camera-movement-dialog__head .df-dialog__close { margin: 0 0 12px auto; }
.camera-movement-dialog__body { display: flex; flex: 1; flex-direction: column; min-height: 0; padding-top: 24px; overflow: hidden; }
.camera-toolbar { display: flex; align-items: flex-start; justify-content: space-between; flex: none; gap: 16px; padding: 0 24px 20px; }
.camera-search { position: relative; display: block; width: 200px; }
.camera-search input { box-sizing: border-box; width: 100%; height: 32px; padding: 5px 30px 5px 11px; border: 1px solid var(--df-color-border); border-radius: var(--df-radius-md); background: var(--df-color-surface-input); color: var(--df-color-text-strong); font: inherit; font-size: 12px; }
.camera-search .df-icon { position: absolute; top: 9px; right: 10px; width: 14px; height: 14px; color: var(--df-color-text-secondary); pointer-events: none; }
#camera-refresh { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--df-color-border); border-radius: var(--df-radius-md); background: transparent; color: var(--df-color-text-body); }
#camera-refresh .df-icon { width: 14px; height: 14px; }
.camera-card-list { flex: 1; min-height: 0; padding: 0 24px 20px; overflow-x: hidden; overflow-y: auto; }
.camera-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px 16px; }
.camera-card { position: relative; display: flex; flex-direction: column; box-sizing: border-box; height: 284px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 16px; background: transparent; color: var(--df-color-text); text-align: left; cursor: pointer; }
.camera-card:hover, .camera-card[aria-pressed="true"] { border-color: var(--df-color-primary-hover); }
.camera-card__image { position: relative; display: block; flex: none; width: 100%; height: 232px; overflow: hidden; background: var(--df-color-surface-raised); }
.camera-card__image > img { width: 100%; height: 100%; object-fit: cover; }
.camera-card__info { display: flex; align-items: center; flex: none; box-sizing: border-box; height: 48px; padding: 0 12px; background: var(--df-color-surface-card); }
.camera-card__title { overflow: hidden; color: var(--df-color-text-strong); font-size: 13px; font-weight: 500; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.camera-card__fav { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: var(--df-color-overlay); color: var(--df-color-text-on-card); opacity: 0; transition: opacity .2s ease; }
.camera-card:hover .camera-card__fav, .camera-card__fav.is-active { opacity: 1; }
.camera-card__fav.is-active { color: var(--df-color-warning); }
.camera-card__fav .df-icon { width: 20px; height: 20px; }
.camera-card__check { position: absolute; top: 0; right: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-end; box-sizing: border-box; width: 32px; height: 32px; padding: 3px 2px 0 0; background: linear-gradient(225deg, var(--df-color-primary-hover) 50%, transparent 50%); color: var(--df-color-text-on-card); }
.camera-card__check .df-icon { width: 16px; height: 16px; }
.camera-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; height: 100%; min-height: 220px; color: var(--df-color-text-secondary); }
.camera-empty .df-empty--medium { min-height: 0; color: inherit; }
.camera-empty .df-empty--medium img,
.camera-empty img { width: 48px; height: 48px; object-fit: contain; }
.camera-empty p { margin: 0; font-size: 14px; line-height: 22px; }
.camera-empty .df-empty--medium p { margin: 0; }
.camera-movement-dialog__footer { flex: none; margin: 0; padding: 14px 24px; border-top: 1px solid var(--df-color-divider); }
.camera-chip { display: inline-flex; align-items: center; align-self: center; gap: 4px; box-sizing: border-box; max-width: 180px; height: 28px; margin-left: 12px; padding: 0 6px; border: 1px solid var(--df-color-border); border-radius: var(--df-radius-md); background: var(--df-color-fill); color: var(--df-color-accent-soft); font-size: 12px; }
.camera-chip[hidden] { display: none; }
.camera-chip > .df-icon { flex: none; width: 14px; height: 14px; }
.camera-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.camera-chip button { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 0; background: transparent; color: inherit; }
.camera-chip button .df-icon { width: 12px; height: 12px; }
.camera-card__image > video { width: 100%; height: 100%; object-fit: cover; }
.camera-card__placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; height: 100%; color: var(--df-color-text-secondary); font-size: 12px; }
.camera-card__placeholder .df-icon { width: 56px; height: 56px; }
.camera-card--add .camera-card__image { display: flex; align-items: center; justify-content: center; }
.camera-card--add .camera-card__image > .df-icon { width: 32px; height: 32px; }
.camera-empty--inline { min-height: 120px; }
.camera-empty--inline img { width: 48px; height: 48px; }
.camera-create-dialog { width: 542px; max-width: calc(100vw - 32px); }
.camera-create-dialog__body { padding: 0 34px 0; }
.camera-create-field { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 18px; color: var(--df-color-text-body); font-size: 12px; line-height: 32px; }
.camera-create-field__control { display: block; min-width: 0; }
.camera-create-field__control .df-input { box-sizing: border-box; width: 100%; }
.camera-create-field__control .df-textarea { box-sizing: border-box; width: 100%; height: 66px; min-height: 66px; padding: 5px 11px; resize: none; }
.camera-create-upload { position: relative; display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; padding: 0; overflow: visible; border: 1px dashed var(--df-color-border-strong); border-radius: var(--df-radius-md); background: transparent; color: var(--df-color-text-secondary); cursor: pointer; }
.camera-create-upload:hover { border-color: var(--df-color-text-secondary); }
#camera-create-placeholder .df-icon { width: 32px; height: 32px; }
#camera-create-cover, #camera-create-video { width: 100%; height: 100%; border-radius: var(--df-radius-md); object-fit: cover; }
#camera-create-cover-remove { position: absolute; top: -10px; right: -10px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--df-color-surface-active); color: var(--df-color-text-on-card); }
#camera-create-cover-remove .df-icon { width: 10px; height: 10px; }
#camera-create-cover-remove[hidden] { display: none; }
.camera-create-format-hint { margin: 12px 0 0; color: var(--df-color-text-secondary); font-size: 12px; line-height: 18px; }
.camera-create-error { margin: 0 0 12px 104px; color: var(--df-color-danger); font-size: 12px; line-height: 18px; }
.camera-create-error[hidden] { display: none; }
.camera-card__title-row { display: flex; align-items: center; gap: 4px; width: 100%; }
.camera-card__title-row .camera-card__title { flex: 1; min-width: 0; }
.camera-card__more { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; padding: 0; border: 0; border-radius: var(--df-radius-sm); background: transparent; color: var(--df-color-text-secondary); }
.camera-card__more:hover { background: var(--df-color-surface-active); color: var(--df-color-text-strong); }
.camera-card__more .df-icon { width: 14px; height: 14px; }
.camera-card-menu { position: fixed; z-index: 20; width: 84px; }
.camera-card-menu[hidden] { display: none; }
.camera-create-field__control { position: relative; }
.camera-create-upload-menu { position: absolute; bottom: 132px; left: 0; z-index: 5; width: 104px; padding: 4px; border: 1px solid var(--df-color-border-subtle); border-radius: var(--df-radius-md); background: var(--df-color-surface-raised); box-shadow: var(--df-shadow-popover); }
.camera-create-upload-menu[hidden] { display: none; }
.camera-create-upload-menu button { display: block; width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: var(--df-radius-sm); background: transparent; color: var(--df-color-text-strong); text-align: left; font-size: 12px; }
.camera-create-upload-menu button:hover { background: var(--df-color-fill); }
@media (max-width: 900px) {
  .camera-movement-dialog { width: 94vw; max-width: 94vw; }
  .camera-card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
