/*typer-dash stats*/
.statKeeper
{
    height: 75px;
    color: #555;
    margin: 0 auto;
    padding-top: 14px;
    border-radius: 10px;
}
#rankKeeper
{
    width: 50%;
    border:none;
    border-bottom: 3px solid firebrick;
    color: #555;    
}
.statNumb
{
    font-size: 15px;
}
#bull-Ico
{
    color:forestgreen;
}
#bolt-Ico
{
    color:blueviolet;
}
#fire-Ico
{
    color:darkorange;
}
/*typer-dash stats*/


/*Leaderboard Styles*/
.ldrbrdCntnr
{
    box-shadow: none !important;
    margin:0px;
    margin-bottom:10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.LeaderBrdHeading
{
    padding: 10px;
    font-weight: bold;
    color: darkred;
    font-size: 15px;
    text-align: center;
}
.ldbrHr
{
    margin: 0 auto;
    margin-top:2px;
    margin-bottom:2px;
    border-color: #000;
}
.ldbrTble
{
    width: 100%;    
    border-collapse: separate;
    border-spacing: 0 10px;
}
.ldbrTble th
{
    padding-top: 10px;
    padding-bottom: 10px;
    color: firebrick;
}
.ldbrTble tr
{
    border-radius: 16px;    
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ldbrTble td
{
    padding-top: 13px;
    padding-bottom: 13px;
    padding-right: 6px;
    padding-left: 6px;
}
.ldbrTble tbody tr th
{
}
.shield-wrap
{
    display: inline-block;
}

.ldbrTble .shield-wrap svg
{
  width: 20px !important;   
}
.tbl-ldb-name
{
    color: darkred;
    margin-bottom: 5px;
    display: block;
    font-weight: 200;
}
.tagnm-ldbr-Hindi
{
    text-decoration: none;
    font-weight: 400;
    border-radius: 12px;
    color: darkorange;
    padding-left: 3px;
    padding-right: 3px;
}
.tagnm-ldbr-English
{
    color: deeppink;
}
.noShieldCl
{
    font-size: 10px;
    font-family: 'Space Mono', monospace;
    color: grey;
    display: block;
}
.ldb-tr-rlt
{
    position: relative;
}
.isNewOrNot
{
    position: absolute;
    top:0px;
    left: -15px;
    border-radius: 5px;
    border: 2px double #eee;
    background:orangered;
    color: #fff;
    font-size:10px ;
    font-weight: 900;
    padding-left: 3px;
    padding-right: 3px;
}
.rank-style-1::after
{
    content: " 🥇";
    font-weight: 900;
}
.rank-style-2::after
{
    content: " 🥈";
    font-weight: 900;
}
.rank-style-3::after
{
    content: " 🥉";
    font-weight: 900;
}
/*Leaderboard Styles*/




  :root {
    --bg: #fff;
    --surface: #fff;
    --surface2: #fff;
    --border: rgba(0,0,0,0.1);
    --border2: rgba(0,0,0,0.14);
    --text: #111111;
    --muted: #888899;
    --accent: firebrick;
    --accent2: darkred;
    --amber: #f0a832;
    --red: #f25c5c;
    --radius: 0px;
    --radius-sm: 0px;
  }


  /* ── wrapper ── */
  .dashboard {
    max-width: 720px;
    margin: 0 auto;
  }

  /* ── profile header ── */
  .profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .profile-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
  }

  .profile-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.3px;
  }

  .profile-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    font-family: 'DM Mono', monospace;
  }

  .rank-badge {
    background: rgba(124,109,250,0.12);
    border: 1px solid rgba(124,109,250,0.3);
    color: #a78bfa;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
  }

  .rank-badge.unranked {
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    color: var(--muted);
  }

  /* ── stat cards ── */
  .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 1.25rem;
  }

  @media (max-width: 500px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
  }

  .stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
  }

  .stat-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'DM Mono', monospace;
    margin-bottom: 6px;
  }

  .stat-value {
    font-size: 22px;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    line-height: 1;
  }

  /* ── tab buttons ── */
  .tab-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .tab-btn {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border2);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.18s;
  }

  .tab-btn:hover {
    border-color: rgba(0,0,0,0.25);
    color: var(--text);
  }

  .tab-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  /* ── chart card ── */
  .chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .chart-title {
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }

  .chart-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
  }

  .legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .chart-wrap {
    position: relative;
    width: 100%;
    height: 200px;
  }

  /* ── insight cards ── */
  .insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
  }

  @media (max-width: 480px) {
    .insight-grid { grid-template-columns: 1fr 1fr; }
  }

  .insight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
  }

  .insight-label {
    font-size: 10px;
    font-family: 'DM Mono', monospace;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }

  .insight-value {
    font-size: 20px;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    line-height: 1.1;
    margin-bottom: 2px;
  }

  .insight-sub {
    font-size: 10px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
  }


.wrap {
  display: flex;
  width: 100%;
  height: 72px;
    margin-bottom: 1.1px;    
}
.btn-xfd
{
  background: firebrick;
  color: #F1EFE8;
    text-decoration: none;
}
.btn-xfd:hover
{color:#fff;
text-decoration: none;}
.btn-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
}

.btn-left:hover { background: darkred; }
.btn-left:active { transform: scale(0.98); }

.btn-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
}

.btn-right:hover { background: darkred; }
.btn-right:active { transform: scale(0.98); }

.divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.wrap-grid
{
    margin-bottom: 30px;
}