/* «Профиль зрителя» (0.60, club-profile.js): the profile's order, the free «Настроить профиль», «Шрифт имени»,
   «Фильтр аватарки», «Цитата в профиле», «Коллекционные билетики». Fonts (SIL OFL 1.1, Google Fonts; latin + cyrillic
   subsets, loaded only when a name wears them): Marck Script, Pixelify Sans, UnifrakturMaguntia + Ruslan Display
   (cyrillic), Special Elite + Anonymous Pro (cyrillic), Tilt Neon + Comfortaa (cyrillic). */
@font-face { font-family: 'DPW Script'; src: url('fonts/nf-marck-lat.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; font-display: swap; }
@font-face { font-family: 'DPW Script'; src: url('fonts/nf-marck-cyr.woff2?v=1') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'DPW Pixel'; src: url('fonts/nf-pixel-lat.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; font-display: swap; }
@font-face { font-family: 'DPW Pixel'; src: url('fonts/nf-pixel-cyr.woff2?v=1') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'DPW Gothic'; src: url('fonts/nf-goth-lat.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; font-display: swap; }
@font-face { font-family: 'DPW Gothic'; src: url('fonts/nf-ruslan-cyr.woff2?v=1') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'DPW Typewriter'; src: url('fonts/nf-elite-lat.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; font-display: swap; }
@font-face { font-family: 'DPW Typewriter'; src: url('fonts/nf-anon-cyr.woff2?v=1') format('woff2'); font-weight: 400 700; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'DPW Neon'; src: url('fonts/nf-tilt-lat.woff2?v=1') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; font-display: swap; }
@font-face { font-family: 'DPW Neon'; src: url('fonts/nf-comfo-cyr.woff2?v=1') format('woff2'); font-weight: 400 700; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }

/* --- «Шрифт имени»: the name's element (the list of viewers, the pill, the profile, the shop's previews) --------- */
[data-club-font="script"] { font-family: 'DPW Script', cursive; font-weight: 400; letter-spacing: .01em; }
[data-club-font="pixel"] { font-family: 'DPW Pixel', monospace; font-weight: 500; letter-spacing: .02em; }
[data-club-font="gothic"] { font-family: 'DPW Gothic', serif; font-weight: 400; letter-spacing: .02em; }
[data-club-font="typewriter"] { font-family: 'DPW Typewriter', 'Courier New', monospace; font-weight: 700; letter-spacing: .01em; }
[data-club-font="neon"] { font-family: 'DPW Neon', sans-serif; font-weight: 700; letter-spacing: .03em; text-shadow: 0 0 4px currentColor, 0 0 10px rgba(255, 80, 220, .55); }
.pp-name[data-club-font="script"], .club-tile-nm[data-club-font="script"] { font-size: 1.45em; line-height: 1.05; }
.pp-name[data-club-font="pixel"], .pp-name[data-club-font="typewriter"] { font-size: 17px; }
.react-who[data-club-font="script"] { font-size: 1.12em; }
/* the flying pill's face is not the name: it keeps the hall's font sizes */
.react-who[data-club-font] img { font-size: 0; }

/* --- «Фильтр аватарки»: the face wherever it shows ----------------------------------------------------------------- */
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="noir"] img { filter: grayscale(1) contrast(1.18) brightness(1.03); }
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="sepia"] img { filter: sepia(.88) contrast(1.06) saturate(1.15) brightness(1.02); }
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="vhs"] img { filter: url(#cpf-vhs) contrast(1.08); }
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="comic"] img { filter: url(#cpf-comic) contrast(1.12); }
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="neon"] img { filter: saturate(2.1) contrast(1.25) hue-rotate(-28deg) brightness(1.08); }
/* n107a: «Моментальное фото» — an instant print's warm fade, lifted blacks; «Тепловизор» — a heat camera's palette */
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="instant"] img { filter: sepia(.28) saturate(1.3) contrast(.86) brightness(1.1) hue-rotate(-10deg); }
:is(.person, .pp-av, .react-who, .club-face)[data-club-filt="thermal"] img { filter: url(#cpf-thermal) contrast(1.1); }
/* the initials of somebody without a picture take the look's colours */
:is(.person, .pp-av)[data-club-filt="noir"] .av, .pp-av[data-club-filt="noir"] { background-color: #3a3a3a; }
:is(.person, .pp-av)[data-club-filt="sepia"] .av, .pp-av[data-club-filt="sepia"] { background-color: #7a5a36; }

/* --- The profile's order (club-profile.js arrange: `order` on the column) ------------------------------------------ */
.pp-body { display: flex; flex-direction: column; }
.pp-card:focus, .pp-card:focus-visible { outline: none; } /* the dialog takes the focus itself (club-profile.js opened) */
.pp-body > * { min-width: 0; }
.pp-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pp-sub .pp-likes + .pp-likes { margin-left: 0; }
.pp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.pp-acts > button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; margin: 0; }
.pp-acts > button:hover { background: rgba(255, 255, 255, .09); }
.pp-acts > .pp-transfer-host { flex: 1 1 100%; width: auto; margin: 0; border-color: rgba(240, 170, 55, .45); background: rgba(240, 170, 55, .1); color: var(--accent); }
.pp-acts > .pp-acts-own { border-color: color-mix(in srgb, var(--pp-acc, var(--accent)) 55%, var(--line)); color: var(--pp-acc, var(--accent)); }
.pp-acts-own[aria-expanded="true"] { background: color-mix(in srgb, var(--pp-acc, var(--accent)) 14%, transparent); }
.ppe-ico { width: 15px; height: 15px; flex-shrink: 0; background: currentColor; -webkit-mask: var(--ppe-ico) center / contain no-repeat; mask: var(--ppe-ico) center / contain no-repeat;
  --ppe-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h4M12 17h8'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='17' r='2'/%3E%3C/svg%3E"); }
.ppx-quiet { display: none !important; }
.ppx-more { align-self: flex-start; margin-top: 8px; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.ppx-more:hover { background: rgba(255, 255, 255, .08); }
.ps-wrap.ps-fold:not(.ps-open) > :not(.ps-tiles):not(.ppx-fold) { display: none; }
.ppx-fold::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ppx-fold[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.ppm-t { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
/* n75 (n76 #6): one rhythm for the body — the column's gap, not each block's own margins (they ran 4…26 px);
   a heading hugs its block (8 px) and keeps 18 px above; «Моё» keeps its divider (22 above the line, 14 under it). */
.pp-card .pp-body { row-gap: 14px; margin-top: 14px; }
.pp-card .pp-body > * { margin-top: 0; margin-bottom: 0; }
.pp-card .pp-body > .pp-sec-t { margin: 4px 0 -6px; }
.pp-card .pp-body > .pp-sec-t.ppm-t { margin: 8px 0 0; }
.pp-body > .ppq.ppq-dup { display: none; } /* n84b: the showcase has a line — it is the card's one quote (club-profile.js arrange) */
/* n75 (n76 #9): the empty lines speak one size («Пока нет лайков», «Пока нет близнецов», «Пока нет достижений») */
.pp-card :is(.pp-empty, .tw-empty, .ach-none) { font-size: 13px; color: var(--muted); padding: 2px 0; }
@media (max-width: 560px), (pointer: coarse) { .pp-card .pp-playlist { min-height: 40px; } } /* n76: the playlist chips were 32 px under a finger */
@media (pointer: coarse) {
  .pp-close { width: 44px; height: 44px; right: 8px; top: 8px; }
  .pp-head { padding-right: 46px; }
  .pp-acts > button, .ppx-more { min-height: 44px; }
}

/* «Что видят другие»: hidden from the others; one's own profile keeps them, faded and marked */
.pp-card:not(.pp-hide-own)[data-pp-hide~="stats"] [data-pp-sec="stats"], .pp-card:not(.pp-hide-own)[data-pp-hide~="genres"] [data-pp-sec="genres"],
.pp-card:not(.pp-hide-own)[data-pp-hide~="decades"] [data-pp-sec="decades"], .pp-card:not(.pp-hide-own)[data-pp-hide~="friends"] [data-pp-sec="friends"],
.pp-card:not(.pp-hide-own)[data-pp-hide~="likes"] [data-pp-sec="likes"], .pp-card:not(.pp-hide-own)[data-pp-hide~="tickets"] [data-pp-sec="tickets"],
.pp-card:not(.pp-hide-own)[data-pp-hide~="taste"] [data-pp-sec="taste"] { display: none !important; }
.pp-hide-own[data-pp-hide~="stats"] [data-pp-sec="stats"], .pp-hide-own[data-pp-hide~="genres"] [data-pp-sec="genres"],
.pp-hide-own[data-pp-hide~="decades"] [data-pp-sec="decades"], .pp-hide-own[data-pp-hide~="friends"] [data-pp-sec="friends"],
.pp-hide-own[data-pp-hide~="likes"] [data-pp-sec="likes"], .pp-hide-own[data-pp-hide~="tickets"] [data-pp-sec="tickets"],
.pp-hide-own[data-pp-hide~="taste"] [data-pp-sec="taste"] { opacity: .4; }

/* --- Accent colour and pattern (free) ---------------------------------------------------------------------------- */
.pp-card[data-pp-accent] { border-color: color-mix(in srgb, var(--pp-acc) 50%, var(--line));
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--pp-acc) 16%, transparent), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); background-attachment: local, local; }
.pp-card[data-pp-accent] .pp-sec-t { color: color-mix(in srgb, var(--pp-acc) 62%, var(--muted)); }
.pp-card[data-pp-accent] .pp-av { box-shadow: 0 0 0 2px color-mix(in srgb, var(--pp-acc) 70%, transparent); }
.pp-card[data-pp-bg], [data-pp-bg].ppe-pat-a { --ppb-base: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--pp-acc, transparent) 16%, transparent), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.pp-card[data-pp-bg="film"], .ppe-pat-a[data-pp-bg="film"] { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .09) 0 7px, transparent 7px 16px) left 5px top 0 / 7px 100% no-repeat local, repeating-linear-gradient(180deg, rgba(255, 255, 255, .09) 0 7px, transparent 7px 16px) right 5px top 0 / 7px 100% no-repeat local, var(--ppb-base); }
.pp-card[data-pp-bg="stars"], .ppe-pat-a[data-pp-bg="stars"] { background: radial-gradient(1.2px 1.2px at 20px 30px, rgba(255, 255, 255, .55), transparent 60%) 0 0 / 110px 90px local, radial-gradient(1px 1px at 70px 64px, rgba(255, 255, 255, .4), transparent 60%) 0 0 / 110px 90px local, radial-gradient(1.6px 1.6px at 92px 12px, color-mix(in srgb, var(--pp-acc, #fff) 70%, #fff), transparent 60%) 0 0 / 110px 90px local, var(--ppb-base); }
.pp-card[data-pp-bg="grain"], .ppe-pat-a[data-pp-bg="grain"] { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 120px 120px local, var(--ppb-base); }
.pp-card[data-pp-bg="waves"], .ppe-pat-a[data-pp-bg="waves"] { background: repeating-radial-gradient(circle at 100% 0, transparent 0 22px, color-mix(in srgb, var(--pp-acc, #fff) 9%, transparent) 22px 23px) 0 0 / 100% 420px no-repeat local, var(--ppb-base); }

/* --- «Цитата в профиле» -------------------------------------------------------------------------------------------- */
.ppq { position: relative; margin: 14px 0 4px; padding: 14px 16px 12px 40px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ppq::before { content: '“'; position: absolute; left: 10px; top: 2px; font-family: 'DPW Season', Georgia, serif; font-weight: 800; font-size: 46px; line-height: 1; color: var(--pp-acc, var(--accent)); opacity: .9; }
.ppq-t { margin: 0; font-family: 'DPW Season', Georgia, serif; font-weight: 800; font-size: 17px; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.ppq-c { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.ppq-film { padding: 0; border: 0; background: none; color: var(--pp-acc, var(--accent)); font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }
@media (pointer: coarse) { .ppq-film { padding: 6px 0; } }
.ppq-down { margin-top: 8px; padding: 6px 10px; min-height: 36px; border-radius: 8px; border: 1px solid rgba(255, 107, 107, .4); background: none; color: #ff8a8a; font: inherit; font-size: 12px; cursor: pointer; }

/* --- «Коллекционные билетики» -------------------------------------------------------------------------------------- */
.ptk-pp { margin-top: 2px; }
.ptk-row { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ptk-row.all { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); overflow: visible; }
.ptk { --tk-stub: 58px; --tk-bg: #f3e6c8; --tk-ink: #7d1b1b; --tk-sub: #8a6a4a; --tk-line: rgba(125, 27, 27, .45);
  position: relative; display: flex; height: 70px; border-radius: 8px; overflow: hidden; scroll-snap-align: start; color: var(--tk-ink); background: var(--tk-bg);
  -webkit-mask: radial-gradient(circle 7px at calc(100% - var(--tk-stub)) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 7px at calc(100% - var(--tk-stub)) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 7px at calc(100% - var(--tk-stub)) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 7px at calc(100% - var(--tk-stub)) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.ptk-l { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 6px 10px; }
.ptk-t { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: .02em; }
.ptk-d, .ptk-s { font-style: normal; font-size: 11px; color: var(--tk-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptk-r { width: var(--tk-stub); flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-left: 2px dashed var(--tk-line); text-align: center; }
.ptk-r b { font-size: 12px; font-weight: 800; }
.ptk-r i { font-style: normal; font-size: 9.5px; color: var(--tk-sub); line-height: 1.1; padding: 0 3px; }
.ptk[data-tk="gold"] { --tk-bg: linear-gradient(115deg, #b8862b, #f7dc8b 38%, #c8962f 62%, #f1d27a); --tk-ink: #3b2706; --tk-sub: #5c3f10; --tk-line: rgba(59, 39, 6, .45); background: var(--tk-bg); }
.ptk[data-tk="neon"] { --tk-bg: #140b26; --tk-ink: #ff6bd8; --tk-sub: #7fe9ff; --tk-line: rgba(127, 233, 255, .6); box-shadow: inset 0 0 0 1.5px rgba(255, 107, 216, .75), inset 0 0 14px rgba(255, 107, 216, .25); }
.ptk[data-tk="neon"] .ptk-t { text-shadow: 0 0 6px rgba(255, 107, 216, .8); }
.ptk[data-tk="retro"] { --tk-bg: #f0c987; --tk-ink: #4a2511; --tk-sub: #7a4a24; --tk-line: rgba(74, 37, 17, .5); background: linear-gradient(180deg, transparent 0 86%, #d9692b 86% 91%, #b8401f 91% 96%, #6e2a12 96%), #f0c987; } /* n112: the stripes sat over «Ряд · место» */
.ptk[data-tk="premiere"] { --tk-bg: #160a0c; --tk-ink: #f5d27a; --tk-sub: #d9a8a8; --tk-line: rgba(245, 210, 122, .5); background: radial-gradient(circle at 12% 120%, rgba(160, 20, 40, .55), transparent 55%), linear-gradient(90deg, #2a0c12, #160a0c); }
.ptk[data-tk="premiere"] .ptk-t::before { content: '★ '; color: #f5d27a; }
/* n112: the ten later materials — the flat card (no WebGL) and the shop's 2D fallback */
.ptk[data-tk="nitrate"] { --tk-bg: #2b1b10; --tk-ink: #e4e8ef; --tk-sub: #c9ab80; --tk-line: rgba(228, 232, 239, .45); background: radial-gradient(60% 90% at 40% 50%, rgba(176, 104, 40, .35), transparent 70%), repeating-linear-gradient(90deg, transparent 0 7px, rgba(0, 0, 0, .55) 7px 11px) top / 100% 4px no-repeat, repeating-linear-gradient(90deg, transparent 0 7px, rgba(0, 0, 0, .55) 7px 11px) bottom / 100% 4px no-repeat, #2b1b10; }
.ptk[data-tk="banknote"] { --tk-bg: #dfe4d0; --tk-ink: #1e3a2c; --tk-sub: #4f6354; --tk-line: rgba(30, 58, 44, .5); background: repeating-radial-gradient(circle at 80% 50%, rgba(30, 58, 44, .07) 0 2px, transparent 2px 6px), #dfe4d0; box-shadow: inset 0 0 0 2px rgba(30, 58, 44, .55), inset 0 0 0 4px #dfe4d0, inset 0 0 0 5px rgba(122, 45, 58, .5); }
.ptk[data-tk="riso"] { --tk-bg: #f2eee4; --tk-ink: #1f4fb8; --tk-sub: #55607a; --tk-line: rgba(255, 79, 139, .6); background: radial-gradient(circle at 70% 30%, rgba(255, 79, 139, .2) 0 34%, transparent 35%), #f2eee4; }
.ptk[data-tk="riso"] .ptk-t { text-shadow: 1.5px 1px 0 rgba(255, 79, 139, .55); }
.ptk[data-tk="vhs"] { --tk-bg: #121216; --tk-ink: #f3f1ea; --tk-sub: #a3a1b0; --tk-line: rgba(243, 241, 234, .4); background: linear-gradient(180deg, transparent 0 88%, #e2504a 88% 90.5%, #e8a23a 90.5% 93%, #d9d23e 93% 95.5%, #3aa0e2 95.5% 98%, transparent 98%), #121216; }
.ptk[data-tk="holo"] { --tk-bg: #c9ccd8; --tk-ink: #0e0f16; --tk-sub: #23253a; --tk-line: rgba(14, 15, 22, .5); background: linear-gradient(115deg, #d7c5f2, #b9e8f0 25%, #e9f2c0 45%, #f2c9dc 65%, #bfd0f5 85%, #d7c5f2); }
.ptk[data-tk="wood"] { --tk-bg: #b27a45; --tk-ink: #2c1206; --tk-sub: #43200b; --tk-line: rgba(44, 18, 6, .55); background: repeating-linear-gradient(176deg, rgba(90, 42, 14, .32) 0 2px, transparent 2px 7px, rgba(226, 169, 108, .25) 7px 9px, transparent 9px 15px), #b27a45; box-shadow: inset 0 0 0 2px #1e0c03, inset 0 0 6px 2px rgba(58, 24, 6, .7); }
.ptk[data-tk="cyan"] { --tk-bg: #1f4f8c; --tk-ink: #eef4fa; --tk-sub: #b4cce6; --tk-line: rgba(238, 244, 250, .45); background: linear-gradient(rgba(219, 232, 246, .1) 1px, transparent 1px) 0 0 / 10px 10px, linear-gradient(90deg, rgba(219, 232, 246, .1) 1px, transparent 1px) 0 0 / 10px 10px, #1f4f8c; }
.ptk[data-tk="flora"] { --tk-bg: #dde5d6; --tk-ink: #3b2f24; --tk-sub: #6e5f4e; --tk-line: rgba(138, 75, 75, .5); background: radial-gradient(ellipse 9px 4px at 30% 6%, rgba(194, 127, 142, .85), transparent 75%), radial-gradient(ellipse 10px 4px at 55% 94%, rgba(127, 154, 120, .85), transparent 75%), radial-gradient(ellipse 8px 4px at 74% 7%, rgba(150, 134, 192, .85), transparent 75%), radial-gradient(ellipse 9px 4px at 92% 88%, rgba(194, 127, 142, .85), transparent 75%), radial-gradient(ellipse 9px 5px at 86% 14%, rgba(127, 154, 120, .8), transparent 75%), #dde5d6; }
.ptk[data-tk="comic"] { --tk-bg: #f6e7a8; --tk-ink: #141210; --tk-sub: #3d362c; --tk-line: rgba(20, 18, 16, .6); background: radial-gradient(circle, rgba(216, 49, 42, .22) 1.6px, transparent 2px) 0 0 / 6px 6px, #f6e7a8; box-shadow: inset 0 0 0 2.5px #141210; }
.ptk[data-tk="comic"] .ptk-t { font-weight: 900; text-transform: uppercase; }
.ptk[data-tk="glow"] { --tk-bg: #0e1428; --tk-ink: #d4f0c8; --tk-sub: #8aa0c8; --tk-line: rgba(196, 232, 187, .45); background: radial-gradient(circle at 20% 30%, rgba(196, 232, 187, .5) 0 1px, transparent 1.5px) 0 0 / 23px 17px, linear-gradient(160deg, #141c36, #0e1428); }
.ptk[data-tk="glow"] .ptk-t { text-shadow: 0 0 5px rgba(196, 232, 187, .55); }
.ptk-mini { --tk-stub: 40px; width: 150px; height: 52px; }
.ptk:not(.ptk-mini) .ptk-t { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; line-height: 1.12; overflow-wrap: anywhere; } /* n112: a long title takes two lines, not «ДОКТОР СТРЕЙ…» */
.club-tile .ptk-mini { width: 118px; height: 46px; }
.club-tile .ptk-mini .ptk-s { display: none; }
.ptk-mini .ptk-t { font-size: 11px; }

/* --- «Настроить профиль» -------------------------------------------------------------------------------------------- */
.ppe { margin: 12px 0 6px; padding: 12px 14px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--pp-acc, var(--accent)) 45%, var(--line)); background: rgba(0, 0, 0, .25); }
.ppe-t { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 10px 0 7px; }
.ppe-t:first-child { margin-top: 0; }
.ppe-sws { display: flex; flex-wrap: wrap; gap: 8px; }
.ppe-sw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); background: var(--sw, repeating-linear-gradient(135deg, #555 0 4px, #333 4px 8px)); cursor: pointer; padding: 0; }
.ppe-sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--sw, #888); }
.ppe-pats { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ppe-pat { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 5px; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.ppe-pat.on { border-color: var(--pp-acc, var(--accent)); background: rgba(255, 255, 255, .05); }
.ppe-pat-a { display: block; height: 30px; border-radius: 6px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.ppe-secs { display: flex; flex-wrap: wrap; gap: 6px; }
.ppe-sec { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px 4px 8px; border-radius: 20px; border: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.ppe-sec input { width: 18px; height: 18px; accent-color: var(--pp-acc, var(--accent)); }
.ppe-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.ppe-shop { display: flex; flex-wrap: wrap; gap: 6px; }
.ppe-go { min-height: 40px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.ppe-done { margin-top: 12px; width: 100%; min-height: 44px; border-radius: 10px; border: 0; background: var(--pp-acc, var(--accent)); color: #111; font: inherit; font-weight: 700; cursor: pointer; }
@media (pointer: coarse) { .ppe-sw { width: 44px; height: 44px; } .ppe-sec, .ppe-go { min-height: 44px; } }

/* --- The shop's cards and tiles ----------------------------------------------------------------------------------- */
.ppf-name { font-size: 19px; }
.ppf-buyrow { margin-top: 10px; }
.ppq-tile { display: block; max-width: 120px; font-family: 'DPW Season', Georgia, serif; font-weight: 800; font-size: 13px; line-height: 1.2; color: var(--text); text-align: center; }
.ppq-item .ppq-l { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.ppq-in { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--text); font: inherit; font-size: 14px; resize: vertical; }
.ppq-hits { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.ppq-hit { text-align: left; min-height: 40px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.ppq-hit small, .ppq-chosen small { color: var(--muted); }
.ppq-none { font-size: 12px; color: var(--muted); padding: 4px 2px; }
.ppq-chosen { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--text); font-size: 14px; }
.ppq-again { min-height: 36px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.ppq-prev:empty { display: none; }
.ppt-opts .ptk-mini { pointer-events: none; }
/* the kit's option picker (shop-kit.js options) in these cards: named tiles, ≥ 44 px */
.shop-opts.ppf-opts, .shop-opts.ppt-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; margin-top: 10px; }
.ppf-opts .shop-opt, .ppt-opts .shop-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px 8px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; cursor: pointer; }
.ppf-opts .shop-opt:hover, .ppt-opts .shop-opt:hover { background: rgba(255, 255, 255, .07); }
.ppf-opts .shop-opt.on, .ppt-opts .shop-opt.on { border-color: var(--accent); background: rgba(240, 170, 55, .1); box-shadow: inset 0 0 0 1px var(--accent); }
.ppf-opts .shop-opt:disabled, .ppt-opts .shop-opt:disabled { opacity: .6; cursor: wait; }
.ppf-opts .shop-opt-a, .ppt-opts .shop-opt-a { display: flex; align-items: center; justify-content: center; min-height: 40px; max-width: 100%; }
.ppf-opts .shop-opt-k, .ppt-opts .shop-opt-k { margin-top: -2px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--muted); }
.ppf-opts .shop-opt-k.now, .ppt-opts .shop-opt-k.now { background: rgba(72, 214, 140, .18); color: #6fe3a5; }
.ppt-opts .ptk-mini { width: 132px; }
/* 0.67: one's old «Цитата в профиле» is edited in «Настроить профиль» (no longer a shop item) */
.ppe-quote { margin: 2px 0 6px; }
.ppe-quote .ppq-prev { margin-top: 10px; }
.ppe-quote .club-buy { width: 100%; min-height: 44px; }
/* 0.67: on a phone the big «Так вас увидят в зале» chip is the hall's bare face — a name look is shown once more as a pill */
.wd-name-m { display: none; justify-content: center; margin: -2px 0 10px; }
@media (max-width: 760px) { .wd-name-m { display: flex; } }
.ppe-quote-wrap { margin-top: 12px; }

/* n75 (n76 #11): ONE gold on the member card — var(--gold) = var(--accent) #e5a00d. Gold is left for the honours (title chips, earned
   achievements, the worn medal, the tickets), the club's ★ and the main action («Магазин клуба»); #f0d9a8 / #e9c46a / #ffce6a map to it;
   the secondary spots (icons, tiles, rims, «Носить», the secrets' «?», the taste numbers) go to the muted text colour / a quiet tint. */
.pp-card .pp-badge { color: var(--gold); }
.pp-card .ach-it.on { border-color: color-mix(in srgb, var(--gold) 70%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.pp-card .ach-wear { border-color: var(--line); color: var(--muted); }
.pp-card .ach-wear[aria-pressed="true"] { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.pp-card .club-tt { color: var(--gold); }
.pp-card .pp-gi, .pp-card .pp-playlist-ico, .pp-card .pp-hi.film { color: var(--muted); }
.pp-card .pp-diary-ico { background: rgba(255, 255, 255, .06); color: var(--muted); }
.pp-card .ps-tile { background: rgba(255, 255, 255, .03); }
.pp-card .ps-bar-t i { background: color-mix(in srgb, var(--muted) 75%, transparent); }
.pp-card .ach-q { color: var(--muted); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .2); }
.pp-card .tm-card { border-color: var(--line); background: rgba(255, 255, 255, .03); }
.pp-card .tm-score b, .pp-card .tm-person b { color: var(--text); }
.pp-card:not([data-pp-accent]) .pp-acts > .pp-acts-own { border-color: var(--line); color: var(--text); }
.pp-card:not([data-pp-accent]) .pp-acts-own[aria-expanded="true"] { background: rgba(255, 255, 255, .05); }

/* ===== n84 (profile audit 2) — the body under the 0.65.3 head: order, rhythm, a phone's height, targets ============== */
/* The looks one cannot see on the card (victory dance, reaction trail, signs — club-profile.js PLACES puts them after the
   likes) read as one quiet list: 8 px apart, not the blocks' 14. The pet's outfit hugs the pet's line. */
.pp-card .pp-body > :is(.vd-pp, .trl-pp, .sgn-pp) { margin-top: -3px; margin-bottom: -3px; }
.pp-card .pp-body > .outfit-ppl { margin-top: -8px; }
/* «Достижения» is a section heading like the others: it takes the member's accent too. */
.pp-card[data-pp-accent] .ach-pp-t { color: color-mix(in srgb, var(--pp-acc) 62%, var(--muted)); }
/* The likes' «ещё N» sits under a centred poster grid. */
.pp-card .pp-body > .ppx-more[data-pp-sec="likes"] { align-self: center; }
/* «Моё»: «Тебе понравится» is a card like the wallet, the diary and the birthday around it (it was a bare row). */
.pp-card .pp-body > .tw-picks { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.pp-card .pp-body > .bday-set { border-radius: 12px; }
/* The dialog: a long card keeps its ✕ in sight (it scrolled away with the cover), and its scroll never drags the page. */
.profile-pop > .pp-card { overscroll-behavior: contain; }
/* (sticky offsets count from the card's content box, 20 px in: −8 px = 12 px from the card's edge, where the ✕ was drawn) */
.profile-pop > .pp-card > .pp-close { position: sticky; top: -8px; right: auto; z-index: 6; display: flex; margin: -8px -8px -26px auto; }
@media (pointer: coarse) { .profile-pop > .pp-card > .pp-close { top: -12px; margin: -12px -12px -32px auto; } }
/* A phone: the card takes the screen (82vh left 150 px of dark bands on a 844-px phone), somebody else's actions share
   their rows, and the small controls get a finger's 44 px (the chips keep their look — the target grows around them). */
@media (max-width: 560px) {
  .profile-pop { padding: 10px; }
  .profile-pop > .pp-card { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .pp-card > .pp-acts > button:not(.pp-transfer-host) { flex: 1 1 auto; }
}
@media (max-width: 560px), (pointer: coarse) {
  .pp-card .pp-playlist { min-height: 44px; }
  .pp-card :is(.ppb-more, .ppq-film) { position: relative; }
  .pp-card :is(.ppb-more, .ppq-film)::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
}

/* n84b — the owner's decisions from the second audit.
   ONE QUOTE, ONE TYPOGRAPHY: the showcase's line in the member card is drawn exactly like the profile quote (.ppq above: the card, the
   big opening mark in the member's accent, the serif) — whichever of the two a profile shows, it is the same quote. The line's own
   «…» marks (club-showcase.js saidHtml) give way to the big mark. */
.pp-card .club-sc-pp > .club-sc-say { position: relative; padding: 14px 16px 12px 40px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.pp-card .club-sc-pp > .club-sc-say::before { content: '“'; position: absolute; left: 10px; top: 2px; font-family: 'DPW Season', Georgia, serif; font-weight: 800; font-size: 46px; line-height: 1; color: var(--pp-acc, var(--accent)); opacity: .9; }
.pp-card .club-sc-pp > .club-sc-say > .club-sc-line { font-family: 'DPW Season', Georgia, serif; font-weight: 800; font-size: 17px; font-style: normal; line-height: 1.3; color: var(--text); }
.pp-card .club-sc-pp > .club-sc-say .club-sc-qm { display: none; }
/* «ВКУСЫ» ON A PHONE: one button «Вкусы · N» for the taste group (club-profile.js tasteFold marks its blocks data-pp-fold="taste"); the
   same button as the stats' fold (.ppx-more.ppx-fold), «Свернуть» quieter like the achievements'. Wider than 560 px: no button, no fold. */
.pp-card .pp-body > .ppx-taste { display: none; }
.pp-card .pp-body > .ppx-taste[aria-expanded="true"] { color: var(--muted); }
@media (max-width: 560px) {
  .pp-card .pp-body > .ppx-taste { display: block; }
  .pp-card .pp-body.pp-taste-fold:not(.pp-taste-open) > [data-pp-fold="taste"] { display: none; }
  /* in place: the body is ordered with CSS `order`, so the browser's scroll anchor is whatever stands first in the DOM among the blocks
     in sight — with the group folded that is a block drawn BELOW it («Моё», the likes); when the group opens, the anchor moves down and
     the browser scrolls the card after it (measured: 225 px — the button ran from under the finger). No anchoring for such a card. */
  .profile-pop > .pp-card:has(> .pp-body.pp-taste-fold) { overflow-anchor: none; }
}
/* SOMEBODY ELSE'S CARD: «N % совпадение вкусов с тобой» is the first block of the body (club-profile.js MATCH_TOP) — it keeps its look,
   only the gap to the head is the body's own. */
.pp-card:not([data-pp-own="1"]) .pp-body > .tm-card { margin-top: 2px; }
