/* Private photo selection stays inside the existing package step. */
.song-photos { margin-top: 30px; padding: 24px; border: 1px solid #d7b46b40; border-radius: 12px; background: radial-gradient(ellipse at 0 0,#e0bd7510,transparent 70%),#13110e; }
.song-photos[hidden],.photo-review[hidden],.photo-package-notice[hidden] { display: none; }
.photo-heading { display: flex; align-items: center; gap: 14px; }
.photo-emblem { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border: 1px solid #d7b46b50; border-radius: 10px; color: #e3c587; background: #d7b46b0a; }
.song-photos svg,.photo-privacy svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.photo-overline { margin: 0 0 5px; color: #bfa775; font: 600 9px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.photo-heading h3 { margin: 0; color: #f1e6ce; font: 600 27px/1.1 var(--display); }
.photo-count { margin-left: auto; flex: none; padding: 7px 10px; border: 1px solid #d7b46b30; border-radius: 30px; color: #e7ca8d; font: 600 11px/1 var(--sans); }
.photo-intro { margin: 18px 0; color: #c2b59f; font: 400 12px/1.9 var(--sans); }
.photo-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 30px 18px; border: 1px dashed #d7b46b65; border-radius: 10px; background: #e6c58004; text-align: center; transition: background .2s,border-color .2s; }
.photo-dropzone.is-over { border-color: #f5dca1; background: #d7b46b18; }
.song-photos .photo-upload-icon { width: 32px; height: 32px; margin-bottom: 7px; color: #dbbb79; }
.photo-dropzone > strong { color: #e9dcc2; font: 600 14px/1.5 var(--sans); }
.photo-dropzone > span { color: #a99a82; font: 400 11px/1.5 var(--sans); }
.photo-dropzone > small { margin-top: 9px; color: #ab9c83; font: 400 10px/1.7 var(--sans); }
.photo-select-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 9px; min-height: 43px; padding: 10px 18px; border: 1px solid #e4c585; border-radius: 7px; color: #21180c; background: linear-gradient(115deg,#f2d99e,#cfa350); box-shadow: inset 0 1px #fff5; cursor: pointer; font: 700 12px/1.5 var(--sans); }
.photo-select-button svg { width: 16px; height: 16px; }
.photo-select-button:hover { filter: brightness(1.08); }
.photo-select-button:focus-visible,.photo-icon-button:focus-visible { outline: 2px solid #f2d99e; outline-offset: 3px; }
.photo-select-button:disabled { opacity: .55; cursor: wait; }
.photo-error { padding: 12px 14px; border: 1px solid #e4ad7250; border-radius: 7px; color: #f2c395; background: #ba673410; font: 500 12px/1.7 var(--sans); }
.photo-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0; margin: 18px 0 0; list-style: none; }
.photo-gallery:empty { display: none; }
.photo-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #d7b46b35; border-radius: 8px; background: #0d0b09; cursor: grab; }
.photo-card.is-dragging { opacity: .45; }
.photo-card > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.photo-position { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border: 1px solid #e6c58070; border-radius: 5px; color: #f4dfa9; background: #17120ddd; font: 600 10px/1 var(--sans); }
.photo-icon-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #d7b46b35; border-radius: 5px; color: #ebcd8b; background: #201b13; cursor: pointer; }
.photo-icon-button:hover { border-color: #e3c587; background: #322617; }
.photo-icon-button:disabled { opacity: .3; cursor: default; }
.photo-icon-button svg { width: 15px; height: 15px; }
.photo-remove { position: absolute; top: 6px; right: 6px; background: #17120de8; }
.photo-caption { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px; padding: 10px; }
.photo-filename { grid-column: 1/-1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8ccb6; font: 500 10px/1.5 var(--sans); }
.photo-caption > small { align-self: center; color: #a29175; font: 400 9px/1.5 var(--sans); }
.photo-reorder { display: flex; gap: 4px; }
.photo-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px; margin-top: 18px; color: #ad9e84; font: 400 10px/1.6 var(--sans); }
.photo-privacy { display: inline-flex; align-items: center; gap: 7px; }
.photo-privacy svg { width: 13px; height: 13px; }
.photo-package-notice { padding: 14px; margin: 16px 0 0; border: 1px solid #d7b46b25; border-radius: 7px; color: #c4b294; font: 400 12px/1.7 var(--sans); }
.package-photo-feature { color: #e1c382; }
.photo-review { padding: 18px; margin: 16px 0 24px; border: 1px solid #d7b46b35; border-radius: 8px; background: #d7b46b06; }
.photo-review > strong { color: #e9d3a6; font: 600 12px/1.5 var(--sans); }
.photo-review-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.photo-review-strip img { width: 52px; height: 52px; object-fit: cover; border: 1px solid #d7b46b40; border-radius: 5px; }
.package-photo-setting { margin: 22px 0; padding: 20px; border: 1px solid #d7b46b40; border-radius: 10px; background: #d7b46b06; }
.package-photo-setting legend { padding: 0 8px; color: #e2c587; font-size: 14px; font-weight: 600; }
.package-photo-setting > p { max-width: 620px; color: #b7aa93; font-size: 12px; line-height: 1.8; }
.package-photo-setting input[type=number] { max-width: 160px; }
.admin-photo-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 16px; margin-top: 22px; }
.admin-photo-card { min-width: 0; margin: 0; padding: 10px; border: 1px solid #d7b46b30; border-radius: 10px; background: #d7b46b04; }
.admin-photo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.admin-photo-card figcaption { padding-top: 11px; }
.admin-photo-card strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.admin-photo-card small { display: block; color: #a6967b; font-size: 10px; line-height: 1.8; margin: 6px 0; }
.admin-photo-card .text-link { font-size: 11px; }
@media(max-width:680px) {
  .song-photos { padding: 18px 14px; margin-top: 22px; }
  .photo-heading { gap: 10px; flex-wrap: wrap; }
  .photo-heading h3 { font-size: 25px; }
  .photo-emblem { flex-basis: 37px; height: 37px; }
  .photo-heading > div { flex: 1; min-width: 0; }
  .photo-overline { font-size: 8px; }
  .photo-count { margin-left: 47px; padding: 6px 9px; }
  .photo-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .photo-intro { font-size: 12px; }
  .photo-dropzone { padding: 24px 12px; }
  .photo-caption { padding: 8px; }
  .photo-caption > small { grid-column: 1/-1; }
  .photo-reorder { grid-column: 1/-1; justify-content: flex-end; }
  .photo-icon-button { width: 33px; height: 33px; }
  .photo-footer { display: grid; gap: 8px; }
}
