/* pics.css -- the 🖼 Pictures screen and the idle photo frame (pics.js). */
.wall .pics { position:relative; flex:1 1 auto; min-height:320px; height:100%; border-radius:var(--radius); overflow:hidden; background:#14110f; }
.wall .pics[hidden] { display:none; }
.wall .pics .pstage { position:absolute; inset:0; overflow:hidden; }
/* One slide = blurred backdrop + photo, faded in as a single layer over the last one. */
.wall .pics .pslide { position:absolute; inset:0; opacity:0; transition:opacity 1.2s ease-in-out; will-change:opacity; transform:translateZ(0); contain:strict; }
.wall .pics .pslide.in { opacity:1; }
.wall .pics .pbg { position:absolute; inset:-30px; width:calc(100% + 60px); height:calc(100% + 60px); object-fit:cover; filter:blur(12px) brightness(.55) saturate(1.2); }
.wall .pics .pmedia { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.wall .pics .pcap { position:absolute; left:0; right:0; bottom:0; padding:40px 22px 16px; color:#fff; background:linear-gradient(transparent, rgb(0 0 0 / .6));
  display:flex; flex-direction:column; gap:2px; pointer-events:none; text-shadow:0 1px 3px rgb(0 0 0 / .6); }
.wall .pics .pcap b { font-size:22px; font-weight:600; }
.wall .pics .pcap span { font-size:14px; opacity:.85; }
.wall .pics .pctl { position:absolute; right:14px; bottom:14px; display:flex; gap:6px; align-items:center; z-index:2; }
.wall .pics .pctl button { width:42px; height:42px; border-radius:50%; border:1px solid rgb(255 255 255 / .35); background:rgb(0 0 0 / .35); color:#fff; font-size:20px; backdrop-filter:blur(6px); }
.wall .pics .pctl .prm { font-size:16px; }
.wall .pics .pctl .prm.sure { width:auto; border-radius:99px; padding:0 14px; font-size:14px; background:var(--bad); border-color:var(--bad); }
.wall .pics .pnum { color:#fff; font-size:13px; opacity:.8; padding:0 6px; font-variant-numeric:tabular-nums; }
.wall .pics .pnone { position:absolute; inset:0; display:grid; place-items:center; text-align:center; color:#f2e9e2; font-size:17px; line-height:1.7; padding:20px; }
.wall .pics .pnone code { background:rgb(255 255 255 / .12); color:#ffd2b5; border-radius:6px; padding:2px 8px; }
/* Pictures screen: the photo gets the whole pane (no people chips, no ideas, no mic). */
.wall.mode-pictures .toolbar, .wall.mode-pictures .ideas, .wall.mode-pictures .mic-fab, .wall.mode-pictures .timer-fab { display:none !important; }
.wall.mode-pictures .grid { grid-template-columns:minmax(0,1fr) !important; }
.wall.mode-pictures main.pane { padding:8px; }
/* Photo frame (idle wall): full screen; any tap goes back to where it was. */
.wall.frame .top, .wall.frame .pctl { display:none !important; }
.wall.frame main.pane { position:fixed; inset:0; z-index:90; border:0; border-radius:0; padding:0; box-shadow:none; }
.wall.frame .pics { border-radius:0; }
.wall.frame .pics .pcap b { font-size:28px; }
.wall.phone .modes [data-mode="pictures"] { display:none; }
@media (prefers-reduced-motion:reduce) { .wall .pics .pslide { transition:none; } }

/* Picture frame: nothing but the photo (no caption, buttons or count). */
.wall.frame .pics .pcap, .wall.frame .pics .pctl, .wall.frame .pics .pnone small { display:none !important; }
.wall .pics .pctl .pfs { font-size:22px; }
