/* YELLA v1.2.56 — points modal underwater banner and sampled ocean palette.
   Non-destructive visual override; no change to points calculations or modal behaviour.
   Ocean screenshot: #001923 (dominant dark), #001E29 (navy teal),
   #023D4F (lit underwater teal). Existing YELLA theme base: #01232F.
*/
html body #yella-points-dialog {
  --yp56-ocean: #001923;
  --yp56-depth: #001e29;
  --yp56-glow: #023d4f;
  --yp55-bg: #001923;
  --yp55-card: #062c38;
  background: linear-gradient(180deg, #001923 0%, #001e29 55%, #001923 100%);
  border-color: #315967;
}
/* The underwater image is an actual separate responsive background, not a screenshot.
   Text, official logo, buttons and accordion controls remain selectable and accessible. */
html body #yella-points-dialog .yp20-header {
  position: relative;
  isolation: isolate;
  margin: -24px -25px 0;
  padding: 24px 25px 27px;
  min-height: 212px;
  border-radius: 21px 21px 0 0;
  background-color: #001923;
  background-image:
    linear-gradient(0deg,#001923 0%,rgba(0,25,35,.04) 44%),
    linear-gradient(90deg,rgba(0,22,31,.78),rgba(0,22,31,.31) 72%,rgba(0,22,31,.2)),
    url('./assets/yella-points-underwater-header-v1256.webp');
  background-size: cover, cover, cover;
  background-position: center, center, 56% 18%;
  background-repeat: no-repeat;
}
html body #yella-points-dialog .yp20-header::before {display:none}
#yella-points-dialog .yp20-header h2, #yella-points-dialog .yp20-header p,
#yella-points-dialog .yp20-header .yp20-logo {position:relative;z-index:1}
#yella-points-dialog .yp20-header h2 {text-shadow:0 2px 12px rgba(0,12,21,.62)}
#yella-points-dialog .yp20-header p {text-shadow:0 1px 8px rgba(0,12,21,.63)}
html body #yella-points-dialog .yp20-card {background:linear-gradient(140deg,rgba(8,53,66,.96),rgba(1,35,47,.99))}
html body #yella-points-dialog .yp20-bonuses>div {background:linear-gradient(110deg,rgba(6,45,58,.96),rgba(1,29,40,.98))}
html body #yella-points-dialog .yp18-details {background:linear-gradient(110deg,rgba(5,49,62,.95),rgba(1,31,41,.99))}
@media (max-width:540px) {
  html body #yella-points-dialog .yp20-header {
    margin:-18px -13px 0;
    padding:18px 13px 18px;
    min-height:184px;
    border-radius:17px 17px 0 0;
    background-position:center,center,65% 12%;
  }
}
/* Keep close control anchored over the image and preserve readable milestone labels. */
html body #yella-points-dialog .yella-points-close {
  position:absolute!important;right:25px!important;top:24px!important;
  z-index:3;
  border-radius:50%!important;
}
html body #yella-points-dialog .yp20-bonuses b,
html body #yella-points-dialog .yp20-bonuses small {display:block}
@media(max-width:540px) {
 html body #yella-points-dialog .yella-points-close {right:13px!important;top:18px!important}
}
