/* ==========================================================
   BATTLE MVP — FRIENDS & SOCIAL HUB
   Same style language as match page
   ========================================================== */

:root {
  --acc:  #00ffa6;
  --acc2: #00cfff;
  --ora:  #ff6b2b;
  --bg:   #060d0f;
  --c1:   #081018;
  --c2:   #0a141e;
  --sep:  rgba(255,255,255,.06);
  --bdr:  rgba(0,255,166,.1);
  --mut:  #3a5566;
  --txt:  #eaf1ff;
  --r:    10px;
  --f1:   'Barlow Condensed', sans-serif;
}

.fr * { box-sizing: border-box; }
.fr { display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================
   LOGIN WALL
   ========================================================== */

.fr-login-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 60px 20px;
  border-radius: var(--r);
  background: var(--c1);
  border: 1px solid var(--sep);
}

.fr-lw-icon { font-size: 48px; opacity: .5; }
.fr-lw-title { font-size: 20px; font-weight: 800; color: #fff; }
.fr-lw-sub { font-size: 13px; color: var(--mut); max-width: 340px; }

.fr-lw-btn {
  padding: 10px 24px; border-radius: 9px;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  color: #001a0f; font-weight: 800; font-size: 14px;
  text-decoration: none; transition: all .2s;
}

.fr-lw-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,255,166,.35); }

/* ==========================================================
   STRIP
   ========================================================== */

.fr-strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 16px;
  border-radius: var(--r);
  background: var(--c1);
  border: 1px solid var(--sep);
  flex-wrap: wrap;
  gap: 8px;
}

.fr-strip-item { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; padding: 0 16px; }
.fr-strip-sep  { width: 1px; height: 28px; background: var(--sep); flex-shrink: 0; }

.fr-strip-val { font-family: var(--f1); font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.fr-strip-lbl { font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--mut); text-transform: uppercase; margin-top: 1px; }

.fr-strip-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}

.fr-strip-search input {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--sep);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--txt);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}

.fr-strip-search input:focus { border-color: rgba(0,255,166,.35); }
.fr-strip-search input::placeholder { color: var(--mut); }

.fr-strip-search button {
  padding: 7px 14px;
  border-radius: 7px;
  background: var(--acc);
  color: #001a0f;
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: pointer;
  transition: all .15s;
}

.fr-strip-search button:hover { box-shadow: 0 4px 14px rgba(0,255,166,.35); }

/* ==========================================================
   PENDING BANNER
   ========================================================== */

.fr-pending-banner {
  padding: 12px 14px;
  border-radius: var(--r);
  background: rgba(251,191,36,.05);
  border: 1px solid rgba(251,191,36,.2);
}

.fr-pb-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fbbf24;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fr-pb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  animation: fr-blink 1s ease-in-out infinite;
}

.fr-pb-list { display: flex; flex-wrap: wrap; gap: 8px; }

.fr-pb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--sep);
}

.fr-pb-av { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.fr-pb-nm { font-size: 12px; font-weight: 700; color: var(--txt); }
.fr-pb-dt { font-size: 9px; color: var(--mut); }

.fr-pb-acts { display: flex; gap: 5px; }

.fr-pb-acc {
  padding: 4px 10px; border-radius: 5px;
  background: rgba(0,255,166,.12); border: 1px solid rgba(0,255,166,.25);
  color: var(--acc); font-size: 11px; font-weight: 700; cursor: pointer; transition: all .15s;
}

.fr-pb-acc:hover { background: rgba(0,255,166,.22); }

.fr-pb-dec {
  padding: 4px 8px; border-radius: 5px;
  background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.2);
  color: #f87171; font-size: 11px; font-weight: 700; cursor: pointer; transition: all .15s;
}

.fr-pb-dec:hover { background: rgba(248,113,113,.18); }

/* ==========================================================
   MAIN GRID
   ========================================================== */

.fr-grid {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  gap: 12px;
  align-items: start;
}

/* ==========================================================
   CARD BASE
   ========================================================== */

.fr-card {
  background: var(--c1);
  border: 1px solid var(--sep);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s;
}

.fr-card:hover { border-color: rgba(0,255,166,.09); }

.fr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fr-card-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--mut);
  text-transform: uppercase;
}

