.vx-user-gallery { --vx-cols: 5; font-family: inherit; }
.vx-ug-file { position: fixed; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vx-ug-grid { display: grid; grid-template-columns: repeat(var(--vx-cols), minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .vx-ug-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vx-ug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vx-ug-item { position: relative; border: 1px solid rgba(0,0,0,.10); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: none; }
.vx-ug-thumb { display: block; width: 100%; aspect-ratio: 1/1; background-size: cover; background-position: center; background-repeat: no-repeat; }
.vx-ug-meta { padding: 10px 12px 12px; }
.vx-ug-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-ug-sub { margin-top: 4px; font-size: 12px; opacity: .75; display: flex; flex-wrap: wrap; gap: 6px; }
.vx-ug-dot { opacity: .6; }
.vx-ug-del { position: absolute; top: 8px; right: 8px; z-index: 10; --ts-icon-color: var(--ts-shade-2); --ts-icon-size: 18px; width: 34px; height: 34px; padding: 0; line-height: normal; font-weight: 600; border: 1px solid var(--ts-shade-3); border-radius: 40px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; transition: all .2s ease; align-self: center; }
.vx-ug-del svg { display: block; width: var(--ts-icon-size); height: var(--ts-icon-size); overflow: visible; color: var(--ts-icon-color); }
.vx-ug-del svg path { fill: currentColor !important; }
.vx-ug-del[disabled] { opacity: .6; cursor: default; }
.vx-ug-empty, .vx-ug-notice { padding: 12px 14px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: rgba(0,0,0,.02); }
.vx-ug-add { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; cursor: pointer; }
.vx-ug-add-inner { text-align: center; opacity: .75; padding: 16px; }
.vx-ug-add-plus { font-size: 44px; line-height: 1; font-weight: 800; }
.vx-ug-add-text { margin-top: 6px; font-size: 13px; font-weight: 600; }
.vx-ug-add:hover .vx-ug-add-inner { opacity: 1; }
.vx-ug-pagination { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.vx-ug-page { padding: 8px 10px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; text-decoration: none; }
.vx-ug-page.is-active { font-weight: 700; }
