/* v1.13.29: scope exclusively to the photo listing promotion and existing photo reader. */
.xy-pf29{padding-block:14px 12px;scroll-margin-top:16px}
.xy-pf29,.xy-pf29 *{box-sizing:border-box}
.xy-pf29-wrap{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.46fr);gap:clamp(16px,3vw,48px);align-items:center;padding:clamp(22px,3.3vw,52px);border-radius:clamp(16px,2.4vw,34px);border:1px solid #39516d;background:radial-gradient(ellipse at 67% 72%,#123c68 0%,transparent 62%),linear-gradient(126deg,#102a47 0%,#07192d 49%,#102b4b 100%);box-shadow:0 12px 32px #102e4c27;color:#fff}
.xy-pf29-wrap::before,.xy-pf29-wrap::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:46%;height:54%;border-radius:50%;background:linear-gradient(120deg,#f98212aa,#dd4804 65%,#fd770d);opacity:.8}
.xy-pf29-wrap::before{right:-10%;top:-47%;transform:rotate(-14deg)}.xy-pf29-wrap::after{left:-38%;bottom:-38%;transform:rotate(18deg)}
.xy-pf29-copy{min-width:0;position:relative;z-index:1}.xy-pf29-kicker{display:inline-block;max-width:100%;border-radius:999px;background:linear-gradient(180deg,#ff780a,#d94800);padding:8px 16px;color:#fff;font-size:clamp(11px,1.15vw,18px);font-weight:800;box-shadow:0 5px 12px #0003}
.xy-pf29-copy h2{margin:18px 0 16px;color:#fff;font-size:clamp(24px,3vw,43px);line-height:1.13;font-weight:800;letter-spacing:-.035em}.xy-pf29-copy h2 span{position:relative;white-space:normal}.xy-pf29-copy h2 span::after{content:"";position:absolute;bottom:-7px;left:22%;width:64%;border-bottom:4px solid #ff6500;border-radius:50%;transform:rotate(-3deg)}
.xy-pf29-copy p{margin:0 0 19px;font-size:clamp(14px,1.4vw,20px);line-height:1.42;color:#e6eef8}
.xy-pf29-steps{list-style:none;display:grid;gap:12px;padding:0;margin:0 0 22px;position:relative}.xy-pf29-steps::before{content:"";position:absolute;left:17px;top:22px;bottom:22px;border-left:2px dashed #a4b5c9;z-index:-1}.xy-pf29-steps li{display:flex;align-items:center;gap:14px;min-width:0}.xy-pf29-num{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:50%;background:linear-gradient(#ff7614,#de4800);border:2px solid #ffc38e;color:white;font-size:20px}.xy-pf29-step{display:flex;align-items:center;gap:14px;flex:1;min-width:0;border:1px solid #294a69;border-radius:15px;padding:10px 14px;background:linear-gradient(110deg,#193957,#10283f)}.xy-pf29-step svg,.xy-pf29-cta svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;width:27px;height:27px;color:white}.xy-pf29-step strong{display:block;color:#fff;font-size:clamp(15px,1.45vw,22px);line-height:1.15}.xy-pf29-step span{display:block;color:#e5eefb;font-size:clamp(12px,1.05vw,15px);line-height:1.35;margin-top:3px}
.xy-pf29 a.xy-pf29-cta{display:flex;align-items:center;justify-content:center;gap:12px;padding:clamp(12px,1.35vw,20px) 14px;border:1px solid #ff9a43;border-radius:13px;background:linear-gradient(160deg,#ff8700,#e64a00);font-size:clamp(17px,1.8vw,27px);font-weight:800;line-height:1.2;color:#fff;text-decoration:none;box-shadow:0 8px 20px #f75e002e}.xy-pf29-cta span{margin-left:auto;font-size:1.3em}.xy-pf29 a.xy-pf29-cta:hover{background:linear-gradient(#ff9a24,#ed5100)}.xy-pf29 a:focus-visible{outline:3px solid #f9dc92;outline-offset:4px}.xy-pf29-note{display:flex;align-items:center;gap:8px;margin-top:14px;color:#e2eaf6;font-size:clamp(12px,1.15vw,16px)}.xy-pf29-note svg{flex:none}
.xy-pf29-demo{min-width:0;display:grid;grid-template-columns:minmax(0,.83fr) 22px minmax(0,1.08fr);gap:clamp(5px,1vw,15px);align-items:center}.xy-pf29-phone{min-width:0;margin:0;position:relative;filter:drop-shadow(0 12px 14px #0007)}.xy-pf29-phone img{width:100%;height:auto;max-height:570px;display:block;object-fit:contain}.xy-pf29-scan{pointer-events:none;position:absolute;left:12%;width:76%;top:45%;height:2px;border-radius:50%;background:#ff700d;box-shadow:0 0 14px 3px #ff700d99;animation:xy-pf29-scan 3.6s ease-in-out infinite;opacity:.9}.xy-pf29-arrow{font-size:clamp(24px,3vw,42px);color:#ff7908;text-align:center;font-weight:700;line-height:1}.xy-pf29-fields{min-width:0;background:linear-gradient(135deg,#fefefe,#f1f5fa);color:#0a172b;border:1px solid #dce6f2;border-radius:clamp(13px,1.7vw,25px);padding:clamp(10px,1.5vw,23px);box-shadow:0 12px 25px #0003;display:grid;gap:clamp(6px,1vw,12px)}.xy-pf29-example{font-size:10px;font-weight:800;color:#61748b;letter-spacing:.05em}.xy-pf29-field{min-width:0;background:#fff4db;border:1px solid #efb15b;border-radius:11px;padding:clamp(7px,.85vw,13px)}.xy-pf29-field small,.xy-pf29-field strong{display:block;overflow-wrap:anywhere;line-height:1.25}.xy-pf29-field small{color:#466078;font-size:clamp(11px,1.06vw,16px);font-weight:500;margin-bottom:4px}.xy-pf29-field strong{color:#0d1b30;font-size:clamp(13px,1.5vw,22px);font-weight:800}.xy-pf29-empty{background:#f6f9fc;border:1px dashed #a8b9cc}.xy-pf29-empty strong{color:#687d96}.xy-pf29-ok{border-radius:12px;padding:10px;background:#d4f7df;color:#08691e;font-weight:800;font-size:clamp(12px,1.2vw,18px);text-align:center}.xy-pf29-disclaimer{color:#54657b;font-size:10px;line-height:1.4}
@keyframes xy-pf29-scan{0%,100%{transform:translateY(-14px);opacity:0}25%,75%{opacity:.9}50%{transform:translateY(75px)}}
@media(max-width:1000px){.xy-pf29-wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);padding:22px;gap:22px}.xy-pf29-demo{grid-template-columns:minmax(0,.85fr) 15px minmax(0,1fr);gap:7px}.xy-pf29-step{padding:9px;gap:8px}.xy-pf29-num{width:30px;height:30px;font-size:17px}.xy-pf29-steps::before{left:14px}.xy-pf29-copy h2{font-size:clamp(24px,3vw,34px)}}
@media(max-width:760px){.xy-pf29-wrap{grid-template-columns:minmax(0,1fr);padding:22px 16px;gap:24px}.xy-pf29-copy h2{font-size:clamp(25px,5.8vw,38px)}.xy-pf29-copy h2 br{display:none}.xy-pf29-demo{max-width:480px;width:100%;margin:auto;grid-template-columns:minmax(0,.82fr) 16px minmax(0,1fr)}.xy-pf29-phone img{max-height:450px}.xy-pf29-step strong{font-size:16px}.xy-pf29-step span{font-size:13px}.xy-pf29-field strong{font-size:clamp(12px,3vw,17px)}.xy-pf29-field small{font-size:clamp(10px,2.6vw,13px)}}
@media(max-width:350px){.xy-pf29-wrap{padding:16px 10px}.xy-pf29-demo{gap:5px;grid-template-columns:minmax(0,.75fr) 12px minmax(0,1fr)}.xy-pf29-fields{padding:7px}.xy-pf29-field{padding:6px}.xy-pf29-arrow{font-size:19px}.xy-pf29-example,.xy-pf29-disclaimer{font-size:9px}}
@media(prefers-reduced-motion:reduce){.xy-pf29-scan{animation:none;display:none}}
/* Existing OCR upload component; IDs and JS handlers remain intact. */
#photo-fill.xy-pf29-reader{border:1px solid #c3d5ed;border-top:4px solid #1261dd;border-radius:16px;padding:clamp(14px,2vw,25px);background:linear-gradient(135deg,#fff,#edf5ff);box-shadow:0 6px 22px #11385e12;gap:12px;scroll-margin-top:18px}#photo-fill.xy-pf29-reader .pf-head{align-items:center}#photo-fill.xy-pf29-reader .pf-ic{color:#1758d2;background:#e0edff;border-radius:14px}#photo-fill.xy-pf29-reader .pf-btn{background:linear-gradient(135deg,#ff8007,#dc4d00);color:#fff;border:0;border-radius:10px;font-weight:800;padding:13px 20px;cursor:pointer}#photo-fill.xy-pf29-reader .pf-btn:focus-within{outline:3px solid #1558db;outline-offset:3px}#photo-fill.xy-pf29-reader .pf-status:not([hidden]){padding:12px;border-radius:9px;background:#dfedff;color:#123d81}#photo-fill.xy-pf29-reader .pf-results:not([hidden]){padding:12px;border-radius:10px;background:#fff;border:1px solid #c8daf0}#photo-fill.xy-pf29-reader .pf-done{color:#173252}#photo-fill.xy-pf29-reader .pf-warn{color:#a34b00}#photo-fill.xy-pf29-reader .xy-pf29-reader-note{font-size:12px;color:#536781;line-height:1.4}#photo-fill.xy-pf29-reader #pf-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;clip-path:inset(50%);overflow:hidden;display:block!important}
