/* The model's profile under the chat: the three tabs (All / Free / Premium content), the profile box and the mixed grid of videos, photos and albums.
   Colours only from the site's colours (--msg-*). The grid is a "masonry" of tiles whose height follows the picture's shape: each tile spans rows of an 8 px unit (the span is set by profile-grid.js from the picture's width and height). */
.pg-tabs { display: flex; gap: 6px; margin: 0 0 14px; border-bottom: 1px solid var(--msg-border); overflow-x: auto; scrollbar-width: none; }
.pg-tabs::-webkit-scrollbar { display: none; }
.pg-tab { flex: none; padding: 0 16px; min-height: 44px; background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; color: var(--msg-muted); cursor: pointer; white-space: nowrap; }
.pg-tabs { border-bottom-color: color-mix(in srgb, var(--msg-border) 16%, transparent); } /* the line under All / Free / Premium: as faint as the others around the room */
.pg-tab[aria-selected="true"] { color: var(--msg-text); border-bottom-color: var(--msg-accent); font-weight: 700; }
.pg-main { overflow-anchor: none; min-width: 0; min-height: calc(100vh - 130px); min-height: calc(100dvh - 130px); } /* a short tab (few tiles) must not make the page shorter than the window: the browser would then pull the page up under the reader's eyes */
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-auto-rows: 8px; grid-auto-flow: dense; gap: 8px; }
/* the profile box is the first tile of the grid (two columns wide, as many rows tall as it is): the pictures flow round and under it */
.pg-box { position: relative; z-index: 3; grid-column: span 2; width: 100%; align-self: start; background: var(--msg-surface); border: 1px solid var(--msg-border); border-radius: 12px; padding: 14px 14px 12px; min-width: 0; font-size: 13px; }
.pg-main:not([data-tab="all"]) .pg-box { display: none; }
.lv-profile .pg-box .lv-pf-head { margin-bottom: 2px; }


