/* YELLA FISHING — v1.2.77 Ocean Blue Underwater Post-a-Fish.
   On top of v1.2.76: styling and banner artwork only.
   Existing controls, upload/photo-editor code, verification and submission preserved. */

/* Bright electric-blue glow on panel edges, faithful to the approved design. */
#catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active),
#catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active){
 width:min(610px,calc(100vw - 14px))!important;
 max-height:calc(100dvh - 16px)!important;
 border:1.5px solid #27bfff!important;
 border-radius:24px!important;
 padding:0 clamp(12px,3.7vw,22px) 21px!important;
 background:linear-gradient(165deg,#032d46 0%,#02253a 34%,#031d2f 78%,#031b2b 100%)!important;
 box-shadow:0 0 0 1px #0d5374,0 0 12px #00aaff82,0 0 29px #008ad949,0 20px 75px #000b,inset 0 0 18px #1581b520!important;
 overflow-x:hidden!important;
 overflow-y:auto!important;
 scrollbar-width:thin;scrollbar-color:#397c9a transparent;
}
#catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active)::before,
#catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active)::before{
 height:360px!important;opacity:1!important;
 background:
  radial-gradient(ellipse at 51% 0%,#136d9899 0%,#07466550 32%,transparent 72%),
  repeating-radial-gradient(ellipse at 49% -25%,transparent 0 24px,#409cc322 25px 26px,transparent 27px 39px),
  linear-gradient(180deg,#03304a,#03273b 65%,transparent)!important;
}
#catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active)::after,
#catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active)::after{
 top:110px!important;opacity:.45!important;
}

/* Close icon is correctly inset and fitted, with blue focus/hover feedback. */
#catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active)>.close-modal,
#catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active)>.close-modal{
 position:sticky!important;top:10px!important;z-index:60!important;
 display:grid!important;place-items:center!important;
 width:41px!important;height:41px!important;
 margin:9px 0 -50px auto!important;
 border-radius:12px!important;border:1px solid #78d8fa!important;
 background:linear-gradient(160deg,#062b44ed,#031a2eeb)!important;
 color:#f5fbff!important;font:800 26px/1 system-ui,sans-serif!important;
 box-shadow:0 0 8px #199ee24d,inset 0 1px #b2edff2d!important;
 transform:none!important;
}
#catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active)>.close-modal:hover,
#catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active)>.close-modal:hover{
 border-color:#f8cf64!important;box-shadow:0 0 14px #18bfff8c!important;
}
#catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active)>.close-modal:focus-visible,
#catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active)>.close-modal:focus-visible{
 outline:3px solid #ffd364!important;outline-offset:3px!important;
}

/* Tall, centred logo + punchy professional title. */
#catch-modal #yella-quicklog-stage-photo .yella-quicklog-head{
 padding:22px 0 0!important;margin-bottom:15px!important;
}
#catch-modal #yella-quicklog-stage-photo .yq61-logo{
 width:clamp(224px,67vw,315px)!important;
 max-width:calc(100% - 75px)!important;
 height:auto!important;margin:5px auto 12px!important;
}
#catch-modal .yq76-kicker{font-size:10px!important;letter-spacing:.22em!important;color:#ffcf55!important}
#catch-modal .yq76-kicker::before,#catch-modal .yq76-kicker::after{width:37px!important}
#catch-modal #catch-title{
 font-size:clamp(41px,11.6vw,64px)!important;
 margin:9px auto 10px!important;white-space:nowrap;
 line-height:.99!important;
}
#catch-modal #catch-title em{color:#ffc342!important;-webkit-text-fill-color:#ffc342!important}
#catch-modal #catch-modal-description{
 color:#cfe0ec!important;font-size:13.5px!important;
 white-space:nowrap;
}
#catch-modal #yella-quicklog-stage-photo .yq61-steps{
 margin:17px auto 16px!important;
}

/* The underwater card is the approved art, not a flat CSS gradient.
   It remains the original clickable file input label, keyboard accessible. */
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload{
 background:#052d45 url('./assets/yella-post-fish-underwater-v1277.webp') center center / 100% 100% no-repeat!important;
 min-height:0!important;aspect-ratio:932 / 429!important;height:auto!important;
 padding:0!important;gap:0!important;margin:0 0 13px!important;
 border:0!important;border-radius:18px!important;
 box-shadow:0 0 8px #0ab6ff80,0 0 19px #058cda50!important;
 overflow:hidden!important;
}
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload::before,
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload::after{display:none!important}
/* The asset contains these visible labels and emblem; preserve DOM text for assistive tech. */
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload>svg,
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload>span,
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload>small{
 opacity:0!important;
}
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload:hover{
 filter:brightness(1.09);
}
html body #catch-modal #yella-quicklog-stage-photo #yq59-upload:focus-visible{
 outline:3px solid #f5d06a!important;outline-offset:3px!important;
}

