/* Profile Wall 3: social conversation layer. All actions have real API handlers. */
#profile .profile-wall{
  --wall-border:color-mix(in srgb,var(--profile-accent,#b25b68) 34%,#352740);
  display:grid;gap:1rem;
  margin:1.3rem 0;padding:clamp(.9rem,2.4vw,1.5rem);
  border:1px solid var(--wall-border);border-radius:19px;
  background:radial-gradient(circle at 100% 0,rgba(255,227,107,.055),transparent 34%),
    linear-gradient(150deg,var(--pf-surface,#1b142a),var(--pf-surface-deep,#0b0c17));
  box-shadow:0 18px 42px #0006,inset 0 1px #ffffff09;
  scroll-margin-top:6rem;
}
#profile .profile-wall-heading{
 display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
 padding-bottom:.8rem;border-bottom:1px solid var(--wall-border);
}
#profile .profile-wall-heading .eyebrow{margin:0;color:#c7a77c!important;font-size:.67rem}
#profile .profile-wall-heading h2{
 font-size:clamp(1.35rem,3vw,1.8rem);margin:.2rem 0 .3rem;
 color:#faf2ff;letter-spacing:-.035em;
}
#profile .profile-wall-description{font-size:.83rem;color:#c6bbd4;line-height:1.6;max-width:58ch}
#profile .profile-wall-composer{
 display:grid;gap:.55rem;margin:0;padding:clamp(.85rem,2vw,1.15rem);
 border:1px solid var(--wall-border);border-radius:15px;
 background:#0d0e1d;
}
#profile .profile-wall-composer>label,#profile .profile-wall-comment-form>label{
 font-size:.8rem;color:#eadcf5;font-weight:850;
}
#profile .profile-wall :is(textarea,select){
 width:100%;min-width:0;max-width:100%;
 border:1px solid #674776;border-radius:10px;
 background:#0b0e1b;color:#f9f3ff;font:inherit;
}
#profile .profile-wall textarea{padding:.85rem;min-height:86px;line-height:1.55;resize:vertical}
#profile .profile-wall textarea:focus-visible,#profile .profile-wall select:focus-visible{
 outline:2px solid #c7a77c;outline-offset:2px;
}
#profile .profile-wall-compose-bottom{
 display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:.6rem;
}
#profile .profile-wall-counter{font-size:.72rem;color:#c1b3d0;font-variant-numeric:tabular-nums}
#profile .profile-wall-privacy{
 display:flex;flex-direction:column;gap:.25rem;flex:1 1 160px;
 max-width:260px;font-size:.72rem;color:#c7a77c;font-weight:700;
}
#profile .profile-wall-privacy select{min-height:42px;padding:.5rem .75rem;font-size:.82rem}
#profile .profile-wall-composer button{
 min-height:44px;padding:.55rem 1rem;font-weight:850;
}
#profile .profile-wall-timeline{display:grid;gap:.85rem;min-width:0}
#profile .profile-wall-post{
 display:grid;gap:.75rem;min-width:0;
 padding:clamp(.9rem,2vw,1.2rem);
 border-radius:15px;
 border:1px solid color-mix(in srgb,var(--profile-accent,#b25b68) 30%,#353044);
 background:linear-gradient(145deg,#171326,#0e1020);
 box-shadow:0 10px 24px #0003;
}
#profile .profile-wall-post-head{
 display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:.6rem;
}
#profile .profile-wall-post-identity{display:grid;gap:.22rem;min-width:0}
#profile .profile-wall-post-identity strong{
 color:#faf2ff;font-size:.98rem;overflow-wrap:anywhere;
}
#profile .profile-wall-post-identity small{color:#bcaed0;font-size:.71rem}
#profile .profile-wall-post-body{
 color:#f1e8f7;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;
 font-size:.93rem;margin:0;
}
#profile .profile-wall-owner-actions,#profile .profile-wall-post-controls,
#profile .profile-wall-reactions,#profile .profile-wall-edit-actions{
 display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;min-width:0;
}
#profile .profile-wall-post-controls{justify-content:space-between;gap:.5rem}
#profile .profile-wall :is(.profile-wall-reaction,.profile-wall-comments-toggle,.profile-wall-subtle){
 min-height:40px;padding:.5rem .65rem;
 border:1px solid #514062;border-radius:10px;
 background:#1a1629;color:#e6d8f2;
 font-family:inherit;font-size:.75rem;font-weight:800;cursor:pointer;
}
#profile .profile-wall :is(.profile-wall-reaction,.profile-wall-comments-toggle,.profile-wall-subtle):hover{
 color:#c7a77c;border-color:#c7a77c;
}
#profile .profile-wall .profile-wall-reaction[aria-pressed="true"]{
 border-color:#c7a77c;background:rgba(199,167,124,.14);
 color:#c7a77c;box-shadow:0 0 0 1px #c7a77c29;
}
#profile .profile-wall :is(button,a):focus-visible{
 outline:2px solid #c7a77c;outline-offset:3px;
}
#profile .profile-wall .profile-wall-destructive:hover{color:#ff9bdc;border-color:#b25b68}
#profile .profile-wall-discussion{
 display:grid;gap:.75rem;padding:.85rem;
 border:1px solid #514063;border-radius:12px;background:#0c0d19;
}
#profile .profile-wall-discussion[hidden]{display:none!important}
#profile .profile-wall-comment-list{display:grid;gap:.55rem}
#profile .profile-wall-comment{
 display:grid;gap:.25rem;min-width:0;
 border-left:2px solid color-mix(in srgb,var(--profile-accent,#b25b68) 60%,#c7a77c);
 padding:.55rem .75rem;background:#191629;border-radius:0 9px 9px 0;
}
#profile .profile-wall-comment-author{
 color:#c7a77c;font-size:.82rem;font-weight:900;text-decoration:none;
}
#profile .profile-wall-comment small{font-size:.67rem;color:#b8aacb}
#profile .profile-wall-comment p{font-size:.83rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#f0e9f5}
#profile .profile-wall-comment :is(button){justify-self:start}
#profile .profile-wall-comment-form{display:grid;gap:.55rem;margin:0}
#profile .profile-wall-comment-form button{justify-self:end;min-height:44px}
#profile .profile-wall-comment-form textarea{min-height:70px}
#profile .profile-wall-edit{display:grid;gap:.6rem;margin:0}
#profile .profile-wall-edit-actions select{width:auto;flex:1 1 130px;max-width:240px;min-height:42px;padding:.55rem}
#profile .profile-wall-edit-actions button{min-height:42px}
#profile .profile-wall-status,#profile .profile-wall-action-status,
#profile .profile-wall-empty,#profile .profile-wall-signin{
 color:#c5bbd6;font-size:.8rem;line-height:1.6;overflow-wrap:anywhere;
}
#profile .profile-wall-action-status:empty,#profile .profile-wall-status:empty{display:none}
#profile .profile-wall-footer{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem;
}
#profile .profile-wall-footer button{min-height:44px}
#profile .profile-wall-footer button[hidden]{display:none!important}
#profile .profile-wall button:disabled{cursor:wait;opacity:.6}
@media(max-width:660px){
 #profile .profile-wall{padding:.75rem;border-radius:13px;gap:.75rem}
 #profile .profile-wall-post{padding:.85rem}
 #profile .profile-wall-compose-bottom{align-items:stretch}
 #profile .profile-wall-privacy{max-width:none;flex:1 1 100%}
 #profile .profile-wall-composer button{width:100%}
 #profile .profile-wall-reactions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 #profile .profile-wall-reactions button{padding:.5rem .25rem;font-size:.72rem;white-space:normal}
 #profile .profile-wall-comments-toggle{flex:1 1 100%}
 #profile .profile-wall-owner-actions{width:100%}
}
@media(prefers-reduced-motion:reduce){
 #profile .profile-wall *{animation:none!important;transition:none!important}
}

