/* YELLA Fishing v1.2.45 — official verified catch details.
   Layout-only replacement; original approved public-photo flow remains intact. */
html body #leader-lightbox{
  padding:clamp(10px,2vw,24px);
  background:rgba(0,12,19,.93);
  z-index:2147480050;
  align-items:center;
  justify-items:center;
}
html body #leader-lightbox .leader-lightbox.yv45-viewer{
  display:grid!important;
  position:relative;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;
  width:min(1340px,100%)!important;
  max-width:1340px!important;
  height:min(92dvh,820px)!important;
  min-height:0!important;
  max-height:92dvh!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(114,164,178,.42)!important;
  border-radius:18px!important;
  background:#021c27!important;
  color:#edf5f7!important;
  box-shadow:0 25px 100px rgba(0,0,0,.65)!important;
}
html body #leader-lightbox .leader-lightbox-close{
  position:absolute!important;
  top:14px!important;
  right:18px!important;
  z-index:35!important;
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  color:#f6c764!important;
  background:rgba(2,23,31,.22)!important;
  box-shadow:none!important;
  font:400 35px/1 Inter,system-ui,sans-serif!important;
  cursor:pointer;
}
html body #leader-lightbox .leader-lightbox-close:hover{background:rgba(11,55,68,.76)!important}
html body #leader-lightbox .leader-lightbox-photo{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  min-width:0;
  min-height:0;
  height:100%;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 40%,#17414d 0%,#051a22 72%);
}
html body #leader-lightbox .leader-lightbox-photo-stage{
  display:grid!important;
  place-items:center!important;
  flex:1 1 auto!important;
  width:100%;
  height:100%!important;
  max-height:none!important;
  min-height:0!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#061c25,#0e3441)!important;
  position:relative;
}
html body #leader-lightbox .leader-lightbox-photo-stage img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  min-width:0;
  object-fit:contain!important;
  grid-area:1/1;
  user-select:none;
  -webkit-user-drag:none;
}
html body #leader-lightbox .leader-lightbox-photo-stage img[hidden]{display:none!important}
html body #leader-lightbox .leader-lightbox-photo-status{
  grid-area:1/1;
  color:#c6d9df;
  font:500 13px/1.6 Inter,system-ui,sans-serif;
  text-align:center;
}
html body #leader-lightbox .leader-lightbox-photo-status[hidden]{display:none!important}
html body #leader-lightbox .leader-lightbox-details{
  container-type:normal!important;
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  min-height:0!important;
  min-width:0!important;
  height:100%!important;
  padding:clamp(25px,3vw,45px) clamp(26px,3.2vw,48px) 24px!important;
  scrollbar-width:thin;
  scrollbar-color:#487180 transparent;
  background-color:#01232f!important;
  background-image:linear-gradient(120deg,rgba(0,29,38,.99),rgba(0,41,56,.84) 60%,rgba(0,28,40,.85)),url('./assets/yella-blue-waves-v1101.svg')!important;
  background-size:cover,cover!important;
  background-position:center,center!important;
  color:#f1f6f8!important;
  font-family:Inter,Arial,system-ui,sans-serif!important;
}
html body #leader-lightbox .yv45-brand{width:260px;max-width:60%;height:auto;margin:0 0 22px}
html body #leader-lightbox .yv45-brand img{display:block;width:100%;height:auto;object-fit:contain}
html body #leader-lightbox .leader-lightbox-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  color:#e9be59!important;
  font:750 12px/1.2 Inter,Arial,sans-serif!important;
  letter-spacing:.13em;
  margin:0 42px 9px 0!important;
  padding:0!important;
}
html body #leader-lightbox .yv45-check{display:inline-flex;flex:none;width:24px;height:24px}
html body #leader-lightbox .yv45-check svg{width:100%;height:100%}
html body #leader-lightbox #leader-lightbox-title{
  margin:0 32px 12px 0!important;
  color:#f6f8fa!important;
  font:750 clamp(29px,3.4vw,48px)/1.08 Inter,Arial,system-ui,sans-serif!important;
  letter-spacing:-.037em!important;
  overflow-wrap:anywhere;
}
html body #leader-lightbox .yv57-angler-row{display:flex!important;gap:12px!important;align-items:center!important;min-width:0;margin:0 0 22px}
html body #leader-lightbox .yv57-avatar{
  display:grid;place-items:center;flex:none;
  width:42px!important;height:42px!important;border-radius:50%;
  background:linear-gradient(145deg,#538799,#24526a)!important;
  color:#eaf3f7;font:750 16px/1 Inter,system-ui,sans-serif;
}
html body #leader-lightbox .leader-lightbox-angler{color:#f1f6f8!important;font:700 19px/1.35 Inter,system-ui,sans-serif!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #leader-lightbox .yv45-profile{
  border-left:1px solid rgba(133,179,193,.35);
  padding-left:14px;margin-left:3px;
  color:#98c1d3!important;
  font:650 13px/1.5 Inter,system-ui,sans-serif;
  text-decoration:none;white-space:nowrap;
}
html body #leader-lightbox .yv45-profile:hover{text-decoration:underline;color:#f3ce70!important}
html body #leader-lightbox .yv45-profile[hidden]{display:none!important}
html body #leader-lightbox .yv45-measure{width:100%;margin:0 0 14px}
html body #leader-lightbox .yv45-measure-label{
  display:block;color:#9cbdc8;
  font:700 11px/1.3 Inter,system-ui,sans-serif;
  letter-spacing:.16em;margin-bottom:8px;
}
html body #leader-lightbox .leader-lightbox-stat{
  display:flex!important;
  align-items:baseline!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  width:100%;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;
  min-height:0!important;
}
html body #leader-lightbox .leader-lightbox-stat:before{display:none!important;content:none!important}
html body #leader-lightbox #leader-lightbox-length{
  font:800 clamp(55px,6.7vw,93px)/.97 Inter,Arial,system-ui,sans-serif!important;
  letter-spacing:-.055em!important;
  color:#efc66e!important;
  background:linear-gradient(170deg,#fff0b7 0%,#eab84d 50%,#b9832c 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
html body #leader-lightbox .leader-lightbox-stat>span{font:600 22px/1 Inter,Arial,sans-serif!important;color:#a9c1cb!important}
html body #leader-lightbox .yv45-ruler{
  width:100%;height:23px;margin-top:4px;
  border-bottom:2px solid #d6a742;
  background-image:repeating-linear-gradient(to right,#d7aa48 0,#d7aa48 1px,transparent 1px,transparent 10px),repeating-linear-gradient(to right,#e6b65c 0,#e6b65c 2px,transparent 2px,transparent 50px);
  background-size:100% 11px,100% 20px;
  background-position:bottom,bottom;
  background-repeat:repeat-x;
  opacity:.95;
}
html body #leader-lightbox .leader-lightbox-facts{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  margin:12px 0 0!important;
  padding:0!important;
  gap:0!important;
  border:0!important;
  background:transparent!important;
}
html body #leader-lightbox .leader-lightbox-facts>div{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;
  column-gap:13px!important;row-gap:3px!important;
  margin:0!important;padding:16px 4px!important;
  min-width:0!important;
  border:0!important;border-top:1px solid rgba(142,194,211,.32)!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