.fr-card-sub { font-size: 10px; color: var(--mut); margin-top: 1px; }

.fr-card-link {
  font-size: 9px;
  font-weight: 700;
  color: var(--acc);
  text-decoration: none;
  opacity: .7;
  transition: opacity .15s;
}

.fr-card-link:hover { opacity: 1; }

/* ==========================================================
   PARTY COLUMN
   ========================================================== */

.fr-party-col { display: flex; flex-direction: column; gap: 12px; }

.party-card { border-color: rgba(0,255,166,.12); }
.chat-card  { flex: 1; }

/* BUTTONS */
.fr-btn-create {
  padding: 6px 12px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  color: #001a0f;
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.fr-btn-create.big {
  width: 100%;
  padding: 11px;
  font-size: 13px;
  margin-top: 8px;
  border-radius: 8px;
}

.fr-btn-create:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,255,166,.35); }

.fr-btn-leave {
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(248,113,113,.08);
  border: 1px solid rgba(248,113,113,.2);
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}

.fr-btn-leave:hover { background: rgba(248,113,113,.18); }

/* PARTY MEMBERS */
.fr-party-members { display: flex; flex-direction: column; gap: 6px; }

.fr-pm {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sep);
  transition: border-color .15s;
}

.fr-pm.me {
  border-color: rgba(0,255,166,.2);
  background: rgba(0,255,166,.04);
}

.fr-pm-av-wrap { position: relative; flex-shrink: 0; }

.fr-pm-av {
  width: 32px; height: 32px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
}

.fr-pm-crown {
  position: absolute;
  top: -6px; right: -6px;
  font-size: 12px;
  filter: drop-shadow(0 0 4px rgba(245,158,11,.5));
}

.fr-pm-info { flex: 1; min-width: 0; }

.fr-pm-nm {
  font-size: 12px;
  font-weight: 700;
  color: var(--txt);
  display: flex;
  align-items: center;
  gap: 5px;
}

.fr-pm-rank { font-size: 9px; margin-top: 1px; }

.fr-pm-kick {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(248,113,113,.08);
  border: 1px solid rgba(248,113,113,.18);
  color: #f87171;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
}

.fr-pm-kick:hover { background: rgba(248,113,113,.2); }

/* EMPTY SLOTS */
.fr-pm-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,.07);
}

.fr-pm-slot {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}

.fr-pm-empty span { font-size: 11px; color: var(--mut); flex: 1; }

.fr-pm-inv {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(0,255,166,.1);
  border: 1px solid rgba(0,255,166,.2);
  color: var(--acc);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
}

.fr-pm-inv:hover { background: rgba(0,255,166,.2); }

/* PARTY ACTIONS */
.fr-party-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.fr-pa-btn {
  flex: 1;
  padding: 9px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  color: #001a0f;
  font-size: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.fr-pa-btn:not(.primary) {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--sep);
  color: var(--txt);
}

.fr-pa-btn:hover { transform: translateY(-1px); }
.fr-pa-btn.primary:hover { box-shadow: 0 6px 18px rgba(0,255,166,.35); }

.fr-pa-inv-btn {
  width: 100%;
  padding: 7px;
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(0,255,166,.25);
  color: var(--acc);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}

.fr-pa-inv-btn:hover { background: rgba(0,255,166,.07); }

/* NO PARTY */
.fr-no-party {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  text-align: center;
}

.fr-np-icon { font-size: 32px; opacity: .4; }
.fr-np-title { font-size: 14px; font-weight: 700; color: rgba(234,241,255,.6); }
.fr-np-sub { font-size: 11px; color: var(--mut); }

/* ==========================================================
   PARTY CHAT
   ========================================================== */

.fr-chat-actions { display: flex; gap: 4px; }

.fr-chat-ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--sep);
  color: var(--mut);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
}

.fr-chat-ico:hover { background: rgba(255,255,255,.08); color: var(--txt); }

.fr-chat-msgs {
  height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.08) transparent;
  padding-right: 2px;
}

.fr-chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 6px;
  text-align: center;
  color: var(--mut);
  font-size: 12px;
}

.fr-chat-empty > div:first-child { font-size: 24px; opacity: .4; }

.fr-chat-sys {
  text-align: center;
  font-size: 10px;
  color: var(--mut);
  padding: 4px;
  background: rgba(255,255,255,.02);
  border-radius: 5px;
}

