/* Yvette V4.32.5 — surgical top controls + photo twins only */

/* Restore visible top-control symbols even when older CSS hides the <img>. */
.yvette-seasonal-nav .yvette-header-icon{
  position:relative!important;
  color:#fff!important;
  font-size:0!important;
}
.yvette-seasonal-nav .yvette-header-icon .yvette-nav-symbol{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  position:relative!important;
  z-index:3!important;
}

/* Reliable CSS fallback icons: these remain visible if an SVG/PNG fails. */
.yvette-seasonal-nav .yvette-header-home:after{
  content:"⌂"!important;
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  z-index:2!important;
  color:#fff!important;
  font:900 29px/1 Arial,sans-serif!important;
  text-shadow:0 1px 1px rgba(0,0,0,.12)!important;
}
.yvette-seasonal-nav .yvette-header-settings:after{
  content:"⚙"!important;
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  z-index:2!important;
  color:#fff!important;
  font:900 25px/1 Arial,sans-serif!important;
}
.yvette-seasonal-nav .yvette-header-exit:after{
  content:"×"!important;
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  z-index:2!important;
  color:#fff!important;
  font:900 34px/1 Arial,sans-serif!important;
}
.yvette-seasonal-nav .yvette-header-home{background:#2298e8!important}
.yvette-seasonal-nav .yvette-header-settings{background:#2298e8!important}
.yvette-seasonal-nav .yvette-header-exit{background:#ef4747!important}

/* If the real nav image is present, let it sit above the fallback. */
.yvette-seasonal-nav .yvette-header-icon .yvette-nav-symbol{z-index:4!important}

/* Primary photo actions are true twins. */
.yv432-photo-actions,
.yvette-home-photo-actions,
.home-photo-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
.yv432-photo-card,
.yvette-home-photo-card,
.home-photo-card{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:168px!important;
  min-height:168px!important;
  padding:18px 18px!important;
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr) 22px!important;
  align-items:center!important;
  gap:12px!important;
  overflow:hidden!important;
}
.yv432-photo-card img,
.yvette-home-photo-card img,
.home-photo-card img{
  width:108px!important;
  height:108px!important;
  max-width:108px!important;
  object-fit:contain!important;
}
.yv432-photo-card .title,
.yv432-photo-card h2,
.yv432-photo-card h3,
.yvette-home-photo-card .title,
.home-photo-card .title{
  margin:0!important;
  font-size:clamp(28px,4.2vw,40px)!important;
  line-height:1.02!important;
  font-weight:950!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.yv432-photo-card .subtitle,
.yv432-photo-card small,
.yvette-home-photo-card .subtitle,
.home-photo-card .subtitle{
  margin-top:6px!important;
  font-size:16px!important;
  line-height:1.05!important;
}

/* Real iPhone widths: preserve two equal cards, but prioritize the action name. */
@media(max-width:600px){
  .yv432-photo-actions,
  .yvette-home-photo-actions,
  .home-photo-actions{
    gap:12px!important;
  }
  .yv432-photo-card,
  .yvette-home-photo-card,
  .home-photo-card{
    height:142px!important;
    min-height:142px!important;
    padding:12px 10px!important;
    grid-template-columns:78px minmax(0,1fr) 14px!important;
    gap:7px!important;
  }
  .yv432-photo-card img,
  .yvette-home-photo-card img,
  .home-photo-card img{
    width:76px!important;
    height:76px!important;
    max-width:76px!important;
  }
  .yv432-photo-card .title,
  .yv432-photo-card h2,
  .yv432-photo-card h3,
  .yvette-home-photo-card .title,
  .home-photo-card .title{
    font-size:25px!important;
    line-height:1.0!important;
  }
  .yv432-photo-card .subtitle,
  .yv432-photo-card small,
  .yvette-home-photo-card .subtitle,
  .home-photo-card .subtitle{
    display:none!important;
  }
}
@media(max-width:390px){
  .yv432-photo-card,
  .yvette-home-photo-card,
  .home-photo-card{
    grid-template-columns:66px minmax(0,1fr) 12px!important;
    padding:10px 7px!important;
    gap:5px!important;
  }
  .yv432-photo-card img,
  .yvette-home-photo-card img,
  .home-photo-card img{
    width:64px!important;height:64px!important;max-width:64px!important;
  }
  .yv432-photo-card .title,
  .yv432-photo-card h2,
  .yv432-photo-card h3,
  .yvette-home-photo-card .title,
  .home-photo-card .title{
    font-size:22px!important;
  }
}
