.ledger-avatar-wrap{--ledger-gold:#d5b46a;--ledger-paper:#f1ebdd;--ledger-panel:#143126;--ledger-line:rgba(213,180,106,.26);color:var(--ledger-paper);max-width:1120px;margin:20px auto;padding:clamp(18px,4vw,38px);background:#0e211b;border:1px solid var(--ledger-line);border-radius:16px;font-family:inherit}
.ledger-avatar-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--ledger-line);padding-bottom:22px;margin-bottom:22px}
.ledger-avatar-heading h2{font-family:Georgia,serif;font-size:clamp(25px,4vw,40px);font-weight:500;color:var(--ledger-paper);margin:10px 0}
.ledger-avatar-heading p{font-size:14px;color:#d7cbbb;max-width:650px}
.ledger-avatar-eyebrow{font-size:10px;letter-spacing:.2em;color:var(--ledger-gold);font-weight:700}
.ledger-avatar-current{min-width:115px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#dfcfae;font-size:12px}
.ledger-avatar-current img,.ledger-avatar-empty{width:70px;height:70px;object-fit:cover;border-radius:50%;border:2px solid var(--ledger-gold);background:#1b3c2f}
.ledger-avatar-empty{display:grid;place-items:center;font-size:22px}
.ledger-avatar-fieldset{border:0;padding:0;margin:0 0 28px;min-width:0}
.ledger-avatar-fieldset legend{color:var(--ledger-gold);font:500 21px Georgia,serif;padding:0 0 13px}
.ledger-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ledger-avatar-choice{display:block;position:relative;min-width:0;cursor:pointer}
.ledger-avatar-choice input{position:absolute;top:12px;left:12px;z-index:1;width:18px;height:18px;accent-color:var(--ledger-gold);cursor:pointer}
.ledger-avatar-tile{display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--ledger-panel);border:1px solid rgba(213,180,106,.20);border-radius:11px;padding:12px 9px 10px;transition:background .2s,border-color .2s,box-shadow .2s;height:100%;box-sizing:border-box}
.ledger-avatar-tile img{width:100%;max-width:144px;aspect-ratio:1;object-fit:cover;border-radius:50%;background:#213c31}
.ledger-avatar-label{color:#eee3cc;text-align:center;font-size:12px;line-height:1.35;min-height:32px}
.ledger-avatar-choice:hover .ledger-avatar-tile,.ledger-avatar-choice input:focus-visible+.ledger-avatar-tile{background:#234539;border-color:var(--ledger-gold)}
.ledger-avatar-choice input:checked+.ledger-avatar-tile{border:2px solid var(--ledger-gold);box-shadow:0 0 0 2px rgba(213,180,106,.15);background:#254537;padding:11px 8px 9px}
.ledger-avatar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;border-top:1px solid var(--ledger-line);padding-top:23px}
.ledger-avatar-actions span{font-size:12px;color:#c6ba9d}
.ledger-avatar-action{display:inline-block;background:var(--ledger-gold)!important;color:#0c2119!important;border:0!important;border-radius:7px;padding:14px 26px;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none}
.ledger-avatar-action:hover{background:#f0d393!important;color:#10231c!important}
.ledger-avatar-notice{background:#1a4735;border:1px solid #8bad77;border-radius:8px;padding:12px 15px;color:#e4f2df;margin-bottom:20px}
.ledger-avatar-header-link{display:inline-flex;align-items:center;text-decoration:none!important;white-space:nowrap;color:#ddc17e!important;font-size:12px;margin-left:10px;padding:5px 8px;border:1px solid rgba(213,180,106,.25);border-radius:6px}
.ledger-avatar-header-link:hover{background:#1b3c2f}
#wpforo-wrap .ledger-historical-avatar,#wpforo-wrap .wpf-member-avatar img,#wpforo-wrap .wpf-post-author img.avatar{border-radius:50%;object-fit:cover}
.ledger-lounge-msg-meta img.ledger-lounge-face{width:28px!important;height:28px!important;flex:0 0 28px;border-radius:50%;object-fit:cover;border:1px solid #c9a866;margin-right:5px;vertical-align:middle}
@media(max-width:800px){.ledger-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.ledger-avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ledger-avatar-wrap{margin:12px auto}.ledger-avatar-heading{align-items:flex-start}.ledger-avatar-current{min-width:78px}.ledger-avatar-current img{width:58px;height:58px}}

@media(max-width:620px){.ledger-account .ledger-avatar-header-link{font-size:0;margin-left:2px;min-width:30px;height:30px;justify-content:center;padding:4px}.ledger-account .ledger-avatar-header-link:before{content:"✦";font-size:18px;line-height:1}}
/* v1.1: curated gallery lives on member profiles, not in the global navbar */
.ledger-avatar-header-link{display:none!important}
#wpforo-wrap .ledger-avatar-profile-link{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;margin:12px 0 9px 14px;padding:8px 13px;border:1px solid rgba(213,180,106,.5)!important;border-radius:6px;background:#122d24!important;color:#f3d99b!important;font:600 12px/1.25 system-ui,sans-serif;text-decoration:none!important;max-width:max-content}
#wpforo-wrap .ledger-avatar-profile-link:hover{background:#244a39!important}
#wpforo-wrap .ledger-entry-meta .ledger-entry-face{display:inline-block!important;vertical-align:middle;width:32px!important;height:32px!important;min-width:32px;border-radius:50%!important;object-fit:cover!important;background:#1b3c2f;border:1px solid #d5b46a;flex-shrink:0}
@media(max-width:660px){#wpforo-wrap .ledger-avatar-profile-link{margin:9px 0 10px 8px;font-size:11px}#wpforo-wrap .ledger-entry-meta .ledger-entry-face{width:28px!important;height:28px!important;min-width:28px}}
