/* EnglishSpeak — normalize text size in Android in-app browsers (Zalo, etc.) */
html {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

:root{
--primary:#4f46e5;
--card:#fff;
--bg:#eef5ff;
}
.ranking-page{max-width:900px;margin:0 auto;padding:24px}
.ranking-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ranking-header h1{margin:0;font-size:32px}
.ranking-header p{margin:6px 0 0;color:#64748b}
.setting-btn{width:46px;height:46px;border-radius:12px;border:none;background:#fff;font-size:22px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.month{text-align:center;font-weight:600;color:#64748b;margin:16px 0 26px}
.top3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}
.winner{background:#fff;border-radius:22px;padding:18px;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.first{transform:translateY(-10px)}
.medal{font-size:36px}
.avatar{margin:12px auto;border-radius:50%;background:#dbeafe}
.avatar{width:72px;height:72px}
.avatar.small{width:42px;height:42px;margin:0 12px 0 0}
.avatar.large{width:88px;height:88px}
.name{font-weight:700;margin-top:8px}
.xp{color:#f59e0b;font-weight:700}
.ranking-card,.my-card{background:#fff;border-radius:22px;padding:18px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f7}
.row:last-child{border-bottom:none}
.left{display:flex;align-items:center}
.rank{font-weight:700;width:30px}
.my-card{text-align:center;margin-top:24px}
.study-btn{display:inline-block;margin-top:18px;padding:12px 26px;background:var(--primary);color:#fff;border-radius:12px;text-decoration:none;font-weight:700}
@media(max-width:700px){
.top3{grid-template-columns:1fr}
.first{transform:none}
.ranking-header h1{font-size:26px}
}
