/* Her Grateful Soul — phone mockup frame.
   Replaces the old black bezel with a pearl body and a thin champagne-gold
   rim, so the wallpapers look like they sit on a jewellery-box phone that
   belongs to the same world as the gold sun, moon and halo.
   Loaded after each page's own styles. Works with both markups:
     .phone > .screen > img   (wallpapers page)
     .phone > img / .ph > img (thank-you pages, bundle cards) */

.phone,.ph{
  position:relative;display:block;
  border:1.5px solid transparent;
  background:
    linear-gradient(160deg,#FFFDFB 0%,#F8EEF3 55%,#F1E6F6 100%) padding-box,
    linear-gradient(135deg,#F7E4C3 0%,#C99D62 26%,#FFF3DC 48%,#B88A45 70%,#F3DDB4 100%) border-box;
  padding:3.4%;
  border-radius:15%/8.2%;
  box-shadow:
    0 30px 50px -28px rgba(62,38,96,.55),
    0 6px 16px -8px rgba(62,38,96,.22),
    inset 0 0 0 1px rgba(255,255,255,.85),
    inset 0 -6px 14px -10px rgba(185,138,69,.35);
}
/* Slim side button in gold */
.phone::after,.ph::after{content:"";position:absolute;right:-3px;top:24%;width:2px;height:10%;border-radius:2px;
  background:linear-gradient(180deg,#F3DDB4,#B88A45);pointer-events:none}

/* The screen */
.phone .screen,.phone > img,.ph > img{
  display:block;position:relative;width:100%;aspect-ratio:9/16;object-fit:cover;overflow:hidden;
  border-radius:12%/6.8%;background:#F7E9E6;
  box-shadow:0 0 0 1px rgba(185,138,69,.22);
}
.phone .screen img{border-radius:0}

/* A soft glass sheen instead of a hard glare */
.phone .screen::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(128deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,0) 34%,rgba(255,255,255,0) 72%,rgba(255,255,255,.12) 100%)}

/* Frosted pearl pill where the camera sits — no black blob over the art */
.phone::before{content:"";position:absolute;z-index:2;pointer-events:none;
  top:6.2%;left:50%;width:24%;height:2.3%;transform:translateX(-50%);border-radius:999px;
  background:rgba(255,250,246,.55);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),0 1px 4px rgba(62,38,96,.18);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
/* Tiny phones (bundle thumbnails) don't need the camera pill */
.ph::before{content:none}