.pg-rating { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 0; padding: 0; border: 0; background: none; color: var(--msg-muted); font: inherit; font-size: 12px; cursor: pointer; }
.pg-stars { display: inline-flex; gap: 1px; }
.pg-star { position: relative; display: inline-block; width: 22px; height: 22px; color: var(--msg-border); }
.pg-star svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.pg-star-on { position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; color: var(--msg-gold, var(--msg-accent)); }
.pg-star-on svg { width: 22px; height: 22px; }
.pg-usual { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--msg-border); }
.pg-usual[hidden] { display: none; }
.pg-usual-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.pg-usual-nav { display: inline-flex; align-items: center; gap: 4px; }
.pg-usual-day { min-width: 72px; text-align: center; font-size: 13px; }
.pg-usual-btn { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--msg-text); cursor: pointer; position: relative; }
.pg-usual-btn::after { content: ""; position: absolute; inset: -6px; } /* a 44 px tap area */
.pg-usual-btn.is-prev svg { transform: rotate(180deg); }
.pg-usual-bars { display: flex; align-items: flex-end; gap: 2px; height: 36px; margin-top: 8px; }
.pg-bar { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--msg-border); }
.pg-bar.is-on { background: var(--msg-accent); opacity: .85; }
.pg-bar.is-now { background: var(--msg-gold, var(--msg-accent)); opacity: 1; }
.pg-usual-lab { display: flex; justify-content: space-between; margin-top: 3px; color: var(--msg-muted); font-size: 11px; }
.pg-usual-src { margin: 4px 0 0; color: var(--msg-muted); font-size: 10px; }
.pg-tile { position: relative; display: block; min-width: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--msg-surface-2); color: var(--msg-white); font: inherit; text-align: left; cursor: pointer; isolation: isolate; }
.pg-tile:focus-visible { outline: 2px solid var(--msg-ring); outline-offset: 2px; }
.pg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) { .pg-tile:not(.is-locked):hover .pg-img { filter: brightness(.93); } } /* (touch screens keep :hover after a tap) */
.pg-blur { transform: scale(1.12); filter: blur(5px); } /* the tiny server-made copy, stretched: nothing sharper than this ever reaches the page */
.pg-nopic { position: absolute; inset: 0; background: linear-gradient(135deg, var(--msg-surface-2), var(--msg-surface)); }
.pg-type { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--msg-black) 55%, transparent); color: var(--msg-white); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pg-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--msg-white) 85%, transparent); background: color-mix(in srgb, var(--msg-black) 35%, transparent); color: var(--msg-white); pointer-events: none; }
.pg-play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.pg-lock { position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: color-mix(in srgb, var(--msg-black) 55%, transparent); color: var(--msg-white); pointer-events: none; }
.pg-lock svg { width: 26px; height: 26px; }
.pg-price { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; text-align: center; padding: 3px 8px; border-radius: 8px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 12px; font-weight: 700; }
/* the Premium corner ribbon: a sash across the top-right corner, clipped by its corner box so both ends are cut flush with the tile */
.pg-ribbon { position: absolute; top: 0; right: 0; z-index: 4; width: 78px; height: 78px; overflow: hidden; pointer-events: none; }
.pg-ribbon b { position: absolute; left: -29px; top: 29px; width: 156px; height: 18px; line-height: 18px; background: var(--msg-accent); color: var(--msg-on-accent); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; transform: rotate(45deg); box-shadow: 0 2px 6px color-mix(in srgb, var(--msg-black) 40%, transparent); }
.pg-collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--msg-surface); }
.pg-collage img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.pg-collage img:first-child:nth-last-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.pg-collage img:first-child:nth-last-child(2) { grid-row: 1 / 3; }
.pg-collage img:nth-child(2):nth-last-child(1) { grid-row: 1 / 3; }
.pg-state { margin: 18px 0; text-align: center; color: var(--msg-muted); }
.pg-state[hidden] { display: none; }
.pg-more { height: 1px; }
.pg-grid[aria-busy="true"] { opacity: .6; }
@media (max-width: 900px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-box { grid-column: 1 / -1; }
}
.pg-collage img:nth-child(3):nth-last-child(1) { grid-column: 1 / 3; }
.lv-profile-in.pg-in { max-width: none; }
/* the model's categories: scrollable tabs with the number of models in each, and "Show all" */
.pg-cat { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 999px; border: 1px solid var(--msg-border); background: var(--msg-surface); color: var(--msg-text); text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .pg-cat:hover { border-color: var(--msg-accent); } } /* (touch screens keep :hover after a tap) */
.pg-cat-n { color: var(--msg-muted); font-size: 12px; }
.pg-cats-btn { flex: none; width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); cursor: pointer; }
.pg-cats-prev svg { transform: rotate(180deg); }
.pg-cats-btn[hidden] { display: none; }
/* a phone: the categories are just swiped, like the strip on the home page: no label, no arrows, no Show all (and the pills keep the 44 px tap size) */
@media (max-width: 900px) {
  .pg-sw { min-height: 44px; }
  .lv-profile .pg-act { min-height: 44px; }
}
/* the profile box: small, calm text (the reference sites use 11 to 14 px) */
.lv-profile .pg-box h2 { margin: 0; font-size: 20px; line-height: 1.2; }
.pg-box .lv-pf-head { gap: 12px; margin-bottom: 0; padding-right: 30px; }
.lv-profile .pg-box .lv-pf-pic { width: 76px; height: 76px; border-width: 3px; }
.lv-profile .pg-box .lv-muted { margin: 2px 0 0; font-size: 12px; }
.pg-box .lv-pf-facts, .pg-info .lv-pf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin: 10px 0 0; }
.pg-box .lv-pf-facts div, .pg-info .lv-pf-facts div { display: flex; flex-direction: column-reverse; padding: 8px 0; background: none; border: 0; border-radius: 0; min-width: 0; }
.pg-box .lv-pf-facts dd, .pg-info .lv-pf-facts dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.pg-box .lv-pf-facts dt, .pg-info .lv-pf-facts dt { font-size: 11px; color: var(--msg-muted); }
.pg-about { position: relative; margin-top: 10px; border-top: 1px solid var(--msg-border); padding-top: 8px; }
.lv-profile .pg-box .lv-pf-about { margin: 0; font-size: 14px; line-height: 1.45; color: var(--msg-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lv-profile .pg-about.is-open .lv-pf-about { display: block; -webkit-line-clamp: unset; overflow: visible; }
.pg-about-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 28px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--msg-muted); cursor: pointer; position: relative; }
.pg-about-more[hidden] { display: none; }
.pg-about-more::after { content: ""; position: absolute; inset: -8px 0; } /* a 44 px tap area */
.pg-about-more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.pg-about.is-open .pg-about-more svg { transform: rotate(180deg); }
/* the bio panel (the "i" icon of the box): a dark see-through panel that slides out beside the box in a flash, with everything the model told; over the box itself when there is no room beside it (a phone) */
.pg-info { position: absolute; top: 0; left: calc(100% + 8px); z-index: 20; width: 440px; max-height: min(82vh, 660px); display: flex; flex-direction: column; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--msg-white) 14%, transparent); background: color-mix(in srgb, var(--msg-black) 78%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--msg-white); box-shadow: 0 10px 30px color-mix(in srgb, var(--msg-black) 45%, transparent); opacity: 0; transform: translateX(-22px); transition: transform .16s ease-out, opacity .16s ease-out; }
.pg-info.is-in { opacity: 1; transform: none; }
.pg-info[hidden] { display: none; }
.pg-info.is-over { left: 0; top: 0; width: 100%; transform: translateY(-10px); }
.pg-info.is-over.is-in { transform: none; }
.pg-info-h { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 44px 10px 14px; font-size: 14px; border-bottom: 1px solid color-mix(in srgb, var(--msg-white) 14%, transparent); position: relative; flex-wrap: wrap; }
.pg-info-h strong { font-size: 15px; }
.pg-info-h .pg-star { width: 14px; height: 14px; color: color-mix(in srgb, var(--msg-white) 28%, transparent); }
.pg-info-n { color: color-mix(in srgb, var(--msg-white) 65%, transparent); font-size: 13px; }
.pg-info-b { overflow-y: auto; padding: 4px 14px 14px; scrollbar-width: thin; scrollbar-color: transparent transparent; }
.pg-info-b:hover { scrollbar-color: color-mix(in srgb, var(--msg-white) 30%, transparent) transparent; }
.pg-info-b::-webkit-scrollbar { width: 8px; }
.pg-info-b::-webkit-scrollbar-thumb { background: transparent; border-radius: 4px; }
.pg-info-b:hover::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--msg-white) 30%, transparent); }
.pg-info section { padding: 10px 0; border-bottom: 1px dotted color-mix(in srgb, var(--msg-white) 20%, transparent); }
.pg-info section:last-child { border-bottom: 0; }
.pg-info h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--msg-white); }
.pg-info-about, .pg-info-list { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: color-mix(in srgb, var(--msg-white) 80%, transparent); overflow-wrap: anywhere; }
.pg-info-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--msg-white); cursor: pointer; }
.pg-info-x::after { content: ""; position: absolute; inset: -8px; }
.pg-info .lv-pf-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.pg-info .lv-pf-facts dt { color: color-mix(in srgb, var(--msg-white) 62%, transparent); }
.pg-info .lv-pf-facts div { border-top-color: color-mix(in srgb, var(--msg-white) 16%, transparent); }
.pg-info .lv-pf-sched { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.pg-info .lv-pf-sched li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 12px; border-bottom: 1px solid color-mix(in srgb, var(--msg-white) 12%, transparent); }
.pg-info .lv-pf-sched span { color: color-mix(in srgb, var(--msg-white) 65%, transparent); }
.pg-info .pg-usual { margin: 0; padding: 0; border: 0; }
.pg-info .pg-usual-h, .pg-info .pg-usual-btn { color: var(--msg-white); }
.pg-info .pg-usual-lab, .pg-info .pg-usual-src { color: color-mix(in srgb, var(--msg-white) 62%, transparent); }
.pg-info .pg-bar:not(.is-on):not(.is-now) { background: color-mix(in srgb, var(--msg-white) 24%, transparent); }
@media (prefers-reduced-motion: reduce) { .pg-info { transition: none; } }
.pg-info-btn { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--msg-muted); cursor: pointer; z-index: 2; }
.pg-info-btn::after { content: ""; position: absolute; inset: -8px; } /* a 44 px tap area around the small icon */
.pg-info-btn[aria-expanded="true"] { color: var(--msg-text); }
@media (hover: hover) { .pg-info-btn:hover { color: var(--msg-text); } } /* (touch screens keep :hover after a tap) */
.pg-info-btn svg, .pg-info-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg-info .lv-pf-facts dd { font-size: 14px; } /* the bio panel's facts are a little smaller than the box's */
.pg-info-h .pg-star { width: 14px; height: 14px; }
.pg-info-h .pg-star-on svg { width: 14px; height: 14px; }
.pg-info-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pg-info-toy { text-align: right; font-size: 12px; line-height: 1.3; }
.pg-info-toy[hidden] { display: none; }
.pg-info-toy span { display: block; color: color-mix(in srgb, var(--msg-white) 80%, transparent); }
.pg-info-toy b { font-weight: 600; color: color-mix(in srgb, var(--msg-white) 55%, transparent); }
.pg-info-toy.is-on b { color: var(--msg-green); } /* connected is green on every look */


