:root {
  color-scheme: light;
  --navy: #152c5b;
  --navy-soft: #e9eef9;
  --ink: #172033;
  --muted: #687086;
  --line: #e3e6ee;
  --surface: #ffffff;
  --background: #f5f6fa;
  --shadow: 0 10px 30px rgba(30, 45, 75, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: 0 0 50px rgba(29, 42, 70, .08);
}


/* =========================
   Header
========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;

  min-height: 72px;
  padding: 10px 14px;

  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar > div {
  min-width: 0;
  text-align: center;
}

.topbar h1 {
  margin: 5px 0 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .13em;
}

.icon-button {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background: transparent;

  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.icon-image {
  width: 20px;
  height: 20px;
}

.back-button {
  font-size: 36px;
  line-height: 1;
}

/*
  トップページでも左列の幅を残す。
  display:none にすると中央タイトルと右メニューが左へ詰まるため、
  戻るボタンだけは visibility:hidden で隠す。
*/
.topbar .back-button.is-hidden {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}


/* =========================
   Common
========================= */

.view {
  padding: 16px 16px 36px;
}

.is-hidden {
  display: none !important;
}


/* =========================
   Search
========================= */

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 14px;
  padding: 0 13px;

  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f9fafc;
}

.search-box span {
  color: var(--muted);
  font-size: 24px;
}

.search-box input {
  width: 100%;
  height: 44px;

  border: 0;
  outline: 0;
  background: transparent;
}


/* =========================
   Concert list
========================= */

.concert-list {
  display: grid;
  gap: 10px;
}

.concert-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 14px;
  gap: 12px;
  align-items: center;

  width: 100%;
  min-height: 112px;
  padding: 12px 12px 12px 14px;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);

  text-align: left;
  box-shadow: 0 3px 14px rgba(25, 41, 75, .04);

  cursor: pointer;
}

.concert-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}

