/* A snap's card and a clip's poster (snap-cards.js): スナップ's (outfits.css takes this file's) and a profile's スナップ and
   クリップ (profile-gallery.js; 2026-11-05, the owner's word: shown as those pages show them). */
/* The columns: each photo goes to the shortest (snap-cards.js columns). */
.outfits-grid{display:flex;align-items:flex-start;gap:10px}
.outfits-column{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px}
.outfit-card{position:relative;border-radius:12px;overflow:hidden;isolation:isolate;background:#e6ebf3;background:light-dark(#e6ebf3,#161d28);animation:outfit-in .4s ease both}
@keyframes outfit-in{from{opacity:0;transform:translateY(8px)}}
.outfit-open{display:block;color:inherit}
.outfit-open:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;border-radius:12px}
.outfit-picture{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,#e9eef8,#f1eaf8);background:linear-gradient(135deg,light-dark(#e9eef8,#18202c),light-dark(#f1eaf8,#1f1a2b))}
.outfit-picture img{display:block;width:100%;height:100%;object-fit:cover;opacity:0;filter:blur(10px);transform:scale(1.04);transition:opacity .45s,filter .45s,transform .6s cubic-bezier(.2,.7,.2,1)}
.outfit-picture.loaded img{opacity:1;filter:none;transform:none}
.outfit-picture.failed img{display:none}
.outfit-card:hover .outfit-picture.loaded img{transform:scale(1.035)}
/* What is laid over a photo stays white on its dark shade, on both pages, as on any photo. */
.outfit-count{position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;gap:4px;padding:3px 8px 3px 6px;border-radius:12px;background:#0b101a8c;color:white;font-size:11px;font-weight:700;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.outfit-count .icon{width:13px;height:13px}
/* A video's card (2026-11-03): its length by a play mark, and the video played muted over its poster as a mouse is over it. */
.outfit-clip-mark{font-variant-numeric:tabular-nums}
.outfit-clip-mark .icon{fill:currentColor;stroke:none}
.outfit-clip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s;pointer-events:none}
.outfit-clip.on{opacity:1}
/* Which of a post's photos a mouse moved across it shows (snap-cards.js scrub), over the caption, clear of the like. */
.outfit-bar{position:absolute;left:10px;right:52px;bottom:5px;z-index:2;display:flex;gap:2px;opacity:0;transition:opacity .15s;pointer-events:none}
.outfit-bar.on{opacity:1}
.outfit-bar span{flex:1;height:3px;border-radius:2px;background:#ffffff73;box-shadow:0 0 2px #0009}
.outfit-bar span.now{background:white}
/* The caption: the poster, when, and their words, over the photo's foot (the avatar, the world and the items only in the
   opened post: 2026-11-02, the owner's word, as VRCBoost's cards). */
.outfit-caption{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:6px;padding:40px 52px 10px 10px;background:linear-gradient(transparent,#05070ccc 70%);color:white;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s;pointer-events:none}
.outfit-caption a,.outfit-caption button{pointer-events:auto}
.outfit-card:hover .outfit-caption,.outfit-card:focus-within .outfit-caption{opacity:1;transform:none}
.outfit-author{display:flex;align-items:center;gap:7px;min-width:0;color:white;text-decoration:none;font-size:12px;font-weight:700;text-shadow:0 1px 3px #00000080}
.outfit-author:hover .outfit-author-name{text-decoration:underline}
.outfit-face{flex:none;width:22px;height:22px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#ffffff33;color:white;font-size:11px;font-weight:800;box-shadow:0 0 0 1.5px #ffffffb3}
.outfit-face img{width:100%;height:100%;object-fit:cover}
.outfit-author-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.outfit-line{display:flex;align-items:center;gap:8px;min-width:0}
.outfit-line .outfit-author{flex:0 1 auto}
.outfit-when{flex:none;font-size:11px;color:#ffffffbf;text-shadow:0 1px 3px #00000080}
.outfit-body{margin:0;font-size:11px;line-height:1.55;color:#ffffffd9;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-shadow:0 1px 3px #00000080}
/* The like, at the photo's foot beside the caption, always shown with how many (2026-11-02, the owner's word: as
   VRCBoost's cards). */
.outfit-like{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:32px;height:32px;padding:0 9px;border-radius:16px;background:#0b101a73;color:white;font-size:11px;font-weight:700;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:color .15s,background .15s}
.outfit-like .icon{width:16px;height:16px;transition:transform .2s}
.outfit-like:hover{background:#0b101aa6}
.outfit-like:active .icon{transform:scale(.85)}
.outfit-like[aria-pressed=true]{color:#ff6b9a}
.outfit-like[aria-pressed=true] .icon{fill:currentColor}
.outfit-like:focus-visible{outline:2px solid white;outline-offset:2px}
.outfit-like:disabled{opacity:.7}
.outfit-skeleton{border-radius:12px;background:linear-gradient(100deg,#e9eef5 40%,#f4f7fb 50%,#e9eef5 60%);background:linear-gradient(100deg,light-dark(#e9eef5,#151c26) 40%,light-dark(#f4f7fb,#1c2430) 50%,light-dark(#e9eef5,#151c26) 60%);background-size:300% 100%;animation:outfit-shimmer 1.4s linear infinite}
@keyframes outfit-shimmer{from{background-position:100% 0}to{background-position:0 0}}
/* Touch screens have nothing to point with: who posted it always over the photo's foot (2026-11-04, the owner's word: as
   Instagram's; when and their words only in the opened post), its like always at hand, a tap opening the post. */
@media(hover:none){.outfit-caption{opacity:1;transform:none;padding:26px 48px 9px 9px;background:linear-gradient(transparent,#05070caa)}.outfit-when,.outfit-body{display:none}.outfit-like{min-width:30px;height:30px;padding:0 8px}.outfit-card:hover .outfit-picture.loaded img{transform:none}}
/* A clip's poster at 9:16, three in a row as Instagram's profiles show their reels (a profile's クリップ): its length at
   its top, its likes over its foot on a shade; played muted as a mouse is over it, opened in クリップ when pressed. */
.snap-clips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.snap-clip-card{position:relative;display:block;border-radius:8px;overflow:hidden;isolation:isolate;color:white;text-decoration:none;background:#e6ebf3;background:light-dark(#e6ebf3,#161d28);animation:outfit-in .4s ease both}
.snap-clip-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.snap-clip-picture{aspect-ratio:9/16}
.snap-clip-picture::after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,#05070c99);pointer-events:none}
.snap-clip-card:hover .outfit-picture.loaded img{transform:scale(1.035)}
.snap-clip-likes{position:absolute;left:8px;bottom:7px;z-index:1;display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #00000099}
.snap-clip-likes .icon{width:14px;height:14px;filter:drop-shadow(0 1px 2px #00000080)}
/* A profile's, under its tabs (profile-gallery.js). */
.profile-gallery{padding:12px 12px 4px}
.profile-gallery .outfits-grid,.profile-gallery .outfits-column{gap:8px}
@media(max-width:600px){.profile-gallery{padding:8px 8px 4px}.profile-gallery .snap-clips{gap:3px}.snap-clip-card{border-radius:6px}}
@media(hover:none){.snap-clip-card:hover .outfit-picture.loaded img{transform:none}}
