/* YELLA v1.2.83 — How Points Work: full-bleed ocean header + whole cod on phones.
   Intentional styling-only override: scoring, modals, verification and actions untouched. */

/* v1.2.79's new inner scroller kept a 56px top inset while the header
   still used the older negative 18px margin. Result: 38px empty strip. */
html body #yella-points-dialog > .yella-dialog-scroll-v1279 {
  padding: 0 25px 22px !important;
}
html body #yella-points-dialog > .yella-dialog-scroll-v1279 > .yp20-header {
  margin: 0 -25px 0 !important;
  padding: 24px 25px 27px !important;
  border-radius: 20px 20px 0 0;
  min-height: 212px;
  background-size: cover, cover, cover;
  background-position: center, center, 56% 18%;
}

/* The fish remains completely visible instead of being cropped by
   a narrow 44% side panel in the mobile layout. */
@media (max-width: 540px) {
  html body #yella-points-dialog > .yella-dialog-scroll-v1279 {
    padding: 0 13px 18px !important;
  }
  html body #yella-points-dialog > .yella-dialog-scroll-v1279 > .yp20-header {
    margin: 0 -13px 0 !important;
    padding: 18px 13px 18px !important;
    min-height: 184px;
    border-radius: 17px 17px 0 0;
    background-position: center, center, 65% 12%;
  }
  html body #yella-points-dialog .yp20-example {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0;
    overflow: hidden;
  }
  html body #yella-points-dialog .yp20-example-media {
    width: 100%;
    height: clamp(170px, 50vw, 215px);
    min-height: 0;
    background: #042532;
  }
  html body #yella-points-dialog .yp20-example-media img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center !important;
  }
  html body #yella-points-dialog .yp20-example-media::after {
    background: linear-gradient(180deg, transparent 75%, rgba(1,29,40,.5));
  }
  html body #yella-points-dialog .yp20-example-copy {
    padding: 13px 16px 15px !important;
  }
  html body #yella-points-dialog .yp20-example-copy > span {font-size: 9px; letter-spacing: .1em;}
  html body #yella-points-dialog .yp20-example-copy > strong {font-size: 42px;}
  html body #yella-points-dialog .yp20-example-copy p {font-size: 12px; line-height: 1.45;}
  html body #yella-points-dialog .yp20-example-copy > small {font-size: 11px; line-height: 1.4;}
}
@media (max-width: 350px) {
  html body #yella-points-dialog .yp20-example-media {height: 175px;}
  html body #yella-points-dialog .yp20-example-copy {padding: 12px 13px 14px !important;}
}
