/* DUNO, one set of sizes for everything (4 Dec 2026). Loaded from header.php after feed-v2.css and before duno-mobile.css.
   Styles only. It exists because the site grew in layers and each layer brought its own paddings, corner sizes and
   control heights; this file states them once:
     cards 16px corners, 16px inside        controls 40px high, 12px corners
     buttons, chips and tabs are pills       8 / 12 / 16 / 24px gaps, nothing in between
   To switch back: remove the ui-v2.css line in header.php. */
:root { --r-card: 16px; --r-ctl: 12px; --ctl-h: 40px; --pad: 16px; --ui-h: 40px; --radius: 16px; --radius-sm: 12px; --radius-lg: 16px; }

/* ---------- surfaces ---------- */
html body .card, html [data-theme="dark"] body .card { border-radius: var(--r-card); }
html body.sx .card:not(.post):not(.composer):not(.net-hero):not(.pm-plan):not(.side-card) { border: 0; box-shadow: 0 1px 2px rgba(15, 20, 25, .04), 0 6px 18px rgba(15, 20, 25, .04); }
html[data-theme="dark"] body.sx .card:not(.post):not(.composer):not(.net-hero):not(.pm-plan):not(.side-card) { border: 1px solid var(--line); box-shadow: none; }
html body .card > h2:first-child, html body .card > h3:first-child { margin-top: 0; }

/* ---------- type ---------- */
html body h1, html body .page-head h1 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
html body .page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 16px; }
html body .page-head > div:first-child { min-width: 0; flex: 1 1 260px; }
html body .page-head p { margin: 4px 0 0; }
html body .crumbs { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
html body .section-title { margin: 24px 0 12px; font-size: 1.08rem; }

/* ---------- buttons: one height, one weight, centred content ---------- */
html body .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--ctl-h); padding: 0 16px; border-radius: 999px; font-size: .9rem; font-weight: 650; line-height: 1; white-space: nowrap; text-decoration: none !important; }
html body .btn-sm { min-height: 32px; padding: 0 12px; font-size: .84rem; }
html body .btn-big, html body .btn-lg { min-height: 46px; padding: 0 22px; font-size: .98rem; }
html body .btn-block { display: flex; width: 100%; }
html body .btn svg { flex: none; }
html body .btn-ghost { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
html body .btn:focus-visible, html body .tab:focus-visible, html body .chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- fields: same height and corners as buttons next to them ---------- */
html body input[type=text], html body input[type=email], html body input[type=password], html body input[type=search], html body input[type=number], html body input[type=url],
html body input[type=tel], html body input[type=date], html body input[type=time], html body input[type=datetime-local], html body select {
  min-height: var(--ctl-h); height: var(--ctl-h); border: 1px solid var(--line); border-radius: var(--r-ctl); background-color: var(--card); color: var(--ink); font-size: .94rem; line-height: 1.2; box-sizing: border-box; }
/* (left padding is left alone on purpose: many search boxes keep an icon there) */
html body select { padding-left: 14px; }
html body textarea { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); background-color: var(--card); font-size: .94rem; line-height: 1.45; box-sizing: border-box; }
/* drop-downs: our own arrow instead of each browser's grey box */
html body select { -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; }
html body select[multiple], html body select[size] { height: auto; background-image: none; padding: 8px; }
html body label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
html body label > input:not([type=checkbox]):not([type=radio]):not([type=file]), html body label > select, html body label > textarea { display: block; width: 100%; margin-top: 6px; font-weight: 400; }
html body .top-search input { height: 40px; padding: 0 34px 0 40px; }
html body .searchbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
html body .searchbar input[type=search], html body .searchbar input[type=text] { flex: 1 1 200px; min-width: 0; }
html body .searchbar .btn { flex: none; }
html body .settings-block .btn { margin-top: 12px; }

/* the People search: fields share the row evenly instead of being squeezed */
html body .people-search { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 12px; }
@media (min-width: 761px) { html body .people-search .ps-q { grid-column: 1 / span 4; } html body .people-search .btn { grid-column: 5; grid-row: 1; } }
html body .people-search > * { min-width: 0; width: 100%; margin: 0; }
html body .people-search .btn { width: 100%; }

