.page:has(#pm-lead-board) .page-header { display: none; }
.page:has(#pm-lead-board) #content { max-width: none; width: 100%; padding: 0; }
#pm-lead-board {
    --ink: #171814;
    --copy: #565951;
    --yellow: #ffca08;
    --border: #dedfd6;
    --pale: #eeeee5;
    background: #fafaf7;
    color: var(--ink);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}
#pm-lead-board * { box-sizing: border-box; }
#pm-lead-board .pm-shell { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 44px) clamp(38px, 6vw, 72px); container-type: inline-size; }
#pm-lead-board .pm-hero { padding: clamp(28px, 4.5vw, 58px) 0 28px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
#pm-lead-board .pm-eyebrow, #pm-lead-board .pm-location { margin: 0 0 12px; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--copy); }
#pm-lead-board h1, #pm-lead-board h2, #pm-lead-board h3 { color: var(--ink); margin: 0; line-height: 1.12; font-weight: 650; }
#pm-lead-board h1 { font-size: clamp(32px, 6cqi, 60px); letter-spacing: -.045em; }
#pm-lead-board h1 span { background: linear-gradient(transparent 82%, var(--yellow) 82% 95%, transparent 95%); }
#pm-lead-board .pm-intro { margin: 20px 0 0; max-width: 530px; color: var(--copy); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.6; }
:is(#pm-lead-board, .pm-portal-map) .pm-map { width: 100%; min-width: 0; aspect-ratio: 1.95; display: grid; place-items: center; border-radius: 20px; overflow: hidden; position: relative; background: repeating-linear-gradient(0deg, #dedfd666 0 1px, transparent 1px 26px), repeating-linear-gradient(90deg, #dedfd666 0 1px, transparent 1px 26px), var(--pale); }
:is(#pm-lead-board, .pm-portal-map) .pm-map::before, :is(#pm-lead-board, .pm-portal-map) .pm-map::after { content: ''; position: absolute; width: 130%; height: 8px; background: #fff; transform: rotate(24deg); }
:is(#pm-lead-board, .pm-portal-map) .pm-map::after { transform: translateY(-16px) rotate(-29deg); }
:is(#pm-lead-board, .pm-portal-map) .pm-map-zone { position: relative; z-index: 1; width: 43%; aspect-ratio: 1.18; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: #ffdf55; display: grid; place-items: center; }
:is(#pm-lead-board, .pm-portal-map) .pm-map-marker { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 50%; background: var(--ink); }
:is(#pm-lead-board, .pm-portal-map) .pm-map-house { width: 19px; height: 14px; margin-top: 6px; border: 2px solid var(--yellow); border-top: 0; position: relative; }
:is(#pm-lead-board, .pm-portal-map) .pm-map-house::before { content: ''; width: 15px; height: 15px; transform: rotate(45deg); border-top: 2px solid var(--yellow); border-left: 2px solid var(--yellow); position: absolute; left: 0; top: -7px; }
#pm-lead-board .pm-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; border: 1px solid var(--border); padding: 16px; background: #fff; border-radius: 13px; }
#pm-lead-board label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
#pm-lead-board input, #pm-lead-board select { width: 100%; height: 43px; padding: 0 10px; border: 1px solid #cfd1c7; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
#pm-lead-board .pm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 15px; background: var(--yellow); color: var(--ink); border: 1px solid transparent; border-radius: 7px; font: inherit; font-size: 13px; line-height: 1.3; font-weight: 750; cursor: pointer; text-decoration: none; }
#pm-lead-board .pm-arrow::after { content: '↗'; margin-left: 6px; }
#pm-lead-board .pm-btn:hover { background: #f0bb00; }
#pm-lead-board :is(button, input, select, a):focus-visible { outline: 2px solid #333; outline-offset: 3px; }
#pm-lead-board .pm-results-head { margin: 32px 0 14px; font-size: clamp(24px, 3vw, 35px); letter-spacing: -.035em; }
#pm-lead-board :is(#pm-pending-matches, #pm-my-introductions) { margin-top: 32px; padding-top: 24px; border-top: 1px solid #cfd1c7; }
#pm-lead-board :is(#pm-pending-matches, #pm-my-introductions) .pm-results-head { margin-top: 0; }
#pm-lead-board .pm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 275px), 1fr)); gap: 16px; }
#pm-lead-board .pm-card { display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: clamp(16px, 1.8vw, 24px); }
#pm-lead-board .pm-card form .pm-btn { width: 100%; }
#pm-lead-board .pm-introduction-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
#pm-lead-board .pm-introduction-cards h4 { margin: 0 0 8px; font-size: 16px; }
#pm-lead-board .pm-match-note { color: var(--copy); font-size: 14px; }
#pm-lead-board .pm-introduction-cards dl div { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); }
#pm-lead-board .pm-location { margin: 0 0 8px; letter-spacing: .08em; }
#pm-lead-board h3 { font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -.03em; overflow-wrap: break-word; }
#pm-lead-board .pm-type { margin: 5px 0 13px; color: var(--copy); font-size: 14px; }
#pm-lead-board dl { margin: 0 0 15px; padding: 9px 0 0; border-top: 1px solid var(--border); flex: 1; }
#pm-lead-board dl div { display: grid; grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); gap: 10px; padding: 5px 0; align-items: baseline; font-size: 14px; line-height: 1.4; }
#pm-lead-board dt { color: var(--copy); }
#pm-lead-board dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
#pm-lead-board .pm-price { white-space: nowrap; }
#pm-lead-board .pm-private { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 9px 10px; border-radius: 7px; background: #f1f1eb; color: #42443e; font-size: 12px; line-height: 1.35; }
#pm-lead-board .pm-lock { flex: 0 0 10px; height: 8px; border: 1px solid currentColor; border-radius: 2px; position: relative; margin-top: 3px; }
#pm-lead-board .pm-lock::before { content: ''; position: absolute; left: 1px; top: -6px; width: 6px; height: 6px; border: 1px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
#pm-lead-board .pm-empty { padding: 22px; border: 1px solid var(--border); border-radius: 13px; background: #fff; }
#pm-lead-board .pm-pagination { display: flex; gap: 20px; margin-top: 16px; }
@container (max-width: 670px) {
    #pm-lead-board .pm-hero { grid-template-columns: 1fr; gap: 20px; }
    #pm-lead-board .pm-map { aspect-ratio: 2.6; max-height: 145px; }
    #pm-lead-board .pm-map-zone { width: 120px; }
    #pm-lead-board .pm-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 360px) {
    #pm-lead-board .pm-filter { grid-template-columns: minmax(0, 1fr); }
    #pm-lead-board .pm-map { display: none; }
    #pm-lead-board .pm-introduction-cards dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
#pm-lead-board .pm-access { padding-top: clamp(38px, 6vw, 80px); }
#pm-lead-board #pm-wallet { margin: 0 0 24px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--border); border-radius: 14px; background: #fff; }
#pm-lead-board #pm-wallet h2 { margin: 0 0 8px; font-size: 1.35rem; }
#pm-lead-board #pm-wallet p { margin: 8px 0; }
#pm-lead-board #pm-wallet .pm-wallet-notice { padding: 12px 14px; border-left: 3px solid var(--yellow); border-radius: 6px; background: #fff5d1; }
#pm-lead-board .pm-wallet-packs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
#pm-lead-board .pm-wallet-packs .pm-btn { gap: 7px; }
#pm-lead-board .pm-wallet-packs .amount { white-space: nowrap; }
#pm-wallet summary{cursor:pointer;font-weight:600}
.pm-credit-scroll{overflow-x:auto}
#pm-wallet .pm-credit-activity{margin-top:12px;width:100%;text-align:left;border-collapse:collapse}
#pm-wallet .pm-credit-activity th,#pm-wallet .pm-credit-activity td{padding:8px;border-bottom:1px solid #e6e4dc;vertical-align:top}