.fr-chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.fr-chat-msg.me { flex-direction: row-reverse; }

.fr-chat-av {
  width: 26px; height: 26px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.fr-chat-bubble {
  max-width: 75%;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--sep);
}

.fr-chat-msg.me .fr-chat-bubble {
  background: rgba(0,255,166,.1);
  border-color: rgba(0,255,166,.2);
}

.fr-chat-nm { font-size: 9px; font-weight: 700; color: var(--acc); margin-bottom: 2px; }

.fr-chat-txt { font-size: 12px; color: var(--txt); line-height: 1.4; }

.fr-chat-ts { font-size: 8px; color: var(--mut); margin-top: 3px; text-align: right; }

/* CHAT INPUT */
.fr-chat-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fr-chat-input > input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--sep);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--txt);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}

.fr-chat-input > input:focus { border-color: rgba(0,255,166,.35); }
.fr-chat-input > input::placeholder { color: var(--mut); }

.fr-chat-emojis {
  display: flex;
  gap: 4px;
  align-items: center;
}

.fr-chat-emojis button {
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--sep);
  color: var(--txt);
  font-size: 11px;
  cursor: pointer;
  transition: all .12s;
}

.fr-chat-emojis button:hover { background: rgba(0,255,166,.08); border-color: rgba(0,255,166,.2); }

.fr-chat-send {
  padding: 7px 16px;
  border-radius: 7px;
  background: var(--acc);
  color: #001a0f;
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: pointer;
  transition: all .15s;
  align-self: flex-end;
}

.fr-chat-send:hover { box-shadow: 0 4px 14px rgba(0,255,166,.35); }

/* ==========================================================
   FRIENDS COLUMN
   ========================================================== */

.fr-friends-col { display: flex; flex-direction: column; gap: 0; }

/* TABS */
.fr-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--sep);
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fr-tabs::-webkit-scrollbar { display: none; }

.fr-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mut);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color .15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.fr-tab:hover { color: rgba(234,241,255,.7); }

.fr-tab.active { color: var(--txt); }

.fr-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 2px;
  background: var(--acc);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 6px var(--acc);
}

.fr-tb {
  font-size: 9px; font-weight: 800;
  padding: 1px 5px; border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: var(--mut);
}

.fr-tb.alert { background: rgba(251,191,36,.15); color: #fbbf24; }

.fr-panel { display: none; }
.fr-panel.active { display: block; }

/* GROUP */
.fr-group { margin-bottom: 14px; }

.fr-group-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--mut);
  text-transform: uppercase;
  margin-bottom: 6px;
  padding: 0 2px;
}

/* FRIEND CARD */
.fr-friend-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.04);
  margin-bottom: 5px;
  transition: all .15s;
}

.fr-friend-card:hover { background: rgba(255,255,255,.04); border-color: var(--sep); }

.fr-friend-card.online { border-color: rgba(0,255,166,.08); }
.fr-friend-card.online:hover { border-color: rgba(0,255,166,.18); }

.fr-fc-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }

.fr-fc-av-wrap { position: relative; flex-shrink: 0; }

