/* Profile: compact wallet/followers/following strip and About card (chairman 2026-10-03). Sizing only; colours stay with the theme. */
html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-command-card-v3 { min-height: 0 !important; padding: 8px 14px !important; gap: 0 !important; justify-content: center; }
html body .jp-profile-command-panel-v3 .jp-profile-command-card-v3:not(.jp-profile-command-action-v3):not(.jp-profile-command-link-v3.jp-profile-command-action-v3) { flex-direction: row !important; flex-wrap: wrap; align-items: baseline !important; column-gap: 8px; }
html body .jp-profile-command-panel-v3 .jp-profile-command-label-v3 { flex: 0 0 100%; font-size: 10px !important; line-height: 1.2; letter-spacing: .08em; }
html body .jp-profile-command-panel-v3 .jp-profile-command-value-v3 { font-size: 20px !important; line-height: 1.15 !important; }
html body .jp-profile-command-panel-v3 .jp-profile-command-card-v3 small { font-size: 11px !important; line-height: 1.2 !important; margin: 0 !important; }
html body .jp-profile-command-panel-v3 .jp-profile-command-card-v3 .jp-profile-command-icon-v3 { width: 26px !important; height: 26px !important; flex: none; }
html body .jp-profile-command-panel-v3 .jp-profile-command-card-v3 .jp-profile-command-icon-v3 svg { width: 14px !important; height: 14px !important; }
html body .jp-profile-command-panel-v3 .jp-profile-command-action-v3 > a, html body .jp-profile-command-panel-v3 a.jp-profile-command-action-v3 { flex-direction: row !important; gap: 8px !important; align-items: center !important; justify-content: center; }
html body .jp-profile-command-panel-v3 .jp-profile-command-action-v3 strong { font-size: 11px !important; letter-spacing: .06em; }
html body .jp-profile-command-panel-v3 .jp-profile-command-action-v3 small { display: none !important; }
/* About card */
html body .jp-profile-command-panel-v3 .jp-profile-identity-deck { padding: 12px 16px !important; }
html body .jp-profile-command-panel-v3 .jp-id-about { margin-bottom: 8px !important; }
html body .jp-profile-command-panel-v3 .jp-id-about p { margin: 2px 0 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
html body .jp-profile-command-panel-v3 .jp-id-chips { gap: 6px !important; }
html body .jp-profile-command-panel-v3 .jp-id-chip { padding: 4px 10px !important; min-height: 0 !important; height: auto !important; font-size: 12px !important; gap: 6px !important; border-radius: 999px !important; }
html body .jp-profile-command-panel-v3 .jp-id-chip svg { width: 14px !important; height: 14px !important; flex: none; }
html body .jp-profile-command-panel-v3 .jp-profile-command-tabs-v3 { min-height: 0 !important; }
html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 { min-height: 0 !important; height: auto !important; grid-auto-rows: auto !important; }
html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-command-card-v3.jp-profile-command-action-v3, html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-command-jobs-banner-v1, html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-settings-dropdown-v1 { flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 8px !important; }
html body .jp-profile-command-panel-v3 .jp-profile-settings-toggle-v1 { flex-direction: row !important; height: auto !important; gap: 8px !important; align-items: center !important; }
html body .jp-profile-command-panel-v3 .jp-profile-command-balance-v3, html body .jp-profile-command-panel-v3 .jp-profile-command-link-v3:not(.jp-profile-command-action-v3) { align-items: baseline !important; }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) .jp-profile-settings-toggle-v1:not(#z) { flex-direction: row !important; gap: 8px !important; align-items: center !important; }
html body .jp-profile-command-panel-v3 .jp-profile-identity-deck { gap: 4px !important; }
html body .jp-profile-command-panel-v3 .jp-id-about { margin-bottom: 4px !important; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
html body .jp-profile-command-panel-v3 .jp-id-chips { gap: 5px !important; }
html body .jp-profile-command-panel-v3 .jp-id-chip { padding: 3px 9px !important; font-size: 12px !important; }
@media (max-width: 600px) {
  html body .jp-profile-command-panel-v3 .jp-profile-command-action-v3 strong { font-size: 10px !important; letter-spacing: .02em !important; white-space: nowrap !important; }
  html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-command-card-v3.jp-profile-command-action-v3, html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-command-jobs-banner-v1, html body .jp-profile-command-panel-v3 .jp-profile-command-grid-v3 .jp-profile-settings-dropdown-v1 { gap: 5px !important; padding-left: 6px !important; padding-right: 6px !important; }
  html body .jp-profile-command-panel-v3 .jp-profile-command-card-v3 .jp-profile-command-icon-v3 { width: 22px !important; height: 22px !important; }
  html body .jp-profile-command-panel-v3 .jp-profile-command-value-v3 { font-size: 19px !important; }
  html body .jp-profile-command-panel-v3 .jp-id-chip { font-size: 12.5px !important; }
  html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-link-v3:not(.jp-profile-command-action-v3):not(#z) { min-height: 0 !important; height: auto !important; padding: 6px 14px !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; }
  html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-link-v3:not(.jp-profile-command-action-v3):not(#z) .jp-profile-command-label-v3 { flex: 0 1 auto !important; }
}

/* ---- About: key chips only, rest behind "More" (jeepney-profile-compact.js) ---- */
html body .jp-profile-identity-deck .jp-id-chip.jpc-hide { display: none !important; }
html body .jp-profile-identity-deck .jpc-more { display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px; border-radius: 999px; font: 700 12px/1.4 inherit; cursor: pointer; border: 1px dashed currentColor; background: transparent; color: inherit; opacity: .85; }
html body .jp-profile-identity-deck .jpc-more:hover, html body .jp-profile-identity-deck .jpc-more:focus-visible { opacity: 1; outline: 2px solid #fcd116; outline-offset: 1px; }
/* ---- Hero (desktop only; the phone hero has its own cover-fill layout and is left alone) ---- */
@media (min-width: 601px) {
  html body .jp-profile-hero-card .jp-profile-cover { aspect-ratio: 5.6 / 1 !important; height: auto !important; min-height: 150px !important; }
  html body .jp-profile-hero-card .jp-profile-avatar-float, html body .jp-profile-hero-card .jp-profile-avatar-float .user-avatar, html body .jp-profile-hero-card .jp-profile-avatar-float .user-avatar img { width: 120px !important; height: 120px !important; }
  html body .jp-profile-hero-card .jp-profile-avatar-float .user-avatar img { object-fit: cover; }
  html body:not(#x) .jp-profile-hero-card:not(#y) { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }
  html body:not(#x) .jp-profile-hero-source:not(#y) { height: auto !important; min-height: 0 !important; margin-bottom: 0 !important; }
  html body:not(#x) .jp-profile-hero-card:not(#y) .jp-profile-avatar-float:not(#z) { top: calc(100% - 96px) !important; bottom: auto !important; z-index: 3; }
  html body:not(#x) .jp-profile-hero-card:not(#y) .jp-profile-name-block:not(#z) { bottom: -180px !important; }
  html body:not(#x) .jp-profile-command-panel-v3:not(#y) { margin-top: 186px !important; }
}
/* ---- Visitor actions: Follow / Message / Alerts / More as compact pills under the name (desktop; row is moved there by the JS) ---- */
@media (min-width: 601px) {
  html body.jpc-actions-in-hero:not(#x) .jp-profile-name-block:not(#y) { top: 34px !important; bottom: auto !important; width: max-content !important; min-width: 366px; }
  html body.jpc-actions-in-hero .jp-profile-name-block .jp-profile-visitor-actions-row-v8 { display: flex !important; flex-wrap: nowrap; gap: 8px; justify-content: center; align-items: center; margin: 10px 0 0 !important; padding: 0 !important; width: auto !important; min-height: 0 !important; height: auto !important; grid-column: auto !important; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-card-v8 { display: block !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; height: auto !important; width: auto !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-card-v8 > .jp-profile-action-icon-v8, html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-card-v8 > strong, html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-card-v8 > small { display: none !important; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-mount-v8 { width: auto !important; min-height: 0 !important; height: auto !important; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-mount-v8 > span, html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-mount-v8 > div { width: auto !important; display: block !important; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .btn { height: 36px !important; min-height: 0 !important; padding: 0 18px !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 700 !important; width: auto !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
  html body.jpc-actions-in-hero .jp-profile-follow-card-v8 .btn { background: #d01029 !important; color: #fff !important; border: 1px solid #d01029 !important; }
  html body.jpc-actions-in-hero .jp-profile-message-card-v8 .btn { background: #fff !important; color: #0b2a6b !important; border: 1px solid #fff !important; }
  html body.jpc-actions-in-hero .jp-profile-alert-card-v8 .btn, html body.jpc-actions-in-hero .jp-profile-more-card-v8 .btn { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.35) !important; padding: 0 14px !important; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .btn-glossy, html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-mount-v8, html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-action-mount-v8 > * { background: none !important; box-shadow: none !important; border-radius: 0; }
  html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-more-card-v8 .btn, html body.jpc-actions-in-hero .jp-profile-visitor-actions-row-v8 .jp-profile-alert-card-v8 .btn { width: 40px !important; padding: 0 !important; }
  html body.jpc-actions-in-hero:not(#x) .jp-profile-command-panel-v3:not(#y) { margin-top: 208px !important; }
  html body.jpc-actions-in-hero:not(#x) .jp-profile-visitor-actions-row-v8:not(#y) .jp-profile-more-card-v8 .btn:not(#z), html body.jpc-actions-in-hero:not(#x) .jp-profile-visitor-actions-row-v8:not(#y) .jp-profile-alert-card-v8 .btn:not(#z) { width: 40px !important; min-width: 40px !important; max-width: 40px !important; padding: 0 !important; overflow: hidden; }
  html body.jpc-actions-in-hero:not(#x) .jp-profile-visitor-actions-row-v8:not(#y) { background: none !important; border: 0 !important; box-shadow: none !important; }
  html body.jpc-actions-in-hero:not(#x) .jp-profile-hero-source:not(#y) { position: relative; z-index: 20; }
  html body.jpc-actions-in-hero:not(#x) .jp-profile-name-block:not(#y) { z-index: 40; }
  html body.jpc-actions-in-hero:not(#x) .jp-profile-visitor-actions-row-v8:not(#y) .dropdown-menu { z-index: 60; }
}

/* ---- Tab counts + sticky tabs (JS lifts the nav out of the stats panel) ---- */
html body .jp-profile-command-tabs-v3 .jpc-count { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.5; background: rgba(11, 42, 107, .1); color: inherit; vertical-align: 1px; }
html body .jp-profile-command-tabs-v3 .is-active .jpc-count, html body .jp-profile-command-tabs-v3 a.is-active .jpc-count { background: rgba(255, 255, 255, .25); }
html.jp-flag-night body .jp-profile-command-tabs-v3 .jpc-count { background: rgba(255, 255, 255, .14); }
html body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) { position: sticky !important; top: 78px; z-index: 30; margin: 10px 0 12px !important; border-radius: 16px !important; box-shadow: 0 6px 20px rgba(8, 20, 60, .22) !important; }
html.jp-flag-day body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) { background: #fff !important; border: 1px solid rgba(23, 73, 196, .15); }
html.jp-flag-night body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) { background: #0b1530 !important; border: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 768px) { html body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) { top: 64px; border-radius: 12px !important; } }

/* ---- Wallet (own profile): the Quanta card becomes one gold pill ---- */
html body .jp-profile-command-panel-v3 a.jp-profile-command-balance-v3 { background: none !important; }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) .jp-profile-command-label-v3, html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) small { display: none !important; }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) { align-items: center !important; justify-content: center !important; }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) .jp-profile-command-value-v3 { display: inline-flex !important; align-items: center; gap: 8px; padding: 7px 18px 7px 14px; border-radius: 999px; background: linear-gradient(135deg, #ffe27a 0%, #f5b800 55%, #e0a100 100%) !important; color: #2b1d00 !important; font-size: 18px !important; font-weight: 800; box-shadow: 0 2px 10px rgba(224, 161, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .55); }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) .jp-profile-command-value-v3::after { content: 'Wallet \203A'; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .75; margin-left: 2px; }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:hover .jp-profile-command-value-v3 { filter: brightness(1.05); }
html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) > small:not(#w), html body:not(#x) .jp-profile-command-panel-v3:not(#y) a.jp-profile-command-balance-v3:not(#z) > span:not(#w) { display: none !important; }
/* body is a (non-scrolling) overflow container on this page, which stops sticky from using the window; clip instead of scroll */
html body.jpc-tabs-detached:not(#x) { overflow-x: clip !important; overflow-y: visible !important; }
/* phone: three wrappers are scroll containers (overflow hidden/auto) which also blocks sticky; clip sideways instead */
@media (max-width: 768px) {
  html body.jpc-tabs-detached:not(#x) .content-container:not(#y), html body.jpc-tabs-detached:not(#x) .content-container:not(#y) > .effect-load, html body.jpc-tabs-detached:not(#x) .row.wo_user_profile:not(#y) { overflow-x: clip !important; overflow-y: visible !important; }
}
/* phone: pinned tabs become one slim row instead of three stacked buttons */
@media (max-width: 768px) {
  html body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 4px !important; padding: 4px !important; margin: 8px 8px 10px !important; height: auto !important; min-height: 0 !important; }
  html body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) .jp-profile-command-tab-v3 { flex: 1 1 0 !important; min-height: 0 !important; height: 38px !important; padding: 0 6px !important; margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; font-size: 12px !important; border-radius: 12px !important; width: auto !important; }
}
@media (max-width: 768px) {
  html body.jpc-tabs-detached:not(#x) .jp-profile-command-tabs-v3:not(#y) .jp-profile-command-tab-v3 { white-space: nowrap !important; font-size: 11px !important; letter-spacing: 0 !important; padding: 0 3px !important; text-transform: uppercase; }
  html body.jpc-tabs-detached .jp-profile-command-tabs-v3 .jpc-count { margin-left: 3px; padding: 0 5px; font-size: 10px; }
}

/* ---- Badges row under the @handle: ID verified / role / (owner) verification state ---- */
html body .jpc-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 0; }
html body .jpc-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font: 700 11.5px/1 inherit; letter-spacing: .01em; text-decoration: none; white-space: nowrap; border: 1px solid transparent; box-shadow: 0 1px 3px rgba(8, 20, 60, .25); }
html body .jpc-badge i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; font-style: normal; font-size: 10px; line-height: 14px; text-align: center; font-weight: 900; }
html body .jpc-badge--ok { background: #0b66b8; color: #fff; }
html body .jpc-badge--ok i { background: #fff; color: #0b66b8; }
html body .jpc-badge--ok i::before { content: '\2713'; }
html body .jpc-badge--role { background: linear-gradient(135deg, #ffe27a, #f5b800); color: #3d2900; }
html body .jpc-badge--role i { background: #3d2900; color: #ffe27a; }
html body .jpc-badge--role i::before { content: '\2605'; }
html body .jpc-badge--wait { background: #fff3c4; color: #5a3d00; border-color: #e6c24a; }
html body .jpc-badge--wait i { background: #5a3d00; color: #fff3c4; }
html body .jpc-badge--wait i::before { content: '\2026'; }
html body a.jpc-badge--todo { background: #d01029; color: #fff; }
html body a.jpc-badge--todo i { background: #fff; color: #d01029; }
html body a.jpc-badge--todo i::before { content: '!'; }
html body a.jpc-badge:hover, html body a.jpc-badge:focus-visible { filter: brightness(1.08); outline: 2px solid #fcd116; outline-offset: 1px; }
/* the name block grows by one row: make room (desktop) */
@media (min-width: 601px) {
  html body:has(.jpc-badges):not(#x) .jp-profile-hero-card:not(#y) .jp-profile-name-block:not(#z) { bottom: -214px !important; }
  html body.jpc-actions-in-hero:has(.jpc-badges):not(#x) .jp-profile-hero-card:not(#y) .jp-profile-name-block:not(#z) { top: 34px !important; bottom: auto !important; }
  html body:has(.jpc-badges):not(#x) .jp-profile-command-panel-v3:not(#y) { margin-top: 222px !important; }
  html body.jpc-actions-in-hero:has(.jpc-badges):not(#x) .jp-profile-command-panel-v3:not(#y) { margin-top: 246px !important; }
}
html body .jpc-badge--staff { background: #1b2f5c; color: #fff; border-color: rgba(255, 255, 255, .35); }
html body .jpc-badge--staff i { background: #fff; color: #1b2f5c; }
html body .jpc-badge--staff i::before { content: '\2726'; }
