/* ============================================================
   Profile (анкета) — Lumé
   ============================================================ */

body.is-profile { background: var(--bg); }
.profile { display: block; min-height: 100vh; padding-bottom: 0; }

/* top bar */
.pbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 var(--gutter);
  background: rgba(11,12,15,0.7);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.pbar .brand__name { font-size: 17px; }
.pbar__spacer { flex: 1; min-width: 8px; }
.pbar__legal {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
}
.pbar__legal a {
  font-size: 14px; font-weight: 500; color: var(--text-3);
  text-decoration: none; transition: color 0.15s;
}
.pbar__legal a:hover { color: var(--text); }

/* shell */
.pshell { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

/* cover */
.cover {
  position: relative;
  height: clamp(180px, 30vw, 280px);
  margin-top: 16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--g, linear-gradient(135deg,#34e3a8,#6366f1));
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,8,11,0.55)); pointer-events: none; }
.cover__sub {
  position: absolute; top: 12px; right: 12px; z-index: 3;
}
.cover__sub-text { line-height: 1; }
.cover__sub-price { line-height: 1; }

/* header */
.phead { position: relative; margin-top: -54px; padding: 0 6px; z-index: 2; }
.phead__avatar {
  width: 116px; height: 116px; border-radius: 50%;
  border: 4px solid var(--bg);
  background: var(--g, linear-gradient(135deg,#ff7eb3,#7a4dff));
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-md);
}
.phead__avatar:has(> img) { background: var(--bg); }
.phead__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phead__avatar .ini {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 42px; font-weight: 700; color: rgba(255,255,255,0.92);
}
.phead__name { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.phead__name h1 { font-size: clamp(24px, 4vw, 32px); }
.phead__verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: #1d9bf0;
  letter-spacing: 0.03em;
}
.phead__verified svg { width: 16px; height: 16px; }
.phead__handle { color: var(--text-3); font-size: 15px; margin-top: 2px; display: flex; align-items: center; gap: 10px; }
.phead__loc { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 14px; margin-top: 12px; }
.phead__bio { margin-top: 12px; max-width: 100%; }
.phead__bio-line {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
  font-weight: 400;
}
.phead__bio-line:last-child { margin-bottom: 0; }

.psocials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.psoc {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text-2); cursor: pointer; transition: 0.2s;
}
.psoc:hover { color: var(--mint); border-color: var(--mint-soft); transform: translateY(-2px); }

/* stats — inline like Instagram */
.pstats {
  display: flex; gap: 24px; margin-top: 18px;
}
.pstat { display: flex; align-items: baseline; gap: 5px; }
.pstat b { font-size: 17px; font-weight: 800; color: var(--text); }
.pstat span { font-size: 13px; color: var(--text-3); }

/* offer banner */
.poffer {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 18px; padding: 16px 20px;
  border-radius: var(--r-md);
  background: radial-gradient(120% 140% at 0% 0%, rgba(52,227,168,0.16), transparent 60%), var(--surface);
  border: 1px solid var(--mint-soft);
}
.poffer__ic { font-size: 22px; }
.poffer__txt b { display: block; font-size: 15px; }
.poffer__txt span { color: var(--text-3); font-size: 13px; }
.poffer__timer { margin-left: auto; display: flex; gap: 6px; }
.poffer__timer div {
  min-width: 46px; text-align: center; padding: 7px 6px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.poffer__timer b { display: block; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.poffer__timer small { font-size: 10px; color: var(--text-3); text-transform: uppercase; }

/* subscription card */
/* photo catalog */
.pcatalog { margin-top: 28px; }
.pcatalog + .pcatalog { margin-top: 24px; }
.pcatalog__title {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 0 0 14px;
}
.pcatalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pcatalog__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--line-strong);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pcatalog__item:hover {
  border-color: var(--mint);
  box-shadow: 0 0 0 2px var(--mint-soft), 0 4px 16px rgba(0,0,0,0.3);
}
.pcatalog__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  user-select: none; -webkit-user-select: none;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out);
}
.pcatalog__item:hover img { transform: scale(1.05); }
.pcatalog__item video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out);
}
.pcatalog__item--video:hover video { transform: scale(1.05); }
.pcatalog__play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  color: #fff; pointer-events: none;
  background: rgba(0,0,0,0.18);
}
.pcatalog__play svg {
  width: 36px; height: 36px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}