html body #leader-lightbox .leader-lightbox-facts .yv45-area{grid-column:1/-1}
html body #leader-lightbox .leader-lightbox-facts .yv45-date{padding-right:15px!important}
html body #leader-lightbox .leader-lightbox-facts .yv45-bait{padding-left:22px!important;position:relative}
html body #leader-lightbox .leader-lightbox-facts .yv45-bait::before{content:"";position:absolute;left:0;top:20%;height:60%;border-left:1px solid rgba(142,194,211,.36)}
html body #leader-lightbox .leader-lightbox-facts .yv45-time{grid-column:1/-1}
html body #leader-lightbox .leader-lightbox-facts .yv57-icon{
  grid-column:1;grid-row:1/3;align-self:center;
  width:26px!important;height:26px!important;
  color:#d4e6ea!important;
}
html body #leader-lightbox .leader-lightbox-facts dt{
  grid-column:2;grid-row:1;
  margin:0;
  color:#98bcca!important;
  font:700 10px/1.4 Inter,system-ui,sans-serif!important;
  letter-spacing:.13em!important;text-transform:uppercase!important;
}
html body #leader-lightbox .leader-lightbox-facts dd{
  grid-column:2;grid-row:2;
  min-width:0;max-width:none!important;margin:0;
  color:#eaf3f6!important;
  text-align:left!important;
  font:650 14px/1.4 Inter,system-ui,sans-serif!important;
  overflow-wrap:anywhere;
}
html body #leader-lightbox .yv45-notes{margin:0 0 18px;padding:15px 0 0;border-top:1px solid rgba(142,194,211,.32)}
html body #leader-lightbox .yv45-notes[hidden]{display:none!important}
html body #leader-lightbox .yv45-notes h3{
  margin:0 0 9px!important;color:#9bbdca!important;
  font:700 10px/1.3 Inter,system-ui,sans-serif!important;
  letter-spacing:.14em!important;text-transform:uppercase;
}
html body #leader-lightbox .leader-lightbox-notes{
  margin:0!important;padding:0!important;
  color:#d7e6eb!important;
  background:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;
  font:450 14px/1.65 Inter,system-ui,sans-serif!important;
  white-space:pre-wrap;overflow-wrap:anywhere;
}
html body #leader-lightbox #leader-lightbox-likes{display:none!important}
html body #leader-lightbox .leader-lightbox-nav{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px!important;margin:auto 0 0!important;
  padding:6px 0 2px!important;
  border:0!important;
}
html body #leader-lightbox .leader-lightbox-nav button{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-width:0;min-height:51px;padding:9px 12px!important;
  border:1px solid #d7ad52!important;border-radius:10px!important;
  box-shadow:none!important;background:rgba(0,25,35,.56)!important;
  color:#e9c06a!important;
  font:750 14px/1.3 Inter,system-ui,sans-serif!important;
}
html body #leader-lightbox .leader-lightbox-nav button:last-child{background:#ebbf62!important;color:#052532!important}
html body #leader-lightbox .leader-lightbox-nav button:disabled{opacity:.42!important;cursor:default}
html body #leader-lightbox .leader-lightbox-nav button:hover:not(:disabled){filter:brightness(1.09)}
html body #leader-lightbox .yv45-photo-expand,
html body #leader-lightbox .yv45-photo-collapse{display:none!important}