/* Member-submitted reports enter the existing staff safety queue. */
#profile .profile-wall-report-toggle{
 min-height:40px;padding:.5rem .7rem;margin-left:auto;
 border:1px solid #5b415f;border-radius:10px;background:#1a1726;
 color:#ddcbdc;font-family:inherit;font-size:.75rem;line-height:1.25;font-weight:800;cursor:pointer;
}
#profile .profile-wall-report-toggle:hover{
 color:#c7a77c;border-color:#c7a77c;
}
#profile .profile-wall-report-form{
 display:grid;gap:.75rem;margin:0;padding:1rem;
 border:1px solid #79506b;border-radius:12px;
 background:linear-gradient(140deg,#1f1629,#10111e);
}
#profile .profile-wall-report-form[hidden]{display:none!important}
#profile .profile-wall-report-form>strong{font-size:.9rem;color:#fff0fa}
#profile .profile-wall-report-form label{
 display:grid;gap:.38rem;font-size:.77rem;font-weight:800;color:#d5c8e5;
}
#profile .profile-wall-report-form textarea{min-height:68px}
#profile .profile-wall-report-actions{
 display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;
}
#profile .profile-wall-report-actions>*{min-height:44px}
#profile .profile-wall-report-form button[hidden]{display:none!important}
@media(max-width:660px){
 #profile .profile-wall-report-toggle{margin-left:0;flex:1 1 100%}
 #profile .profile-wall-report-actions>*{flex:1 1 125px}
}