.pcatalog__item--locked {
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.22s var(--ease-out);
}
.pcatalog__item--locked:hover {
  border-color: rgba(52,227,168,0.35);
  box-shadow: 0 0 0 1px rgba(52,227,168,0.12);
}
.pcatalog__item--locked.is-pressed {
  transform: scale(0.96);
}
.pcatalog__item--locked img,
.pcatalog__item--locked video {
  filter: blur(18px) brightness(0.45) saturate(0.65);
  transform: scale(1.15);
}
.pcatalog__item--locked:hover img,
.pcatalog__item--locked:hover video {
  transform: scale(1.15);
}
.pcatalog__paid-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 12px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
  pointer-events: none;
  text-align: center;
}
.pcatalog__paid-line {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.pcatalog__item.paid .gitem__cap {
  padding-bottom: 26px;
}
.pcatalog__lock {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
}
.pcatalog__lock--wm::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 54%;
  height: 54%;
  transform: translate(-50%, -52%);
  opacity: 0.12;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 1.25C8.83 1.25 6.25 3.83 6.25 7v3.25H5a2.75 2.75 0 0 0-2.75 2.75v8.5A2.75 2.75 0 0 0 5 24h14a2.75 2.75 0 0 0 2.75-2.75v-8.5A2.75 2.75 0 0 0 19 10.25h-1.25V7c0-3.17-2.58-5.75-5.75-5.75Zm0 1.75c2.21 0 4 1.79 4 4v3.25H8.25V7c0-2.21 1.79-4 4-4Zm-1.25 11.5a1.25 1.25 0 1 1 2.5 0 1.25 1.25 0 0 1-2.5 0Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.pcatalog__item--locked.paid:hover .pcatalog__lock--wm::before {
  opacity: 0.16;
}
.pcatalog__item--locked.paid.is-pressed .pcatalog__lock--wm::before {
  opacity: 0.2;
  transform: translate(-50%, -52%) scale(0.94);
}

/* paid gallery (legacy mosaic) */
/* smart mosaic — раскладка под любые пропорции фото */
.media-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(56px, 9vw, 88px);
  grid-auto-flow: dense;
  gap: 8px;
}
.media-mosaic .gitem { grid-column: span 2; grid-row: span 2; }
.media-mosaic .gitem--sq { grid-column: span 2; grid-row: span 2; }
.media-mosaic .gitem--wide { grid-column: span 4; grid-row: span 2; }
.media-mosaic .gitem--tall { grid-column: span 2; grid-row: span 3; }
.media-mosaic .gitem--duo { grid-column: span 3; grid-row: span 3; }
.media-mosaic .gitem--hero {
  grid-column: 1 / -1;
  grid-row: span 3;
}
.gitem {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  min-height: 0;
}
.gitem img, .gitem video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.gitem:not(.paid):hover img, .gitem:not(.paid):hover video { transform: scale(1.06); }
.gitem__type {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.gitem__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 18px 10px 9px; font-size: 12px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  pointer-events: none;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.gitem.paid .gitem__cap,
.pcatalog__item .gitem__cap {
  z-index: 6;
}

/* paid / blurred — premium lock overlay */
.gitem.paid {
  cursor: pointer;
  isolation: isolate;
}
.gitem.paid img,
.gitem.paid video {
  filter: blur(24px) brightness(0.38) saturate(0.7);
  transform: scale(1.14);
  transition: filter 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.gitem.paid:hover img,
.gitem.paid:hover video {
  filter: blur(22px) brightness(0.44) saturate(0.78);
  transform: scale(1.16);
}
.gitem__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 50% 42%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.52) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0.72) 100%);
}
.gitem__veil::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.045) 50%, transparent 62%);
  background-size: 220% 100%;
  animation: gitem-shine 5s ease-in-out infinite;
}
@keyframes gitem-shine {
  0%, 100% { background-position: 180% 0; opacity: 0.6; }
  50% { background-position: -80% 0; opacity: 1; }
}
.gitem__paid {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; text-align: center; padding: 14px 12px;
  pointer-events: none;
}
.gitem__lock-wrap {
  position: relative;
  width: 58px; height: 58px;
  display: grid; place-items: center;
}
.gitem__lock-wrap::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(circle, rgba(52,227,168,0.14) 0%, transparent 68%);
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.gitem__lockic {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1.5px solid rgba(255,255,255,0.26);
  box-shadow:
    0 10px 28px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.14) inset;
  color: #fff;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.gitem__lockic svg { width: 21px; height: 21px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.gitem.paid:hover .gitem__lock-wrap::before {
  opacity: 1;
  transform: scale(1.06);
}
.gitem.paid:hover .gitem__lockic {
  transform: scale(1.06);
  border-color: rgba(52,227,168,0.45);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.5),
    0 0 0 6px rgba(52,227,168,0.1),
    0 0 24px rgba(52,227,168,0.18),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}