/* type switches and tags, on the tab bar */
.pg-tabs { align-items: center; }
.pg-filters { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; justify-content: flex-end; padding-left: 12px; }
.pg-sw { flex: none; display: inline-flex; align-items: center; gap: 8px; position: relative; cursor: pointer; font-size: 14px; white-space: nowrap; min-height: 44px; }
.pg-sw-in { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; font-size: 16px; }
.pg-sw-knob { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--msg-border); transition: background .15s; flex: none; }
.pg-sw-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--msg-text); transition: transform .15s; }
.pg-sw-in:checked + .pg-sw-knob { background: var(--msg-accent); }
.pg-sw-in:checked + .pg-sw-knob::after { transform: translateX(16px); background: var(--msg-on-accent, var(--msg-text)); }
.pg-sw-in:focus-visible + .pg-sw-knob { outline: 2px solid var(--msg-accent); outline-offset: 2px; }
.pg-tags { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; }
.pg-tags[hidden] { display: none; }
.pg-tags-row { flex: 0 1 auto; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.pg-tags-row::-webkit-scrollbar { display: none; }
.pg-tag { font: inherit; color: var(--msg-text); cursor: pointer; }
.pg-tag[aria-pressed="true"] { background: var(--msg-accent); border-color: var(--msg-accent); color: var(--msg-on-accent, var(--msg-text)); }
.pg-tag[aria-pressed="true"] .pg-cat-n { color: inherit; }
/* the two buttons under the profile data */
.lv-profile .pg-actions { display: flex; gap: 8px; margin: 10px 0 0; }
.lv-profile .pg-act { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 0 8px; font-size: 13px; font-weight: 600; border-radius: var(--btn-r, 8px); border: 1px solid var(--msg-border); background: none; color: var(--msg-text); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-profile .pg-act[hidden] { display: none; }
.lv-profile .pg-act[aria-pressed="true"] { border-color: var(--msg-accent); color: var(--msg-accent); }
.lv-profile .pg-act-n { color: var(--msg-muted); font-weight: 400; }
.lv-profile .pg-rating-n { font-size: 13px; font-weight: 600; }
@media (max-width: 900px) {
  .pg-tags { display: none; } /* no room for the tags on a phone (after the base rule above) */
}
@media (max-width: 900px) {
  /* a phone: the tabs keep their own row and the three switches get a row of their own under them (they covered the tab names) */
  .pg-tabs { flex-wrap: wrap; overflow: visible; gap: 0 2px; }
  .pg-tab { padding: 0 7px; font-size: 13px; }
  .pg-filters { flex: 1 0 100%; justify-content: space-between; padding: 0; gap: 8px; border-top: 1px solid var(--msg-border); }
}

/* the Appearance section of the slide-out panel: a label and the values as small links to their categories */
.pg-look { margin: 0; display: grid; gap: 8px; }
.pg-look > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.pg-look dt { flex: none; min-width: 92px; font-size: 12px; color: var(--msg-muted); }
.pg-look dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; }
.pg-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: var(--btn-r, 999px); border: 1px solid var(--msg-border); color: var(--msg-link); text-decoration: none; font-size: 13px; font-weight: 600; }
@media (hover: hover) { .pg-chip:hover { border-color: var(--msg-accent); } } /* (touch screens keep :hover after a tap) */
.pg-info .pg-look dd { color: var(--msg-white); }

