/* Sosyal Aşama 3: Genel Profil penceresi (#profileModal). Açık zemin (.modalbox #f4f8fa). */
#profileModal .modalbox{width:min(560px,100%);max-height:90vh;display:flex;flex-direction:column}
#profileBody{font-family:Arial,sans-serif;padding:6px 2px}
.prof-head{display:flex;align-items:center;gap:12px;padding:4px 2px 8px}
.prof-avi{width:72px;height:72px;border-radius:12px;object-fit:cover;border:3px solid #d5b66b;flex:0 0 auto;background:#fff}
.prof-hm{display:flex;flex-direction:column;gap:2px;min-width:0}
.prof-nick{font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prof-rank{font-size:13px;color:#45227e;font-weight:bold}
.prof-st{font-size:13px;color:#333}.prof-st small{color:#777}
.prof-on{color:#18a043;font-weight:bold}.prof-off{color:#999}
.prof-fr{font-size:12px;color:#1d6b3a}
.prof-acts{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 10px}
.prof-acts:empty{display:none}
.prof-b{box-sizing:border-box;min-width:0;font:bold 13px Arial,sans-serif;padding:7px 11px;border-radius:7px;border:1px solid #b9c3c8;background:#fff;color:#222;cursor:pointer}
.prof-b:hover{background:#eef3f6}
.prof-b.ok{background:#1f8f4c;border-color:#1a7a40;color:#fff}.prof-b.ok:hover{background:#1a7a40}
.prof-b.no{color:#b3261e;border-color:#e2b3af}
.prof-sum{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:10px}
.prof-sum>div{background:#fff;border:1px solid #d8e0e4;border-radius:8px;padding:7px 4px;text-align:center;min-width:0}
.prof-sum b{display:block;font-size:16px;white-space:nowrap}
.prof-sum span{display:block;font-size:11px;color:#666}
.prof-sum .prof-pts{display:flex;justify-content:center}
.prof-h{margin:8px 2px 5px;font-size:13px;color:#45227e;text-transform:uppercase;letter-spacing:.3px}
.prof-tw{overflow-x:auto}
.prof-tbl{width:100%;border-collapse:collapse;background:#fff;border:1px solid #d8e0e4;border-radius:8px;font-size:13px}
.prof-tbl th,.prof-tbl td{padding:6px 7px;border-bottom:1px solid #e6ecef;text-align:right;white-space:nowrap}
.prof-tbl th:first-child{text-align:left}
.prof-tbl thead th{font-size:11px;color:#666;background:#f0f4f6}
.prof-tbl tbody tr:last-child th,.prof-tbl tbody tr:last-child td{border-bottom:0}
.prof-tbl tr.prof-zero td,.prof-tbl tr.prof-zero th{color:#aaa}
.prof-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.prof-badge{display:inline-flex;align-items:center;gap:5px;background:#fff8e1;border:1px solid #e9cf7e;color:#5b4300;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:bold}
.prof-badge i{font-style:normal}
.prof-none{font-size:12px;color:#777}
#profileBody .prof-grid{font-size:13px;margin-top:4px}
@media (max-width:520px){
  .prof-avi{width:60px;height:60px}
  .prof-sum{grid-template-columns:repeat(4,1fr)}
  .prof-sum>div:first-child{grid-column:span 4}
  .prof-b{flex:1 1 calc(50% - 6px);padding:8px 6px}
  .prof-tbl th,.prof-tbl td{padding:6px 4px}
}
