/* Photos */
#appview:has(.phs) { background: #fff; }
.phs { padding-bottom: 30px; }
.phs-head { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 16px 10px; }
.phs-head h1 { font-size: 33px; font-weight: 800; margin: 0; }
.phs-head span { color: #8a8a8e; font-size: 14px; }
.phs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ph-th { border: 0; padding: 0; aspect-ratio: 1; position: relative; overflow: hidden; background: #eee; }
.ph-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-th i { position: absolute; bottom: 4px; left: 6px; color: #fff; font-style: normal; text-shadow: 0 1px 3px #0008; }
.phs-sec { font-size: 21px; font-weight: 700; padding: 18px 16px 8px; }
.phs-sec span { color: #8a8a8e; }
.phs-albums { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.phs-albums::-webkit-scrollbar { display: none; }
.ph-al { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: start; flex: 0 0 140px; }
.ph-alc { width: 140px; height: 140px; border-radius: 12px; overflow: hidden; background: #f2f2f7; display: grid; place-items: center; }
.ph-alc img { width: 100%; height: 100%; object-fit: cover; }
.ph-alc em { font-style: normal; font-size: 40px; color: #c7c7cc; }
.ph-al b { font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.ph-al span { font-size: 13px; color: #8a8a8e; }
.ph-viewer { display: flex; flex-direction: column; place-items: stretch; }
.pv-top { display: flex; align-items: center; gap: 8px; padding: 52px 10px 8px; background: #000c; color: #fff; z-index: 2; }
.pv-title { flex: 1; display: flex; flex-direction: column; align-items: center; margin-inline-end: 70px; }
.pv-title b { font-size: 14px; }
.pv-title span { font-size: 11.5px; opacity: .7; }
.pv-b { border: 0; background: none; color: #fff; font-size: 17px; padding: 6px 8px; }
.pv-stage { flex: 1; overflow: hidden; display: grid; place-items: center; touch-action: none; cursor: grab; }
.pv-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.pv-bar { display: flex; justify-content: space-around; padding: 10px 10px 34px; background: #000c; }
.pv-bar .pv-b { font-size: 22px; }
.pv-fav { color: #fff; }
.pv-info { position: absolute; left: 10px; right: 10px; bottom: 96px; background: #1c1c1ef2; color: #fff; border-radius: 16px; padding: 14px 16px; font-size: 13.5px; line-height: 1.9; z-index: 3; backdrop-filter: blur(20px); }
.pv-info b { font-size: 15px; display: block; margin-bottom: 4px; }
