/* 청약 카드의 반사광·선택 이동과 기존 모션의 중복 방지를 정의한다. */
html[data-apt-motion="1"] { --apt-motion-ease: cubic-bezier(.16,1,.3,1); }

/* 카드·패널·수치는 motion.js의 한 경로에서만 실행한다. */
html[data-apt-motion="1"] :is(.ui-list-enter,.fx-enter,.content-ready,.value-updated,.app-view-enter,.detail-animate),
html[data-apt-motion="1"] :is(.fx-enter,.content-ready,.app-view-enter) *,
html[data-apt-motion="1"] .fx-enter .table-wrap::after { animation: none !important; }

.apt-scroll-progress {
  position: fixed; z-index: 90; top: 0; left: 0; width: 100%; height: 2px;
  pointer-events: none; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, #3E5CE8, #71E3CD);
}
.apt-card-shine { position: relative; }
@media (hover: hover) and (pointer: fine) {
  html[data-apt-motion="1"] .apt-card-shine {
    transition: transform .25s var(--apt-motion-ease), box-shadow .25s;
  }
  html[data-apt-motion="1"] .apt-card-shine:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(62,92,232,.12), 0 0 20px rgba(113,227,205,.09);
  }
  .apt-card-shine::before {
    content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit;
    padding: 1px; pointer-events: none; opacity: 0; transition: opacity .25s;
    background: radial-gradient(160px circle at var(--apt-shine-x,50%) var(--apt-shine-y,50%), rgba(62,92,232,.65), rgba(113,227,205,.55) 35%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  }
  .apt-card-shine:hover::before { opacity: 1; }
}
.apt-transfer-card {
  position: fixed; z-index: 95; display: grid; gap: 4px; box-sizing: border-box;
  min-height: 70px; padding: 12px 15px; border: 1px solid rgba(62,92,232,.5);
  border-radius: 12px; background: rgba(245,247,252,.98); color: #24364e;
  box-shadow: 0 16px 44px rgba(46,67,184,.17), 0 0 22px rgba(113,227,205,.15);
  pointer-events: none; transform-origin: center;
}
.apt-transfer-card strong { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.apt-transfer-card span { color: #536275; font-size: 11px; line-height: 1.4; }
html[data-apt-cinematic] .apt-card-shine::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  .apt-transfer-card,.apt-scroll-progress,.apt-card-shine::before { display: none !important; }
  html[data-apt-motion="1"] .apt-card-shine { transition: none !important; }
  html[data-apt-motion="1"] .apt-card-shine:hover { transform: none; box-shadow: none; }
}
