/* Member profile — game_tgn_0044 Atlas Desk */

.g44-profile-page {
  flex: 1;
}

.g44-profile-panel { display: none; }
.g44-profile-panel.active { display: block; width: 100%; }

.g44-btn-remove,
.g44-btn-clear,
.g44-btn-load-more,
.g44-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.g44-btn-remove {
  color: #1c1917;
  background: transparent;
}
.g44-btn-remove:hover {
  color: #fff;
  background: #dc2626;
  border-color: #dc2626;
}
.g44-btn-remove--inline {
  width: auto;
  margin-top: 0;
  margin-left: 8px;
}

.g44-btn-clear {
  color: #c2410c;
  background: transparent;
  border-color: rgba(28,25,23,0.12);
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
}
.g44-btn-clear:hover {
  color: #fff;
  background: #c2410c;
  border-color: #c2410c;
}

.g44-btn-load-more {
  width: 100%;
  margin-top: 1rem;
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
}
.g44-btn-load-more:hover {
  filter: brightness(1.06);
}

.g44-btn-secondary {
  color: #1c1917;
  background: transparent;
}
.g44-btn-secondary:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.g44-loading[hidden],
.g44-empty-state[hidden],
.g44-btn-load-more[hidden],
.g44-btn-remove--inline[hidden] {
  display: none !important;
}

/* Profile grids: multi-column cards (base layout in styles.css) */
.g44-game-grid .g44-ranked-thumb {
  color: inherit;
  text-decoration: none;
}
.g44-game-grid .g44-ranked-thumb:hover {
  color: inherit;
}
.g44-game-grid .game-title,
.g44-game-grid .card-title {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1c1917;
}
.g44-game-grid .game-title a {
  color: inherit;
  text-decoration: none;
}
.g44-game-grid .special-card-content,
.g44-game-grid .g44-ranked-body {
  padding: 12px 14px 16px;
}

.g44-profile-form .g44-btn-primary {
  margin-top: 8px;
}

.g44-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.g44-avatar-actions .g44-btn-secondary,
.g44-avatar-actions label.g44-btn {
  cursor: pointer;
  margin: 0;
}

#confirmOverlay[aria-hidden="true"] { display: none; }
#confirmOverlay[aria-hidden="false"] {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 210;
  align-items: center;
  justify-content: center;
  background: rgba(26,35,50,0.45);
  padding: 16px;
}

.g44-confirm-modal {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
  background: #fffdf8;
  color: #1c1917;
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 4px;
  text-align: center;
}
.g44-confirm-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 800;
  color: #1c1917;
}
.g44-confirm-desc {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: #57534e;
}
.g44-confirm-actions { display: flex; gap: 10px; }
.g44-confirm-cancel,
.g44-confirm-ok {
  flex: 1;
  min-height: 44px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 4px;
}
.g44-confirm-cancel {
  background: transparent;
  color: #1c1917;
}
.g44-confirm-cancel:hover {
  border-color: #0f766e;
  color: #0f766e;
}
.g44-confirm-ok {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}
.g44-confirm-ok:hover { filter: brightness(1.06); }

/* Toast */
.g44-toast {
  position: fixed;
  top: 20px;
  bottom: auto;
  left: 50%;
  right: auto;
  width: max-content;
  max-width: min(420px, 90vw);
  height: auto;
  transform: translateX(-50%) translateY(-120%);
  z-index: 40000;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.28s ease;
  pointer-events: none;
}
.g44-toast.show {
  transform: translateX(-50%) translateY(0);
}
.g44-toast.success {
  color: #ffffff;
  background: #0f766e;
  border-color: #0f766e;
}
.g44-toast.error {
  color: #fecaca;
  background: #3f1515;
  border-color: #f87171;
}
.g44-toast.warning {
  color: #1c1400;
  background: #b45309;
  border-color: #b45309;
}
