/* 样片定制 / 客服说明弹窗（与会员开通申请模态框同布局） */
.photo-service-apply-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(10px);
}
.photo-service-apply-modal.active {
    display: flex;
    animation: psaModalBackdrop .45s ease both;
}
.photo-service-apply-modal.active .photo-service-apply-card {
    animation: psaPanelIn .58s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes psaModalBackdrop {
    from { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
    to { background: rgba(0, 0, 0, .72); backdrop-filter: blur(10px); }
}
@keyframes psaPanelIn {
    0% { opacity: 0; transform: translateY(36px) scale(.84); clip-path: inset(44% 48% 44% 48%); }
    56% { opacity: 1; transform: translateY(0) scale(1.01); clip-path: inset(0 0 0 0); }
    100% { opacity: 1; transform: translateY(0) scale(1); clip-path: inset(0 0 0 0); }
}
.photo-service-apply-card {
    position: relative;
    width: min(920px, 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #111;
    box-shadow: 0 32px 100px rgba(0, 0, 0, .72);
}
.photo-service-apply-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    color: rgba(255, 255, 255, .75);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}
.photo-service-apply-close:hover {
    background: rgba(0, 0, 0, .65);
    color: #fff;
}
.photo-service-apply-split {
    display: flex;
    min-height: min(420px, 72vh);
}
.photo-service-apply-media {
    flex: 0 0 320px;
    min-width: 0;
    background: linear-gradient(180deg, #fafaf5 0%, #efefe3 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.75rem;
    box-sizing: border-box;
}
.photo-service-apply-qr {
    width: min(100%, 240px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 58px rgba(0, 0, 0, .14);
}
.photo-service-apply-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.photo-service-apply-qr-hint {
    margin-top: .85rem;
    color: #52525b;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: center;
}
.photo-service-apply-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: linear-gradient(180deg, #151515 0%, #101010 100%);
    box-sizing: border-box;
}
.photo-service-apply-kicker {
    margin: 0 0 .65rem;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.photo-service-apply-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.photo-service-apply-desc {
    margin: 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.75;
}
.photo-service-apply-desc .accent {
    color: #89e53d;
    font-weight: 500;
}
.photo-service-apply-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 1.25rem;
}
.photo-service-apply-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    min-width: 148px;
    height: 42px;
    padding: 0 1.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42), 0 10px 28px rgba(0, 0, 0, .22);
    transition: transform .36s cubic-bezier(.22, .72, 0, 1), color .36s cubic-bezier(.22, .72, 0, 1), box-shadow .36s cubic-bezier(.22, .72, 0, 1);
}
.photo-service-apply-btn::before,
.photo-service-apply-btn::after {
    content: "";
    position: absolute;
    border-radius: inherit;
}
.photo-service-apply-btn::before {
    left: var(--fill-x, 50%);
    top: var(--fill-y, 50%);
    width: 168%;
    max-width: 220px;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.78s cubic-bezier(.2, .78, .22, 1);
    background: #89e53d;
    z-index: -1;
}
.photo-service-apply-btn::after {
    inset: 0;
    background: #e4e4e7;
    z-index: -2;
}
.photo-service-apply-btn:hover {
    transform: translateY(-2px) scale(1.012);
}
.photo-service-apply-btn.is-pointer-fill {
    color: #050505;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 16px 48px rgba(137, 229, 61, .2);
}
.photo-service-apply-btn.is-pointer-fill::before {
    transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 720px) {
    .photo-service-apply-split { flex-direction: column; min-height: 0; }
    .photo-service-apply-media { flex: none; padding: 1.5rem 1.25rem 1rem; }
    .photo-service-apply-qr { width: min(220px, 70vw); }
    .photo-service-apply-panel { padding: 1.25rem 1.25rem 1.5rem; }
    .photo-service-apply-actions { justify-content: stretch; }
    .photo-service-apply-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .photo-service-apply-modal.active,
    .photo-service-apply-modal.active .photo-service-apply-card {
        animation: none !important;
    }
    .photo-service-apply-btn::before {
        transition: none;
    }
}
