/* My Account overlay — loaded after dashboard.css. Same modal look. */

/* ─── My Account: profile hero + sub-section panes ───────────────────────── */
.acct-hero{
  display:flex; align-items:center; gap:16px; position:relative;
  padding:20px 22px; margin-bottom:22px; border-radius:18px;
  background:linear-gradient(180deg, rgba(232,25,44,0.08), rgba(20,23,31,0.6));
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.05);
}
.acct-hero-av{
  width:64px; height:64px; border-radius:50%; flex-shrink:0; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  font-size:24px; font-weight:800; color:#fff;
  background:linear-gradient(135deg, var(--crimson), #7B0000);
  box-shadow:0 0 0 3px rgba(255,255,255,0.1), 0 8px 22px -8px rgba(232,25,44,0.7);
}
.acct-hero-av img{ width:100%; height:100%; object-fit:cover; }
.acct-hero-meta{ flex:1; min-width:0; }
.acct-hero-name{ font-family:'DM Sans',sans-serif; font-size:22px; font-weight:800; letter-spacing:.3px; color:#fff; line-height:1.1; }
.acct-hero-tag{ font-size:13px; color:var(--text-muted); font-family:'JetBrains Mono',monospace; margin-top:2px; }
.acct-hero-badge{
  display:inline-block; margin-top:8px; font-size:10px; font-weight:800; letter-spacing:1px;
  padding:3px 10px; border-radius:999px; font-family:'JetBrains Mono',monospace;
  background:rgba(255,255,255,0.06); color:var(--text-muted); border:1px solid rgba(255,255,255,0.12);
}
.acct-hero-badge.is-premium{
  background:var(--grad-gold); color:#241a00; border-color:transparent;
  box-shadow:0 0 16px -4px rgba(255,215,0,0.6);
}
.acct-hero-x{
  position:absolute; top:16px; right:18px; width:32px; height:32px; border-radius:9px;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  color:var(--text-muted); font-size:20px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:all .15s var(--ease);
}
.acct-hero-x:hover{ background:rgba(232,25,44,0.15); border-color:rgba(232,25,44,0.4); color:#ff6b78; }

/* Section panes — no fill-mode (avoids the pane getting stuck at opacity:0
   when revealed after being hidden). */
.acct-pane{ display:none; }
.acct-pane.active{ display:block; animation:fadeUp .25s var(--ease); }
.acct-pane .config-panel + .config-panel,
.acct-pane #account-transfers-panel,
.acct-pane > .config-panel ~ .config-panel{ margin-top:20px; }

/* Key/value rows (Account pane) */
.acct-kv{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:13px 2px; border-bottom:1px solid var(--border-2, rgba(255,255,255,0.06));
}
.acct-kv:last-of-type{ border-bottom:none; }
.acct-kv-k{ font-size:12px; color:var(--text-muted); font-weight:600; letter-spacing:.3px; }
.acct-kv-v{ font-size:13px; color:var(--text); font-weight:600; text-align:right; }
.acct-mono{ font-family:'JetBrains Mono',monospace; font-weight:500; }

/* Reward / link rows (Rewards + About panes) */
.acct-reward{
  display:flex; align-items:center; gap:14px; text-decoration:none;
  padding:14px 16px; border-radius:12px; margin-bottom:10px;
  background:linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border:1px solid rgba(255,255,255,0.08);
  transition:transform .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.acct-reward:last-child{ margin-bottom:0; }
.acct-reward:hover{ transform:translateY(-2px); border-color:rgba(232,25,44,0.35); box-shadow:0 16px 32px -22px rgba(0,0,0,0.9); }
.acct-reward-ic{
  width:42px; height:42px; border-radius:11px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:19px;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
}
.acct-reward-info{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.acct-reward-title{ font-size:14px; font-weight:700; color:var(--text); }
.acct-reward-desc{ font-size:12px; color:var(--text-muted); }
.acct-reward-ext{ color:var(--text-dim); font-size:15px; flex-shrink:0; }
.acct-reward:hover .acct-reward-ext{ color:var(--crimson-2); }
.acct-reward-note{
  margin-top:14px; padding:12px 16px; border-radius:10px; font-size:12px; color:var(--text);
  background:linear-gradient(135deg, rgba(255,215,0,0.06), rgba(232,25,44,0.04));
  border:1px solid rgba(255,215,0,0.18); line-height:1.5;
}
/* ─── My Account modal ───────────────────────────────────────────────────── */
/* My Account is an OVERLAY. It was briefly a full page on 2026-09-06 and
   reverted the same day: an overlay keeps you where you were rather than
   throwing away your place in the dashboard. */
.acct-modal-overlay{
  position:fixed; inset:0; z-index:200; display:none;
  align-items:center; justify-content:center; padding:24px;
  background:rgba(4,5,8,0.72);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.acct-modal{
  width:min(1080px, 96vw); height:min(780px, 90vh); max-height:90vh;
  display:flex; flex-direction:column;
  border-radius:22px; overflow:hidden; position:relative;
  background:linear-gradient(180deg, rgba(22,26,34,0.98), rgba(12,14,20,0.99));
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 40px 100px -30px rgba(0,0,0,0.92), 0 0 0 1px rgba(232,25,44,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  animation:acctPop .22s var(--ease);
}
@keyframes acctPop{ from{ transform:translateY(14px) scale(.985); opacity:0; } to{ transform:none; opacity:1; } }
.acct-modal-head{
  display:flex; align-items:center; gap:16px; position:relative; flex-shrink:0;
  padding:22px 24px; border-bottom:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(180deg, rgba(232,25,44,0.08), transparent);
}
.acct-modal-head .acct-hero-meta{ flex:1; min-width:0; }
.acct-modal-close{
  position:absolute; top:18px; right:20px; width:34px; height:34px; border-radius:10px;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  color:var(--text-muted); font-size:22px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:all .15s var(--ease);
}
.acct-modal-close:hover{ background:rgba(232,25,44,0.18); border-color:rgba(232,25,44,0.45); color:#ff6b78; }
.acct-modal-body{ display:flex; min-height:0; flex:1; }
.acct-modal-nav{
  flex:0 0 220px; padding:16px 12px; overflow-y:auto;
  border-right:1px solid rgba(255,255,255,0.07); background:rgba(0,0,0,0.22);
}
.acct-modal-nav .nav-item{ margin-bottom:2px; padding:10px 12px; border-radius:11px; }
.acct-modal-content{ flex:1; min-width:0; padding:22px 24px; overflow-y:auto; }
.acct-modal-content > .acct-pane{ max-width:980px; }
.acct-modal-content .config-panel{ background:transparent !important; border:none !important; box-shadow:none !important; }
.acct-modal-content .config-panel::before{ display:none; }
.acct-modal-content .cp-head{ padding-left:0; padding-right:0; }
.acct-modal-content .cp-body{ padding-left:0; padding-right:0; }
@media (max-width:720px){
  .acct-modal{ width:100%; max-height:92vh; }
  .acct-modal-body{ flex-direction:column; }
  .acct-modal-nav{ flex:0 0 auto; display:flex; gap:6px; overflow-x:auto; white-space:nowrap;
    border-right:none; border-bottom:1px solid rgba(255,255,255,0.07); }
  .acct-modal-nav .nav-sep{ display:none; }
}
.acct-st-tabs{
  display:flex; gap:4px; padding:4px; margin-bottom:12px;
  width:fit-content; max-width:100%;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
}
.acct-st-tab{
  appearance:none; border:1px solid transparent; cursor:pointer;
  padding:8px 14px; border-radius:9px;
  font-family:'DM Sans',sans-serif; font-size:13px; font-weight:700;
  color:var(--text-muted); background:transparent;
  display:inline-flex; align-items:center; gap:8px;
}
.acct-st-tab:hover{ color:var(--text); background:rgba(255,255,255,0.04); }
.acct-st-tab.active{
  color:#fff;
  background:rgba(232,25,44,0.18);
  border-color:rgba(232,25,44,0.45);
}
.acct-st-count{
  min-width:18px; padding:1px 7px; border-radius:999px;
  font-size:11px; font-weight:800; line-height:1.4;
  background:rgba(232,25,44,0.22); color:#ff8a94;
}
.acct-kv-card{
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px; overflow:hidden;
  background:rgba(255,255,255,0.02);
}
.acct-kv-card .acct-kv{ padding:14px 16px; margin:0; }
.acct-kv-card .acct-kv + .acct-kv{ border-top:1px solid rgba(255,255,255,0.06); }
.acct-pane-hint{
  font-size:12px; color:var(--text-muted); margin-top:16px; line-height:1.6;
}
.acct-pane-hint a{ color:var(--crimson-2); font-weight:700; text-decoration:none; }
.acct-pane-hint a:hover{ text-decoration:underline; }


/* Professional slots list. Reuses .mod-list / .mod-card from the Records tab so
   a slot row looks like every other record row in the dashboard. */
.acct-slot-row{ display:flex; align-items:center; gap:12px; padding:12px 14px; background:var(--surface-2); border-radius:10px; margin-bottom:8px; }
.acct-slot-name{ flex:1; min-width:0; color:var(--text); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.acct-slot-id{ font-family:'JetBrains Mono',monospace; font-size:10.5px; color:var(--text-dim); }
.acct-slot-empty{ opacity:.5; font-style:italic; }
@media (max-width:820px){
  .acct-modal-body{ flex-direction:column; }
  .acct-modal-nav{ display:flex; overflow-x:auto; gap:4px; }
  .acct-modal-nav .nav-item{ white-space:nowrap; }
}