/* ---------- tabs and chips: one look ---------- */
html body .tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; }
html body .tab { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px !important; font-size: .9rem; font-weight: 650; line-height: 1; white-space: nowrap; }
html body .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
html body .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: .88rem; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none !important; }
html body .chip.on, html body .chip.active { background: var(--ink); border-color: var(--ink); color: var(--card); }
html body .chip-sm { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1; }

/* ---------- the post box ---------- */
html body.sx form.composer, html body.sx .tl > .main-col > .composer { margin: 0 0 12px; padding: 12px 16px; border: 0; border-radius: var(--r-card); }
html body.sx form.composer .composer-row { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
html body.sx form.composer .composer-row .avatar, html body.sx form.composer .composer-row .av-on { width: 40px !important; height: 40px !important; flex: none; }
/* closed: one tidy line */
html body.sx form.composer:not(.is-open) { display: flex; align-items: center; gap: 8px; min-height: 64px; }
html body.sx form.composer:not(.is-open) .composer-row { flex: 1 1 auto; min-width: 0; align-items: center; }
html body.sx form.composer:not(.is-open) .composer-row textarea { flex: 1 1 auto; min-width: 0; height: 40px !important; min-height: 40px !important; max-height: 40px; padding: 10px 16px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--field) !important; font-size: .96rem !important; line-height: 20px !important; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; resize: none; cursor: pointer; }
html body.sx form.composer:not(.is-open) .composer-foot { display: flex; align-items: center; gap: 2px; flex: none; margin: 0; padding: 0; border: 0; }
html body.sx form.composer:not(.is-open) .composer-foot .file-label { width: 38px; height: 38px; padding: 0; margin: 0; display: grid; place-items: center; border-radius: 50%; font-size: 0; }
html body.sx form.composer:not(.is-open) .composer-foot .file-label .ic { width: 22px; height: 22px; }
/* open: room to write, one row of tools under a hairline */
html body.sx form.composer.is-open { display: block; padding: 16px; }
html body.sx form.composer.is-open .composer-row textarea { flex: 1 1 auto; min-width: 0; min-height: 88px; padding: 8px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 1.05rem; line-height: 1.45; resize: none; }
html body.sx form.composer.is-open .composer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); }
html body.sx form.composer.is-open .composer-foot .file-label { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; margin: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: inherit; font-size: .88rem !important; font-weight: 600 !important; cursor: pointer; }
html body.sx form.composer.is-open .composer-foot .file-label:hover { background: var(--hover); }
html body.sx form.composer.is-open .composer-foot .file-label .ic { width: 20px; height: 20px; }
html body.sx form.composer.is-open .composer-foot .file-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
html body.sx form.composer.is-open .composer-foot .char-count { font-size: .8rem; color: var(--muted); margin-right: 4px; }
html body.sx form.composer.is-open .composer-foot select { flex: 0 1 auto; width: auto; max-width: 210px; height: 36px; min-height: 36px; padding: 0 32px 0 12px; margin-left: auto; border: 0 !important; box-shadow: none !important; border-radius: 999px !important; background-color: var(--field); background-position: right 10px center; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
html body.sx form.composer.is-open .composer-foot .btn-primary { min-height: 36px; height: 36px; padding: 0 20px; margin-left: 4px; }
html body.sx form.composer .poll-builder { display: grid; gap: 8px; margin: 12px 0 0; }
html body.sx form.composer .poll-builder[hidden] { display: none; }

/* ---------- lists of people and things: same row everywhere ---------- */
html body .person-row { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 12px; color: var(--ink); text-decoration: none !important; }
html body a.person-row:hover { background: var(--hover); }
html body .person-row .avatar { flex: none; border-radius: 50%; }
html body .person-name { min-width: 0; flex: 1 1 0; display: flex; flex-direction: column; gap: 1px; font-size: .92rem; font-weight: 650; line-height: 1.25; }
html body .person-name > span { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .side-card { padding: var(--pad); }
html body .side-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1rem; }
html body .side-card .btn-block { margin-top: 12px; }
html body .empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; text-align: center; }
html body .empty p { margin: 0; color: var(--muted); }
html body .pager { display: flex; justify-content: center; gap: 8px; margin: 16px 0; }
html body .toast { font-weight: 600; }