.fr-fc-av {
  width: 38px; height: 38px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

.fr-fc-presence {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.fr-fc-presence.online  { background: var(--acc); box-shadow: 0 0 6px var(--acc); }
.fr-fc-presence.away    { background: #fbbf24; }
.fr-fc-presence.offline { background: var(--mut); }

.fr-fc-info { flex: 1; min-width: 0; }

.fr-fc-nm {
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fr-fc-fl { width: 13px; height: 9px; border-radius: 1px; object-fit: cover; }

.fr-fc-status { font-size: 10px; color: var(--mut); margin-top: 1px; }
.fr-fc-rank   { font-size: 10px; margin-top: 1px; }

.fr-fc-right { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }

/* ACTION BUTTONS */
.fr-fc-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid;
  transition: all .12s;
  text-decoration: none;
  white-space: nowrap;
}

.fr-fc-btn.watch  { background: rgba(0,255,166,.1);  border-color: rgba(0,255,166,.25);  color: var(--acc); }
.fr-fc-btn.invite { background: rgba(0,207,255,.08); border-color: rgba(0,207,255,.2);   color: var(--acc2); }
.fr-fc-btn.msg    { background: rgba(255,255,255,.05); border-color: var(--sep);          color: var(--mut); }
.fr-fc-btn.rem    { background: rgba(248,113,113,.06); border-color: rgba(248,113,113,.15); color: #f87171; }
.fr-fc-btn.sm     { padding: 2px 7px; font-size: 9px; }

.fr-fc-btn:hover { filter: brightness(1.2); transform: translateY(-1px); }

/* EMPTY STATE */
.fr-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 16px;
  text-align: center;
}

.fr-empty-state > div:first-child { font-size: 32px; opacity: .4; }
.fr-empty-state > div:nth-child(2) { font-size: 14px; font-weight: 700; color: rgba(234,241,255,.5); }
.fr-empty-state > div:nth-child(3) { font-size: 11px; color: var(--mut); }

.fr-es-btn {
  padding: 7px 16px;
  border-radius: 7px;
  background: rgba(0,255,166,.1);
  border: 1px solid rgba(0,255,166,.2);
  color: var(--acc);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: all .15s;
}

.fr-es-btn:hover { background: rgba(0,255,166,.18); }

/* REQUEST CARD */
.fr-req-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sep);
  margin-bottom: 6px;
}

.fr-req-card.pending { opacity: .7; }

.fr-req-av { width: 32px; height: 32px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.fr-req-info { flex: 1; min-width: 0; }
.fr-req-nm { font-size: 13px; font-weight: 700; color: var(--txt); }
.fr-req-dt { font-size: 9px; color: var(--mut); margin-top: 1px; }
.fr-req-acts { display: flex; gap: 5px; }

/* ==========================================================
   DISCOVER
   ========================================================== */

.fr-disc-header { margin-bottom: 12px; }
.fr-disc-title  { font-size: 13px; font-weight: 700; color: var(--txt); }
.fr-disc-sub    { font-size: 10px; color: var(--mut); margin-top: 2px; }

.fr-disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.fr-disc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sep);
  text-align: center;
  transition: all .2s;
}

.fr-disc-card:hover {
  border-color: rgba(0,255,166,.2);
  background: rgba(0,255,166,.04);
  transform: translateY(-2px);
}

.fr-disc-av {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.fr-disc-online-dot {
  position: absolute;
  top: 10px; right: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 6px var(--acc);
}

.fr-disc-nm { font-size: 11px; font-weight: 700; color: var(--txt); }
.fr-disc-rank { font-size: 9px; font-weight: 700; }
.fr-disc-elo { font-size: 10px; color: var(--mut); }

.fr-disc-flag img { margin-top: 2px; }

.fr-disc-add {
  width: 100%;
  padding: 5px;
  border-radius: 6px;
  background: rgba(0,255,166,.1);
  border: 1px solid rgba(0,255,166,.2);
  color: var(--acc);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all .12s;
  margin-top: 2px;
}

.fr-disc-add:hover { background: rgba(0,255,166,.2); }

.fr-disc-prof {
  font-size: 9px;
  color: var(--mut);
  text-decoration: none;
  transition: color .12s;
}

.fr-disc-prof:hover { color: var(--acc); }

/* ==========================================================
   ACTIVITY COLUMN
   ========================================================== */

.fr-activity-col { display: flex; flex-direction: column; gap: 12px; }

/* ACTIVITY ROWS */
.fr-act-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  text-decoration: none;
  color: var(--txt);
  transition: background .12s;
  border-radius: 5px;
}

.fr-act-row:last-child { border-bottom: none; }
.fr-act-row:hover { background: rgba(255,255,255,.03); }

.fr-act-res {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; flex-shrink: 0;
}

.fr-act-res.w { background: rgba(0,255,166,.15); color: var(--acc); }
.fr-act-res.l { background: rgba(248,113,113,.12); color: #f87171; }

.fr-act-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.fr-act-map  { font-size: 11px; font-weight: 700; color: var(--txt); }
.fr-act-mode { font-size: 8px; color: var(--mut); }
.fr-act-score{ font-size: 12px; font-weight: 700; color: var(--txt); }
.fr-act-date { font-size: 9px; color: var(--mut); }

/* FRIEND FEED */
.fr-feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255,255,255,.03);
}

.fr-feed-item:last-child { border-bottom: none; }