.gitem.paid.is-pressed .gitem__lockic {
  transform: scale(0.9);
  border-color: var(--mint);
}
.gitem.paid.is-pressed .gitem__unlock {
  transform: scale(0.96);
}
.gitem__locktxt {
  color: rgba(255,255,255,0.78);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.gitem__unlock {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 0 16px; margin-top: 2px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.2;
  color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, rgba(52,227,168,0.96) 0%, rgba(38,180,130,0.92) 100%);
  box-shadow:
    0 6px 22px rgba(52,227,168,0.38),
    0 0 0 1px rgba(255,255,255,0.16) inset,
    0 1px 0 rgba(255,255,255,0.22) inset;
  letter-spacing: 0.02em;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s;
}
.gitem.paid:hover .gitem__unlock {
  transform: translateY(-1px);
  box-shadow:
    0 8px 28px rgba(52,227,168,0.48),
    0 0 0 1px rgba(255,255,255,0.2) inset,
    0 1px 0 rgba(255,255,255,0.28) inset;
}
.gitem__media-type {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  pointer-events: none;
}
.gitem__media-type svg { width: 13px; height: 13px; display: block; }
.pgal-head { margin: 28px 0 14px; }
.pgal-head h2 {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

/* posts feed — social-style cards */
.pposts { margin-top: 32px; }
.pposts__title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.pposts__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ppost {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ppost:hover {
  border-color: var(--line-strong);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}
.ppost__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 0;
}
.ppost__ava {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--g, var(--surface-2));
  border: 2px solid var(--line-strong);
}
.ppost__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ppost__ava .ini {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: var(--g, var(--surface-2));
}
.ppost__meta { min-width: 0; flex: 1; }
.ppost__who {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.ppost__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ppost__verified {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}
.ppost__verified svg {
  width: 14px;
  height: 14px;
}
.ppost__verified .verified { display: inline-flex; }
.ppost__sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ppost__sub time { color: inherit; }
.ppost__content { padding-top: 10px; }
.ppost__body {
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.ppost__body + .ppost__media { margin-top: 12px; }
.ppost--media .ppost__body:empty + .ppost__media { margin-top: 0; }
.ppost__media {
  position: relative;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.ppost__media img,
.ppost__media video {
  display: block;
  width: 100%;
  max-height: min(72vh, 520px);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.ppost__media--video { cursor: default; }
.ppost__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 12px;
}
.ppost__like {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  margin: -4px -8px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.ppost__like:hover { background: rgba(244, 63, 94, 0.08); }
.ppost__like svg {
  width: 18px;
  height: 18px;
  transition: color 0.18s, transform 0.18s var(--ease-out), filter 0.18s;
}
.ppost__like:not(.is-liked) svg {
  color: var(--text-3);
  filter: none;
}
.ppost__like.is-liked svg {
  color: #f43f5e;
  filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.35));
}
.ppost__like.is-pop svg { animation: ppost-like-pop 0.36s var(--ease-out); }
@keyframes ppost-like-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
.ppost__like-count {
  font-variant-numeric: tabular-nums;
  min-width: 1.5em;
}

/* loading + states */
.pstate { max-width: 560px; margin: 0 auto; padding: 90px var(--gutter); text-align: center; }
.pstate .ic { font-size: 44px; margin-bottom: 14px; }
.pstate h2 { font-size: 26px; }
.pstate p { color: var(--text-3); margin: 12px 0 26px; }
.skel { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-md); }
@keyframes shimmer { to { background-position: -200% 0; } }


/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(5,6,9,0.94);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  animation: fade 0.25s var(--ease-out);
}
@keyframes fade { from { opacity: 0; } }
.lightbox__stage { max-width: 92vw; max-height: 86vh; }
.lightbox__media {
  display: flex; align-items: center; justify-content: center;
}
.lightbox__stage img, .lightbox__stage video {
  max-width: 92vw; max-height: 86vh; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  user-select: none; -webkit-user-select: none;
  -webkit-user-drag: none;
}
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(11,12,15,0.82);
  color: var(--text); display: grid; place-items: center; cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.lightbox__nav:hover {
  border-color: var(--mint);
  background: rgba(11,12,15,0.94);
}
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__cap {
  margin: 12px auto 0; max-width: 92vw;
  text-align: center; font-size: 14px; color: var(--text-2);
}
.lightbox__close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: 0.2s;
}
.lightbox__close:hover { border-color: var(--mint); transform: rotate(90deg); }