/* ---------- popups: who liked, who viewed, share, invite ---------- */
html body dialog.v3-dialog { width: min(440px, calc(100vw - 24px)); max-width: none; padding: 20px; border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(15, 20, 25, .28); }
html body dialog.v3-dialog > h2 { margin: 0 44px 12px 0; font-size: 1.15rem; line-height: 1.3; }
html body dialog.v3-dialog .dlg-x { position: absolute; top: 14px; right: 14px; margin: 0; }
html body dialog.v3-dialog .dlg-x button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--field); color: var(--ink-2); cursor: pointer; }
html body dialog.v3-dialog .dlg-x button:hover { background: var(--press); }
html body .reactor-tabs { display: flex; gap: 6px; margin: 0 0 8px; padding: 0; border: 0; overflow-x: auto; scrollbar-width: none; }
html body .reactor-tabs:empty { display: none; }
html body .reactor-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 0 !important; border-radius: 999px; background: var(--field); color: var(--ink-2); font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
html body .reactor-tab.on { background: var(--brand-50); color: var(--brand); }
html body span.reactor-tab { cursor: default; }
html body .reactor-list { display: flex; flex-direction: column; margin: 0 -8px; max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
html body .reactor { display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: 12px; }
html body .reactor:hover { background: var(--hover); }
html body .reactor[hidden] { display: none; }
html body .reactor-av { position: relative; flex: none; line-height: 0; }
html body .reactor-av .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
html body .reactor-emo { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--card); font-size: 12px; line-height: 1; box-shadow: 0 0 0 1px var(--line); }
html body .reactor-name { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; color: var(--ink); text-decoration: none !important; line-height: 1.3; }
html body .reactor-name b { display: flex; align-items: center; gap: 4px; font-size: .95rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .reactor-name span { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .reactor .follow-form { flex: none; margin: 0; }
html body .reactor .follow-form .btn { min-height: 32px; padding: 0 14px; font-size: .82rem; }
html body .reactor-join { margin: 10px 8px 0; }
html body .invite-box { display: flex; gap: 8px; margin: 0 0 12px; }
html body .invite-box input { flex: 1 1 auto; min-width: 0; }

/* a menu that opens from a real button (Create event, Owner, …) keeps the button's shape */
html body details.post-menu > summary.btn { width: auto; height: auto; min-height: var(--ctl-h); padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; list-style: none; }
html body details.post-menu > summary.btn::-webkit-details-marker { display: none; }
html body details.post-menu > summary.btn.btn-primary { color: #fff; }

/* network cards in the directory: the coloured band on top spans the card */
html body .net-grid .net-card { align-items: stretch; }
html body .net-grid .net-card-cover { display: block; align-self: stretch; flex: none; }
html body .net-grid .net-card-top, html body .net-grid .net-card b, html body .net-grid .net-card-tag, html body .net-grid .net-card-meta { align-self: flex-start; }

/* profile header: photo, buttons and name sit together */
html body .profile-card { padding: 0; overflow: hidden; }
html body .profile-cover, html body.sx .profile-cover { width: 100%; height: 200px; max-height: 200px; aspect-ratio: auto; border-radius: 0; }
html body .profile-body { padding: 0 20px 18px; }
html body .profile-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: -54px 0 0; min-height: 0; }
html body .profile-avatar { flex: none; }
html body .profile-avatar .avatar { width: 120px; height: 120px; display: block; }
html body .profile-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 4px auto; padding: 0; }
html body .profile-actions .btn, html body .profile-actions .btn-share { min-height: 38px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
html body .profile-actions .btn-primary { border-color: var(--brand); }
html body .profile-name { margin: 12px 0 0; font-size: 1.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
html body .profile-handle { margin: 2px 0 0; }
html body .profile-oneliner { margin: 8px 0 0; font-size: 1rem; }
html body .profile-bio { margin: 8px 0 0; }

/* ---------- menus ---------- */
html body .me-menu > a, html body .me-menu > button, html body .post-menu-pop > a, html body .post-menu-pop > button, html body .post-menu-pop form > button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: .92rem; font-weight: 600; text-align: left; }
html body .me-menu-sep { margin: 6px 0; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  html body.sx form.composer, html body.sx .tl > .main-col > .composer { margin: 0 10px 10px; padding: 10px 12px; border-radius: var(--r-card); }
  html body.sx form.composer.is-open { padding: 14px; }
  html body.sx form.composer.is-open .composer-foot select { max-width: 150px; }
  html body .page-head { margin: 0 var(--gut, 16px) 12px; }
  html body h1, html body .page-head h1 { font-size: 1.35rem; }
  html body .tabs, html body .chip-row { flex-wrap: nowrap; margin-left: 0; margin-right: 0; padding-left: var(--gut, 16px); padding-right: var(--gut, 16px); scroll-padding-left: var(--gut, 16px); }
  html body .card .tabs, html body .card .chip-row, html body .net .net-tabs, html body.sx .tl > .main-col > .tabs { padding-left: 0; padding-right: 0; }
  html body.sx .tl > .main-col > .tabs { padding: 4px; }
  html body .section-title, html body .crumbs, html body main.container > h2, html body .main-col > h2, html body main.container > .muted, html body .main-col > p.muted { margin-left: var(--gut, 16px); margin-right: var(--gut, 16px); }
  html body .card .section-title, html body .card .crumbs { margin-left: 0; margin-right: 0; }
  /* anything that is not a full-width card keeps the page gutter: headings, search rows, filter toggles, loose text */
  html body main.container > h2, html body main.container > h3, html body main.container > p, html body main.container > form:not(.card), html body main.container > details:not(.card),
  html body .main-col > h2, html body .main-col > h3, html body .main-col > form:not(.card):not(.composer), html body .main-col > details:not(.card) { margin-left: var(--gut, 16px); margin-right: var(--gut, 16px); }
  html body .net-grid .net-card-cover { display: none !important; }
  html body .net-grid .net-card { align-items: center; }
  html body .pm-strip { gap: 8px; padding: 8px 6px 8px 12px; }
  html body .pm-strip-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }
  html body .pm-strip .btn { min-height: 32px; padding: 0 12px; font-size: .82rem; }
  html body .people-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0 0 8px; border-radius: 0; }
  html body .people-search .ps-q { grid-column: 1 / -1; }
  html body .profile-cover, html body.sx .profile-cover { height: 132px; max-height: 132px; }
  html body .profile-body { padding: 0 var(--gut, 16px) 14px; }
  html body .profile-top { margin-top: -44px; }
  html body .profile-avatar .avatar { width: 92px; height: 92px; }
  html body .profile-actions { justify-content: flex-start; margin: 8px 0 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  html body .profile-actions::-webkit-scrollbar { display: none; }
  html body .profile-actions > * { flex: none; }
  html body .profile-name { font-size: 1.3rem; }
}
html body dialog.v3-dialog .dlg-x button:focus { outline: none; }


/* ---- Profile photo (4 Dec 2026): clean white ring instead of the thick rainbow one.
   Camera button sits bottom-right on your own profile; the green online dot sits there on other people's.
   Switch off: delete this block. ---- */
html body .profile-avatar, html body.sx .profile-avatar { position: relative; padding: 4px !important; background: var(--card) !important; border-radius: 50%; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 14px rgba(16,24,40,.10); line-height: 0; }
html body .profile-avatar .avatar, html body.sx .profile-avatar .avatar { border: 0 !important; border-radius: 50%; object-fit: cover; }
html body .profile-avatar .on-dot { right: 9px; bottom: 9px; left: auto; top: auto; width: 18px; height: 18px; max-width: 18px; max-height: 18px; border: 3px solid var(--card); border-radius: 50%; box-sizing: border-box; }
html body .profile-avatar .pa-change { left: auto; right: 2px; bottom: 2px; width: 32px; height: 32px; border: 0; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px rgba(16,24,40,.08), 0 2px 6px rgba(16,24,40,.16); cursor: pointer; transition: transform .12s ease, background .12s ease; }
html body .profile-avatar .pa-change:hover { background: var(--line-2, #f1f3f5); transform: scale(1.06); }
html body .profile-avatar .pa-change svg { width: 16px; height: 16px; }
html body .profile-avatar:has(.pa-change) .on-dot { display: none; }
@media (max-width: 700px) {
  html body .profile-avatar, html body.sx .profile-avatar { padding: 3px !important; }
  html body .profile-avatar .on-dot { right: 6px; bottom: 6px; width: 16px; height: 16px; max-width: 16px; max-height: 16px; }
  html body .profile-avatar .pa-change { right: 0; bottom: 0; width: 30px; height: 30px; }
}

/* The photo holder carried a fixed 132px size in the page itself, so on phones the white ring was far bigger than the photo. */
html body .profile-avatar .av-on { display: block; width: 120px !important; height: 120px !important; }
html body .profile-avatar .av-on .avatar { width: 100% !important; height: 100% !important; }
@media (max-width: 700px) { html body .profile-avatar .av-on { width: 92px !important; height: 92px !important; } }
/* "Member of" chips: even border all round (the thick coloured left edge looked like a broken ring). */
html body .prof-net-chip { border: 1px solid var(--line, #e5e7eb) !important; padding: 4px 12px 4px 5px; min-height: 32px; box-sizing: border-box; }
/* Header photo: no red ring (it read as an error or alert). */
html body .me-chip .avatar { box-shadow: 0 0 0 1px rgba(16,24,40,.10) !important; }

/* ---- Paying members stand out everywhere (4 Dec 2026): gold label next to the name, gold ring on the photo.
   Plus = gold outline, Pro = solid gold, Elite = black and gold. Printed by premium_badge() and avatar_img().
   Switch off: PREMIUM_BADGES in functions_premium.php. ---- */
.pm-b { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 9px 0 6px; margin-left: 6px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .09em; line-height: 1; vertical-align: middle; white-space: nowrap; flex: none; text-decoration: none !important; position: relative; top: -1px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .12s ease, filter .12s ease, box-shadow .12s ease; user-select: none; }
.pm-b svg { flex: none; display: block; width: 11px; height: 11px; }
.pm-b > span { display: block; padding-top: .5px; }
.pm-b:hover { transform: translateY(-1px); filter: brightness(1.05); }
.pm-b:active { transform: scale(.96); }
.pm-b:focus-visible { outline: 2px solid var(--brand, #1f5fe0); outline-offset: 2px; }
/* Plus: cream with a fine gold edge */
.pm-b-1 { background: linear-gradient(180deg, #fffdf5, #fff3cc); color: #8a5a00; box-shadow: inset 0 0 0 1px #edc55a, 0 1px 2px rgba(138,90,0,.10); }
.pm-b-1 svg { color: #e0a100; }
/* Pro: polished gold */
.pm-b-2 { background: linear-gradient(135deg, #ffe58a 0%, #ffc530 45%, #f09a00 100%); color: #3d2600; box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 0 0 1px rgba(160,96,0,.28), 0 1px 3px rgba(240,154,0,.35); }
/* Elite: black with gold lettering */
.pm-b-3 { background: linear-gradient(135deg, #2b2e38 0%, #101217 60%, #1d1a10 100%); color: #ffd76a; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,205,90,.55), 0 1px 4px rgba(16,18,23,.35); }
.pm-b-3 > span { background: linear-gradient(180deg, #fff1b8, #f5b301); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pm-b-lg { height: 26px; padding: 0 12px 0 9px; font-size: 12px; gap: 5px; top: -3px; }
.pm-b-lg svg { width: 14px; height: 14px; }
/* The ring is drawn inside the photo's own box (border + a thin white gap), so it never eats the space next to the photo. */
img.avatar.av-prem { box-sizing: border-box !important; border: 2px solid #f5b301 !important; padding: 2px !important; background: var(--card, #fff) !important; box-shadow: none !important; }
img.avatar.av-prem-1 { border-color: #f2c94c !important; }
img.avatar.av-prem-3 { border-color: #e9a800 !important; box-shadow: 0 0 6px rgba(245,179,1,.45) !important; }
img.avatar.av-prem[width="18"], img.avatar.av-prem[width="20"], img.avatar.av-prem[width="24"], img.avatar.av-prem[width="28"] { border-width: 1.5px !important; padding: 1px !important; box-shadow: none !important; }
/* profile: the white ring round the big photo turns gold */
html body .profile-avatar:has(.av-prem), html body.sx .profile-avatar:has(.av-prem) { padding: 5px !important; background: linear-gradient(135deg, #ffe08a, #f5a300 55%, #c98500) !important; }
html body .profile-avatar .avatar.av-prem, html body.sx .profile-avatar .avatar.av-prem { border: 2px solid var(--card, #fff) !important; padding: 0 !important; box-shadow: none !important; }
html body .me-chip .avatar.av-prem { box-shadow: none !important; }
.sx-label .pm-b { margin-left: 6px; }
.sx-label small .pm-b { display: none; }

/* Post box, open: clear space between your photo and where you type (4 Dec 2026). */
html body.sx form.composer.is-open .composer-row { gap: 14px; }
html body.sx form.composer.is-open .composer-row textarea { padding: 9px 2px 8px 2px !important; line-height: 1.45; }
