.tier-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.tier-hero {
  border-radius: 1.3rem;
  padding: 2.2rem 1.6rem;
  margin: 1.4rem 0 1.8rem;
  text-align: center;
  background: radial-gradient(1200px 300px at 50% -50%, rgba(124, 58, 237, 0.25), transparent),
    linear-gradient(135deg, #0d1424, #131c30);
  border: 1px solid #1b2740;
}

.tier-hero h1 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tier-hero p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* current status cards */
.my-rank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .my-rank-grid {
    grid-template-columns: 1fr;
  }
}

.mr-card {
  background: #0d1424;
  border: 1px solid #1b2740;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
}

.mr-side {
  font-size: 0.72rem;
  color: #7f92b3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mr-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.mr-rate {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.mr-rate b {
  color: #4ade80;
}

.mr-bar {
  height: 8px;
  background: #1b2740;
  border-radius: 99px;
  overflow: hidden;
  margin: 0.7rem 0 0.4rem;
}

.mr-bar>i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s;
}

.mr-next {
  font-size: 0.76rem;
  color: #7f92b3;
}

.mr-next b {
  color: #cdd8ee;
}

/* tier tables */
.tier-section {
  margin-bottom: 2.4rem;
}

.tier-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-section .sub {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  background: #0d1424;
  border: 1px solid #1b2740;
  border-radius: 0.9rem;
  overflow: hidden;
}

.tier-table th,
.tier-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-size: 0.88rem;
}

.tier-table th {
  background: #111a2e;
  color: #7f92b3;
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-table tr {
  border-top: 1px solid #1b2740;
}

.tier-table td.tier-name {
  font-weight: 700;
}

.tier-table tr.current {
  background: rgba(56, 189, 248, 0.08);
}

.tier-rate-cell {
  color: #4ade80;
  font-weight: 700;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.tier-Iron {
  color: #9ca3af;
}

.d-Iron {
  background: #9ca3af;
}

.tier-Bronze {
  color: #c88a54;
}

.d-Bronze {
  background: #c88a54;
}

.tier-Silver {
  color: #cbd5e1;
}

.d-Silver {
  background: #cbd5e1;
}

.tier-Gold {
  color: #fbbf24;
}

.d-Gold {
  background: #fbbf24;
}

.tier-Platinum {
  color: #67e8f9;
}

.d-Platinum {
  background: #67e8f9;
}

.tier-Diamond {
  color: #a78bfa;
}

.d-Diamond {
  background: #a78bfa;
}

.tier-note {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 0.8rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  color: #7f92b3;
  font-size: 0.85rem;
  margin: 1rem 0 0;
}

.back-link:hover {
  color: #cdd8ee;
}

/* lang toggle — JS จัดการ display (เหมือน how-it-works) */
.lang-en {
  display: none;
}

.you-here {
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 600;
}