.concert-card__artist {
  display: block;
  margin-bottom: 4px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.concert-card__title {
  display: -webkit-box;
  overflow: hidden;

  color: var(--navy);

  font-size: 14px;
  font-weight: 800;
  line-height: 1.22;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.concert-card__line {
  display: block;

  margin-top: 3px;
  overflow: hidden;

  color: #4f576b;

  font-size: 11px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* 右側：カバー画像 + 座席 */

.concert-card__media {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  align-self: stretch;
}

.concert-card__image {
  display: block;

  width: 100%;
  aspect-ratio: 3 / 1;

  border-radius: 12px;

  object-fit: cover;
  margin: auto;
}

.concert-card__media .concert-card__seat {
  display: block;

  width: 100%;
  max-width: 100%;

  margin: auto;

  padding: 4px 6px;
  overflow: hidden;

  border-radius: 999px;
  background: var(--navy-soft);

  color: var(--navy);

  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.concert-card__arrow {
  align-self: center;

  color: #8d95a6;

  font-size: 24px;
  line-height: 1;
}

@media (max-width: 390px) {
  .concert-card {
    grid-template-columns: minmax(0, 1fr) 112px 12px;
    gap: 10px;

    min-height: 108px;
    padding: 11px;
  }

  .concert-card__title {
    font-size: 13px;
  }

  .concert-card__line {
    font-size: 10px;
  }

  .concert-card__media .concert-card__seat {
    font-size: 8px;
    padding: 4px 5px;
  }
}

/* =========================
   Detail hero
========================= */

.detail-hero {
  margin: -16px -16px 16px;
}

.detail-hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.detail-hero__content {
  position: relative;

  margin: -42px 14px 0;
  padding: 15px 16px;

  border-radius: 16px;
  background: rgba(255, 255, 255, .97);

  box-shadow: var(--shadow);
}

.detail-hero__artist {
  margin: 0 0 4px;

  color: var(--navy);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.detail-hero h2 {
  margin: 0;

  font-size: 21px;
  line-height: 1.25;
}


/* =========================
   Detail sections
========================= */

.detail-sections {
  display: grid;
  gap: 11px;
}

.detail-card {
  padding: 0 14px 14px;

  border: 1px solid var(--line);
  border-radius: 14px;

  background: var(--surface);
}

.detail-card h3 {
  display: flex;
  align-items: center;

  min-height: 46px;
  margin: 0;

  color: var(--navy);

  font-size: 13px;
}

.detail-card h3 span {
  margin-left: 6px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 600;
}


/* =========================
   Information
========================= */

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  margin: 0;

  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 12px;

  padding: 11px 2px;

  border-bottom: 1px solid var(--line);
}

.info-row dt {
  color: var(--muted);

  font-size: 11px;
}

.info-row dd {
  margin: 0;

  font-size: 12px;
  font-weight: 700;
}

.info-row--wide {
  grid-column: 1 / -1;
}

.info-row--wide dd {
  font-weight: 500;
  line-height: 1.55;
}


/* 公演概要 */

.info-list--overview .info-row {
  display: block;
}

.info-list--overview .info-row dt {
  margin-bottom: 4px;
  font-size: 9px;
}


/* 座席 */

.info-list--seat {
  display: block;
}

.info-list--seat .info-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;

  padding: 12px 2px;
}

.info-list--seat .info-row dt {
  margin: 0;

  color: var(--muted);

  font-size: 10px;
}

.info-list--seat .info-row dd {
  min-width: 0;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;

  word-break: break-word;
}


/* =========================
   Ticket accordion
========================= */

.detail-card .accordion {
  margin-top: 12px;
}

.accordion {
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: #fafbfc;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.accordion[open] {
  border-color: #aebbd3;

  background: var(--surface);

  box-shadow: 0 4px 18px rgba(25, 44, 82, .06);
}

.accordion summary {
  display: flex;
  align-items: center;
  gap: 9px;

  min-height: 46px;
  padding: 0 13px;

  color: var(--navy);

  font-size: 12px;
  font-weight: 800;

  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "⌄";

  margin-left: auto;

  color: var(--muted);

  font-size: 17px;

  transition: transform .2s ease;
}

.accordion[open] summary::after {
  transform: rotate(180deg);
}

.accordion__content {
  padding: 0 13px 10px;
}

.accordion .info-list {
  display: block;

  border-top: 1px solid var(--line);
}

.accordion .info-row {
  grid-template-columns: 38% 1fr;

  padding: 10px 2px;
}

.accordion .info-row:last-child {
  border-bottom: 0;
}


/* =========================
   Photos
========================= */

.detail-card--photos {
  padding-bottom: 14px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.photo-block {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 11px;
  background: #eef1f6;
  aspect-ratio: 1 / 1;
}

.photo-block img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.expandable-photo {
  cursor: zoom-in;
}

.expandable-photo:focus-visible {
  outline: 3px solid rgba(21, 44, 91, .35);
  outline-offset: 2px;
}


/* =========================
   Photo modal
========================= */

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    max(56px, env(safe-area-inset-top))
    12px
    max(20px, env(safe-area-inset-bottom));

  background: rgba(7, 12, 24, .94);
}

.photo-modal__content {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

.photo-modal__image {
  display: block;

  width: auto;
  max-width: 100%;

  height: auto;
  max-height: 100%;

  object-fit: contain;
}

.photo-modal__close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: 12px;
  z-index: 1001;

  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  color: #fff;
  background: rgba(255, 255, 255, .14);

  font-size: 30px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.photo-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 1001;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 0;
  border-radius: 12px;

  color: #fff;
  background: rgba(255, 255, 255, .14);

  font-size: 42px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);
}

.photo-modal__nav--prev {
  left: 10px;
}

.photo-modal__nav--next {
  right: 10px;
}

.photo-modal__counter {
  position: absolute;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;

  padding: 5px 10px;

  border-radius: 999px;
  background: rgba(0, 0, 0, .45);

  color: #fff;

  font-size: 12px;
  font-weight: 600;

  transform: translateX(-50%);
}

/* =========================
   Empty state
========================= */

.empty-state {
  padding: 30px 12px;

  color: var(--muted);

  text-align: center;
  font-size: 13px;
}


/* =========================
   Desktop
========================= */

@media (min-width: 700px) {
  body {
    padding: 24px 0;
  }

  .app-shell {
    min-height: calc(100vh - 48px);

    overflow: hidden;

    border-radius: 28px;
  }
}

/* =========================
   Detail actions
========================= */

.detail-actions {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 12px;
}

.secondary-button,
.primary-button,
.danger-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
}

.primary-button {
  flex: 1;
  border: 0;
  background: var(--navy);
  color: #fff;
}

.danger-button {
  border: 1px solid #ecd7d7;
  background: #fff7f7;
  color: #a43a3a;
}

.add-button {
  color: var(--navy);
  font-size: 28px;
  font-weight: 300;
}

/* =========================
   Form
========================= */

.form-view {
  background: #f8f9fc;
}

.concert-form {
  display: grid;
  gap: 12px;
}

.form-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.form-section__heading {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.form-step {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.form-section__heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

.form-section__heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.form-section__body {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #434b5e;
  font-size: 10px;
  font-weight: 800;
}

.form-label b {
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #dfe3ec;
  border-radius: 11px;
  outline: 0;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.form-field input {
  height: 43px;
  padding: 0 11px;
}

.form-field textarea {
  min-height: 78px;
  padding: 10px 11px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #8fa2ca;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 44, 91, .07);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a5acba;
}

.field-help {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 2px;
}

.toggle-row span {
  display: grid;
  gap: 2px;
}

.toggle-row strong {
  font-size: 11px;
}

.toggle-row small {
  color: var(--muted);
  font-size: 9px;
}

.toggle-row input {
  width: 42px;
  height: 24px;
  accent-color: var(--navy);
}

.form-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  gap: 9px;
  margin: 4px -16px -36px;
  padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
}

.expandable-cover {
  cursor: zoom-in;
}

@media (max-width: 390px) {
  .form-grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid--3 .form-field:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================
   Header action menu
========================= */

.action-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(8, 15, 29, .28);
}

.action-menu {
  display: grid;
  gap: 8px;
  width: min(100%, 452px);
}

.action-menu button {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(21, 36, 68, .12);
  cursor: pointer;
}

.action-menu__cancel {
  margin-top: 3px;
  color: var(--muted) !important;
}

/* =========================
   Image upload
========================= */

.upload-group {
  display: grid;
  gap: 7px;
}

.upload-group + .upload-group {
  margin-top: 18px;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.upload-preview-grid--cover {
  grid-template-columns: minmax(0, 1fr);
}

/*
  プレビュー画像をgridの直接の子要素として
  扱えるようにする
*/
.upload-preview-items {
  display: contents;
}

.upload-preview {
  position: relative;

  margin: 0;
  overflow: hidden;

  aspect-ratio: 1 / 1;

  border-radius: 11px;
  background: #eef1f6;
}

.upload-preview--cover {
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 1;
  cursor: pointer;
}

.upload-preview-grid--cover .upload-preview {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 1;
}

.upload-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-grid--cover .upload-preview img {
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.upload-preview__remove {
  position: absolute;
  top: 5px;
  right: 5px;

  display: grid;
  place-items: center;

  width: 26px;
  height: 26px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(15, 22, 36, .72);
  color: #fff;

  font-size: 18px;
  line-height: 1;

  cursor: pointer;
}


/* 画像追加ボタン */

.upload-add-button {
  display: grid;
  place-items: center;

  width: 100%;
  aspect-ratio: 1 / 1;

  border: 1px dashed #aebbd3;
  border-radius: 11px;

  background: #f7f9fd;
  color: var(--navy);

  cursor: pointer;

  transition:
    background .15s ease,
    border-color .15s ease;
}

.upload-preview-grid--cover .upload-add-button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 1;
}

.upload-add-button--cover {
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 1;
}

.upload-add-button:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.upload-add-button span {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.upload-add-button input[type="file"] {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  opacity: 0;
  pointer-events: none;
}

.primary-button:disabled {
  opacity: .55;
  cursor: wait;
}

.cover-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* =========================
   Unit input / concert memo
========================= */
.unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  overflow: hidden;
  border: 1px solid #dfe3ec;
  border-radius: 11px;
  background: #fbfcfe;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.unit-input:focus-within {
  border-color: #8fa2ca;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 44, 91, .07);
}

.form-field .unit-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.unit-input select {
  width: 100%;
  border: 0;
  border-left: 1px solid #dfe3ec;
  outline: 0;
  background: #f4f6fa;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.concert-memo {
  margin: 0;
  padding-top: 2px;
  color: #3f4759;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

/* =========================
   Cover cropper
========================= */

.cover-cropper {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(8, 12, 24, .88);
}

.cover-cropper__panel {
  width: min(100%, 480px);
  max-height: 100%;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

.cover-cropper__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
}

.cover-cropper__header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.cover-cropper__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2f8;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cover-cropper__body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.cover-cropper__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #111827;
  touch-action: none;
  user-select: none;
}

.cover-cropper__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 14px;
  pointer-events: none;
}

.cover-cropper__image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}

.cover-cropper__image.is-dragging {
  cursor: grabbing;
}

.cover-cropper__hint {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.cover-cropper__zoom {
  display: grid;
  gap: 7px;
}

.cover-cropper__zoom label {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.cover-cropper__zoom input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
}

.cover-cropper__actions {
  display: flex;
  gap: 10px;
}

.cover-cropper__actions .secondary-button,
.cover-cropper__actions .primary-button {
  flex: 1;
}

/* =========================
   Photo drag reorder
   通常時の見た目は変更せず、並べ替え中だけ状態を出す
========================= */

.upload-preview[data-upload-kind="photo"] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.photo-sort-source {
  opacity: .18;
}

.photo-sort-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1600;
  margin: 0;
  pointer-events: none;
  opacity: .96;
  box-shadow: 0 16px 34px rgba(15, 31, 65, .24);
  transform-origin: top left;
  transition: none;
}

.photo-sort-ghost img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.photo-sorting {
  cursor: grabbing;
  overflow: hidden;
}

body.photo-sorting .upload-preview[data-upload-kind="photo"] {
  transition: transform .14s ease, opacity .14s ease;
}

