/* NgideIn Social beside the game (auth.ngide.in/client/ngidein-social.js
   draws the board), in Dragon City's colors: a pale-blue board in a blue
   frame, orange tabs, like the game's own popups. Also the small pieces
   the bar and the store share. */

.social {
  display: flex;
  flex-direction: column;
  min-height: 0;
  --ns-frame-top: var(--panel);
  --ns-frame: var(--panel-deep);
  --ns-frame-bottom: #a9d1f2;
  --ns-frame-highlight: var(--gold);
  --ns-ink: var(--ink);
  --ns-card: #ffffff;
  --ns-chip: #d8ebfb;
  --ns-strong: #ff9a1f;
  --ns-on-strong: var(--ink);
  --ns-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--panel);
  font-weight: 600;
}

.avatar {
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #ffd65c, #ff7a1a);
  color: var(--ink);
  font-weight: 900;
}

.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar--small { width: 30px; height: 30px; font-size: 13px; }

.side-note { margin: 10px 0; color: var(--panel-text); font-size: 13px; font-weight: 600; text-align: center; }
.side-note:empty { display: none; }

.mini-btn {
  height: 28px;
  padding: 0 9px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: 800 12px system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--ink);
}

.mini-btn:hover { background: #e3f2ff; }
.mini-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.mini-btn--primary { background: linear-gradient(180deg, #8ee060 0%, var(--leaf) 55%, var(--leaf-dark) 100%); color: #fff; text-shadow: 0 1px 0 var(--ink); }
.mini-btn--primary:hover { background: linear-gradient(180deg, #a2ec74 0%, #6fd045 55%, var(--leaf-dark) 100%); }