#catch-modal #yella-quicklog-stage-photo .yella-quicklog-photo-actions{gap:9px!important}
html body #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action{
 min-height:52px!important;border-radius:12px!important;
 font-size:13px!important;
}
html body #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action.is-primary{
 border-color:#ffe58c!important;
 background:linear-gradient(160deg,#ffe378,#ffbf39)!important;
 box-shadow:0 0 12px #eeb72d55,0 5px 19px #dca32a38,inset 0 1px #fff9!important;
}
html body #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action.is-secondary{
 border-color:#3ab6ed!important;
 background:linear-gradient(165deg,#0a3b56,#03243a)!important;
 box-shadow:0 0 8px #009cdd32,inset 0 1px #9fdaef2d!important;
}
#catch-modal #yella-quicklog-stage-photo .yella-quicklog-tip{margin:11px 0 13px!important}
#catch-modal #yella-quicklog-stage-photo #yq59-continue{
 min-height:53px!important;border-radius:12px!important;
 border-color:#ffe58c!important;
 background:linear-gradient(150deg,#ffe57d,#ffbc32)!important;
 box-shadow:0 0 17px #eab22950,0 8px 24px #b87a212e,inset 0 1px #fff9!important;
}
#catch-modal #yella-quicklog-stage-photo #yella-quicklog-skip{
 margin-top:7px!important;margin-bottom:2px!important;color:#c4ddec!important;
}
/* Maintain matching luminous blue design in Details stage. */
#catch-modal #yella-quicklog-stage-details .yella-quicklog-summary-card{
 border-color:#328aad!important;box-shadow:0 0 10px #089ad42a,inset 0 1px #b9efff24!important;
}
#catch-modal #yella-quicklog-stage-details .yella-quicklog-submit{
 background:linear-gradient(160deg,#ffe57d,#ffbc32)!important;
 box-shadow:0 0 15px #eab2294d!important;
}

@media(max-width:440px){
 #catch-modal .modal-box:has(#yella-quicklog-stage-photo.is-active),
 #catch-modal .modal-box:has(#yella-quicklog-stage-details.is-active){
  width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;
  border-radius:20px!important;
  padding:0 13px 15px!important;
 }
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-head{padding-top:20px!important}
 #catch-modal #yella-quicklog-stage-photo .yq61-logo{
  width:clamp(207px,65vw,272px)!important;
  max-width:calc(100% - 66px)!important;
 }
 #catch-modal #catch-title{font-size:clamp(35px,10.5vw,50px)!important}
 #catch-modal #yella-quicklog-stage-photo #yq59-upload{border-radius:13px!important}
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action{min-height:48px!important}
 #catch-modal #yella-quicklog-stage-photo #yq59-continue{min-height:50px!important}
}
@media(max-width:350px){
 #catch-modal #catch-title{font-size:35px!important}
 #catch-modal #catch-modal-description{font-size:11.5px!important}
 #catch-modal #yella-quicklog-stage-photo .yq61-logo{width:207px!important}
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action strong{font-size:11px!important}
 #catch-modal #yella-quicklog-stage-photo .yq61-steps{margin:12px auto!important}
}
@media(max-height:680px){
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-head{padding-top:10px!important}
 #catch-modal #yella-quicklog-stage-photo .yq61-logo{width:190px!important;margin-bottom:6px!important}
 #catch-modal #yella-quicklog-stage-photo .yq61-steps{margin:10px auto!important}
}
@media(prefers-reduced-motion:reduce){
 #catch-modal .modal-box,#catch-modal #yq59-upload{transition:none!important}
}
/* Tiny-phone refinements: keep action labels on one line, avoid a wrapped CTA. */
@media(max-width:350px){
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-photo-actions{gap:7px!important}
 html body #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action{
   gap:5px!important;padding:8px 4px!important;
 }
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action svg{
   width:18px!important;height:18px!important;flex:none;
 }
 #catch-modal #yella-quicklog-stage-photo .yella-quicklog-action strong{
   font-size:10.5px!important;white-space:nowrap!important;
 }
 #catch-modal #yella-quicklog-stage-photo #yq59-continue{
   padding:9px 28px 9px 6px!important;font-size:13px!important;
   white-space:nowrap!important;
 }
 #catch-modal #yella-quicklog-stage-photo #yq59-continue span{right:10px!important}
}