.fr-feed-av-w { position: relative; flex-shrink: 0; }

.fr-feed-av {
  width: 28px; height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.fr-feed-dot {
  position: absolute;
  bottom: -1px; right: -1px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  border: 1px solid var(--bg);
}

.fr-feed-text { flex: 1; font-size: 11px; }
.fr-feed-text b { color: var(--txt); font-weight: 700; display: block; }
.fr-feed-text span { color: var(--mut); }

/* SOCIAL STATS */
.fr-sstat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fr-sstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sep);
  gap: 2px;
}

.fr-sstat b { font-family: var(--f1); font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.fr-sstat span { font-size: 8px; font-weight: 700; letter-spacing: .1em; color: var(--mut); text-transform: uppercase; }

/* INVITE CARD */
.invite-card {
  background: linear-gradient(135deg, rgba(0,255,166,.05), rgba(0,207,255,.03));
  border-color: rgba(0,255,166,.12);
}

.fr-inv-sub { font-size: 10px; color: var(--mut); margin-bottom: 4px; }

.fr-inv-link {
  font-size: 9px;
  color: var(--mut);
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--sep);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fr-inv-copy {
  width: 100%;
  padding: 8px;
  border-radius: 7px;
  background: rgba(0,255,166,.1);
  border: 1px solid rgba(0,255,166,.2);
  color: var(--acc);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}

.fr-inv-copy:hover { background: rgba(0,255,166,.18); }

/* ==========================================================
   MODALS
   ========================================================== */

.fr-dm-modal,
.fr-inv-modal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  z-index: 9999;
}

.fr-dm-modal.hidden,
.fr-inv-modal.hidden { display: none; }

.fr-dm-card,
.fr-inv-card {
  background: #0a1520;
  border: 1px solid rgba(0,255,166,.2);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.8);
  overflow: hidden;
  animation: fr-slide-up .3s cubic-bezier(.4,0,.2,1);
}

@keyframes fr-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.fr-dm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--sep);
  background: rgba(0,255,166,.04);
}

.fr-dm-title { font-size: 13px; font-weight: 800; color: var(--txt); }
.fr-dm-sub   { font-size: 10px; color: var(--mut); }

.fr-dm-close {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--sep);
  color: var(--mut);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
}

.fr-dm-close:hover { background: rgba(248,113,113,.15); color: #f87171; }

.fr-dm-msgs {
  height: 220px;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
}

.fr-dm-input {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--sep);
}

.fr-dm-input input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--sep);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--txt);
  font-size: 12px;
  font-family: inherit;
  outline: none;
}

.fr-dm-input input::placeholder { color: var(--mut); }

.fr-dm-input button {
  padding: 7px 14px;
  border-radius: 7px;
  background: var(--acc);
  color: #001a0f;
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.fr-inv-friends { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; max-height: 280px; overflow-y: auto; }

.fr-inv-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 7px;
  background: rgba(255,255,255,.03);
}

.fr-inv-row span { flex: 1; font-size: 12px; font-weight: 700; color: var(--txt); }

/* ==========================================================
   EMPTY SMALL
   ========================================================== */

.fr-empty-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px;
  text-align: center;
}

.fr-empty-small > div:first-child { font-size: 20px; opacity: .4; }
.fr-empty-small > div:nth-child(2) { font-size: 11px; color: var(--mut); }

/* ==========================================================
   UTILS
   ========================================================== */

.fr-you {
  font-size: 7px; font-weight: 800; letter-spacing: .1em;
  color: var(--acc); background: rgba(0,255,166,.1);
  padding: 1px 3px; border-radius: 3px;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */

@keyframes fr-blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:1200px) {
  .fr-grid { grid-template-columns: 260px 1fr; }
  .fr-activity-col { display: none; }
}

@media (max-width:900px) {
  .fr-grid { grid-template-columns: 1fr; }
  .fr-party-col { order: 2; }
  .fr-friends-col { order: 1; }
  .fr-disc-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

@media (max-width:600px) {
  .fr-strip { justify-content: center; }
  .fr-strip-search { min-width: 100%; max-width: 100%; }
  .fr-dm-modal, .fr-inv-modal { bottom:0; right:0; left:0; width:100%; max-width:100%; border-radius:14px 14px 0 0; }
}
