/* V149 — four tiny approved visual changes atop V148.
   Only loaded by the three ordering pages. No layout or portrait engine changes. */

/* 1 — More discoverable back navigation, same links and destinations. */
.waom-return-bar{position:relative!important;z-index:8!important;min-height:0!important;padding-top:10px!important}
.waom-return-bar a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:43px!important;padding:10px 18px!important;
 background:rgba(9,11,11,.82)!important;
 border:1px solid rgba(246,249,246,.48)!important;
 border-radius:999px!important;
 color:#ffffff!important;
 font:900 clamp(12px,1.03vw,15px)/1.25 Inter,'Segoe UI',Arial,sans-serif!important;
 letter-spacing:.07em!important;text-shadow:0 2px 8px rgba(0,0,0,.6)!important;
 text-decoration:none!important;
 transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s!important;
}
.waom-return-bar a:hover,.waom-return-bar a:focus-visible{
 color:#a2f52a!important;background:rgba(16,20,15,.97)!important;
 border-color:rgba(162,245,42,.82)!important;
 box-shadow:0 0 0 1px rgba(162,245,42,.22),0 0 17px rgba(162,245,42,.14)!important;
}

/* 2 — V148 glow was difficult to notice. Use a visible halo PLUS two
   independent, expanding white rings. Animation only, no layout changes. */
html.waom-upload .uploadGuidelinesOpen{
 position:relative!important;z-index:5!important;overflow:visible!important;
 isolation:isolate!important;background:linear-gradient(180deg,#ffffff,#eaedf0)!important;
 color:#121519!important;border:1px solid #fff!important;
 animation:v149WhiteButtonHalo 2.9s ease-in-out infinite!important;
}
html.waom-upload .uploadGuidelinesOpen::before,
html.waom-upload .uploadGuidelinesOpen::after{
 content:""!important;position:absolute!important;inset:-2px!important;
 border-radius:inherit!important;pointer-events:none!important;
 background:transparent!important;
 border:3px solid rgba(255,255,255,.98)!important;
 box-shadow:0 0 13px rgba(255,255,255,.42)!important;
 opacity:0;transform:scale(1);
 animation:v149WhiteRing 2.9s cubic-bezier(.18,.5,.35,1) infinite!important;
}
html.waom-upload .uploadGuidelinesOpen::after{animation-delay:1.17s!important;border-width:2px!important}
@keyframes v149WhiteButtonHalo{
 0%,100%{box-shadow:0 8px 23px rgba(0,0,0,.35),0 0 0 0 rgba(255,255,255,0)}
 25%{box-shadow:0 8px 23px rgba(0,0,0,.35),0 0 0 5px rgba(255,255,255,.48),0 0 28px 6px rgba(255,255,255,.44)}
 55%{box-shadow:0 8px 23px rgba(0,0,0,.35),0 0 0 3px rgba(255,255,255,.16),0 0 20px 6px rgba(255,255,255,.20)}
}
@keyframes v149WhiteRing{
 0%,8%{transform:scale(1);opacity:0}
 14%{transform:scale(1.02);opacity:.99}
 44%{transform:scale(1.22);opacity:.53}
 73%,100%{transform:scale(1.38);opacity:0}
}
html.waom-upload .uploadIntro,
html.waom-upload .studioActions,
html.waom-upload .studioActions>.body{overflow:visible!important}
/* Leave space for the ripple inside the rounded editor container on mobile. */
@media(max-width:620px){
 html.waom-upload .studioActions .uploadGuidelinesOpen{margin-bottom:23px!important}
}

/* 3 — Mobile title shorter and centred. Desktop title unchanged. */
html.waom-upload .uploadIntro h1 .waom-title-mobile{display:none!important}
@media(max-width:620px){
 html.waom-upload .uploadIntro h1{text-align:center!important;white-space:nowrap!important;font-size:clamp(23px,6.5vw,30px)!important;letter-spacing:-.025em!important}
 html.waom-upload .uploadIntro h1 .waom-title-desktop{display:none!important}
 html.waom-upload .uploadIntro h1 .waom-title-mobile{display:inline!important}
}

/* 4 — The portrait oval rim itself is painted by the original canvas renderer
   with a black stroke. Do not add CSS borders to hotspot overlays: those
   would drift during zoom/drag and alter the touch target. */
@media(prefers-reduced-motion:reduce){
 .waom-return-bar a{transition:none!important}
 html.waom-upload .uploadGuidelinesOpen,
 html.waom-upload .uploadGuidelinesOpen::before,
 html.waom-upload .uploadGuidelinesOpen::after{animation:none!important}
}
