
#member-notes-button{position:relative;white-space:nowrap;color:#e0caff}
#member-notes-unread{margin-left:4px;padding:1px 5px;border-radius:10px;background:#c7a9ff;color:#1e142f}
#member-notes-dialog{box-sizing:border-box;width:min(590px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:19px;background:#19182a;border:1px solid #746098;border-radius:14px;color:#f4eeff;overflow:auto}
#member-notes-dialog::backdrop{background:#080812ae}
#member-notes-dialog .notes-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
#member-notes-dialog h2{margin:0;font-size:22px}
.notes-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.notes-tabs button[aria-pressed="true"]{background:#4b376d;border-color:#b18ded;color:#fff}
.notes-list{display:grid;gap:6px}
.notes-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;text-align:left;padding:8px 10px;min-width:0}
.notes-row strong,.notes-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notes-row span{grid-column:1/-1;color:#c8bdd9}
.notes-row time{font-size:11px;color:#c8bdd9}
.notes-row.is-unread{border-color:#a687e4}
.notes-detail-body{white-space:pre-wrap;overflow-wrap:anywhere;min-height:50px;margin:10px 0 14px}
.notes-compose{display:grid;gap:9px}
.notes-compose label{display:grid;gap:4px}
.notes-compose input,.notes-compose textarea{box-sizing:border-box;width:100%;min-width:0}
.notes-compose textarea{min-height:110px;resize:vertical}
.notes-status{margin:8px 0;color:#dbc6fb}
.notes-more{margin-top:9px}

#member-notes-dialog [hidden],#member-notes-button[hidden],#member-notes-unread[hidden]{display:none!important}

#member-notes-reward-new,.notes-reward-new{display:inline-block;margin-left:3px;padding:1px 5px;border-radius:5px;background:#b91c32;color:#fff;font-size:11px;font-weight:800}
#member-notes-reward-new[hidden]{display:none}
.notes-gift{margin:0 0 12px;padding:8px 10px;border:1px solid #4d4265;border-radius:8px}
.notes-gift summary{cursor:pointer;color:#e3d1ff;font-weight:700}
.notes-gift form{margin-top:10px}
.notes-reward-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;border:1px solid #4d4265;border-radius:8px}
.notes-reward-row strong{overflow-wrap:anywhere}
.notes-reward-row time{display:block;color:#c8bdd9;font-size:11px;margin-top:3px}
.notes-reward-row button{white-space:nowrap}