/* footer — full-width site bar */
.pfooter {
  width: 100%;
  margin-top: 48px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.pfooter__inner {
  width: 100%;
  margin: 0;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}
.pfooter__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  padding: 40px 0 32px;
  align-items: start;
  text-align: left;
}
.pfooter__col {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.pfooter__brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 2px;
}
.brand__mark--sm {
  width: 24px; height: 24px;
}
.pfooter__desc {
  margin: 0; font-size: 13px; line-height: 1.65;
  color: var(--text-2);
}
.pfooter__age {
  margin: 10px 0 0; font-size: 11px; font-weight: 600;
  color: var(--text-3); letter-spacing: 0.02em;
}
.pfooter__heading {
  font-size: 11px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.pfooter__col a {
  font-size: 13px; color: var(--text-2); text-decoration: none;
  transition: color 0.15s; line-height: 1.65;
}
.pfooter__col a:hover { color: var(--mint); }
.pfooter__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  text-align: left;
}
.pfooter__copy {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--text-2) !important;
}
.pfooter__bottom p {
  margin: 0 0 8px; font-size: 11px; line-height: 1.65;
  color: var(--text-dim);
}
.pfooter__bottom p:last-child { margin-bottom: 0; }
.pfooter__bottom a {
  color: var(--text-3); text-decoration: none;
  transition: color 0.15s;
}
.pfooter__bottom a:hover { color: var(--mint); }

@media (max-width: 900px) {
  .pfooter__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
    padding-top: 32px;
  }
  .pfooter__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .pfooter { margin-top: 36px; }
  .pfooter__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 24px;
  }
  .pfooter__bottom { padding-bottom: 28px; }
  .pcatalog__grid { gap: 6px; }
  .pgal-head { margin: 20px 0 10px; }
  .pgal-head h2 { font-size: 15px; }
  .pcatalog__item.paid .pcatalog__paid-line { font-size: 10px; }
  .pcatalog__item.paid .gitem__cap { padding-bottom: 22px; font-size: 10px; }
  .pcatalog__item--locked.paid .pcatalog__lock--wm::before { width: 58%; height: 58%; opacity: 0.11; }
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .ppost__head { padding: 10px 12px 0; }
  .ppost__ava { width: 36px; height: 36px; }
  .ppost__body { padding: 0 12px; font-size: 13px; }
  .ppost__foot { padding: 8px 12px 10px; }
  .ppost__media img, .ppost__media video { max-height: 360px; }
  .pstats { gap: 16px; flex-wrap: wrap; }
  .phead__avatar { width: 96px; height: 96px; }
  .cover__sub { top: 8px; right: 8px; }
  .mint-pill--cta { height: 34px; padding: 0 12px 0 14px; gap: 8px; font-size: 12px; }
  .mint-pill__sep { padding-left: 8px; }
  .pbar__legal { gap: 14px; }
  .pbar__legal a { font-size: 12px; }
}