/* Private member bookmark shelf */
#profile .profile-wall-save{
  min-height:40px;padding:.5rem .75rem;
  border:1px solid color-mix(in srgb,var(--profile-accent,#b25b68) 38%,#504060);
  border-radius:10px;background:#1a1629;color:#e4d9f3;
  font-family:inherit;font-size:.75rem;font-weight:850;cursor:pointer;
}
#profile .profile-wall-save[aria-pressed="true"]{
  background:#29231b;border-color:#c7a77c;color:#c7a77c;
}
#profile .profile-wall-save:hover{border-color:#c7a77c;color:#c7a77c}
#profile .profile-wall-saved{
  border-color:color-mix(in srgb,var(--profile-accent,#b25b68) 20%,#c7a77c);
}
#profile .profile-wall-saved-list{display:grid;gap:.7rem;min-width:0}
#profile .profile-wall-saved-item{
  display:grid;gap:.55rem;min-width:0;padding:.95rem;
  border:1px solid #524062;border-radius:12px;
  background:linear-gradient(150deg,#171427,#101120);
}
#profile .profile-wall-saved-top{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.65rem;
}
#profile .profile-wall-saved-author{
  color:#c7a77c;text-decoration:none;font-weight:900;overflow-wrap:anywhere;
}
#profile .profile-wall-saved-author small{
  display:block;color:#bcaed0;font-size:.7rem;font-weight:600;
}
#profile .profile-wall-saved-date{
  color:#b4a6c2;font-size:.7rem;
}
#profile .profile-wall-saved-list .profile-wall-subtle{
  min-height:42px;border:1px solid #675073;border-radius:9px;
  background:#1f1930;color:#f2e5f7;padding:.5rem .75rem;
  font-family:inherit;font-size:.76rem;font-weight:800;cursor:pointer;
}
#profile .profile-wall-saved-list .profile-wall-subtle:hover{
  color:#c7a77c;border-color:#c7a77c;
}
#profile .profile-wall-saved-list a:focus-visible,
#profile .profile-wall-saved-list button:focus-visible{
  outline:2px solid #c7a77c;outline-offset:3px;
}
#profile .profile-wall-saved [aria-live="polite"]{color:#c7a77c}
@media(max-width:660px){
  #profile .profile-wall-save{flex:1 1 100%}
  #profile .profile-wall-saved-top{align-items:stretch}
  #profile .profile-wall-saved-top button{flex:1 1 100%}
}

/* Highlight the precise post opened from a notification, even when older than page one. */
#profile .profile-wall-post-target{
  outline:2px solid #c7a77c;outline-offset:3px;
  box-shadow:0 0 0 5px #c7a77c22,0 12px 32px #0008;
  scroll-margin-top:7rem;
}
#profile .profile-wall-post-target:focus{outline:2px solid #c7a77c}
