/* v48.30 avatar viewer + photo manager */
html.avph-lock,html.avph-lock body{overflow:hidden}
.my-ring img,.my-card .my-av img,.ig-av img,.my-av.big img,img.lc-sa[data-avu]{cursor:pointer;object-fit:cover}
.avv{position:fixed;inset:0;z-index:100000;background:#000;color:#fff;display:flex;flex-direction:column;touch-action:pan-x;transition:opacity .15s}
.avv-bars{display:flex;gap:4px;padding:10px 10px 0;padding-top:max(10px,env(safe-area-inset-top))}
.avv-bars span{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.35);overflow:hidden}
.avv-bars i{display:block;height:100%;width:0;background:#fff}
.avv-hd{display:flex;align-items:center;gap:10px;padding:10px 12px}
.avv-ring{display:inline-flex;line-height:0;padding:2px;border-radius:50%;background:conic-gradient(from 210deg,#f9ce34,#ee2a7b,#6228d7,#f9ce34)}
.avv-ring img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #000}
.avv-hd b{flex:1;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.avv-x{background:none;border:0;color:#fff;font-size:32px;line-height:1;width:44px;height:44px;cursor:pointer}
.avv-st{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;user-select:none;-webkit-user-select:none}
.avv-img{max-width:100%;max-height:100%;object-fit:contain;pointer-events:none}
.avv-ft{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 16px max(18px,env(safe-area-inset-bottom))}
.avv-ai{opacity:.7;font-size:12px}
.avv-btn{display:inline-block;background:#1877f2;color:#fff;text-decoration:none;font-weight:700;padding:11px 22px;border-radius:999px}
.avm-bg{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.5);display:flex;align-items:flex-end;justify-content:center}
.avm{background:#fff;color:#111;width:100%;max-width:520px;border-radius:18px 18px 0 0;padding:14px 14px max(18px,env(safe-area-inset-bottom));max-height:90vh;overflow:auto}
.avm-hd{display:flex;align-items:center;gap:8px;margin-bottom:12px}.avm-hd b{font-size:17px}.avm-cn{flex:1;color:#666}
.avm-x{background:#f1f3f5;border:0;border-radius:50%;width:36px;height:36px;font-size:22px;cursor:pointer}
.avm-g{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.avm-c{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#eee}
.avm-c img{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer}
.avm-c.main{box-shadow:0 0 0 3px #ee2a7b}
.avm-main{position:absolute;left:6px;top:6px;background:#1877f2;color:#fff;font-style:normal;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}
.avm-b{position:absolute;right:4px;bottom:4px;display:flex;gap:4px}
.avm-b button{width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;font-size:15px;cursor:pointer}
.avm-b .avm-sm{background:#1877f2}
.avm-add{aspect-ratio:1;border:2px dashed #1877f2;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1877f2;cursor:pointer;font-weight:700;font-size:13px;text-align:center}
.avm-add i{font-style:normal;font-size:30px;line-height:1}
.avm-msg{min-height:1.2em;color:#c0392b;font-size:13px;margin:10px 0 0}.avm-hint{color:#666;font-size:12.5px;margin:6px 0 0}