/* Small tablet: stack picture and record, but preserve scrolling for long notes. */
@media(max-width:900px){
 html body #leader-lightbox .leader-lightbox.yv45-viewer{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(190px,34dvh) minmax(0,1fr)!important;
  height:calc(100dvh - 18px)!important;
  max-height:calc(100dvh - 18px)!important;
  border-radius:16px!important;
 }
 html body #leader-lightbox .leader-lightbox-photo{height:auto!important;min-height:0}
 html body #leader-lightbox .leader-lightbox-photo-stage{height:100%!important;max-height:none!important;min-height:0!important}
 html body #leader-lightbox .leader-lightbox-photo-stage img{max-height:none!important}
 html body #leader-lightbox .leader-lightbox-details{height:100%!important;padding:18px 23px 23px!important;overflow-y:auto!important}
 html body #leader-lightbox .yv45-brand{width:196px;max-width:60%;margin:0 0 12px}
 html body #leader-lightbox .leader-lightbox-close{top:12px!important;right:13px!important;background:rgba(3,26,38,.8)!important}
 html body #leader-lightbox #leader-lightbox-title{font-size:32px!important;margin-bottom:10px!important}
 html body #leader-lightbox .yv57-angler-row{margin-bottom:15px}
 html body #leader-lightbox #leader-lightbox-length{font-size:64px!important}
}
@media(max-width:760px){
 html body #leader-lightbox{padding:6px!important}
 html body #leader-lightbox .leader-lightbox.yv45-viewer{
  width:100%!important;max-width:100%!important;
  height:calc(100dvh - 12px)!important;
  max-height:calc(100dvh - 12px)!important;
  grid-template-rows:minmax(175px,34dvh) minmax(0,1fr)!important;
  overflow:hidden!important;
 }
 html body #leader-lightbox .leader-lightbox-details{padding:17px 18px max(18px,env(safe-area-inset-bottom))!important}
 html body #leader-lightbox .leader-lightbox-eyebrow{font-size:10px!important;gap:8px;margin-bottom:8px!important}
 html body #leader-lightbox .yv45-check{width:19px;height:19px}
 html body #leader-lightbox #leader-lightbox-title{font-size:clamp(27px,7.8vw,33px)!important;margin-right:0!important}
 html body #leader-lightbox .yv57-avatar{width:33px!important;height:33px!important;font-size:13px}
 html body #leader-lightbox .leader-lightbox-angler{font-size:15px!important}
 html body #leader-lightbox .yv45-profile{padding-left:9px!important;font-size:11px!important;margin-left:0!important}
 html body #leader-lightbox .yv45-measure-label{font-size:10px!important}
 html body #leader-lightbox #leader-lightbox-length{font-size:clamp(52px,17vw,73px)!important}
 html body #leader-lightbox .leader-lightbox-stat>span{font-size:17px!important}
 html body #leader-lightbox .yv45-ruler{height:17px;background-size:100% 9px,100% 16px}
 html body #leader-lightbox .leader-lightbox-facts>div{padding:12px 2px!important;column-gap:8px!important;grid-template-columns:28px minmax(0,1fr)!important}
 html body #leader-lightbox .leader-lightbox-facts .yv45-bait{padding-left:10px!important}
 html body #leader-lightbox .leader-lightbox-facts .yv57-icon{width:20px!important;height:20px!important}
 html body #leader-lightbox .leader-lightbox-facts dt{font-size:9px!important}
 html body #leader-lightbox .leader-lightbox-facts dd{font-size:12px!important}
 html body #leader-lightbox .leader-lightbox-notes{font-size:12px!important}
 html body #leader-lightbox .leader-lightbox-nav button{font-size:12px!important;min-height:45px;padding:8px!important}
 html body #leader-lightbox .yv45-photo-expand:not([hidden]){
  position:absolute!important;left:50%;bottom:12px;transform:translateX(-50%);
  display:flex!important;align-items:center;justify-content:center;gap:7px;
  min-height:34px;padding:7px 12px;
  border:1px solid rgba(215,229,237,.5);border-radius:30px;
  color:#eff8f9;background:rgba(2,23,32,.79);
  font:650 10px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;
  box-shadow:0 3px 15px rgba(0,0,0,.3);
 }
 html body #leader-lightbox .yv45-photo-expand svg{width:15px;height:15px}
 html body #leader-lightbox .yv45-photo-expand[hidden],
 html body #leader-lightbox .yv45-photo-collapse[hidden]{display:none!important}
 html body #leader-lightbox .leader-lightbox.yv45-expanded-photo .leader-lightbox-photo{
  position:fixed!important;inset:0!important;z-index:20!important;
  width:100vw!important;height:100dvh!important;
  background:#001620!important;
  overflow:hidden!important;
  padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
 }
 html body #leader-lightbox .leader-lightbox.yv45-expanded-photo .leader-lightbox-photo-stage{
  height:100%!important;min-height:0!important;max-height:none!important;
  background:#001620!important;
 }
 html body #leader-lightbox .leader-lightbox.yv45-expanded-photo .leader-lightbox-photo-stage img{
  width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;
 }
 html body #leader-lightbox .leader-lightbox.yv45-expanded-photo .yv45-photo-collapse:not([hidden]){
  display:inline-flex!important;align-items:center;gap:7px;
  position:absolute;top:calc(env(safe-area-inset-top) + 15px);left:14px;
  z-index:23;padding:10px 13px;min-height:42px;
  border:1px solid #6b9aaa;border-radius:24px;
  color:#f1f8f9;background:rgba(2,27,38,.9);
  font:650 12px/1.3 Inter,system-ui,sans-serif;
 }
 html body #leader-lightbox .yv45-photo-collapse svg{width:18px;height:18px}
 html body #leader-lightbox .leader-lightbox.yv45-expanded-photo .leader-lightbox-close{
  position:fixed!important;top:calc(env(safe-area-inset-top) + 15px)!important;right:15px!important;z-index:36!important;
 }
}
@media(max-width:350px){
 html body #leader-lightbox .leader-lightbox-details{padding-left:13px!important;padding-right:13px!important}
 html body #leader-lightbox .leader-lightbox-facts .yv45-bait{padding-left:8px!important}
 html body #leader-lightbox .leader-lightbox-facts dd{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
 html body #leader-lightbox *,html body #leader-lightbox *:before,html body #leader-lightbox *:after{animation:none!important;transition:none!important}
}
/* Keep photo inside the mobile stage instead of allowing the image's
   intrinsic grid height to exceed and disappear beyond the clipped viewport. */