/* a couple / group account: the small chip next to the name and the "On this account" list in the slide-out, just under the main model's facts */
.lv-profile .pg-kind { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--msg-border); font-size: 11px; font-weight: 600; color: var(--msg-muted); }
.pg-people-h { margin: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--msg-white); }
.pg-people { list-style: none; margin: 0 0 8px; padding: 0; }
.pg-people li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--msg-white) 12%, transparent); font-size: 13px; }
.pg-people li:last-child { border-bottom: 0; }
.pg-people-n { font-weight: 600; color: var(--msg-white); }
.pg-people-n em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--msg-muted); margin-left: 4px; }
.pg-people-d { color: var(--msg-muted); text-align: right; }

/* a phone: the slide-out is a sheet that slides up from the bottom edge (same see-through look) */
@media (max-width: 900px) {
  .pg-info.is-sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 78vh; max-height: 78dvh; border-radius: 16px 16px 0 0; transform: translateY(100%); z-index: 1200; padding-bottom: env(safe-area-inset-bottom); }
  .pg-info.is-sheet.is-in { transform: none; }
  .pg-info.is-sheet .pg-info-h { padding-top: 16px; }
  .pg-info.is-sheet .pg-info-h::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: color-mix(in srgb, var(--msg-white) 35%, transparent); }
}
.pg-dur { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--msg-white); background: color-mix(in srgb, var(--msg-black) 70%, transparent); pointer-events: none; }
.pg-act#pg-hide { opacity: .85; }

