/* ── Page wrapper ───────────────────────────────────────────────── */
#profile-page {
  display: flex;
  gap: 18px;
  padding: 8px 0 20px;
  align-items: flex-start;
}

/* ── Sidebar ────────────────────────────────────────────────────── */
.prof-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: #0e1c2a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Status bar */
.prof-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.62em;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.prof-status-bar.offline { background: #1e2a35; color: #5a7a9a; }
.prof-status-bar.online  { background: #0d2a1a; color: #3cb87a; }

.prof-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.offline .prof-status-dot { background: #5a7a9a; }
.online  .prof-status-dot { background: #3cb87a; box-shadow: 0 0 5px #3cb87a; }

.prof-status-since {
  margin-left: auto;
  font-size: 0.85em;
  opacity: .65;
  letter-spacing: 1px;
}

/* Network ban badge */
.prof-banned-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 14px;
  background: linear-gradient(180deg, #b23535 0%, #8e2424 100%);
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 2px solid rgba(0,0,0,.35);
}
.prof-banned-label {
  font-size: 0.85em;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.prof-banned-since {
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .85;
}

/* Skin */
.prof-skin-wrap {
  background-image: url('/images/header-bg.png');
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.32), inset 0 0 0 2px rgba(255,255,255,.1);
  display: flex;
  justify-content: center;
  padding: 24px 0 16px;
}
.prof-skin {
  width: 146px;
  height: auto;
  /* High-res mcstats body downscaled: smooth scaling keeps thin hair intact. */
  image-rendering: auto;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.6));
}

/* Identity */
.prof-identity {
  text-align: center;
  padding: 14px 16px 0;
}
.prof-username {
  font-size: 1.2em;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  word-break: break-word;
  margin-bottom: 10px;
  color: #ffffff !important;
}

/* Full-width rank bar below username */
.prof-rank-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 32px);
  margin: 0 -16px 0;
  padding: 8px 16px;
  font-size: 0.65em;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* keep the old inline badge class in case it's referenced elsewhere */
.prof-rank-badge {
  display: inline-block;
  font-size: 0.58em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 6px;
}

/* Section label */
.prof-section-label {
  font-size: 0.6em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4a7a9a;
  padding: 11px 16px 5px;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 4px;
}

/* Socials */
.prof-socials {
  display: flex;
  gap: 10px;
  padding: 4px 16px 8px;
}
.prof-social {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.prof-social:hover { opacity: .8; transform: translateY(-1px); text-decoration: none; }
.prof-social.yt { background: rgba(255,0,0,.15); color: #ff4444; }
.prof-social.tw { background: rgba(29,161,242,.15); color: #1da1f2; }
.prof-social.gh { background: rgba(255,255,255,.08); color: #ccc; }
.prof-social.dc { background: rgba(88,101,242,.15); color: #5865f2; }

/* Settings button on sidebar */
.prof-settings-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 6px 14px 2px;
  padding: 7px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  color: #7aa8c4;
  font-size: 0.58em;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.prof-settings-btn:hover {
  background: rgba(255,255,255,.09);
  color: #d5ad32;
  text-decoration: none;
}

/* General stats */
.prof-general-stats { padding: 4px 16px 8px; }
.prof-gstat {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 0;
}
.prof-gstat-key {
  font-size: 0.62em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4a6a8a;
  font-weight: 700;
}
.prof-gstat-val {
  font-size: 0.82em;
  font-weight: 900;
  color: #c8dde8;
  letter-spacing: 1px;
}

/* Friends */
.prof-friends-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 4px 16px 8px;
}
.prof-friend-avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  image-rendering: pixelated;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .15s;
}
.prof-friend-avatar:hover { transform: scale(1.1); }

/* Friend requests */
.prof-req-badge {
  display: inline-block;
  background: #d5ad32;
  color: #000;
  font-size: 0.8em;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0;
  margin-left: 4px;
  vertical-align: middle;
}
.prof-requests-list { padding: 2px 14px 6px; }
.prof-request-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.prof-request-row:last-child { border-bottom: none; }
.prof-req-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.prof-req-name {
  flex: 1;
  font-size: 0.75em;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prof-req-name:hover { opacity: .75; text-decoration: none; }
.prof-req-actions { display: flex; gap: 4px; flex-shrink: 0; }
.prof-req-btn {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  font-size: 0.7em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  transition: filter .15s;
}
.prof-req-btn:hover { filter: brightness(1.15); }
.prof-req-btn.accept  { background: #1a9e4a; color: #fff; }
.prof-req-btn.decline { background: #2a1a1a; color: #aa4444; }

/* Friend action buttons */
.prof-friend-action { padding: 4px 14px 14px; }
.prof-friend-btn-group { display: flex; gap: 6px; flex-wrap: wrap; }

.prof-friend-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.55em;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity .2s, filter .2s;
  background: #1a9e4a;
  color: #fff;
}
.prof-friend-btn:hover { opacity: .85; text-decoration: none; color: #fff; }
.prof-friend-btn.pending  { background: #1e2a35; color: #5a7a9a; cursor: default; }
.prof-friend-btn.accept   { background: #1a9e4a; flex: 1; }
.prof-friend-btn.decline  { background: #2a1a1a; color: #aa4444; flex: 1; }
.prof-friend-btn.remove   { background: #2a1a1a; color: #aa4444; }

/* ── Main content ───────────────────────────────────────────────── */
.prof-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tabs — single panel; staff tabs wrap to a second line via .prof-tab-break */
/* Unified content board (Lunar-style): tab header at top, active content below */
.prof-board {
  background: #0e1c2a;
  border-radius: 8px;
  padding: 0 16px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
/* Tabs sit at the top of the board, centered, divided from the content below. */
.prof-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  padding: 12px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Full-width zero-height spacer that forces the staff tabs onto a new line. */
.prof-tab-break {
  flex-basis: 100%;
  height: 0;
}
.prof-tab {
  font-size: 0.6em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 18px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #3a5a7a;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  transition: color .2s, background .2s;
}
.prof-tab:hover { color: #b8cde0; }
.prof-tab.active { background: rgba(255,255,255,.08); color: #e8f0f8; }

/* Tab panes */
.prof-tab-pane { display: none; }
.prof-tab-pane.active { display: block; }

/* Gamemode cards */
.gamemode-cards {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.gamemode-card {
  flex: 1;
  min-width: 180px;
  background: #16293c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.gamemode-title {
  background-image: url('/images/header-bg.png');
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.32), inset 0 0 0 2px rgba(255,255,255,.12);
  padding: 8px 14px;
  font-size: 0.65em;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}
.gamemode-stat {
  margin: 6px 10px;
  background: #1d3450;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8dde8;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}
.gamemode-card .gamemode-stat:last-child { margin-bottom: 10px; }

/* Statistics tab grid */
.prof-stats-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.prof-stat-card {
  flex: 1;
  min-width: 100px;
  background: #16293c;
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
}
.prof-stat-val {
  font-size: 1.6em;
  font-weight: 900;
  color: #d5ad32;
  line-height: 1;
  margin-bottom: 6px;
}
.prof-stat-lbl {
  font-size: 0.55em;
  color: #3a5a7a;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Forums tab */
/* Forums tab — Threads/Replies sub-toggle (centered, Lunar-style) */
.prof-subtabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.prof-subtab {
  font-size: 0.58em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #3a5a7a;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  transition: color .2s, background .2s;
}
.prof-subtab:hover { color: #b8cde0; }
.prof-subtab.active { background: rgba(255,255,255,.07); color: #e8f0f8; }

.prof-sub-pane { display: none; }
.prof-sub-pane.active { display: block; }

/* Forum activity list — styled like the real forum thread rows (.thread-entry):
   votes | title + "in <category>" | replies | last reply */
.prof-flist { border-radius: 8px; overflow: hidden; }
.prof-frow {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  text-decoration: none;
  background: #13202e;
  border-top: 1px solid rgba(0,0,0,.22);
  transition: background-color .18s;
}
.prof-frow:first-child { border-top: none; }
.prof-frow:hover { background: #182c3e; text-decoration: none; }
.prof-fcount {
  flex-shrink: 0;
  min-width: 40px;
  text-align: center;
  font-size: 1.45em;
  font-weight: 700;
  color: #3e5468;
  margin-right: 12px;
  font-variant-numeric: lining-nums;
}
.prof-fbody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prof-ftitle {
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s;
}
.prof-frow:hover .prof-ftitle { color: #d5ad32; }
.prof-fmeta { font-size: 0.68em; color: #3e5468; letter-spacing: .3px; }
.prof-fcat { color: #5a7a9a; font-weight: 600; }
.prof-ftime { cursor: help; }

.prof-empty { font-size: 0.72em; color: #3a5a7a; letter-spacing: 2px; text-transform: uppercase; padding: 26px 0; text-align: center; }

/* ── Comments ───────────────────────────────────────────────────── */
.prof-comments {
  background: #0e1c2a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.prof-comments-header {
  background-image: url('/images/header-bg.png');
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.32), inset 0 0 0 2px rgba(255,255,255,.12);
  padding: 9px 16px;
  font-size: 0.65em;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.prof-comment-login {
  padding: 12px 16px;
  background: rgba(180,50,50,.12);
  border-bottom: 1px solid rgba(180,50,50,.2);
  color: #c87070;
  font-size: 0.78em;
  letter-spacing: 0.5px;
}
.prof-comment-login i { margin-right: 6px; }
.prof-comment-login a { color: #d5ad32; text-decoration: none; font-weight: 700; }

/* Reuse wall styles for compose + posts */
.wall-count {
  background: rgba(213,173,50,.2);
  border: 1px solid rgba(213,173,50,.3);
  color: #d5ad32;
  font-size: 0.85em;
  padding: 1px 7px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.wall-compose {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.2);
}
.wall-compose-avatar { width:36px;height:36px;border-radius:4px;flex-shrink:0;margin-top:2px;image-rendering:pixelated; }
.wall-compose-form { flex:1;display:flex;flex-direction:column;gap:8px; }
.wall-compose-textarea {
  width:100%;background:#0a141e;border:1px solid rgba(255,255,255,.07);border-radius:6px;
  color:#e8e3ec;padding:9px 12px;min-height:60px;resize:vertical;
  font-family:'Raleway',sans-serif;font-size:0.85em;outline:none;box-sizing:border-box;
  transition:border-color .3s;
}
.wall-compose-textarea:focus { border-color:#d5ad32; }
.wall-compose-textarea::placeholder { color:#3a5a7a; }
.wall-compose-footer { display:flex;align-items:center;justify-content:space-between; }
.wall-char-hint { font-size:0.62em;color:#3a5a7a;letter-spacing:1px; }
.wall-post-btn {
  background:#d5ad32;color:#fff;border:none;padding:6px 16px;border-radius:5px;
  font-family:'Raleway',sans-serif;font-size:0.6em;font-weight:900;letter-spacing:3px;
  text-transform:uppercase;cursor:pointer;transition:background .2s;
}
.wall-post-btn:hover { background:#c9a030; }
.wall-posts { padding:6px 0; }
.wall-empty { text-align:center;padding:28px 20px;color:#3a5a7a; }
.wall-empty i { font-size:1.6em;margin-bottom:8px;display:block; }
.wall-empty p { font-size:0.68em;letter-spacing:2px;text-transform:uppercase;margin:0; }
.wall-post {
  display:flex;gap:12px;align-items:flex-start;padding:10px 16px;
  border-bottom:1px solid rgba(0,0,0,.12);transition:background .2s;
}
.wall-post:last-child { border-bottom:none; }
.wall-post:hover { background:rgba(255,255,255,.012); }
.wall-post-avatar { width:36px;height:36px;border-radius:4px;flex-shrink:0;margin-top:2px;image-rendering:pixelated; }
.wall-post-bubble { flex:1;min-width:0; }
.wall-post-meta { display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:wrap; }
.wall-post-author { font-size:0.82em;font-weight:800;text-decoration:none;letter-spacing:.5px;transition:opacity .2s; }
.wall-post-author:hover { opacity:.75; }
.wall-post-time { font-size:0.66em;color:#3a5a7a;letter-spacing:1px; }
.wall-post-content { font-size:0.83em;color:#b8cde0;line-height:1.55;overflow-wrap:break-word;white-space:pre-wrap; }
.wall-delete-form { margin-left:auto;display:inline; }
.wall-delete-btn { background:none;border:none;color:#3a5a7a;font-size:1.1em;cursor:pointer;padding:0 3px;transition:color .2s;font-weight:700; }
.wall-delete-btn:hover { color:#ee1d25; }

/* ── Settings page ──────────────────────────────────────────────── */
.settings-wrapper {
  max-width: 820px;
  margin: 28px auto;
  padding: 0 4px;
}

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0e1c2a;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.settings-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.settings-avatar {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  image-rendering: pixelated;
}
.settings-username {
  font-size: 1em;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.settings-sub {
  font-size: 0.6em;
  color: #3a5a7a;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}
.settings-back {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4a7a9a;
  text-decoration: none;
  transition: color .2s;
}
.settings-back:hover { color: #d5ad32; text-decoration: none; }

.settings-alert {
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-alert.error   { background: rgba(180,50,50,.15); border: 1px solid rgba(180,50,50,.3); color: #d47070; }
.settings-alert.success { background: rgba(30,160,80,.12); border: 1px solid rgba(30,160,80,.25); color: #4ec880; }

.settings-grid {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.settings-card {
  flex: 1;
  min-width: 300px;
  background: #0e1c2a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.settings-card-header {
  background-image: url('/images/header-bg.png');
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.32), inset 0 0 0 2px rgba(255,255,255,.12);
  padding: 10px 16px;
  font-size: 0.65em;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-card-body {
  padding: 18px 20px 22px;
}
.settings-card-desc {
  font-size: 0.75em;
  color: #4a6a8a;
  margin: 0 0 18px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.settings-field {
  margin-bottom: 14px;
}
.settings-label {
  display: block;
  font-size: 0.6em;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a7a9a;
  margin-bottom: 5px;
}
.settings-icon { margin-right: 5px; }
.settings-icon.yt { color: #ff4444; }
.settings-icon.tw { color: #1da1f2; }
.settings-icon.gh { color: #aaa; }
.settings-icon.dc { color: #5865f2; }

.settings-input {
  width: 100%;
  box-sizing: border-box;
  background: #0a141e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  color: #c8dde8;
  padding: 9px 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82em;
  outline: none;
  transition: border-color .25s;
}
.settings-input:focus { border-color: #d5ad32; }
.settings-input::placeholder { color: #2a4a6a; }

.settings-btn {
  margin-top: 6px;
  background: #d5ad32;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.62em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .2s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 0 2px rgba(255,255,255,.1);
}
.settings-btn:hover { background: #c9a030; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  #profile-page { flex-direction: column; }
  .prof-sidebar { width: 100%; }
  .prof-skin-wrap { padding: 16px 0 10px; }
}
@media (max-width: 480px) {
  .gamemode-cards { flex-direction: column; }
  .wall-compose { flex-direction: column; }
  .wall-compose-avatar { display: none; }
}

/* ── Profile banner (head · username · flag) ────────────────────── */
.prof-banner {
  background: linear-gradient(90deg, #14323a 0%, #1b2a4a 48%, #36215a 100%);
  border-radius: 8px;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
}
.prof-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
}
.prof-banner-head {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
  border-radius: 4px;
}
.prof-banner-name {
  font-size: 1.5em;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.prof-banner-flag {
  height: 14px;
  width: auto;
  border-radius: 2px;
  position: relative;
  top: 1px;
}

/* ── Staff moderation tabs (Senior-Mod+) ─────────────────────────── */
.prof-tab.staff { color: #b85065; }
.prof-tab.staff:hover { color: #e88a9a; }
.prof-tab.staff.active { background: rgba(200,70,90,.16); color: #ff8a9c; }

.prof-mod-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b85065;
  margin-bottom: 12px;
}

.prof-mod-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prof-mod-row {
  display: block;
  background: #16293c;
  border-radius: 8px;
  padding: 12px 14px;
  border-left: 3px solid #2a3f52;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  text-decoration: none;
}
.prof-mod-row.active { border-left-color: #b85065; }
.prof-mod-row.inactive { opacity: .68; }

.prof-mod-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.prof-mod-reason {
  flex: 1;
  min-width: 120px;
  color: #d8e6f0;
  font-size: 0.82em;
  font-weight: 600;
}
.prof-mod-meta {
  margin-top: 7px;
  color: #6f8aa0;
  font-size: 0.7em;
  letter-spacing: .4px;
  line-height: 1.6;
}
.prof-mod-meta strong { color: #9fc0d8; font-weight: 800; }
.prof-mod-removed { color: #7fb89a; }

.prof-mod-type,
.prof-mod-rank,
.prof-mod-ticket-id {
  flex-shrink: 0;
  font-size: 0.6em;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  color: #fff;
}
.prof-mod-type.type-ban,
.prof-mod-type.type-blacklist { background: #b23535; }
.prof-mod-type.type-mute      { background: #c47a1e; }
.prof-mod-type.type-warn,
.prof-mod-type.type-warning   { background: #b59a2a; }
.prof-mod-type.type-kick      { background: #5a7a9a; }
.prof-mod-type.type-punishment{ background: #6a4a7a; }
.prof-mod-ticket-id { background: #2a3f52; }

.prof-mod-pill {
  flex-shrink: 0;
  font-size: 0.55em;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 10px;
}
.prof-mod-pill.on  { background: rgba(60,184,122,.18); color: #3cb87a; }
.prof-mod-pill.off { background: rgba(120,140,160,.18); color: #7e93a6; }
.prof-mod-pill.status-open    { background: rgba(60,184,122,.18); color: #3cb87a; }
.prof-mod-pill.status-pending { background: rgba(196,160,30,.18); color: #d6b53a; }
.prof-mod-pill.status-closed  { background: rgba(120,140,160,.18); color: #7e93a6; }

.ticket-row { transition: box-shadow .15s; }
.ticket-row:hover { box-shadow: 0 0 0 1px #b85065, 0 1px 4px rgba(0,0,0,.2); }