html body #leader-lightbox .leader-lightbox-photo-stage{display:block!important;position:relative!important}
html body #leader-lightbox .leader-lightbox-photo-stage img{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  display:block!important;object-fit:contain!important;
  grid-area:auto!important;
}
html body #leader-lightbox .leader-lightbox-photo-stage img[hidden]{display:none!important}
html body #leader-lightbox .leader-lightbox-photo-status{
  position:absolute;inset:0;display:grid;place-items:center;padding:22px;
}
html body #leader-lightbox .leader-lightbox-photo-status[hidden]{display:none!important}
/* Footer actions remain visible while longer record notes scroll behind them. */
html body #leader-lightbox .leader-lightbox-nav{
  position:sticky!important;
  bottom:-24px!important;
  z-index:3;
  flex:none!important;
  padding:12px 0 14px!important;
  background:linear-gradient(to top,#01232f 84%,rgba(1,35,47,0));
}
@media(max-width:900px){
 html body #leader-lightbox .leader-lightbox-nav{bottom:-23px!important}
}
/* Slightly denser desktop editorial rhythm: notes and navigation share the view. */
@media(min-width:901px){
 html body #leader-lightbox .leader-lightbox-details{padding:25px 35px 16px!important}
 html body #leader-lightbox .yv45-brand{width:230px;margin-bottom:13px}
 html body #leader-lightbox #leader-lightbox-title{font-size:clamp(30px,3.2vw,43px)!important;margin-bottom:10px!important}
 html body #leader-lightbox .yv57-angler-row{margin-bottom:13px}
 html body #leader-lightbox .yv45-measure{margin-bottom:9px}
 html body #leader-lightbox #leader-lightbox-length{font-size:clamp(62px,6.3vw,85px)!important}
 html body #leader-lightbox .leader-lightbox-facts{margin-top:8px!important}
 html body #leader-lightbox .leader-lightbox-facts>div{padding:11px 4px!important}
 html body #leader-lightbox .yv45-notes{padding-top:10px;margin-bottom:9px}
 html body #leader-lightbox .leader-lightbox-nav{padding-top:8px!important;padding-bottom:3px!important;bottom:-16px!important}
}
