/* PHONE LOOK · page-only styles (prefix pl-); everything else is the shell (apps.css) */
.pl-info{min-height:0}
.pl-info:empty{display:none}
.pl-info span{display:block}
.pl-info span+span{margin-top:3px;color:var(--fg-3)}
.cmp:focus-visible{outline:2px solid rgba(var(--a),.8);outline-offset:3px}
/* the file block is hidden until a photo is loaded; the divider rule of the shell must not treat it as a neighbour */
.side .blk:first-child[hidden]+.blk{margin-top:0;padding-top:0;border-top:0}
/* phone / tablet: the photo (or the drop zone) comes first, the presets right under it */
@media (max-width:980px){.stage{order:-1}}
.lbl.pl-sub{margin-top:16px}
/* phone: the empty stage is just the drop zone, not a tall dark box */
@media (max-width:980px){body.pl-empty .stage>.shell>.core{min-height:0}}
/* touch screens have no Ctrl+V */
@media (hover:none){.pl-paste{display:none}}
/* the view switch sits in the head row: its words must never break inside */
#view button{flex:1 1 auto;white-space:nowrap;overflow-wrap:normal}
/* ---- empty state: the product before a file — two 4:5 frames, the drop target is the frames themselves ---- */
#drop.pl-dz{display:block;min-height:0;padding:22px 20px 20px;text-align:left;border-color:transparent;background:none}
#drop.pl-dz:hover,#drop.pl-dz.over{background:radial-gradient(ellipse 70% 50% at 50% 0%,rgba(var(--a),.08),transparent 70%)}
.pl-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:620px;margin:0 auto}
.pl-g{aspect-ratio:4/5;transition:border-color .3s var(--ease),box-shadow .3s var(--ease)}
.pl-g canvas{display:block;width:100%;height:100%}
#drop.pl-dz:hover .pl-g,#drop.pl-dz.over .pl-g,#drop.pl-dz:focus-visible .pl-g{border-color:rgba(var(--a),.7);box-shadow:inset 0 2px 10px rgba(0,0,0,.55),0 0 0 3px rgba(var(--a),.1)}
.pl-dzt{display:flex;align-items:center;justify-content:center;gap:14px;margin:20px auto 0;max-width:620px}
.pl-dzt .ic{flex:none}
.pl-dzw{display:flex;flex-direction:column;gap:4px}
.pl-dzw b{font-family:var(--head);font-size:13px;font-weight:600;letter-spacing:.06em}
@media (max-width:520px){.pl-pair{gap:10px}#drop.pl-dz{padding:12px 4px 14px}.pl-dzt{gap:10px;margin-top:14px}.pl-dzt .ic{width:44px;height:44px}}
@media (max-width:520px){.pl-gt1{display:none}.pl-g .ghost-tag{padding:3px 6px;top:7px;left:7px}.pl-g .ghost-tag.r{left:auto;right:7px}}
/* design round 2: brighter ghost, the 100 % loupe in the corner of each frame and the square that shows where it looks */
.pl-g>canvas{opacity:.88}
.pl-g>.pl-spot,.pl-g>.pl-loupe{opacity:1}
.pl-spot{position:absolute;z-index:1;border:1px solid rgba(255,255,255,.85);box-shadow:0 0 0 1px rgba(0,0,0,.5);border-radius:2px;pointer-events:none}
.pl-loupe{position:absolute;left:10px;bottom:10px;z-index:2;width:clamp(64px,36%,120px);aspect-ratio:1;border-radius:10px;border:1px solid rgba(255,255,255,.75);box-shadow:0 8px 22px rgba(0,0,0,.6)}
.pl-loupe canvas{display:block;width:100%;height:100%;border-radius:9px;image-rendering:pixelated}
.pl-loupe b{position:absolute;left:6px;top:-9px;font-family:var(--mono);font-size:10px;font-weight:500;line-height:1;letter-spacing:.08em;padding:3px 5px;border-radius:5px;background:var(--n-0b0a12);border:1px solid rgba(255,255,255,.6);color:#fff;white-space:nowrap}
@media (max-width:520px){.pl-loupe{left:6px;bottom:6px;border-radius:8px}}