/* the model's own pages on other sites (live/ui/profile_box.php) */
.pg-socials { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--msg-border); background: var(--msg-surface-2); color: var(--msg-text); text-decoration: none; font-size: 13px; }
@media (hover: hover) { .pg-socials a:hover { border-color: var(--msg-accent); } } /* (touch screens keep :hover after a tap) */
.pg-socials i { font-size: 16px; }
.pg-info-b > .pg-socials { margin: 0 0 12px; }
@media (max-width: 480px) { .pg-socials a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .pg-socials a { width: 44px; justify-content: center; padding: 0; } }

/* A tile whose picture is still on its way shimmers softly in the theme's colours; the picture then fades in (profile-grid.js img: class pg-wait until it has loaded) */
.pg-tile img { transition: opacity .25s ease; }
.pg-tile img.pg-wait { opacity: 0; }
.pg-tile:has(img.pg-wait)::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-color: var(--msg-surface-2); background-image: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--msg-text) 8%, transparent) 50%, transparent 70%); background-size: 250% 100%; background-repeat: no-repeat; animation: pg-shimmer 1.3s linear infinite; }
@keyframes pg-shimmer { from { background-position: -30% 0; } to { background-position: 130% 0; } }
@media (prefers-reduced-motion: reduce) { .pg-tile img { transition: none; } .pg-tile:has(img.pg-wait)::after { animation: none; } }
/* the model's picture beside the name in the bio's top bar: phones only (the sheet), never the computer's small panel */
.pg-info-av { display: none; }
@media (max-width: 900px) { .pg-info.is-sheet .pg-info-av { display: block; flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--msg-accent); } }
